How to see/calculate size of index in memory?

Поиск
Список
Период
Сортировка
От Sam R.
Тема How to see/calculate size of index in memory?
Дата
Msg-id 1101666388.6439182.1537345849495@mail.yahoo.com
обсуждение исходный текст
Ответы Re: How to see/calculate size of index in memory?  (Sergei Kornilov <sk@zsrv.org>)
Список pgsql-performance

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

В списке pgsql-performance по дате отправления:

Предыдущее
От: "Schneider, Jeremy"
Дата:
Сообщение: Re: Select count(*) on a 2B Rows Tables Takes ~20 Hours
Следующее
От: "Sam R."
Дата:
Сообщение: To keep indexes in memory, is large enough effective_cache_sizeenough?