Last active
September 26, 2017 03:04
-
-
Save anozimada/51d0a11de452bef53acda5a98385c595 to your computer and use it in GitHub Desktop.
Get table sizes from specific schema in Postgresql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select table_name, pg_relation_size(quote_ident(table_name)) | |
from information_schema.tables | |
where table_schema = 'adempiere' | |
order by 2 desc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment