TylerBrock / mongo-hacker

MongoDB Shell Enhancements for Hackers
tylerbrock.github.io/mongo-hacker
MIT License
1.79k stars 235 forks source link

Added an "indexStats()" helper to get sizes of all indexes by collection #143

Closed const-g closed 8 years ago

const-g commented 8 years ago

It's sometime useful to see size of indexes across collections, to check what can or cannot fit in RAM.

TylerBrock commented 8 years ago

Cool, maybe an analogue for collection would be nice as well.