In the case of disk failure, the files will probably be damaged anyway and then i'll 
have to install new hardware or format+check badblocks and then restore from the 
backup. I can't see how fsync would help in the case of disk crash. Without reliable 
raid or something i think this would be a catastrophic failure => get new hardware: 
disk/ram/computer/building whatever and go find the (remote) backup.

In the case of power failure, you'll *might* have to restore from backup unless you 
use ReiserFS or some other journalling filesystem. I use ReiserFS. I also have a UPS 
installed, just to be sure...

Journalling FS will fix the FS problems, so the files are ok.
PG journal will fix the PG problems so the tables will be ok.


From: "Shridhar Daithankar" <[EMAIL PROTECTED]>
> On 7 Jul 2003 at 12:59, Mattias Kregert wrote:
> 
> > First of all, disable FSYNC... that will speed things up a lot!
> 
> That shouldn't have been done so casually.  Though can cause performance boost 
> and it degrades reliability of data as it can cause data corruption in case of 
> power/disk failure.
> 
> Bye
>  Shridhar


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to