Re: [PATCH] Improve EXPLAIN ANALYZE overhead by sampling

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: [PATCH] Improve EXPLAIN ANALYZE overhead by sampling
Дата
Msg-id 20060601064706.GB12689@svana.org
обсуждение исходный текст
Ответ на Re: [PATCH] Improve EXPLAIN ANALYZE overhead by sampling  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: [PATCH] Improve EXPLAIN ANALYZE overhead by sampling  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
On Tue, May 30, 2006 at 10:01:49AM -0400, Bruce Momjian wrote:
>
> Patch applied.  Thanks.

I note Tom made some changes to this patch after it went in. For the
record, it was always my intention that samplecount count the number of
_tuples_ returned while sampling, rather than the number of
_iterations_. I'll admit the comment in the header was wrong.

While my original patch had a small error in the case of multiple
tuples returned, it would've been correctable by counting the actual
number of sample. The way it is now, it will show a bias if the number
of tuples returned increases after the first sampled 50 tuples.
However, my knowledge of statistics isn't good enough to determine if
this is an actual problem or not, since the way it is now will sample
more initialially...

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Вложения

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] psql \copy warning
Следующее
От: Joachim Wieland
Дата:
Сообщение: TODO-Item: full timezone names