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

From Gordan Bobic
Subject Re: MySQL and PostgreSQL speed compare
Date
Msg-id 001101c071ab$533e1de0$8000000a@localdomain
Whole thread Raw
In response to MySQL and PostgreSQL speed compare  ("Jarmo Paavilainen" <netletter@comder.com>)
Responses Re: MySQL and PostgreSQL speed compare
Re: MySQL and PostgreSQL speed compare
List pgsql-general
> * Adam Lang <aalang@rutgersinsurance.com> [001229 05:47] wrote:
> > But isn't it recommended to run the server with fsync?  If so, you
shouldn't
> > disable it on a benchmark then.
>
> Actually, if he ran Postgresql with WAL enabled, fsync shouldn't
> make much of a difference.

What's WAL? Are you referring to autocommit? I will admit that autocomit
already improves performance so much that fsync() isn't going to matter
that much, but it will still make a noticeable improvement. It certainly
did on my system (~20%). FWIW, disabling autocommint, and introducing the
overhead of doing a select for checking before EVERY INSERT and UPDATE,
made an improvement of about 2-3 times on my application... But, different
applications require different things, so... YMMV...

Regards.

Gordan


pgsql-general by date:

Previous
From: "Gordan Bobic"
Date:
Subject: Re: MySQL and PostgreSQL speed compare
Next
From: Alfred Perlstein
Date:
Subject: Re: MySQL and PostgreSQL speed compare