Re: 8.1 count(*) distinct: IndexScan/SeqScan - Mailing list pgsql-performance

From Pailloncy Jean-Gerard
Subject Re: 8.1 count(*) distinct: IndexScan/SeqScan
Date
Msg-id 78D03263-E40B-4E49-964C-D8013225247F@rilk.com
Whole thread Raw
In response to Re: 8.1 count(*) distinct: IndexScan/SeqScan  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
> What "same result"?  You only ran it up to 2K rows, not 2M.  In any
Sorry, I do this over and over until xxx.000 rows but I do not write
in the mail.

I do it again. initdb, create table, insert, vacuum full analyze,
explain analyze at each stage.
And there was no problem.

So I make a copy of the offending data directory, and try again. And
I got IndexScan only.
I will get an headheak ;-)

Too big to be send by mail: http://rilk.com/pg81.html

Cordialement,
Jean-Gérard Pailloncy


pgsql-performance by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: 8.1 count(*) distinct: IndexScan/SeqScan
Next
From: Rodrigo Madera
Date:
Subject: Newbie question: ultra fast count(*)