Hello guy, How to check postgres db disk size from cmd
How to check postgres db disk size from cmd
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Hello guy, How to check postgres db disk size from cmd
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Jul 3, 2021, 5:41 AM EDT
Chandu K146 reputationPosted Jul 3, 2021, 5:46 AM EDT
Sagar LadRank #523 · 4.7K reputationPosted Aug 26, 2021, 2:44 PM EDT
Hi Chandu,
You can use this query to check the size : SELECT pg_size_pretty( pg_database_size('dbname') );