Re: odd variances in count(*) times - Mailing list pgsql-performance

From Stephen Frost
Subject Re: odd variances in count(*) times
Date
Msg-id 20061009183026.GT24675@kenobi.snowman.net
Whole thread Raw
In response to odd variances in count(*) times  ("Merlin Moncure" <mmoncure@gmail.com>)
Responses Re: odd variances in count(*) times  ("Merlin Moncure" <mmoncure@gmail.com>)
List 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

Attachment

pgsql-performance by date:

Previous
From: "Merlin Moncure"
Date:
Subject: odd variances in count(*) times
Next
From: "Merlin Moncure"
Date:
Subject: Re: odd variances in count(*) times