Re: MySQL and PostgreSQL speed compare - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: MySQL and PostgreSQL speed compare
Date
Msg-id Pine.LNX.4.30.0012291753540.822-100000@peter.localdomain
Whole thread Raw
In response to Re: MySQL and PostgreSQL speed compare  ("Gordan Bobic" <gordan@freeuk.com>)
List pgsql-general
Gordan Bobic writes:

> > Actually, if he ran Postgresql with WAL enabled, fsync shouldn't
> > make much of a difference.
>
> What's WAL?

Write Ahead Logging

It's a system that writes anything that it wants to do to the database to
a log file first and if the system crashes before the data is in the
database proper then it will replay the log on restart.  (I guess you
could think of it as similar to a journalling file system.)  That means
that fsync is never necessary on actual data files, only on the log files,
which are much smaller.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


pgsql-general by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: Changes for Foreign Keys from 7.0.3 to 7.1beta?
Next
From: "Thomas T. Thai"
Date:
Subject: can't post