Skip site navigation (1) Skip section navigation (2)

PG Logging is Slow

From: Theo Galanakis <Theo(dot)Galanakis(at)lonelyplanet(dot)com(dot)au>
To: pgsql-performance(at)postgresql(dot)org
Subject: PG Logging is Slow
Date: 2004-12-20 04:17:11
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
Under postgres 7.3 logging is incredibly slow!

I have applied the following settings:

syslog = 2
syslog_facility = 'LOCAL0'
syslog_ident = 'postgres'
 log_connections =  true 
log_duration =  true 
log_pid =  true 
log_statement =  true 
log_timestamp =  true 
This severely impacted the performance of our production system, a search
page which took 1-3 seconds now takes over 30, is this normal?
I need to get some performance indicators from our production db, however I
cant turn on logging with such performance degradation.

This email, including attachments, is intended only for the addressee
and may be confidential, privileged and subject to copyright. If you
have received this email in error, please advise the sender and delete
it. If you are not the intended recipient of this email, you must not
use, copy or disclose its content to anyone. You must not copy or 
communicate to others content that is confidential or subject to 
copyright, unless you have the consent of the content owner.


pgsql-performance by date

Next:From: Bruce MomjianDate: 2004-12-20 04:31:24
Subject: Re: PG Logging is Slow
Previous:From: Steinar H. GundersonDate: 2004-12-18 13:45:40
Subject: Re: Seqscan rather than Index

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group