prefacechapter 1 installin and starting the mongodb server introduction single node installation of mongodb starting a single node instance using command-line options single node installation of mongodb with options from the config file connecting to a single node from the mongo shell with a preloaded javascript connecting to a single node from a java client starting multiple instances as part of a replica set connecting to the replica set from the shell to query and insert data connecting to the replica set to query and insert data from a java client starting a simple sharded environment of two shards connecting to a shard from the mongo shell and performing operationschapter 2: command-line operations and indexes creating test data performing simple querying, projections, and pagination from the mongo shell updating and deleting data from the shell creating an index and viewing plans of queries background and foreground index creation from the shell creating unique indexes on collection and deleting the existing duplicate data automatically creating and understanding sparse indexes expiring documents after a fixed interval using the trl index expiring documents at a given time using the trl indexchapter 3: programming language drivers introduction installing pymongo executing query and insert operations using pymongo executing update and delete operations using pymongo aggregation in mongo using pymongo mapreduce in mongo using pymongo executing query and insert operations using a java client executing update and delete operations using a java client aggregation in mongo using a java client mapreduce in mongo using a java clientchapter 4: 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 replica sets configuring the default shard for nonsharded collections manually splitting and migrating chunks performing domain-driven sharding using tags exploring the config database in a sharded setup chapter 5: advanced operations introduction atomic find and modify operations implementing atomic counters in mongodb implementing server-side scripts creating and tailing capped collection cursors in mongodb converting a normal collection to a capped collection storing binary data in mongodb storing large data in mongodb using gridfs storing data to gridfs from a java client storing data to gridfs from a python client implementing triggers in mongodb using oplog executing flat plane (2d) geospatial queries in mongo using geospatial indexes spherical indexes and geojson-compliant data in mongodb implementing a full-text search in mongodb integrating mongodb with elasticsearch for a full-text searchchapter 6: monitoring and backups introduction signing up for mms and setting up the mms monitoring agent managing users and groups on the mms console monitoring mongodb instances on mms setting up monitoring alerts on mms backing up and restoring data in mongo using out-of-the box tools configuring the mms backup service managing backups in the mms backup servicechapter 7: cloud deployment on mongodb introduction setting up and managing the mongolab account setting up a sandbox mongodb instance on mongolab performing operations on mongodb from mongolab gui setting up mongodb on amazon ec2 using the mongodb ami setting up mongodb on amazon ec2 without using the mongodb amichapter 8: integration with hadoop introduction executing our first sample mapreduce job using the mongo-hadoop connector writing our first hadoop mapreduce job running mapreduce jobs on hadoop using streaming running a mapreduce job on amazon emrchapter 9: open source and progrietary tools introduction developing using spring-data-mongodb accessing mongodb using java persistence api accessing mongodb over rest installing the gui-based client, mongovue, for mongodbappendix: concepts for reference write concern and its significance read preference for queryingindex
· · · · · · (
收起)