Skip site navigation (1) Skip section navigation (2)

checkpoint_timeout irrelevant in 8.1.9

From: "George Wilk" <gwilk(at)ellacoya(dot)com>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: checkpoint_timeout irrelevant in 8.1.9
Date: 2007-06-20 17:26:34
Message-ID: 002501c7b360$267ac1c0$0d7ba8c0@ellacoya.com (view raw or flat)
Thread:
Lists: pgsql-admin
According to the WAL config documentation correctly, checkpoints are created
every
<mk:@MSITStore:C:\Program%20Files\PostgreSQL\8.2\pgAdmin%20III\docs\en_US\pg
admin3.chm::/pg/runtime-config-wal.html#guc-checkpoint-segments>
checkpoint_segments log segments, or every
<mk:@MSITStore:C:\Program%20Files\PostgreSQL\8.2\pgAdmin%20III\docs\en_US\pg
admin3.chm::/pg/runtime-config-wal.html#guc-checkpoint-timeout>
checkpoint_timeout seconds, whichever comes first.  However, it seems as
though setting my checkpoint_timeout has no effect on checkpoint creation (
I have it set to 30 seconds).  Forcing checkpoint by running psql -c
CHECKPOINT mydb doesn't do the trick either.  Checkpoints are created solely
based on the checkpoint_segments logs reaching their configured size.

 

This is not satisfactory in a low transaction volume environment.  Any hints
on how else can I trigger checkpoint?

 

Thanks in advance,

 

~george

Responses

pgsql-admin by date

Next:From: Joshua D. DrakeDate: 2007-06-20 17:45:55
Subject: Re: checkpoint_timeout irrelevant in 8.1.9
Previous:From: Sibte AbbasDate: 2007-06-20 17:19:24
Subject: Re: Logging autovacuum activity

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group