From: Shaun Thomas <sthomas@peak6.com>
To: Andrey Vorobiev <andrey.o.vorobiev@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Performance degradation of inserts when database size grows
Date: Mon, 23 May 2011 08:30:34 -0500
Message-ID: <4DDA617A.6090105@peak6.com> (raw)
In-Reply-To: <BANLkTi=VKBmRLVLDjy8qxpWx_6-rmbUaXg@mail.gmail.com>
References: <BANLkTi=VKBmRLVLDjy8qxpWx_6-rmbUaXg@mail.gmail.com>
On 05/17/2011 07:45 AM, Andrey Vorobiev wrote:
> 2011-05-17 18:55:51 NOVST LOG: checkpoint starting: xlog
> 2011-05-17 18:57:20 NOVST LOG: checkpoint complete: wrote 62861 buffers
> (24.0%); 0 transaction log file(s) added, 0 removed, 0 recycled;
> write=89.196 s, sync=0.029 s, total=89.242 s
Increase your checkpoint_segments. If you see "checkpoint starting:
xlog" instead of "checkpoint starting: time", you don't have enough
checkpoint segments to handle your writes. Checkpoints *will* degrade
your throughput.
--
Shaun Thomas
OptionsHouse | 141 W. Jackson Blvd. | Suite 800 | Chicago IL, 60604
312-676-8870
sthomas@peak6.com
______________________________________________
See http://www.peak6.com/email_disclaimer.php
for terms and conditions related to this email
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: sthomas@peak6.com, andrey.o.vorobiev@gmail.com
Subject: Re: Performance degradation of inserts when database size grows
In-Reply-To: <4DDA617A.6090105@peak6.com>
* 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