`
- 浏览:
2078547 次
- 性别:
- 来自:
杭州
-
50 Tips and Tricks for MongoDB Developers
-
没找到电子版,safari上有,这里是地址
Chapter 1 Application Design Tips
-
Tip #1: Duplicate data for speed, reference data for integrity
-
Tip #2: Normalize if you need to future-proof data
-
Tip #3: Try to fetch data in a single query
-
Tip #4: Embed dependent fields
-
Tip #5: Embed “point-in-time” data
-
Tip #6: Do not embed fields that have unbound growth
-
Tip #7: Pre-populate anything you can
-
Tip #8: Preallocate space, whenever possible
-
Tip #9: Store embedded information in arrays for anonymous access
-
Tip #10: Design documents to be self-sufficient
-
Tip #11: Prefer $-operators to JavaScript
-
Tip #12: Compute aggregations as you go
-
Tip #13: Write code to handle data integrity issues
-
Chapter 2 Implementation Tips
-
Tip #14: Use the correct types
-
Tip #15: Override _id when you have your own simple, unique id
-
Tip #16: Avoid using a document for _id
-
Tip #17: Do not use database references
-
Tip #18: Don’t use GridFS for small binary data
-
Tip #19: Handle “seamless” failover
-
Tip #20: Handle replica set failure and failover
-
Chapter 3 Optimization Tips
-
Tip #21: Minimize disk access
-
Tip #22: Use indexes to do more with less memory
-
Tip #23: Don’t always use an index
-
Tip #24: Create indexes that cover your queries
-
Tip #25: Use compound indexes to make multiple queries fast
-
Tip #26: Create hierarchical documents for faster scans
-
Tip #27: AND-queries should match as little as possible as fast as possible
-
Tip #28: OR-queries should match as much as possible as soon as possible
-
Chapter 4 Data Safety and Consistency
-
Tip #29: Write to the journal for single server, replicas for multiserver
-
Tip #30: Always use replication, journaling, or both
-
Tip #31: Do not depend on repair to recover data
-
Tip #32: Understand getlasterror
-
Tip #33: Always use safe writes in development
-
Tip #34: Use w with replication
-
Tip #35: Always use wtimeout with w
-
Tip #36: Don’t use fsync on every write
-
Tip #37: Start up normally after a crash
-
Tip #38: Take instant-in-time backups of durable servers
-
Chapter 5 Administration Tips
-
Tip #39: Manually clean up your chunks collections
-
Tip #40: Compact databases with repair
-
Tip #41: Don’t change the number of votes for members of a replica set
-
Tip #42: Replica sets can be reconfigured without a master up
-
Tip #43: --shardsvr and --configsvr aren’t required
-
Tip #44: Only use --notablescan in development
-
Tip #45: Learn some JavaScript
-
Tip #46: Manage all of your servers and databases from one shell
-
Tip #47: Get “help” for any function
-
Tip #48: Create startup files
-
Tip #49: Add your own functions
-
Tip #50: Use a single connection to read your own writes
分享到:
Global site tag (gtag.js) - Google Analytics
相关推荐
《深入学习mongodb》英文原版,无水印,非常值得学习。
50 Tips and Tricks for MongoDB Developers中文版
深入学习MongoDB:Scaling MongoDB && 50 Tips and Tricks for MongoDB Developers深入学习MongoDB中文版Scaling MongoDB英文版50 Tips and Tricks for MongoDB Developers英文版高清完整目录3本打包合集
50.Tips.and.Tricks.for.MongoDB.Developers
Advice for configuring MongoDB and keeping it running smoothly. There are many tips that fit into more than one chapter, especially those concerning performance. The optimization chapter mainly ...
50 MongoDB tips and tricks
The book begins with debugging tips and tricks of the trade, and how to write your own modules. Then you'll learn the fundamentals of streams in Node.js, discover I/O control, and how to implement the...
Database\Oracle Internals - Tips Tricks and Techniques for DBAs.mobi Database\OReilly High Performance MySQL.mobi Database\OReilly SQL and Relational Theory 2nd.mobi Database\OReilly SQL Cookbook.mobi...