From: Sam R. <samruohola@yahoo.com>
To: pgsql-performance@lists.postgresql.org <pgsql-performance@lists.postgresql.org>
Subject: How to see/calculate size of index in memory?
Date: Wed, 19 Sep 2018 08:30:49 +0000 (UTC)
Message-ID: <1101666388.6439182.1537345849495@mail.yahoo.com> (raw)
References: <1101666388.6439182.1537345849495.ref@mail.yahoo.com>
Hi!
I would have following question, if someone could help.
Question 1: How to see/calculate size of index in memory?
BTree, hash index.
I can see size of index e.g. with pg_relation_size FROM pg_class (after reindex). Does that tell size of index on disk?
I would be interested how big part of index is in memory. (Whole index?)
PG10/PG11.
Best Regards, Sam
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: samruohola@yahoo.com, pgsql-performance@lists.postgresql.org
Subject: Re: How to see/calculate size of index in memory?
In-Reply-To: <1101666388.6439182.1537345849495@mail.yahoo.com>
* 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