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

Re: High CPU load on Postgres Server during Peak times!!!!

From: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>
To: Shiva Raman <raman(dot)shivag(at)gmail(dot)com>
Cc: Gerhard Wiesinger <gerhard(at)wiesinger(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: High CPU load on Postgres Server during Peak times!!!!
Date: 2009-09-25 09:03:05
Message-ID: 2f4958ff0909250203t41202128qb4d118d969d32d9a@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-performance
2009/9/25 Shiva Raman <raman(dot)shivag(at)gmail(dot)com>

> As suggested, i had changed the log_statement='ddl' and now it is logging
> only
> the ddl statements . thanks for the tip.
>  Can i delete the old log files in pg_log after backing up as zip archive ?
> is it neccesary to keep those log files ?
>

they're yours, you can do whatever you wish with em.
pg_logs are just textual log files.

pg_xlogs on the other hand, you should never touch (unless using logs
storage/shipment for backups/replication).




-- 
GJ

In response to

pgsql-performance by date

Next:From: Dan SugalskiDate: 2009-09-25 10:05:38
Subject: Re: PG 8.3 and large shared buffer settings
Previous:From: Shiva RamanDate: 2009-09-25 08:55:23
Subject: Re: High CPU load on Postgres Server during Peak times!!!!

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