pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ron Mayer <rm_pg@cheapcomplexdevices.com>
Cc: Christopher Browne <cbbrowne@acm.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: Need help to decide Mysql vs Postgres
Date: Tue, 07 Jun 2005 00:54:36 -0400
Message-ID: <26012.1118120076@sss.pgh.pa.us> (raw)
In-Reply-To: <42A49DC3.1030800@cheapcomplexdevices.com>
References: <0C072E7CC947D511AC9600A0CC7341200256CF37@xeon400.tagaudit.com>
	<m34qcbbesc.fsf@knuth.cbbrowne.com>
	<42A49DC3.1030800@cheapcomplexdevices.com>

Ron Mayer <rm_pg@cheapcomplexdevices.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



view thread (33+ messages)  latest in thread

Message-ID: <26012.1118120076@sss.pgh.pa.us>
Permalink:  ../26012.1118120076@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/26012.1118120076@sss.pgh.pa.us

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, rm_pg@cheapcomplexdevices.com, cbbrowne@acm.org
  Subject: Re: Need help to decide Mysql vs Postgres
  In-Reply-To: <26012.1118120076@sss.pgh.pa.us>

* 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