Re: Speed of postgres compared to ms sql, is this

Поиск
Список
Период
Сортировка
От Teodor Sigaev
Тема Re: Speed of postgres compared to ms sql, is this
Дата
Msg-id 45766D19.4000501@sigaev.ru
обсуждение исходный текст
Ответ на Re: Speed of postgres compared to ms sql, is this  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
> These sorts of reports would be far more helpful if they contained some
> specifics.  What queries does MSSQL do better than Postgres, exactly?

Our OR-patch was inspired by our customer migrating from MS SQL to postgres.
Next, index support of IS NULL. And, there is a huge difference in performance
for queries like
select * from a,b where a.f = b.f or ( a.f is null and b.f is null)

NULL support is fast in MS SQL because MS SQL doesn't follow SQL standard: index
in MS SQL believes that (NULL = NULL) is true.


--
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
                                                    WWW: http://www.sigaev.ru/

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

Предыдущее
От: Joost Kraaijeveld
Дата:
Сообщение: Locking in PostgreSQL?
Следующее
От: Markus Schiltknecht
Дата:
Сообщение: Re: Locking in PostgreSQL?