Re: pg_xlog content - Mailing list pgsql-general

From Albe Laurenz
Subject Re: pg_xlog content
Date
Msg-id D960CB61B694CF459DCFB4B0128514C202D11113@exadv11.host.magwien.gv.at
Whole thread Raw
In response to Re: pg_xlog content  (Siddharth Shah <siddharth.shah@elitecore.com>)
Responses Re: pg_xlog content
List 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

pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Fwd: Cannot open include file: 'nodes/nodes.h'
Next
From: Shane Ambler
Date:
Subject: Re: Favorite Tom Lane quotes