O'Reilly logo

MongoDB Cookbook by Amol Nayak

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Administration

In this chapter, we will cover the following recipes related to MongoDB administration:

  • Renaming a collection
  • Viewing collection stats
  • Viewing database stats
  • Disabling the preallocation of data files
  • Manually padding a document
  • Understanding the mongostat and mongotop utilities
  • Estimating the working set
  • Viewing and killing the currently executing operations
  • Using profiler to profile operations
  • Setting up users in MongoDB
  • Understanding interprocess security in MongoDB
  • Modifying collection behavior using the collMod command
  • Setting up MongoDB as a Windows Service
  • Configuring a replica set
  • Stepping down as a primary instance from the replica set
  • Exploring the local database of a replica set
  • Understanding and analyzing oplogs
  • Building tagged ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required