db.stats()
db.getCollectionNames().forEach((c) => { stats = db.getCollection(c).stats(); print( c, ": ", stats.count, " documents,", (stats.size / 1024 / 1024).toFixed(2), " MB" ); });
use sth_junon
show dbs
db.stats()
db.getCollectionNames().forEach((c) => { stats = db.getCollection(c).stats(); print( c, ": ", stats.count, " documents,", (stats.size / 1024 / 1024).toFixed(2), " MB" ); });
show collections
use orion-junon
show dbs
exit
show collections
use sth_junon
show databases
show collections
use sth_junon
db.sessions.find()
show databases
exit
show databases
exit
show databases
show collections
use orion-junon
show databases
db.sessions.find()
show collections
use sessions
db.buildings.find()
show collections
use session
show databases
db.csubs.find()
show collections
use orion-junon
show collections
use admin
show databases
show collections
use admin
db.startup_log.find()
show collections
use local
show collections
use admin
show databases
exit
db.csubs.find()
show collections
use orion-openiot
show databases
exit
db.csubs.find()
db.entities.find()
use orion-openiot
show databases
db.csubs.find()
db.entities.find()
show collections
use orion-junon
show databases
exit
db.entities.find()
show collections
use orion-example
show databases
exit
show collections
use orion-junon
show collections
use orion
show collections
use config
show databases
show collections
use orion-junon
show databases
show collections
db.csubs.find()
show collections
db.entities.find()
show collections
use orion-junon
show databases
db.entities.find()
show collections
use orion
show users
show databasesow databases