Re: Difference in the size of database size and relations

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

 




On Tue, Dec 10, 2013 at 4:43 AM, Luis <luisico@xxxxxxxxx> wrote:
Actually the query I used to get the relations sizes also included
indexes and even pg_toast.

Your query appears to be using "pg_relation_size()", try it again with "pg_total_relation_size()" to include indexes and toast tables.

Specifics can be found at: http://www.postgresql.org/docs/current/static/functions-admin.html

[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