| От | Tom Lane |
|---|---|
| Тема | Re: Weird 8.2.4 performance |
| Дата | |
| Msg-id | 29877.1181223151@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Weird 8.2.4 performance (Kurt Overberg <kurt@hotdogrecords.com>) |
| Список | pgsql-performance |
Kurt Overberg <kurt@hotdogrecords.com> writes:
> ... Turning off bitmap scans definitely seems
> to help things,
I really seriously doubt that. On queries like this, where each inner
scan is fetching a couple hundred rows, the small extra overhead of a
bitmap scan should easily pay for itself. I think you're looking
entirely at caching effects that allow a re-read of the same data to
go faster.
You might try running the same query plan several times in a row and
noting the lowest time, then repeat for the other query plan. This will
get you comparable fully-cached times, which I bet will be very close
to the same.
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера