MongoDB入门指南:The Little MongoDB Book中文版解析

需积分: 10 2 下载量 47 浏览量 更新于2024-07-17 收藏 342KB PDF 举报
"The Little MongoDB Book 中文版"是一本介绍MongoDB数据库的入门指南,由Karl Seguin编著,遵循Creative Commons Attribution-NonCommercial 3.0 Unported许可证,允许读者自由地复制、分发、修改和传播,但必须注明作者身份并禁止用于商业用途。Karl Seguin是一位资深的开发者,拥有.NET和Ruby开发经验,且在MongoDB领域有所贡献,他不仅是C# MongoDB库NoRM的主要开发者,还撰写了mongly教程和MongoWebAdmin。 这本书涵盖了MongoDB的基本概念、安装与配置、数据模型设计、查询操作、索引、复制集、分片、安全性以及一些高级特性。对于初学者来说,它提供了一个清晰易懂的路径,帮助他们快速上手这个流行的NoSQL数据库系统。由于原作者justinyhuang的中文翻译版本没有及时更新至MongoDB 2.6版本,且存在内容差异,本书的中文版是由Gemini Yellow基于asya999在2014年5月29日的GitHub贡献进行修订的。 在阅读过程中,读者可以从Karl Seguin的个人网站http://openmymind.net找到更多技术文章,或通过Twitter关注@karlseguin获取他的最新动态。特别感谢Perry Neal对作者的影响和支持。本书的最新代码可以在http://github.com/karlseguin/the-little-mongodb-book获取。 如果你通过搜索引擎找到这个中文版本,需要注意的是,由于翻译工作仍在进行中,可能还有不完善之处,有兴趣和能力的人士可以通过geminiyellow@gmail.com或Twitter上的@geminiyellow进行交流和协作,共同提升内容质量。
2015-10-26 上传
The Little MongoDB Schema Design Book, covers the fundamentals off Schema design with MongoDB, as well as several useful Schema design patters for your applications. I wrote this book to be a helpful and concise guide to MongoDB Schema design, as well as a repository to look up specific MongoDB Schema patterns. This book came around, due to my experiences teaching people about using MongoDB for application development. It tries to cover essential information that you can apply to your own applications. We cover a lot of different aspects of Schema Design in this book. These include. Schema Basics including one to one, one to many and many to many relationships Embedding versus linking Bucketing Strategy Understanding the MongoDB MMAP and WiredTiger storage engine MongoDB Indexes The Metadata Schema Pattern Time Series Schema Pattern Queues Schema Pattern Nested Categories Schema Pattern Account Transactions Schema Pattern Shopping Cart Schema Pattern with and without product reservation A Theater Ticket Reservation Schema Pattern An Embedded Array Cache Schema Pattern An Internationalization Schema Pattern Sharding The book aims to provide developers with a deep but concise understanding of how to efficiently work with MongoDB. Table of Contents Introduction Schema Basics One-To-One (1:1) One-To-Many (1:N) Many-To-Many (N:M) MMAP Storage Engine WiredTiger Storage Engine Indexes Sharding Schema Design Queue Topics Metadata Materialized Path Category Hierarchy Shopping Cart with Product Reservation Shopping Cart with No Product Reservation Theater Reservation Account Transactions Time Series Array Slice Cache Internationalization