From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jehan-Guillaume (ioguix) de Rorthais <ioguix@free.fr>
Cc: Tumasgiu Rossini <rossini.t@gmail.com>
Cc: Mariel Cherkassky <mariel.cherkassky@gmail.com>
Cc: pgsql-admin@lists.postgresql.org
Cc: pgsql-performance@lists.postgresql.org
Subject: Re: pgstattupple vs pg_total_relation_size
Date: Wed, 30 Jan 2019 09:46:49 -0500
Message-ID: <7399.1548859609@sss.pgh.pa.us> (raw)
In-Reply-To: <20190130142701.38992d60@firost>
References: <CA+t6e1ka4T-oUmnq1bhBF5JY=_5mDNk3c2MLekyTM5yG5vPuxQ@mail.gmail.com>
<CAJD9AWwjXPwMThSJ6EcwCDSfsq4c9nj-Ypec7t0+xFeMVJ_Wsw@mail.gmail.com>
<20190130142701.38992d60@firost>
"Jehan-Guillaume (ioguix) de Rorthais" <ioguix@free.fr> writes:
> On Wed, 30 Jan 2019 14:19:52 +0100
> Tumasgiu Rossini <rossini.t@gmail.com> wrote:
>> According to the doc [1],
>> pg_total_relation_size add toasted data *and* indexes to the mix.
> *and* FSM *and* VM.
Yeah. In this particular case, the other page presumably belongs to the
toast table's index, which will have a metapage even if the table is
empty.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, ioguix@free.fr, rossini.t@gmail.com, mariel.cherkassky@gmail.com, pgsql-admin@lists.postgresql.org, pgsql-performance@lists.postgresql.org
Subject: Re: pgstattupple vs pg_total_relation_size
In-Reply-To: <7399.1548859609@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox