X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 5F59A9FA220 for ; Fri, 2 Jun 2006 17:44:39 -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 18147-05 for ; Fri, 2 Jun 2006 17:44:30 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mir3-fs.mir3.com (mail.mir3.com [65.208.188.100]) by postgresql.org (Postfix) with ESMTP id 84B549FA0E5 for ; Fri, 2 Jun 2006 17:44:30 -0300 (ADT) Received: mir3-fs.mir3.com 172.16.1.11 from 172.16.2.68 172.16.2.68 via HTTP with MS-WebStorage 6.0.6249 Received: from archimedes.mirlogic.com by mir3-fs.mir3.com; 02 Jun 2006 13:44:05 -0700 Subject: Re: RES: RES: Initial database loading and IDE x SCSI From: Mark Lewis To: carlosreimer@terra.com.br Cc: Tom Lane , pgsql-performance@postgresql.org In-Reply-To: References: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Organization: MIR3, Inc. Date: Fri, 02 Jun 2006 13:44:04 -0700 Message-Id: <1149281044.20798.116.camel@archimedes> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-27) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/15 X-Sequence-Number: 19372 On Fri, 2006-06-02 at 17:37 -0300, carlosreimer@terra.com.br wrote: > Many thanks Mark, >=20 > I will consider fsync=3Doff only to do an initial load, not for a databas= e normal operation. >=20 This approach works well. You just need to remember to shut down the database and start it back up again with fsync enabled for it to be safe after the initial load. > I was just thinking about this hipotetical scenario:=20 > a) a restore database operation > b) fsync off > c) write-back on (IDE) >=20 > As I could understand, in this sceneraio, it=C2=B4s normal the IDE drive = be faster than the SCSI, ok? >=20 If fsync is off, then the IDE drive loses its big advantage, so IDE and SCSI should be about the same speed. > Of course, the database is exposed because of the fsync=3Doff, but if you= consider only the system performance, then it is true. Isn=C2=B4t it? > Thanks, >=20 > Reimer >=20 >=20