Ank*_*kit 2 database mongodb openedx
我正在开发一个类似于 open edx 的在线课件网站。
课件数据存储在mongo数据库中,我想找出每个课程占用的磁盘空间量。
数据库是edxapp,其中包含以下集合: 1. modulestore 2. fs.files 3. fs.chunks
小智 5
使用:edxapp
db.modulestore.find( { "_id.category" : "course" }, {'name':'1'} )
看看这个页面,在 Mongo 部分: https ://github.com/edx/edx-platform/wiki/Shell-commands