Re: prelimiary performance comparison pgsql vs mysql

From: Richard Huxton <dev(at)archonet(dot)com>
To: Rick Schumeyer <rschumeyer(at)ieee(dot)org>
Cc: 'PgSql General' <pgsql-general(at)postgresql(dot)org>
Subject: Re: prelimiary performance comparison pgsql vs mysql
Date: 2005-03-14 12:43:42
Message-ID: 423586FE.3050209@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Rick Schumeyer wrote:
> Below are some PRELIMINARY results in comparing the performance of pgsql and
> mysql.
>
> These results are for a single process populating a table with 934k rows,
> and then performing some selects. I also compared the effect of creating
> indexes on some of the columns.
>
> I have not yet done any testing of transactions, multiple concurrent
> processes, etc.
>
> I did not make any changes to the default config settings. I can do
> so if someone has some suggestions.
>
> My machine is a 3.0 GHz P4 with 1 GB ram, running FC 3.

Stop now. I've not looked at your test results, and frankly there is no
point. As it ships, PG should run fine on a small corner of an old
laptop. It will not perform well with any sort of serious workload on
any sort of serious hardware. You're wasting your time if you want to
get any sort of meaningful result.

Take 30 minutes to read through the article below. It covers the basics
of how to manage your configuration settings.
http://www.powerpostgresql.com/PerfList

Oh - make sure you are accounting for caching effects as well.
--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Secrétariat 2005-03-14 13:04:42 Localization problems between Access and PostgresSQL 8
Previous Message Michael Fuhr 2005-03-14 12:39:57 Re: pg_restore: [custom archiver] could not uncompress data: incorrect data check