From: | "Merlin Moncure" <mmoncure(at)gmail(dot)com> |
---|---|
To: | Mikkel Høgh <mikkel(at)hoegh(dot)org> |
Cc: | "Magnus Hagander" <magnus(at)hagander(dot)net>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Drupal and PostgreSQL - performance issues? |
Date: | 2008-10-14 21:22:09 |
Message-ID: | b42b73150810141422i5ad693a8la3966fa6334c23f7@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-performance |
On Tue, Oct 14, 2008 at 5:04 PM, Mikkel Høgh <mikkel(at)hoegh(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Isak Hansen | 2008-10-14 21:28:24 | Re: Chart of Accounts |
Previous Message | Mikkel Høgh | 2008-10-14 21:04:36 | Re: Drupal and PostgreSQL - performance issues? |
From | Date | Subject | |
---|---|---|---|
Next Message | Mikkel Høgh | 2008-10-14 21:57:36 | Re: Drupal and PostgreSQL - performance issues? |
Previous Message | Mikkel Høgh | 2008-10-14 21:04:36 | Re: Drupal and PostgreSQL - performance issues? |