Our PostgreSQL database was getting bigger and we wanted to identify what tables are guilty.
Question posted in PostgreSQL
The official documentation can be found here.
The official documentation can be found here.
Our PostgreSQL database was getting bigger and we wanted to identify what tables are guilty.
2
Answers
Solution:
Output sample:
table1,25 GB
table2,14 GB
table3,11 GB
You can use :
You can modify the where clause to get the disk size of the tables under the schema.