From: Andres Freund <andres@anarazel.de>
To: pgsql-performance@postgresql.org
Cc: Florian Weimer <fweimer@bfk.de>
Subject: Re: Wrong docs on checkpoint_segments?
Date: Fri, 7 Jan 2011 14:39:31 +0100
Message-ID: <201101071439.32053.andres@anarazel.de> (raw)
In-Reply-To: <82aajcg9wa.fsf@mid.bfk.de>
References: <82aajcg9wa.fsf@mid.bfk.de>
On Friday, January 07, 2011 01:45:25 PM Florian Weimer wrote:
> On 9.0, this configuration
>
> checkpoint_segments = 512 # in logfile segments, min 1, 16MB each
>
> results in 1034 segments, so the effective logfile segment size is 32 MB.
Um. Is it possible that you redefined XLOG_SEG_SIZE or used --with-wal-
segsize=SEGSIZE?
The default is still:
andres@alap2:~/src/postgresql$ grep XLOG_SEG_SIZE src/include/pg_config.h
/* XLOG_SEG_SIZE is the size of a single WAL file. This must be a power of 2
XLOG_BLCKSZ). Changing XLOG_SEG_SIZE requires an initdb. */
#define XLOG_SEG_SIZE (16 * 1024 * 1024)
Andres
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: andres@anarazel.de, fweimer@bfk.de
Subject: Re: Wrong docs on checkpoint_segments?
In-Reply-To: <201101071439.32053.andres@anarazel.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox