/*Ejecuta el comando ingresado como parámetro Por ejemplo: db.runCommand({listDatabases:1 })*/ db.getLastError() db.stats() db.serverStatus() db.repairDatabase() db.getCollection('[collection]') db.getCollectionNames() db.[collection].getIndexes() db.help() db.addUser(usuario, contraseña) db.copyDatabase(existente, nueva) Entre muchos otros...
{capped:true, size: 5000000}); db.runCommand({create:"historial", capped:true, size: 5000000}); TTL: Con tiempo de vida definido en segundos. db.log.events.ensureIndex({"status": 1}, {expireAfterSeconds: 3600});
data design principals stay the same Focus on how the apps manipulates data Rapidly evolve schema to meet your requirements Enjoy your new freedom, use it wisely :-) 10gen