Re: Calculation of Database Size in postgres

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

 



pavan95 wrote:
> Do you know how does it calculate internally using what functions or what
> system catalogs or whatever?

The functions are in backend/utils/adt/dbsize.c, note in particular
db_dir_size which walks through a directory and adds up the sizes of
all files therein.

Yours,
Laurenz Albe





[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