Details
-
Task
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
None
Description
Document the higher-level getIndexStats() method.
Example command:
db.animals.getIndexStats(
{index:"type_1_traits_1"})
Example output:
– index "undefined" –
version 1 | key pattern
| storage namespace "test.animals.$type_1_traits_1"
2 deep, bucket body is 8154 bytes
bucket count 45513 on average 99.401 % (±0.463 %) full 49.581 % (±4.135 %) bson keys, 49.820 % (±4.275 %) key nodes
– depth 0 –
bucket count 1 on average 71.511 % (±0.000 %) full 36.191 % (±0.000 %) bson keys, 35.320 % (±0.000 %) key nodes
– depth 1 –
bucket count 180 on average 98.954 % (±5.874 %) full 49.732 % (±5.072 %) bson keys, 49.221 % (±5.161 %) key nodes
– depth 2 –
bucket count 45332 on average 99.403 % (±0.245 %) full 49.580 % (±4.130 %) bson keys, 49.823 % (±4.270 %) key nodes