Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 361EBB5DBE0 for ; Mon, 23 May 2011 10:30:43 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 48922-02 for ; Mon, 23 May 2011 13:30:35 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp.peak6.com (smtp.peak6.com [38.98.137.6]) by mail.postgresql.org (Postfix) with ESMTP id 88537B5DBDA for ; Mon, 23 May 2011 10:30:35 -0300 (ADT) X-AuditID: 0a64cb1e-b7c03ae000007c42-f2-4dda617bcee0 Message-ID: <4DDA617A.6090105@peak6.com> Date: Mon, 23 May 2011 08:30:34 -0500 From: Shaun Thomas Reply-To: Organization: Peak6 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100720 Lightning/1.0b2 Thunderbird/3.1.1 MIME-Version: 1.0 To: Andrey Vorobiev CC: Subject: Re: Performance degradation of inserts when database size grows References: In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed content-transfer-encoding: 7bit X-Originating-IP: [10.10.221.50] X-Brightmail-Tracker: AAAAAQAAAZE= X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201105/298 X-Sequence-Number: 43807 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