Re: Why is PGSQL better than MySQL

Поиск
Список
Период
Сортировка
От Neil Saunders
Тема Re: Why is PGSQL better than MySQL
Дата
Msg-id ddcd549e0512130213wc600a33x36474da2b6e9fe8d@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Why is PGSQL better than MySQL  ("Pedro B." <pedro.borracha@netcabo.pt>)
Список pgsql-php
Agreed. You can't argue with a well executed benchmark. All I'd say is
be careful not just the same simple select statement over and over
again - Do a variety of both simple and complex queries. And always
use InnoDB as compared to MyISAM (otherwise you're not comparing
apples with apples). The biggest pro (imho) that PostgreSQL has over
MySQL is its locking mechanism. PostgreSQL uses MVCC, which greatly
improves concurrency.

For a list of "Gotchas" take a look at these:
http://sql-info.de/mysql/gotchas.html
http://sql-info.de/postgresql/postgres-gotchas.html

Also stumbled across this:
http://www.vitavoom.com/postgresql.html

On 12/13/05, Pedro B. <pedro.borracha@netcabo.pt> wrote:
> On Mon, 2005-12-12 at 20:02 -0600, John Mohr wrote:
> > But does anyone know if there is a quasi-categorical comparison of the
> > two so that I could speak with more conviction other than "I know it's
> > better".
>
> I've been involved in that comparison at work, and after some boring
> theoretical discussions, i once turned to my CTO and said:
>
> "Do a test. On the same machine, do a script that executes 50.000
> inserts, OR any other 50.000 SQL operations you want, and benchmark the
> results".
>
> He did, and Postgres immediately got another die-hard fan.
> The facts spoke more clearly than i could ever do, with just words.
> Nowadays, he is even more "defensive" of PGSQL over MySQL than i am.
>
> \\pb
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
>

В списке pgsql-php по дате отправления:

Предыдущее
От: "Pedro B."
Дата:
Сообщение: Re: Why is PGSQL better than MySQL
Следующее
От: David Rogers
Дата:
Сообщение: Re: Why is PGSQL better than MySQL