Recently, the Open edX modulestore was split into three sections.
use edxapp
To see the courses:
db.modulestore.active_versions.find().pretty()
To see the course structure which contains the course itself, sections, subsections, and units as blocks:
db.modulestore.structures.find().pretty()
Finally, to see the course definitions which contain the actual HTML content of the units:
db.modulestore.definitions.find().pretty()
In order to check the size of any of those collections, simply run:
db.<collection.name>.stats()
This will output the storageSize
of the collection.