Thursday , December 26 2024

How to Find The Size of all Databases in PostgreSQL

In Postgres you could be managing many databases on a Cluster.

In some cases you may need to query the size all of these databases.

You can query the size of  a database or all databases in the cluster with the help of the following scripts.

Find the Size of a Database in PostgreSQL

Find the Size of all Databases in PostgreSQL

If you want to list the the size of tables in postgresql, you should read the following article.

How To Find the Size of Tables and Indexes in PostgreSQL

Loading

About dbtut

We are a team with over 10 years of database management and BI experience. Our Expertises: Oracle, SQL Server, PostgreSQL, MySQL, MongoDB, Elasticsearch, Kibana, Grafana.

Leave a Reply

Your email address will not be published. Required fields are marked *