Re: counting rows - Mailing list pgsql-admin

From greg@turnstep.com
Subject Re: counting rows
Date
Msg-id 34bd55e0b98d860469d786c8a3391880@biglumber.com
Whole thread Raw
In response to counting rows  (pgboy@guthrie.charm.net)
Responses Re: counting rows  (pgboy@guthrie.charm.net)
List pgsql-admin
-----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-----



pgsql-admin by date:

Previous
From: "Wilson A. Galafassi Jr."
Date:
Subject: Postgresql slow on XEON 2.4ghz/1gb ram
Next
From: Tom Lane
Date:
Subject: Re: syslog enabled causes random hangs?