Skip site navigation (1) Skip section navigation (2)

Re: 8.1 count(*) distinct: IndexScan/SeqScan

From: Pailloncy Jean-Gerard <jg(at)rilk(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: 8.1 count(*) distinct: IndexScan/SeqScan
Date: 2005-11-25 14:47:16
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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:

Jean-GĂ©rard Pailloncy

In response to

pgsql-performance by date

Next:From: Rodrigo MaderaDate: 2005-11-25 19:36:35
Subject: Newbie question: ultra fast count(*)
Previous:From: Alvaro HerreraDate: 2005-11-25 12:32:00
Subject: Re: 8.1 count(*) distinct: IndexScan/SeqScan

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group