MongoDB Documentation, Release 3.0.4 mongodump Support for Reading from Secondaries You can now run mongodump when connected to a sec- ondary member of a replica set . See SERVER-3854 849 for more information. mongoimport Support for full 16MB Documents Previously, mongoimport would only import documents that were less than 4 megabytes in size. This issue is now corrected, and you may use mongoimport to import documents that are at least 16 megabytes ins size. See SERVER-4593 850 for more information. Timestamp() Extended JSON format MongoDB extended JSON now includes a new Timestamp() type to represent the Timestamp type that MongoDB uses for timestamps in the oplog among other contexts. This permits tools like mongooplog and mongodump to query for specific timestamps. Consider the following mongodump operation: mongodump --db local --collection oplog.rs --query '{"ts":{"$gt":{"$timestamp" : {"t": See SERVER-3483 851 for more information. Improved Shell User Interface 2.2 includes a number of changes that improve the overall quality and consistency of the user interface for the mongo shell: Helper to load Server-Side Functions The db.loadServerScripts() loads the contents of the current database’s system.js collection into the current mongo shell session. See SERVER-1651 855 for more informa- tion. Support for Bulk Inserts If you pass an array of documents to the insert() method, the mongo shell will now perform a bulk insert operation. See SERVER-3819 856 and SERVER-2395 857 for more information. Note: For bulk inserts on sharded clusters, the getLastError command alone is insufficient to verify success. Applications should must verify the success of bulk inserts in application logic. Support for Logging to Syslog See the SERVER-2957 858 case and the documentation of the syslogFacility run-time option or the mongod --syslog and mongos --syslog command line-options. Operations Shell Improvements • Full Unicode support. • Bash-like line editing features. See SERVER-4312 852 for more information. • Multi-line command support in shell history. See SERVER-3470 853 for more information. • Windows support for the edit command. See SERVER-3998 854 for more information. $^{849}$https://jira.mongodb.org/browse/SERVER-3854 $^{850}$https://jira.mongodb.org/browse/SERVER-4593 $^{851}$https://jira.mongodb.org/browse/SERVER-3483 $^{852}$https://jira.mongodb.org/browse/SERVER-4312 $^{853}$https://jira.mongodb.org/browse/SERVER-3470 $^{854}$https://jira.mongodb.org/browse/SERVER-3998 $^{855}$https://jira.mongodb.org/browse/SERVER-1651 $^{856}$https://jira.mongodb.org/browse/SERVER-3819 $^{857}$https://jira.mongodb.org/browse/SERVER-2395 $^{858}$https://jira.mongodb.org/browse/SERVER-2957 Chapter 12. Release Notes 906