X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 735FF9DC827 for ; Wed, 15 Feb 2006 11:18:17 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 42162-08 for ; Wed, 15 Feb 2006 11:18:20 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 1C5CF9DC80D for ; Wed, 15 Feb 2006 11:18:13 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id k1FFIIVI000197; Wed, 15 Feb 2006 10:18:18 -0500 (EST) To: "FERREIRA, William (VALTECH)" cc: J.K.Shah@Sun.COM, Albert Cervera Areny , pgsql-performance@postgresql.org Subject: Re: copy and postgresql.conf In-reply-to: <414D259CE29DE54DAD534037C83CE4B7011E4874@FR0-MAILMB20.res.airbus.corp> References: <414D259CE29DE54DAD534037C83CE4B7011E4874@FR0-MAILMB20.res.airbus.corp> Comments: In-reply-to "FERREIRA, William (VALTECH)" message dated "Wed, 15 Feb 2006 15:25:41 +0100" Date: Wed, 15 Feb 2006 10:18:18 -0500 Message-ID: <196.1140016698@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.109 required=5 tests=[AWL=0.109] X-Spam-Score: 0.109 X-Spam-Level: X-Archive-Number: 200602/196 X-Sequence-Number: 17182 "FERREIRA, William (VALTECH)" writes: > with PostgreSQL 8.1.3, here are my parameters (it's the default configuration) > wal_sync_method = fsync > wal_buffers = 8 > checkpoint_segments = 3 > bgwriter_lru_percent = 1.0 > bgwriter_lru_maxpages = 5 > bgwriter_all_percent = 0.333 > bgwriter_all_maxpages = 5 > and you think times can be improved again ? Increasing checkpoint_segments will definitely help for any write-intensive situation. It costs you in disk space of course, as well as the time needed for post-crash recovery. regards, tom lane