V
V
Vasya Pupkin2015-05-20 16:30:09
JavaScript
Vasya Pupkin, 2015-05-20 16:30:09

How to determine the occupancy of the database?

Good afternoon, comrades!
Can you please tell me how to check if the database is full? That is, how to check whether the database is filled or not?
I am using MongoDB.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lega, 2015-05-20
@lega

db.stats()
db.collection.stats()
db.collection.count()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question