X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 8388FD1B18F for ; Tue, 29 Jun 2004 13:03:04 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 58336-01 for ; Tue, 29 Jun 2004 16:03:00 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id CB3D4D1B1D2 for ; Tue, 29 Jun 2004 13:02:58 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i5TG2vFf001473; Tue, 29 Jun 2004 12:02:58 -0400 (EDT) To: Michal Taborsky Cc: pgsql-performance@postgresql.org Subject: Re: Slow INSERT In-reply-to: <40E18F14.4000600@taborsky.cz> References: <40E160E6.4080105@taborsky.cz> <29095.1088519446@sss.pgh.pa.us> <40E1863B.9070208@taborsky.cz> <29835.1088522568@sss.pgh.pa.us> <40E18F14.4000600@taborsky.cz> Comments: In-reply-to Michal Taborsky message dated "Tue, 29 Jun 2004 17:47:32 +0200" Date: Tue, 29 Jun 2004 12:02:57 -0400 Message-ID: <1472.1088524977@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200406/301 X-Sequence-Number: 7359 Michal Taborsky writes: > I've read the discussion in "Trying to minimize the impact of > checkpoints" thread and I get it, that there is nothing I can do about > it. Well, we'll have to live with that, at least until 7.5. You could experiment with the checkpoint interval (checkpoint_timeout). A shorter interval will mean more total I/O (the same page will get written out more often) but it should reduce the amount of I/O done by any one checkpoint. You might find that the extra overhead is worth it to reduce the spikes. But 7.5 should provide a much better answer, yes. regards, tom lane