單項選擇題MongoDB通過什么命令查看索引空間大???()

A.db.collectionName.indexSize()
B.db.collectionName.totalIndexSize()
C.db.collectionName.totalIndex()
D.db.collectionName.totalSize()


您可能感興趣的試卷

你可能感興趣的試題

1.單項選擇題MongoDB通過什么命令創(chuàng)建索引?()

A.db.collectionName.createIndex(keys,options)
B.db.collectionName.create(keys,options)
C.db.collectionName.index(keys,options)
D.db.collectionName.addIndex(keys,options)

2.單項選擇題MongoDB通過什么命令查看索引?()

A.db.collectionName.indexes()
B.db.collectionName.index()
C.db.collectionName.getIndexes()
D.db.collectionName.getIndex()