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

Re: turning of pg_xlog

From: Chander Ganesan <chander(at)otg-nc(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Jonny <blubb(at)terminalschmiede(dot)de>, pgsql-admin(at)postgresql(dot)org
Subject: Re: turning of pg_xlog
Date: 2008-09-30 18:55:19
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
Tom Lane wrote:
> Chander Ganesan <chander(at)otg-nc(dot)com> writes:
>> You should also understand that if you set checkpoint_segments to a 
>> small number, its still possible that PostgreSQL might use more than 
>> that number for a large transaction.
> "Large transactions" have nothing to do with this.  You are confusing
> Postgres' implementation with Oracle's.
> 			regards, tom lane
Okay.  I guess my use of the word "transaction" here was erroneous - 
probably comes from my oracle background :-( .  However, the fact 
remains that its possible to exceed checkpoint_segments in certain 
scenarios (I think the docs refer to it as a peak in log creation or 
something like that), which - if it fills up the disk that the WALs are 
on, can result in issues...  And one should be wary of that when trying 
to limit the number of WALs in order to meet limited disk space 

Chander Ganesan
Open Technology Group, Inc.
One Copley Parkway, Suite 210
Morrisville, NC  27560

In response to

pgsql-admin by date

Next:From: Steve CrawfordDate: 2008-09-30 19:26:42
Subject: Re: What process clears the logs?
Previous:From: Plugge, Joe R.Date: 2008-09-30 18:49:41
Subject: Re: turning of pg_xlog

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