Re: pg_xlog content

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Siddharth Shah *EXTERN*" <siddharth(dot)shah(at)elitecore(dot)com>, "Richard Huxton" <dev(at)archonet(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_xlog content
Date: 2008-12-02 15:08:22
Message-ID: D960CB61B694CF459DCFB4B0128514C202D11113@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Siddharth Shah wrote:
> 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.

It contains the transaction log files.

The files are precreated with a size of 16MB and filled with log entries.
There will normally be several of those files around.

Since your main objective is to keep size small, you can change
the default of 16MB by setting XLOG_SEG_SIZE in src/include/pg_config_manual.h
to a smaller value.

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Shane Ambler 2008-12-02 16:16:14 Re: Favorite Tom Lane quotes
Previous Message Alvaro Herrera 2008-12-02 14:15:50 Re: Fwd: Cannot open include file: 'nodes/nodes.h'