Re: Need help to decide Mysql vs Postgres - Mailing list pgsql-performance

From Christopher Browne
Subject Re: Need help to decide Mysql vs Postgres
Date
Msg-id m34qcbbesc.fsf@knuth.cbbrowne.com
Whole thread Raw
In response to Re: Need help to decide Mysql vs Postgres  (Amit V Shah <ashah@tagaudit.com>)
Responses Re: Need help to decide Mysql vs Postgres
List pgsql-performance
In the last exciting episode, ashah@tagaudit.com (Amit V Shah) wrote:
>> I am all for postgres at this point, however just want to know why I am
>> getting opposite results !!! Both DBs are on the same machine
>
>>    Why do you say "opposite results" ?
>
> Please pardon my ignorance, but from whatever I had heard, mysql was
> supposedly always faster than postgres !!!! Thats why I was so
> surprised !!  I will definately post the "analyze query" thing by
> end of today ...

There is a common "use case" where MySQL(tm) using the "MyISAM"
storage manager tends to be quicker than PostgreSQL, namely where you
are submitting a lot of more-or-less serial requests of the form:

  select * from some_table where id='some primary key value';

If your usage patterns differ from that, then "what you heard" won't
necessarily apply to your usage.
--
output = ("cbbrowne" "@" "acm.org")
http://linuxdatabases.info/info/rdbms.html
The difference between a  child and a hacker  is the amount he  flames
about his toys.  -- Ed Schwalenberg

pgsql-performance by date:

Previous
From: Mark Rinaudo
Date:
Subject: Postgresql on an AMD64 machine
Next
From: PFC
Date:
Subject: Re: Need help to decide Mysql vs Postgres