Re: How to see/calculate size of index in memory?

From: Sergei Kornilov <sk(at)zsrv(dot)org>
To: Sam R(dot) <samruohola(at)yahoo(dot)com>, "pgsql-performance(at)lists(dot)postgresql(dot)org" <pgsql-performance(at)lists(dot)postgresql(dot)org>
Subject: Re: How to see/calculate size of index in memory?
Date: 2018-09-19 08:42:48
Message-ID: 22604901537346568@myt4-035ac94a079e.qloud-c.yandex.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hello
You can use pg_buffercache contrib module: https://www.postgresql.org/docs/current/static/pgbuffercache.html

pg_relation_size - yes, its full size on disk regardless buffer cache

regards, Sergei

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Sergei Kornilov 2018-09-19 09:10:52 Re: To keep indexes in memory, is large enough effective_cache_size enough?
Previous Message Sam R. 2018-09-19 08:35:38 To keep indexes in memory, is large enough effective_cache_size enough?