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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-performance by date

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