Re: counting rows

Поиск
Список
Период
Сортировка
От greg@turnstep.com
Тема Re: counting rows
Дата
Msg-id 34bd55e0b98d860469d786c8a3391880@biglumber.com
обсуждение исходный текст
Ответ на counting rows  (pgboy@guthrie.charm.net)
Ответы Re: counting rows  (pgboy@guthrie.charm.net)
Список 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 по дате отправления:

Предыдущее
От: "Wilson A. Galafassi Jr."
Дата:
Сообщение: Postgresql slow on XEON 2.4ghz/1gb ram
Следующее
От: Tom Lane
Дата:
Сообщение: Re: syslog enabled causes random hangs?