Re: How to see/calculate size of index in memory? - Mailing list pgsql-performance

From Sergei Kornilov
Subject Re: How to see/calculate size of index in memory?
Date
Msg-id 22604901537346568@myt4-035ac94a079e.qloud-c.yandex.net
Whole thread Raw
In response to How to see/calculate size of index in memory?  ("Sam R." <samruohola@yahoo.com>)
List 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


pgsql-performance by date:

Previous
From: "Sam R."
Date:
Subject: To keep indexes in memory, is large enough effective_cache_sizeenough?
Next
From: Sergei Kornilov
Date:
Subject: Re: To keep indexes in memory, is large enough effective_cache_size enough?