我已经通过Mongodb文档尝试找到获取mongodb扩展区的磁盘(物理)位置的方法。 好presentation1和presentation2帮助我清除了存储内部的基本基础知识我了解了地址的虚拟映射,但是在这些演示中如何完成虚拟到物理映射。 / p>
diskLoc()方法为我们提供了索引文件&的详细信息。偏移。但是没有关于范围编号或其物理位置的数据。
db.system.indexes.find().showDiskLoc()
{" v" :1," key" :{" _id" :1},"名称" :" id "," ns" :" mydb1.abc"," $ diskLoc" :{" file" :0,"偏移" :28848}}
{" v" :1," key" :{" x" :1},"名称" :" x_1"," ns" :" mydb1.abc"," $ diskLoc" :{" file" :0,"偏移" :28976}}
{" v" :1," key" :{" x" :14},"名称" :" x_14"," ns" :" mydb1.abc"," $ diskLoc" :{" file" :0,"偏移" :29104}}
任何人都可以帮助我获取文件的每个索引范围的物理地址吗?