Re: Can't explain db size - Mailing list pgsql-performance

From Jim Nasby
Subject Re: Can't explain db size
Date
Msg-id 567734D4.4070202@BlueTreble.com
Whole thread Raw
In response to Can't explain db size  (Matteo Grolla <matteo.grolla@gmail.com>)
List pgsql-performance
On 12/15/15 3:52 AM, Matteo Grolla wrote:
> 1) Can you explain me the big difference between the result in A for
> table alf_node_properties: 17GB and the result in B: ~6GB ?

11GB of indexes would explain it.

> 2) Can you explain me the difference between the result in B: ~6GB and
> the result in C, the sum of all column sizes, 3717MB ?

Probably per-page and per-tuple overhead.

What does SELECT reltuples, relpages FROM pg_class WHERE oid =
'public.alf_node_properties'::regclass show?
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com


pgsql-performance by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: Estimation row error
Next
From: Artem Tomyuk
Date:
Subject: Connections "Startup"