From: greg@turnstep.com
To: pgsql-admin@postgresql.org
Cc: pgboy@guthrie.charm.net
Subject: Re: counting rows
Date: Wed, 6 Aug 2003 13:55:41 -0000
Message-ID: <34bd55e0b98d860469d786c8a3391880@biglumber.com> (raw)
In-Reply-To: <Pine.LNX.4.50.0308060920070.7263-100000@guthrie.charm.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> i need to get a row count on a large table. it appears that
> select count(*) from <table>;
> always does a table scan, whether i have an index or not, and that is too
> slow.
http://www.gtsm.com/oscon2003/findrows.html
- --
Greg Sabino Mullane greg@turnstep.com
PGP Key: 0x14964AC8 200308060951
-----BEGIN PGP SIGNATURE-----
Comment: http://www.turnstep.com/pgp.html
iD8DBQE/MQgmvJuQZxSWSsgRAkFDAJwPz5C7OljCg4TYqxvw4/WjLr8TlgCgovtS
xQPuL/l+QCPgmwVDeX0yocM=
=XtnA
-----END PGP SIGNATURE-----
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: greg@turnstep.com, pgboy@guthrie.charm.net
Subject: Re: counting rows
In-Reply-To: <34bd55e0b98d860469d786c8a3391880@biglumber.com>
References: <Pine.LNX.4.50.0308060920070.7263-100000@guthrie.charm.net> <34bd55e0b98d860469d786c8a3391880@biglumber.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