## Security Improvements 

MongoDB 3.0 includes the following security enhancements: 

• MongoDB 3.0 adds a new SCRAM-SHA-1 (page 321) challenge-response user authentication mechanism. SCRAM-SHA-1 requires a driver upgrade if your current driver version does not support SCRAM-SHA-1 . For the driver versions that support SCRAM-SHA-1 , see Upgrade Drivers (page 819). 

• Increases restrictions when using the Localhost Exception (page 324) to access MongoDB. For details, see Localhost Exception Changed (page 807). 

## See also: 

Security Changes (page 806) 

## Improvements 

## New Query Introspection System 

MongoDB 3.0 includes a new query introspection system that provides an improved output format and a finer-grained introspection into both query plan and query execution. 

For details, see the new db.collection.explain() method and the new explain command as well as the updated cursor.explain() method. 

For information on the format of the new output, see 

## Enhanced Logging 

To improve usability of the log messages for diagnosis, MongoDB categorizes some log messages under specific components, or operations, and provides the ability to set the verbosity level for these components. For information, see http://docs.mongodb.org/manual/reference/log-messages . 

## MongoDB Tools Enhancements 

All MongoDB tools except for mongosniff and mongoperf are now written in Go and maintained as a separate project. 

• New options for parallelized mongodump and mongorestore . You can control the number of collections that mongorestore will restore at a time with the --numParallelCollections option. 

• New options -excludeCollection and --excludeCollectionsWithPrefix for mongodump to exclude collections. 

• mongorestore can now accept BSON data input from standard input in addition to reading BSON data from file. 

• mongostat and mongotop can now return output in JSON format with the --json option. 

• Added configurable write concern to mongoimport , mongorestore , and mongofiles . Use the --writeConcern option. 

• mongofiles now allows you to configure the GridFS prefix with the --prefix option so that you can use custom namespaces and store multiple GridFS namespaces in a single database. 

## See also: 

MongoDB Tools Changes (page 806) 

