Re: pg_xlog content - Mailing list pgsql-general

From Siddharth Shah
Subject Re: pg_xlog content
Date
Msg-id 49351F02.1020304@elitecore.com
Whole thread Raw
In response to Re: pg_xlog content  (Richard Huxton <dev@archonet.com>)
Responses Re: pg_xlog content  (Richard Huxton <dev@archonet.com>)
Re: pg_xlog content  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
List pgsql-general
Richard Huxton wrote:
> Siddharth Shah wrote:
>
>> Hi,
>>
>>    When I initialize database, pg_xlog direcory takes almost 17 MB size
>>    Why pg_xlog/WAL takes 17 MB of size while there is no transaction
>> occurred ?
>>
>>    What is the content of pg_xlog , If it's only wal file it's must be
>> blank after on write of transaction on database.
>>
>
> It's the WAL. Files will be 16MB in size and you will have several (I
> think 3 is the minimum). If you have a large update that can increase.
> See the checkpoint_segments setting if you think that's something you'll
> do frequently.
>
> If you are using WAL-based replication you could have lots if the
> archive command keeps failing.
>
>
    I am not using wall based replication ? I no not have frequent &
long transaction , need of checkpoints
Just want to get what data resides in pg_xlog that it takes 16MB without
any transactions.

-    Siddharth


pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: psql verbose mode
Next
From: IPS
Date:
Subject: Job scheduling in Postgre