| От | Tom Lane |
|---|---|
| Тема | Re: Slow indexscan |
| Дата | |
| Msg-id | 29484.1182367794@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Slow indexscan ("Mikko Partio" <mpartio@gmail.com>) |
| Ответы |
Re: Slow indexscan
|
| Список | pgsql-performance |
"Mikko Partio" <mpartio@gmail.com> writes:
> I guess the sort_mem helped, or then part of the rows are in the cache
> already. Should increasing sort_mem help here since there are no sorts etc?
No, it wouldn't --- this change has to be due to the data being already
loaded into cache.
There's no obvious reason for the previous query to be so slow, unless
you've got horrendously slow or overloaded disk hardware. What sort of
machine is this anyway, and was it doing any other work at the time?
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера