Re: change sample size for statistics

Поиск
Список
Период
Сортировка
От Nathan Boley
Тема Re: change sample size for statistics
Дата
Msg-id BANLkTikkkzpxOuvkgiuMx0ywaHgq1u2jng@mail.gmail.com
обсуждение исходный текст
Ответ на change sample size for statistics  (Willy-Bas Loos <willybas@gmail.com>)
Список pgsql-performance
[ Sorry, forgot to cc list ]

>> It is said to be 10%. i would like to raise that, because we are getting bas
>> estimations for n_distinct.
>
> More to the point, the estimator we use is going to be biased for many
> ( probably most ) distributions no matter how large your sample size
> is.
>
> If you need to fix ndistinct, a better approach may be to do it manually.
>
> Best,
> Nathan
>

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: change sample size for statistics
Следующее
От: "Reuven M. Lerner"
Дата:
Сообщение: Re: Triggering autovacuum