| От | Tom Lane |
|---|---|
| Тема | Re: PostgreSQL 12.3 slow index scan chosen |
| Дата | |
| Msg-id | 1759984.1592604634@sss.pgh.pa.us обсуждение |
| Ответ на | Re: PostgreSQL 12.3 slow index scan chosen (Kenneth Marshall <ktm@rice.edu>) |
| Ответы |
Re: PostgreSQL 12.3 slow index scan chosen
|
| Список | pgsql-performance |
Kenneth Marshall <ktm@rice.edu> writes:
> On Fri, Jun 19, 2020 at 04:59:15PM -0400, Tom Lane wrote:
>> What's the actual maximum value of objectcustomfieldvalues.objectid,
>> and how does that compare to the endpoint value in the pg_stats
>> histogram for that column? If you've got one outlier in the table,
>> it might get missed by ANALYZE.
> max(objectcustomfieldvalues.objectid) = 28108423 and here is the
> histogram for that column:
... 3304313,3693956,27667772}
Hmm, does seem like you have some outlier keys. Are any of the keys in
the column you're trying to join to larger than 27667772?
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера