[DOCS-1442] Document the getIndexStats() method Created: 25/Apr/13  Updated: 08/May/13  Resolved: 08/May/13

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Bob Grabar Assignee: Bob Grabar
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 10 years, 41 weeks ago

 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

{ "type" : 1, "traits" : 1 }

| 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



 Comments   
Comment by auto [ 08/May/13 ]

Author:

{u'date': u'2013-05-08T18:09:12Z', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-1442: index stats edits and toc tree entry
Branch: master
https://github.com/mongodb/docs/commit/5c8104b507ed2a6bc14716076e569ae14f38a384

Comment by auto [ 08/May/13 ]

Author:

{u'date': u'2013-05-07T20:18:08Z', u'name': u'Bob Grabar', u'email': u'bob.grabar@10gen.com'}

Message: DOCS-1442 getIndexStats method

Signed-off-by: Sam Kleinman <samk@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/ce4aecc3dee4ba5947b53d03f235face96d1c648

Generated at Thu Feb 08 07:41:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.