This chapter is aimed primarily at system administrators and database administrators (DBAs), but the information contained within it will also prove useful to developers. In this chapter, you learn how to perform administration critical to a properly functioning database. In this chapter, we will learn to use the mongo shell and generate ad hoc queries for management. We will then cover the validation and cleanup of data, and, by the end of the chapter, we will learn to perform backup and restore operations, as well as performance monitoring.
The following topics are addressed in this chapter:
- Connecting with the mongo shell
- Using the mongo shell for common database operations   Â
- Performing backup and restore operations
- Performance monitoring