X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id C8A4A9FA465 for ; Tue, 12 Sep 2006 09:37:24 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 29988-08 for ; Tue, 12 Sep 2006 12:37:17 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.mnc.ch (62-2-77-205.static.cablecom.ch [62.2.77.205]) by postgresql.org (Postfix) with ESMTP id 305089FA435 for ; Tue, 12 Sep 2006 09:37:16 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by mail.mnc.ch (Postfix) with ESMTP id 76A44A82CB; Tue, 12 Sep 2006 14:42:24 +0200 (CEST) Received: from mail.mnc.ch ([127.0.0.1]) by localhost (mail.test.lan [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 16564-10; Tue, 12 Sep 2006 14:42:23 +0200 (CEST) Received: from meuh.mnc.lan (62-2-77-204.static.cablecom.ch [62.2.77.204]) by mail.mnc.ch (Postfix) with ESMTP id 1CE88A82B7; Tue, 12 Sep 2006 14:42:23 +0200 (CEST) Received: by meuh.mnc.lan (Postfix, from userid 1000) id 83159183650; Tue, 12 Sep 2006 14:36:22 +0200 (CEST) To: Laszlo Nagy Cc: pgsql-performance@postgresql.org Subject: Re: Poor performance on seq scan References: <3E37B936B592014B978C4415F90D662D04589725@MI8NYCMAIL06.Mi8.com> <4506A4E2.706@designaproduct.biz> X-Hashcash: 1:20:060912:gandalf@designaproduct.biz::fp848dwgfmBHeQ8s:000000000000000000000000000000000006eUB X-Hashcash: 1:20:060912:pgsql-performance@postgresql.org::56SxuLOI49y06x00:000000000000000000000000000000Y7V From: Guillaume Cottenceau Date: 12 Sep 2006 14:36:22 +0200 In-Reply-To: <4506A4E2.706@designaproduct.biz> Message-ID: <874pvdxnw9.fsf@meuh.mnc.lan> Lines: 13 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: amavisd-new at mnc.ch X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=2.148 tagged_above=0 required=5 tests=BIZ_TLD, FORGED_RCVD_HELO X-Spam-Level: ** X-Archive-Number: 200609/78 X-Sequence-Number: 20764 Laszlo Nagy writes: > This is a mirrored disk with two SATA disks. In theory, writing should > be slower than reading. Is this a hardware problem? Or is it that > "sync" did not do the sync? SATA disks are supposed to be capable of lying to pg's fsync (pg asking the kernel to synchronize a write and waiting until it is finished). Same can probably happen to the "sync" command. -- Guillaume Cottenceau Create your personal SMS or WAP Service - visit http://mobilefriends.ch/