MongoDB 查看索引被引用次数

$indexStats

  • 返回数据集合的每个索引的使用情况。
  • 语法: { $indexStats: { } }

db.trs_holographic_info.aggregate( [ { $indexStats: { } } ] )

原文地址:https://www.cnblogs.com/xibuhaohao/p/12092389.html