Re: odd variances in count(*) times

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: odd variances in count(*) times
Дата
Msg-id 20061009183026.GT24675@kenobi.snowman.net
обсуждение исходный текст
Ответ на odd variances in count(*) times  ("Merlin Moncure" <mmoncure@gmail.com>)
Ответы Re: odd variances in count(*) times  ("Merlin Moncure" <mmoncure@gmail.com>)
Список pgsql-performance
* Merlin Moncure (mmoncure@gmail.com) wrote:
> explain analyze select 5000!;
> A: 2.4 seconds
> B: 1.8 seconds
>
> explain analyze select count(*) from generate_series(1,500000);
> A: 0.85 seconds
> B: 4.94 seconds

Try w/o the explain analyze.  It adds quite a bit of overhead and that
might be inconsistant between the systems (mainly it may have to do with
the gettimeofday() calls being implemented differently between Windows
and Linux..).

    Thanks,

        Stephen

Вложения

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

Предыдущее
От: "Merlin Moncure"
Дата:
Сообщение: odd variances in count(*) times
Следующее
От: "Merlin Moncure"
Дата:
Сообщение: Re: odd variances in count(*) times