pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steve Crawford <scrawford@pinpointresearch.com>
To: Carol Walter <walterc@indiana.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: What process clears the logs?
Date: Tue, 30 Sep 2008 14:58:36 -0700
Message-ID: <48E2A10C.9060602@pinpointresearch.com> (raw)
In-Reply-To: <ED139E0C-2CA8-4761-81D5-CFE6FD1A7E7F@indiana.edu>
References: <64D96E8A-8E58-458C-B299-8998112F88FA@indiana.edu>
	<48E27D72.9040409@pinpointresearch.com>
	<ED139E0C-2CA8-4761-81D5-CFE6FD1A7E7F@indiana.edu>

Carol Walter wrote:
> Ah-h-h, that's exactly my question.  What part of Postgres "takes care 
> of this itself."  I'm asking because I had 86 pg_clog files dated back 
> to mid-May.  I got the impression from something Tom said that backups 
> should prune this directory.  Perhaps my "impression" was wrong.  Most 
> databases I've used in the past have gotten rid of the transaction 
> logs, etc, when a backup is done. The restore process used that last 
> backup and then applied the transaction logs to it.  Once another 
> backup was completed the old transaction logs were no longer needed.  
> I'm trying to understand what happens "under the hood" so to speak.  
> What checkpoint_settings value are you referring to?
Sorry. I had a brain/fingers disconnect. I meant the 
"checkpoint_segments" setting. Anyway, answers to a number of your 
questions regarding write-ahead logging may be found here:
http://www.postgresql.org/docs/8.3/interactive/wal-configuration.html

Cheers,
Steve




view thread (5+ messages)  latest in thread

Message-ID: <48E2A10C.9060602@pinpointresearch.com>
Permalink:  ../48E2A10C.9060602@pinpointresearch.com/
Also on:    postgresql.org/message-id/48E2A10C.9060602@pinpointresearch.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-admin@postgresql.org
  Cc: scrawford@pinpointresearch.com, walterc@indiana.edu
  Subject: Re: What process clears the logs?
  In-Reply-To: <48E2A10C.9060602@pinpointresearch.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