Thursday, August 22, 2013

Useful MongoDB DBA commands

Common MongoDB Server commands:

  • Server
    • isMaster
    • serverStatus
    • logout
    • getLastError
  • DB
    • dropDatabase
    • repairDatabase
    • close
    • copydb
    • dbStats
  • Collection
    • DBA
      • create
      • drop 
      • collstats
      • renameCollection
    • User
      • count
      • aggregate
      • mapReduce
      • findAndModify
  • Index
    • ensureIndex
    • dropIndex

No comments:

Post a Comment