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 D3948D1B18A for ; Fri, 11 Jun 2004 15:55:05 -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 68335-05 for ; Fri, 11 Jun 2004 18:55:04 +0000 (GMT) Received: from tht.net (vista.tht.net [216.126.88.2]) by svr1.postgresql.org (Postfix) with ESMTP id DC54CD1B187 for ; Fri, 11 Jun 2004 15:55:01 -0300 (ADT) Received: from [134.22.68.4] (dyn-68-4.tor.dsl.tht.net [134.22.68.4]) by tht.net (Postfix) with ESMTP id 0ABCC76A56; Fri, 11 Jun 2004 14:55:06 -0400 (EDT) Subject: Re: in-transaction insert performance in 7.5devel From: Rod Taylor To: Merlin Moncure Cc: Postgresql Performance In-Reply-To: <6EE64EF3AB31D5448D0007DD34EEB34101AE59@Herge.rcsinc.local> References: <6EE64EF3AB31D5448D0007DD34EEB34101AE59@Herge.rcsinc.local> Content-Type: text/plain Message-Id: <1086980100.2539.187.camel@jester> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Fri, 11 Jun 2004 14:55:01 -0400 Content-Transfer-Encoding: 7bit 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/133 X-Sequence-Number: 7191 On Fri, 2004-06-11 at 14:40, Merlin Moncure wrote: > I am batch inserting insert statements into a database with fsync = on. > My single disk system is on a 10k drive...even though I am inside a > transaction there is at least 1 file sync per row insert. Which filesystem? PostgreSQL isn't issuing the sync except at commit of a transaction, but some filesystems do wacky things if you ask them too.