Re: pg_xlog content

From: Siddharth Shah <siddharth(dot)shah(at)elitecore(dot)com>
To: Richard Huxton <dev(at)archonet(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_xlog content
Date: 2008-12-02 11:41:54
Message-ID: 49351F02.1020304@elitecore.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message IPS 2008-12-02 11:45:16 Job scheduling in Postgre
Previous Message Richard Huxton 2008-12-02 11:40:08 Re: psql verbose mode