Difference between revisions of "Pg database size"

From wikieduonline
Jump to navigation Jump to search
(Created page with " SELECT pg_database_size('your_db_name'); == See also == * {{PostgreSQL}} Category:PostgreSQL")
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
  SELECT pg_database_size('your_db_name');
+
{{lc}}
  
 +
SELECT pg_size_pretty(pg_database_size('your_db_name'));
 +
  pg_size_pretty
 +
----------------
 +
  8849 kB
 +
(1 row)
 +
 +
 +
SELECT pg_database_size('your_db_name');
 +
  pg_database_size
 +
------------------
 +
          9061155
 +
(1 row)
 +
 +
== Related ==
 +
* <code>[[du]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 22:30, 6 June 2022

Advertising: