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

From PFC
Subject Re: Need help to decide Mysql vs Postgres
Date
Msg-id op.sryjazt2th1vuj@localhost
Whole thread Raw
In response to Re: Need help to decide Mysql vs Postgres  (Amit V Shah <ashah@tagaudit.com>)
List pgsql-performance
> postgres -> returns results in 2.8 seconds

    What kind of plan does it do ? seq scan on the big tables and hash join
on the small tables ?

> mysql -> takes around 16 seconds !!!! (This is with myisam ... with
> innodb it takes 220 seconds)

    I'm not surprised at all.
    Try the same Join query but with a indexed where + order by / limit on
the big table and you should get even worse for MySQL.
    I found 3 tables in a join was the maximum the MySQL planner was able to
cope with before blowing up just like you experienced.

> 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" ?

pgsql-performance by date:

Previous
From: Rod Taylor
Date:
Subject: Re: Need help to decide Mysql vs Postgres
Next
From: Amit V Shah
Date:
Subject: Re: Need help to decide Mysql vs Postgres