Difference between revisions of "Pg database size"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lc}}
 
{{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');
 
  SELECT pg_database_size('your_db_name');
 
   pg_database_size
 
   pg_database_size

Revision as of 22:29, 6 June 2022

Advertising: