Re: Need help to decide Mysql vs Postgres

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ron Mayer <rm_pg(at)cheapcomplexdevices(dot)com>
Cc: Christopher Browne <cbbrowne(at)acm(dot)org>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Need help to decide Mysql vs Postgres
Date: 2005-06-07 04:54:36
Message-ID: 26012.1118120076@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Ron Mayer <rm_pg(at)cheapcomplexdevices(dot)com> writes:
> Christopher Browne wrote:
>> There is a common "use case" where MySQL(tm) ...
>> select * from some_table where id='some primary key value';

> However this is a quite common use-case; and I wonder what the
> best practices for postgresql is for applications like that.

Setting up a prepared statement should be a noticeable win for that sort
of thing. Also of course there are the usual tuning issues: have you
picked an appropriate shared_buffers setting, etc.

regards, tom lane

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Russell Smith 2005-06-07 09:43:16 Re: Performance nightmare with dspam (urgent)
Previous Message John A Meinel 2005-06-07 04:36:53 Re: Postgresql and Software RAID/LVM