From: Merlin Moncure <mmoncure@gmail.com>
To: Mikkel Høgh <mikkel@hoegh.org>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: pgsql-general@postgresql.org
Subject: Re: Drupal and PostgreSQL - performance issues?
Date: Tue, 14 Oct 2008 17:22:09 -0400
Message-ID: <b42b73150810141422i5ad693a8la3966fa6334c23f7@mail.gmail.com> (raw)
In-Reply-To: <F933F17A-70BC-4DB0-9491-9EEF0E79ABD9@hoegh.org>
References: <a93e6cbe-0000-4000-9a34-4db3620c619d@mm>
<C6449FCD-198D-4A04-BACB-1BB2F20DD5B1@hoegh.org>
<48F4F053.1060201@hagander.net>
<F933F17A-70BC-4DB0-9491-9EEF0E79ABD9@hoegh.org>
On Tue, Oct 14, 2008 at 5:04 PM, Mikkel Høgh <mikkel@hoegh.org> wrote:
> After disabling SSL for localhost, I ran the tests again, and the
> performance gap is reduced to about 30%.
ok, now consider you are on a read only load, with lots (if I read the
thread correctly) repetitive queries. mysql has a feature called the
query cache which optimizes sending the same query multiple times, but
invalidates when a table changes.
postgresql has a very efficient locking engine, so it tends to beat
mysql up when you have lots of writing going on from different users.
myisam has an edge on mainly read only data in some cases...but 30% is
a small price to pay for all the extra power you get (and that 30%
will flip quickly if you have to do any real work).
merlin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: mmoncure@gmail.com, mikkel@hoegh.org, magnus@hagander.net, pgsql-general@postgresql.org
Subject: Re: Drupal and PostgreSQL - performance issues?
In-Reply-To: <b42b73150810141422i5ad693a8la3966fa6334c23f7@mail.gmail.com>
References: <a93e6cbe-0000-4000-9a34-4db3620c619d@mm> <C6449FCD-198D-4A04-BACB-1BB2F20DD5B1@hoegh.org> <48F4F053.1060201@hagander.net> <F933F17A-70BC-4DB0-9491-9EEF0E79ABD9@hoegh.org> <b42b73150810141422i5ad693a8la3966fa6334c23f7@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox