admin 发表于 2011-8-29 05:29:57

Oreilly - 50 Tips and Tricks for MongoDB Developers

http://www.scriptmasters.org/uploads/posts/2011-05/1304440370_bd.jpg

Book Description
A collection of tips, tricks, and hacks to help MongoDB developers get the most out of the software. The tips cover everything from application design to data safety and monitoring.

Table of Contents
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 鈥減oint-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


Download
http://www.mediafire.com/?r51cb29m8aptaij
页: [1]
查看完整版本: Oreilly - 50 Tips and Tricks for MongoDB Developers