Re: Wal -long transaction - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: Wal -long transaction
Date
Msg-id 20060313150541.GH6714@svana.org
Whole thread Raw
In response to Wal -long transaction  (Agnes Bocchino <agnes.bocchino@bull.net>)
Responses Re: Wal -long transaction  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Wal -long transaction  (Agnes Bocchino <agnes.bocchino@bull.net>)
List pgsql-general
On Mon, Mar 13, 2006 at 03:59:33PM +0100, Agnes Bocchino wrote:
> I would like to know how Postgresql works when all the files
> (checkpoint_segment *2 + 1)
> are full ,
> does Postgresql rollback the transaction when all the wal segments are used,
> or does the server stop with an error message ?
> (I have tried to make the test but without success for finding a long
> transaction)

AIUI it just keeps creating more segments. i.e. checkpoint_segment is
not a hard limit. It's just the number it keeps around and recycles
rather than continually creating and deleteing files.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Attachment

pgsql-general by date:

Previous
From: Agnes Bocchino
Date:
Subject: Wal -long transaction
Next
From: Niklas Johansson
Date:
Subject: Re: Problem getting plpgsql to choose the right query plan