How do you find the row count for all your tables in Postgres

Posted by mmrobins on Stack Overflow See other posts from Stack Overflow or by mmrobins
Published on 2010-04-07T23:51:29Z Indexed on 2010/04/07 23:53 UTC
Read the original article Hit count: 379

Filed under:
|
|
|

I'm looking for a way to find the row count for all my tables in Postgres. I know I can do this one table at a time with a

select count(*) from table_name;

but I'd like to see the row count for all the tables and the order by that to get an idea of how big all my tables are.

© Stack Overflow or respective owner

Related posts about postgres

Related posts about database