With monogdb, I can run db.collection.stats() to find the size, in bytes, for each index.
PyMongo seems to be missing this operation.
Is there a way to find this information with PyMongo?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Result:
P.S.
test2in the result is my collection name