Terms Relating to Web Hosting (Series C)
CAN – Campus Area Network. A network linking up campus buildings to each other and…
This guide shows you how to check the size of PostgreSQL databases and tables using the command line. You can utilize the ‘psql’ command-line tool to find the sizes of PostgreSQL databases and tables.
Follow these steps-
SELECT pg_size_pretty( pg_database_size('dbname') );
‘psql’ will display the database size.
SELECT pg_size_pretty( pg_total_relation_size('tablename') );
‘psql’ will display the table size.
Hope you liked our article. If you liked our article then you will surely love our support. Our support team is available for you around the clock. You can learn more about How to Inspect the Sizes of MySQL Databases and Tables.
Explore more hosting insights, tips and industry updates.
CAN – Campus Area Network. A network linking up campus buildings to each other and…
First, let’s learn how to edit an existing hosting package. Log In to WHM >>…
In this article, we’ll go through how to utilize Apache, adding configuration directives to all…