Re: MySQL is faster than PgSQL but a large margin in my program... any ideas why?

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: MySQL is faster than PgSQL but a large margin in my program... any ideas why?
Дата
Msg-id 20051222021418.GB6026@ns.snowman.net
обсуждение исходный текст
Ответ на MySQL is faster than PgSQL but a large margin in my program... any ideas why?  (Madison Kelly <linux@alteeve.com>)
Ответы Re: MySQL is faster than PgSQL but a large margin in my program... any ideas why?  (Kevin Brown <blargity@gmail.com>)
Re: MySQL is faster than PgSQL but a large margin in my  (Madison Kelly <linux@alteeve.com>)
Список pgsql-performance
* Madison Kelly (linux@alteeve.com) wrote:
>   If the performace difference comes from the 'COPY...' command being
> slower because of the automatic quoting can I somehow tell PostgreSQL
> that the data is pre-quoted? Could the performance difference be
> something else?

I doubt the issue is with the COPY command being slower than INSERTs
(I'd expect the opposite generally, actually...).  What's the table type
of the MySQL tables?  Is it MyISAM or InnoDB (I think those are the main
alternatives)?  IIRC, MyISAM doesn't do ACID and isn't transaction safe,
and has problems with data reliability (aiui, equivilant to doing 'fsync
= false' for Postgres).  InnoDB, again iirc, is transaction safe and
whatnot, and more akin to the default PostgreSQL setup.

I expect some others will comment along these lines too, if my response
isn't entirely clear. :)

    Stephen

Вложения

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

Предыдущее
От: Madison Kelly
Дата:
Сообщение: MySQL is faster than PgSQL but a large margin in my program... any ideas why?
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: Speed of different procedural language