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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章