X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 8060B9FB453 for ; Wed, 12 Jul 2006 14:46:15 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 75236-05 for ; Wed, 12 Jul 2006 14:46:06 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from projects.commandprompt.com (host-130.commandprompt.net [207.173.203.130]) by postgresql.org (Postfix) with ESMTP id 4A28A9FB3B5 for ; Wed, 12 Jul 2006 14:46:06 -0300 (ADT) Received: from [192.168.1.50] (or-67-76-146-141.sta.embarqhsd.net [67.76.146.141]) (authenticated bits=0) by projects.commandprompt.com (8.13.6/8.13.6) with ESMTP id k6CHk5GN019549; Wed, 12 Jul 2006 10:46:07 -0700 From: "Joshua D. Drake" Organization: Command Prompt, Inc. To: pgsql-performance@postgresql.org Subject: Re: Commit slower on faster PC Date: Wed, 12 Jul 2006 10:46:05 -0700 User-Agent: KMail/1.9.1 Cc: "Koth, Christian (DWBI)" References: In-Reply-To: XIDTRACK: jd@commandprompt.com MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607121046.05709.jd@commandprompt.com> X-Virus-Scanned: ClamAV version 0.88.2, clamav-milter version 0.88.2 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (projects.commandprompt.com [192.168.2.159]); Wed, 12 Jul 2006 10:46:08 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200607/113 X-Sequence-Number: 19973 On Wednesday 12 July 2006 09:16, Koth, Christian (DWBI) wrote: > Hi, > > please help me with the following problem: > > I have noticed a strange performance behaviour using a commit statement on > two different machines. On one of the machines the commit is many times > faster than on the other machine which has faster hardware. Server and > client are running always on the same machine. > > Server version (same on both machines): PostgreSQL 8.1.3. (same binaries as > well) Heh, I bet you are being bit by the cache on the IDE drive. What happens if you turn fsync off? Sincerely, Joshua D. Drake -- === The PostgreSQL Company: Command Prompt, Inc. === Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240 Providing the most comprehensive PostgreSQL solutions since 1997 http://www.commandprompt.com/