| От | Tom Lane |
|---|---|
| Тема | Re: Problems with adding a is not null to a query. |
| Дата | |
| Msg-id | 20744.1295297840@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Problems with adding a is not null to a query. (Tim Uckun <timuckun@gmail.com>) |
| Ответы |
Re: Problems with adding a is not null to a query.
|
| Список | pgsql-bugs |
Tim Uckun <timuckun@gmail.com> writes:
> relname | pg_relation_size | reltuples | relpages
> ------------------------+------------------+-------------+----------
> consolidated_urls | 1303060480 | 1.80192e+06 | 159065
> consolidated_urls_pkey | 114745344 | 1.80192e+06 | 14007
With a table that large, you're probably going to need a larger stats
target in order to get reasonable estimates for low-frequency values.
Am I right in guessing that pg_stats.n_distinct is much too low for
the domain_id column?
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера