Scaling MongoDB. Sharding, Cluster Setup, and Administration - Helion
ISBN: 978-14-493-0387-7
stron: 66, Format: ebook
Data wydania: 2011-01-31
Księgarnia: Helion
Cena książki: 63,74 zł (poprzednio: 74,99 zł)
Oszczędzasz: 15% (-11,25 zł)
Create a MongoDB cluster that will grow to meet the needs of your application. With this short and concise book, you'll get guidelines for setting up and using clusters to store a large volume of data, and learn how to access the data efficiently. In the process, you'll understand how to make your application work with a distributed database system.
Scaling MongoDB will help you:
- Set up a MongoDB cluster through sharding
- Work with a cluster to query and update data
- Operate, monitor, and backup your cluster
- Plan your application to deal with outages
By following the advice in this book, you'll be well on your way to building and running an efficient, predictable distributed system using MongoDB.
Osoby które kupowały "Scaling MongoDB. Sharding, Cluster Setup, and Administration", wybierały także:
- Data Science w Pythonie. Kurs video. Przetwarzanie i analiza danych 149,00 zł, (67,05 zł -55%)
- Excel 2013. Kurs video. Poziom drugi. Przetwarzanie i analiza danych 79,00 zł, (35,55 zł -55%)
- Zarz 99,00 zł, (49,50 zł -50%)
- Eksploracja danych za pomoc 67,00 zł, (33,50 zł -50%)
- Google Analytics od podstaw. Analiza wp 69,00 zł, (34,50 zł -50%)
Spis treści
Scaling MongoDB. Sharding, Cluster Setup, and Administration eBook -- spis treści
- Scaling MongoDB
- SPECIAL OFFER: Upgrade this ebook with OReilly
- Preface
- Conventions Used in This Book
- Using Code Examples
- Safari Books Online
- How to Contact Us
- 1. Welcome to Distributed Computing!
- What Is Sharding?
- 2. Understanding Sharding
- Splitting Up Data
- Distributing Data
- One range per shard
- Multi-range shards
- How Chunks Are Created
- Example
- Sharding collections
- Distributing Data
- Balancing
- The Psychopathology of Everyday Balancing
- On changing chunk size
- The Psychopathology of Everyday Balancing
- mongos
- The Config Servers
- The Anatomy of a Cluster
- Splitting Up Data
- 3. Setting Up a Cluster
- Choosing a Shard Key
- Low-Cardinality Shard Key
- Keys that this rule applies to
- Exceptions to the rule
- Data center awareness
- Ascending Shard Key
- Keys that this rule applies to
- Exceptions to the rule
- Random Shard Key
- Good Shard Keys
- Coarsely ascending key + search key
- FAQ
- The general case
- What shard key should I use?
- Low-Cardinality Shard Key
- Sharding a New Collection
- Quick Start
- Config Servers
- mongos
- Shards
- Limiting shard size
- Databases and Collections
- Sharding an Existing Collection
- Preparing Your Collection for Sharding
- Running shardcollection
- For Large Data Sets
- Adding and Removing Capacity
- Removing Shards
- Changing Servers in a Shard
- Choosing a Shard Key
- 4. Working With a Cluster
- Querying
- Why Am I Getting This?
- Counting
- Unique Indexes
- Updating
- MapReduce
- Temporary Collections
- 5. Administration
- Using the Shell
- Getting a Summary
- The config Collections
- I Want to Do X, Who Do I Connect To?
- Monitoring
- mongostat
- The Web Admin Interface
- Backups
- Config Server Backups
- Suggestions on Architecture
- Create an Emergency Site
- Create a Moat
- What to Do When Things Go Wrong
- A Shard Goes Down
- Most of a Shard Is Down
- Config Servers Going Down
- Mongos Processes Going Down
- Other Considerations
- Using the Shell
- 6. Further Reading
- About the Author
- SPECIAL OFFER: Upgrade this ebook with OReilly
- Copyright