Re: Tweaking the planner's heuristics for small/empty tables
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Tweaking the planner's heuristics for small/empty tables |
| Дата | |
| Msg-id | 10706.1310591765@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Tweaking the planner's heuristics for small/empty tables (Bruce Momjian <bruce@momjian.us>) |
| Список | pgsql-hackers |
Bruce Momjian <bruce@momjian.us> writes:
> Tom Lane wrote:
>> Another reason not to rely completely on the auto-analyze update path is
>> that it doesn't work for temp tables, since autovac can't access another
>> session's temp tables. It's also worth noting that auto-analyze will
>> never kick in at all for tables of less than about 60 rows, unless there
>> is update/delete traffic on them.
> We could exclude temp tables in the 'if' test.
I considered whether to do things differently depending on the table's
temp status, but it's not clear what we could do better from knowing that.
If it's temp, it's more likely not less likely that we need some sort of
hack because vacuum/analyze won't come along to help.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера