Экспорт в PDF
Дата создания: 2022/12/13 11:14 (C) mihanik
su postgres cd ~
psql -c "SELECT pg_size_pretty( pg_database_size( 'MyBase' ) );"
psql -c 'select datname, pg_size_pretty(pg_database_size(datname)) from pg_database;'
psql -c 'select pg_size_pretty(sum(pg_database_size(datname))) from pg_database;'
Наверх