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 mighthelp you.
regards, tom lane