pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: runic <runic@gmx.de>
To: pgsql-performance@postgresql.org
Subject: select count(*) performance
Date: Wed, 08 Aug 2007 06:01:25 -0700
Message-ID: <1186578085.034463.116030@q75g2000hsh.googlegroups.com> (raw)

Hello Group,

I'm new in PostgreSQL Business, therefore please forgive me a "newbie"
Question. I have a table with ca. 1.250.000 Records. When I execute
a "select count (*) from table" (with pgAdmin III)  it takes about 40
secs.
I think that takes much to long. Can you please give me hints, where
I can search for Improvements?

TIA, Det




view thread (9+ messages)  latest in thread

Message-ID: <1186578085.034463.116030@q75g2000hsh.googlegroups.com>
Permalink:  ../1186578085.034463.116030@q75g2000hsh.googlegroups.com/
Also on:    postgresql.org/message-id/1186578085.034463.116030@q75g2000hsh.googlegroups.com

 · 

reply

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: runic@gmx.de
  Subject: Re: select count(*) performance
  In-Reply-To: <1186578085.034463.116030@q75g2000hsh.googlegroups.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