pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Lewis <mark.lewis@mir3.com>
To: carlosreimer@terra.com.br
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-performance@postgresql.org
Subject: Re: RES: RES: Initial database loading and IDE x SCSI
Date: Fri, 02 Jun 2006 13:44:04 -0700
Message-ID: <1149281044.20798.116.camel@archimedes> (raw)
In-Reply-To: <PEEPKDFEHHEMKBBFPOOKMEHHCPAA.carlosreimer@terra.com.br>
References: <PEEPKDFEHHEMKBBFPOOKMEHHCPAA.carlosreimer@terra.com.br>

On Fri, 2006-06-02 at 17:37 -0300, carlosreimer@terra.com.br wrote:
> Many thanks Mark,
> 
> I will consider fsync=off only to do an initial load, not for a database normal operation.
> 

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: 
> a) a restore database operation
> b) fsync off
> c) write-back on (IDE)
> 
> As I could understand, in this sceneraio, it´s normal the IDE drive be faster than the SCSI, ok?
> 

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=off, but if you consider only the system performance, then it is true. Isn´t it?



> Thanks,
> 
> Reimer
> 
> 



view thread (2+ messages)

Message-ID: <1149281044.20798.116.camel@archimedes>
Permalink:  ../1149281044.20798.116.camel@archimedes/
Also on:    postgresql.org/message-id/1149281044.20798.116.camel@archimedes

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: mark.lewis@mir3.com, carlosreimer@terra.com.br, tgl@sss.pgh.pa.us
  Subject: Re: RES: RES: Initial database loading and IDE x SCSI
  In-Reply-To: <1149281044.20798.116.camel@archimedes>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox