Re: browsing table with 2 million records - Mailing list pgsql-performance

From Tom Lane
Subject Re: browsing table with 2 million records
Date
Msg-id 11775.1130362317@sss.pgh.pa.us
Whole thread Raw
In response to Re: browsing table with 2 million records  (aurora <aurora00@gmail.com>)
List pgsql-performance
aurora <aurora00@gmail.com> writes:
> It would still be helpful if select count(*) can perform well.

If you can settle for an approximate count, pg_class.reltuples might
help you.

            regards, tom lane

pgsql-performance by date:

Previous
From: Alex Turner
Date:
Subject: Re: browsing table with 2 million records
Next
From: "Steinar H. Gunderson"
Date:
Subject: Re: Materializing a sequential scan