From: Greg Smith <greg@2ndquadrant.com>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: Matthew Wakeling <matthew@flymine.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: Slow "Select count(*) ..." query on table with 60 Mio. rows
Date: Thu, 14 Jan 2010 13:01:50 -0500
Message-ID: <4B4F5C0E.6050506@2ndquadrant.com> (raw)
In-Reply-To: <4B4EE849020000250002E4A4@gw.wicourts.gov>
References: <4B4EE849020000250002E4A4@gw.wicourts.gov>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: greg@2ndquadrant.com, Kevin.Grittner@wicourts.gov, matthew@flymine.org
Subject: Re: Slow "Select count(*) ..." query on table with 60 Mio. rows
In-Reply-To: <4B4F5C0E.6050506@2ndquadrant.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox