pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Robert Norris <srn@commsecure.com.au>
To: Gavin M. Roy <gmr@ehpg.net>
Cc: PgSQL Performance ML <pgsql-performance@postgresql.org>
Cc: Postgres Admin List <pgsql-admin@postgresql.org>
Subject: Re: [PERFORM] syslog slowing the database?
Date: Wed, 10 Mar 2004 12:32:07 +1100
Message-ID: <1078882327.9858.24.camel@chinstrap> (raw)
In-Reply-To: <404E6AB9.4030404@ehpg.net>
References: <404E2937.4060604@cranel.com>
	<370.1078877805@sss.pgh.pa.us>
	<404E6AB9.4030404@ehpg.net>

On Wed, 2004-03-10 at 12:09, Gavin M. Roy wrote:
> Might want to look at metalog, it does delayed writes, though ultimately 
> your issue is io bound and there's not much you can do to reduce io if 
> you want to keep syslog logging your pgsql queries and such.

Yeah, but syslog with fsync() after each line is much, much worse than
syslog without it, assuming anything else is on the same disk (array).
It just guarantees to screw up your drive head movements...

-- 
Stephen Norris	  srn@fn.com.au
Farrow Norris Pty Ltd	+61 417 243 239




view thread (19+ messages)  latest in thread

Message-ID: <1078882327.9858.24.camel@chinstrap>
Permalink:  ../1078882327.9858.24.camel@chinstrap/
Also on:    postgresql.org/message-id/1078882327.9858.24.camel@chinstrap

 · 

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: srn@commsecure.com.au, gmr@ehpg.net, pgsql-admin@postgresql.org
  Subject: Re: [PERFORM] syslog slowing the database?
  In-Reply-To: <1078882327.9858.24.camel@chinstrap>

* 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