Mehrabani, Afshin.

MongoDB High Availability. - 1st ed. - 1 online resource (194 pages)

Intro -- MongoDB High Availability -- Table of Contents -- MongoDB High Availability -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers, and more -- Why subscribe? -- Free access for Packt account holders -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Errata -- Piracy -- Questions -- 1. Understanding the MongoDB Architecture and Processes -- Utilizing MongoDB components -- Understanding the core components -- Understanding mongod -- Utilizing mongo -- Learning about mongos -- Import and export tools -- Using import and export tools -- Understanding mongodump -- Utilizing mongorestore -- Learning about bsondump -- Understanding mongooplog -- Using data tools -- Understanding mongoexport -- Utilizing mongoimport -- Diagnostic tools -- Learning about mongostat -- Utilizing mongotop -- Understanding mongosniff -- Utilizing mongoperf -- File storage (GridFS) tools -- Understanding mongofiles -- Summary -- 2. Understanding MongoDB's Failures and Limitations -- Understanding the limitation of a 32-bit version of MongoDB -- The Unix limitation -- Failover in replica set -- Sharding the configuration server failure -- Understanding database locks -- Summary -- 3. Clustering in MongoDB -- Sharding in MongoDB -- Understanding replication -- Learning about a replica set -- Vertical and horizontal scaling -- Utilizing sharding -- Implementing clustering in MongoDB -- Learning about shards -- Understanding the configuration server -- Utilizing the mongos or query router -- Summary -- 4. Utilizing a Replica Set -- The purpose of replication -- Understanding replication -- Understanding asynchronous replication -- Architecture of replica sets -- Understanding oplog. Learning about replication and oplog changes -- Understanding nodes' failover -- Understanding the replica set election process -- Different forms of secondary members -- Using the priority 0 member -- Utilizing hidden members -- The delayed member -- Understanding the arbiter node's role -- Summary -- 5. Replica Set in Action -- Overview of replica sets -- Before deploying a replica set -- Configurations of a replica set -- Deploying a replica set -- Adding a new member -- Removing a member -- Adding an arbiter -- Failover testing -- Summary -- 6. Understanding the Concept of Sharding -- Understanding scaling -- Learning about sharding -- Understanding sharding modules -- Utilizing a sharding key -- Understanding range-based keys -- Understanding hash-based keys -- Understanding the splitting and balancing processes -- Summary -- 7. Sharding in Action -- Preparing the environment -- Implementing configuration servers -- Configuring a mongos instance -- Managing a mongos instance -- Adding shards to mongos -- Enable sharding -- Summary -- 8. Analyzing and Improving Database Performance -- Understanding profiling -- Utilizing profiling -- Enabling and configuring the profiler -- Using the profiler log -- Introducing other analytics methods -- Introducing indexes -- Using projection -- Limiting the number of records returned -- Reviewing the hardware considerations -- Summary -- 9. Migrating Instances and Reducing Downtime -- Understanding the migration process -- Migrating a replica set in action -- Explaining the migration process -- Adding a new machine -- Understanding replica set election problems -- Removing the existing machine -- Migrating a standalone mongod instance -- Converting an existing instance to a replica set -- Moving dbpath to the new server -- Summary -- 10. Monitoring and Troubleshooting the Database. Understanding monitoring strategies -- Utilizing the profiling feature -- Utilizing the built-in reporting tools -- mongotop -- mongostat -- Enabling the web-based console -- Understanding the reporting commands -- Executing a command -- Utilizing the dbStats command -- Utilizing the collStats command -- Understanding the serverStatus command -- Utilizing the replSetGetStatus command -- Using database logs -- Introducing web-based utilities -- Utilizing the MMS monitoring service -- Understanding Scout -- Utilizing server density -- Utilizing LogicMonitor -- Introducing FusionReactor -- Introducing self-hosted utilities -- Summary -- Index.

This book has a perfect balance of concepts and their practical implementation along with solutions to make a highly available MongoDB server with clear instructions and guidance. If you are using MongoDB in a production environment and need a solution to make a highly available MongoDB server, this book is ideal for you. Familiarity with MongoDB is expected so that you understand the content of this book.

9781783986736


MongoDB.
C++ (Computer program language).


Electronic books.

QA76.9.D3.M447 2014

005.7565