Re: prelimiary performance comparison pgsql vs mysql

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: prelimiary performance comparison pgsql vs mysql
Дата
Msg-id 1110822295.28555.41.camel@state.g2switchworks.com
обсуждение исходный текст
Ответ на prelimiary performance comparison pgsql vs mysql  ("Rick Schumeyer" <rschumeyer@ieee.org>)
Список pgsql-general
On Mon, 2005-03-14 at 05:52, Rick Schumeyer wrote:
> Below are some PRELIMINARY results in comparing the performance of pgsql and
> mysql.
>
> These results are for a single process populating a table with 934k rows,
> and then performing some selects.  I also compared the effect of creating
> indexes on some of the columns.
>
> I have not yet done any testing of transactions, multiple concurrent
> processes, etc.
>
> I did not make any changes to the default config settings.  I can do
> so if someone has some suggestions.
>
> My machine is a 3.0 GHz P4 with 1 GB ram, running FC 3.
>
> I used pg 8.0.1 and mysql 5.0.2 alpha.

Why are all the tests here select count(*) tests?  Surely your
application does something more interesting than counting rows...

For a more interesting test, try setting up three or four streaming
writers that write information continuously into the database, and then
run the select count(*) queries against both and see what happens.

My guess is that the table level locking of myisam tables means the
MySQL database will slow to a crawl or throw error messages, while the
postgresql system will slow down somewhat but keep right on running.

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Temporary tables privileges
Следующее
От: Jeff Amiel
Дата:
Сообщение: Re: skip weekends: revisited