Re: benchmarking the query planner
От | Simon Riggs |
---|---|
Тема | Re: benchmarking the query planner |
Дата | |
Msg-id | 1229039044.13078.193.camel@hp_dx2400_1 обсуждение исходный текст |
Ответ на | Re: benchmarking the query planner (Gregory Stark <stark@enterprisedb.com>) |
Ответы |
Re: benchmarking the query planner
Re: benchmarking the query planner |
Список | pgsql-hackers |
On Thu, 2008-12-11 at 22:29 +0000, Gregory Stark wrote: > > And I would like it even more if the sample size increased according > to table size, since that makes ndistinct values fairly random for > large > > tables. > > Unfortunately _any_ ndistinct estimate based on a sample of the table > is going to be pretty random. We know that constructed data distributions can destroy the effectiveness of the ndistinct estimate and make sample size irrelevant. But typical real world data distributions do improve their estimations with increased sample size and so it is worthwhile. -- Simon Riggs www.2ndQuadrant.comPostgreSQL Training, Services and Support
В списке pgsql-hackers по дате отправления: