Re: MySQL and PostgreSQL speed compare

From: "Gordan Bobic" <gordan(at)freeuk(dot)com>
To: "PostgreSQL General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: MySQL and PostgreSQL speed compare
Date: 2000-12-29 15:23:37
Message-ID: 001101c071ab$533e1de0$8000000a@localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> * Adam Lang <aalang(at)rutgersinsurance(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jarmo Paavilainen 2000-12-29 15:45:25 SV: MySQL and PostgreSQL speed compare
Previous Message Thomas T. Thai 2000-12-29 14:58:56 regression failed on NetBSD/Alpha