Postgres 數據庫大小命令 - Postgres DB Size Command

問題:

What is the command to find the size of all the databases?查找所有數據庫大小的命令是什麼?

I am able to find the size of a specific database by using following command:我可以使用以下命令找到特定數據庫的大小:

select pg_database_size('databaseName');

解決方案:

參考一: https://stackoom.com/question/1HKaN
參考二: Postgres DB Size Command
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章