Re: How to use brin_summarize_range

Поиск
Список
Период
Сортировка
От Michael Lewis
Тема Re: How to use brin_summarize_range
Дата
Msg-id CAHOFxGrY5gmUSC-DGyUQY6oXLJbffJOC8X-xQQiBseo18_LueQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: How to use brin_summarize_range  (Jeremy Finzel <finzelj@gmail.com>)
Список pgsql-general
What is default_statistics_target set to? Or is there custom statistics value set for this table/column? Perhaps the planner is making sub-optimal choices because it only has a vague idea about the data and the histogram is not very informative. Planning time will increase when statistics target is increased, but perhaps 250 instead of default 100 would give *enough* more information to make better choices. Or perhaps your target is already max 10000 and then I have no idea why btree would be chosen. Except, if correlation is too low for the optimizer to consider BRIN to be best perhaps. What does pg_stats say about the column in question?

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

Предыдущее
От: "Georg H."
Дата:
Сообщение: Re: Question on pgwatch
Следующее
От: PegoraroF10
Дата:
Сообщение: Re: slow queries on system tables