| От | Tom Lane |
|---|---|
| Тема | Re: "SELECT IN" Still Broken in 7.4b |
| Дата | |
| Msg-id | 18608.1061411539@sss.pgh.pa.us обсуждение |
| Ответ на | Re: "SELECT IN" Still Broken in 7.4b (Mike Winter <mike.winter@frontlogic.com>) |
| Ответы |
Re: "SELECT IN" Still Broken in 7.4b
|
| Список | pgsql-sql |
Mike Winter <mike.winter@frontlogic.com> writes:
> MySQL does queries of this type orders of magnitudes faster than Postgres
> on large value lists, although I have no specific algorithmic solutions to
> offer for how to make it faster.
How large is "large", and what plan type are you getting (seq scan or
multiple index scan)? Is it possible that the cost comes from planner
overhead and not execution? Checking EXPLAIN ANALYZE reported time
against actual elapsed time (cf psql's \timing option) would tell.
regards, tom lane
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера