我如何知道有关 postgresql 上的索引的详细信息,例如有多少节点和树的高度?
是否可以访问数据结构本身?
我还没有找到任何公开如此详细信息的目录表
提前致谢!
最佳答案
请参阅 pageinspect 扩展中的 bt_metap 函数。
http://www.postgresql.org/docs/current/static/pageinspect.html
关于postgresql - Postgresql 上的 Btree 详细信息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19163829/