Re: More grist for the PostgreSQL vs MySQL mill

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Shashank Tripathi" <shashank(dot)tripathi(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: More grist for the PostgreSQL vs MySQL mill
Date: 2007-01-22 03:04:04
Message-ID: 1714.1169435044@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Shashank Tripathi" <shashank(dot)tripathi(at)gmail(dot)com> writes:
>> select something from othertable;
>> select * from table where table_id in (?, ?, ?, ?, ?, ?, ?, ...)

> This is what MySQL's CEO Martin said in an interview on Slashdot. If
> we can manage two queries as above through, say, a PHP application,
> with each executing in 0.004 seconds, then an optimized subquery needs
> to be beat the 0.008 mark to be a viable alternative.

That certainly *should* be possible, because the subquery approach
requires one less network round-trip, and less data marshaling/
transmission/demarshalling/back-the-other-way. If MySQL is seriously
making that argument as a reason why they need not put work into
subselects, you should be hearing strong echoes of their former
positions about "you don't need foreign keys" and so on.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Chris 2007-01-22 03:17:20 Re: More grist for the PostgreSQL vs MySQL mill
Previous Message Bruce Momjian 2007-01-22 02:48:17 Re: documentation vs reality: template databases