pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Spiegelberg <gspiegelberg@cranel.com>
To: PgSQL Performance ML <pgsql-performance@postgresql.org>
To: Postgres Admin List <pgsql-admin@postgresql.org>
Subject: syslog slowing the database?
Date: Tue, 09 Mar 2004 15:29:43 -0500
Message-ID: <404E2937.4060604@cranel.com> (raw)

I've been waiting all day for a pg_restore to finish on a test system
identically configured as our production in hardware and software
with the exception prod is 7.3.5 and test is 7.4.1.

The file it's restoring from is about 8GB uncompressed from a
"pg_dump -b -F t" and after 2 hours the directory the database is in
contains only 1GB.  iostat reported ~2000 blocks written every 2
seconds to the DB file system.

I turned syslog off to see if it was blocking anything and in the
past couple minutes 1GB has been restored and iostat reports ~35,000
blocks written every 2 seconds to the DB file system.

The system is completely idle except for this restore process.  Could
syslog the culprit?

I turned syslog back on and the restore slowed down again.  Turned
it off and it sped right back up.

Can anyone confirm this for me?

Greg

-- 
Greg Spiegelberg
  Sr. Product Development Engineer
  Cranel, Incorporated.
  Phone: 614.318.4314
  Fax:   614.431.8388
  Email: gspiegelberg@Cranel.com
Cranel. Technology. Integrity. Focus.





view thread (19+ messages)  latest in thread

Message-ID: <404E2937.4060604@cranel.com>
Permalink:  ../404E2937.4060604@cranel.com/
Also on:    postgresql.org/message-id/404E2937.4060604@cranel.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: gspiegelberg@cranel.com, pgsql-admin@postgresql.org
  Subject: Re: syslog slowing the database?
  In-Reply-To: <404E2937.4060604@cranel.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox