Skip site navigation (1) Skip section navigation (2)

Re: browsing table with 2 million records

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: aurora <aurora00(at)gmail(dot)com>
Cc: Mark Lewis <mark(dot)lewis(at)mir3(dot)com>,pgsql-performance(at)postgresql(dot)org
Subject: Re: browsing table with 2 million records
Date: 2005-10-26 21:31:57
Message-ID: 11775.1130362317@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-performance
aurora <aurora00(at)gmail(dot)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

In response to

pgsql-performance by date

Next:From: Steinar H. GundersonDate: 2005-10-26 21:37:30
Subject: Re: Materializing a sequential scan
Previous:From: Alex TurnerDate: 2005-10-26 21:28:36
Subject: Re: browsing table with 2 million records

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group