public inbox for [email protected]  
help / color / mirror / Atom feed
From: David G. Johnston <[email protected]>
To: [email protected]
To: [email protected]
Subject: Re: PostgreSQL 9.5.14 Documentation /Chapter 28 / 28.1. Determining Disk Usage
Date: Wed, 5 Sep 2018 14:39:11 -0700
Message-ID: <CAKFQuwaaAGu1Eb8MQzx7kuuy-1Dkkga5NJH4wDKXgVv4kygJJg@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

On Wed, Sep 5, 2018 at 4:43 AM, PG Doc comments form <[email protected]
> wrote:

> I'm wondering if the two statements given showing the index space size as
> described.
> I've the impression they show the space size of the tables.
>

"Each page is typically 8 kilobytes. (Remember, relpages is only updated by
VACUUM, ANALYZE, and a few DDL commands such as CREATE INDEX.)"

So while it takes a bit of interpretation it is stated that "relpages" are
not a size on their own but a value to be multiplied by 8k to come up with
the disk size (typically since one can compile the server with a different
page size).

David J.


view thread (2+ messages)

reply

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: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: PostgreSQL 9.5.14 Documentation /Chapter 28 / 28.1. Determining Disk Usage
  In-Reply-To: <CAKFQuwaaAGu1Eb8MQzx7kuuy-1Dkkga5NJH4wDKXgVv4kygJJg@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox