Re: Slow "Select count(*) ..." query on table with 60 Mio. rows - Mailing list pgsql-performance

From Greg Smith
Subject Re: Slow "Select count(*) ..." query on table with 60 Mio. rows
Date
Msg-id 4B4F5C0E.6050506@2ndquadrant.com
Whole thread Raw
In response to Re: Slow "Select count(*) ..." query on table with 60 Mio. rows  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Responses Re: Slow "Select count(*) ..." query on table with 60 Mio. rows
List pgsql-performance
Kevin Grittner wrote:
Matthew Wakeling <matthew@flymine.org> wrote: 
This is an FAQ.   
 
I just added it to the wiki FAQ page:
http://wiki.postgresql.org/wiki/FAQ#Why_is_.22SELECT_count.28.2A.29_FROM_bigtable.3B.22_slow.3F 
The content was already there, just not linked into the main FAQ yet:  http://wiki.postgresql.org/wiki/Slow_Counting

-- 
Greg Smith    2ndQuadrant   Baltimore, MD
PostgreSQL Training, Services and Support
greg@2ndQuadrant.com  www.2ndQuadrant.com

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: bad execution plan for subselects containing windowing-function
Next
From: Andreas Kretschmer
Date:
Subject: Re: bad execution plan for subselects containing windowing-function