Re: Abnormal performance difference between Postgres and MySQL

Поиск
Список
Период
Сортировка
От Guillaume Smet
Тема Re: Abnormal performance difference between Postgres and MySQL
Дата
Msg-id 1d4e0c10902231533t1b3731cdnda3adff7dd9811bb@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Abnormal performance difference between Postgres and MySQL  (Scott Marlowe <scott.marlowe@gmail.com>)
Ответы Re: Abnormal performance difference between Postgres and MySQL
Список pgsql-performance
On Tue, Feb 24, 2009 at 12:27 AM, Scott Marlowe <scott.marlowe@gmail.com> wrote:
> If it's not C then string compares are going to probably need special
> indexes to work the way you expect them. (varchar pattern ops).  Look
> here for more information:
>
> http://www.postgresql.org/docs/8.3/static/indexes-opclass.html

It's only relevant for pattern matching (eg LIKE or regexp). AFAICS,
the OP only uses plain equals in his query.

An EXPLAIN ANALYZE output would be nice to diagnose the problem.

--
Guillaume

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

Предыдущее
От: Farhan Husain
Дата:
Сообщение: Re: Abnormal performance difference between Postgres and MySQL
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: postgreSQL performance 8.2.6 vs 8.3.3