Re: Slow "Select count(*) ..." query on table with 60 Mio. rows

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Matthew Wakeling" <matthew(at)flymine(dot)org>, <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Slow "Select count(*) ..." query on table with 60 Mio. rows
Date: 2010-01-14 15:47:53
Message-ID: 4B4EE849020000250002E4A4@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Matthew Wakeling <matthew(at)flymine(dot)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

-Kevin

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Pierre Frédéric Caillaud 2010-01-14 15:59:15 Re: performance config help
Previous Message A. Kretschmer 2010-01-14 15:18:14 Re: Slow "Select count(*) ..." query on table with 60 Mio. rows