Re: Calculation of db size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes, pg_database_size() includes all disk space used by the database i.e. catalog tables or user data.

Thanks & Regards,
Shreeyansh DBA Team
www.shreeyansh.com


On Mon, Jan 21, 2019 at 7:39 PM Horst Düster <horst.duester@xxxxxxxxxxxxx> wrote:
Then I have a subsequent question.

Does the query

SELECT g_database_size('dbname');

take into account the storage space of the table pg_shdepend or not?

Regards
Horst

--
Dr. Horst Düster
Managing Director
Sourcepole AG - Linux & Open Source Solutions
Weberstrasse 5, 8004 Zürich, Switzerland
Tel: +41 (0)44 440 77 11
Direkt: +41 (0)44 515 67 70
horst.duester@xxxxxxxxxxxxx  http://www.sourcepole.ch

qgiscloud.com - Karten einfach vom Desktop ins Netz





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux