On Tue, 6 Jul 2021 at 21:35, Ron <ronljohnsonjr@gmail.com> wrote:
> The legacy RDBMS which I used to manage has a tool for analyzing (not in the Postgresql meaning of the word) an
index,and displaying a histogram of how many layers deep various parts of an index are. Using that histogram, you can
tellwhether or not an index needs to be rebuilt.
>
> How does one get the same effect in Postgresql?
There are a few suggestions in
https://wiki.postgresql.org/wiki/Show_database_bloat
David