
作者:ShannonBradshaw等
页数:489
出版社:东南大学出版社
出版日期:2020
ISBN:9787564188917
电子书格式:pdf/epub/txt
内容简介
使用支持现代应用程序开发的系统管理数据。这部非常不错、易懂的指南第三版升级到了MongoDB 4.2,为你充分展示使用面向文档数据库的优点。你将学会如何使用这个安全、高性能的系统实现各种灵活的数据模型、高可用性和水平扩展性。本书作者既为数据库开发人员提供了详细指导,也为系统管理员提供了不错配置,还为各种项目提供了代码示例。对于NoSQL新手和有经验的MongoDB用户,通过本书都可以在数据查询、索引、聚合、事务、副本集、ops管理、分片和数据管理、持久性、监视和安全性等方面获得新知识。
目录
Preface
Partl. Introduction to MongoDB
1. Introduction
Ease of Use
Designed to Scale
Rich with Features
…Without Sacrificing Speed
The Philosophy
2. Getting Started
Documents
Collections
Dynamic Schemas
Naming
Databases
Getting and Starting MongoDB
Introduction to the MongoDB Shell
Running the Shell
A MongoDB Client
Basic Operations with the Shell
Data Types
Basic Data Types
Dates
Arrays
Embedded Documents
_id and ObjectIds
Using the MongoDB Shell
Tips for Using the Shell
Running Scripts with the Shell
Creating a .mongorc.js
Customizing Your Prompt
Editing Complex Variables
Inconvenient Collection Names
3. Creating, Updating, and Deleting Documents
Inserting Documents
insertMany
Insert Validation
insert
Removing Documents
drop
Updating Documents
Document Replacement
Using Update Operators
Upserts
Updating Multiple Documents
Returning Updated Documents
4. Querying
Introduction to find
Specifying Which Keys to Return
Limitations
Query Criteria
Query Conditionals
OR Queries
$not
Type-Specific Queries
Partl. Introduction to MongoDB
1. Introduction
Ease of Use
Designed to Scale
Rich with Features
…Without Sacrificing Speed
The Philosophy
2. Getting Started
Documents
Collections
Dynamic Schemas
Naming
Databases
Getting and Starting MongoDB
Introduction to the MongoDB Shell
Running the Shell
A MongoDB Client
Basic Operations with the Shell
Data Types
Basic Data Types
Dates
Arrays
Embedded Documents
_id and ObjectIds
Using the MongoDB Shell
Tips for Using the Shell
Running Scripts with the Shell
Creating a .mongorc.js
Customizing Your Prompt
Editing Complex Variables
Inconvenient Collection Names
3. Creating, Updating, and Deleting Documents
Inserting Documents
insertMany
Insert Validation
insert
Removing Documents
drop
Updating Documents
Document Replacement
Using Update Operators
Upserts
Updating Multiple Documents
Returning Updated Documents
4. Querying
Introduction to find
Specifying Which Keys to Return
Limitations
Query Criteria
Query Conditionals
OR Queries
$not
Type-Specific Queries
Regular Expressions
Querying Arrays
Querying on Embedded Documents
$where Queries
Cursors
……
Part II. Designing Your Application
Part III. Replication
Part IV. Sharding
Part V. Application Administration
Part VI. Server Administration
A. Installing MongoDB
B. MongoDB internals
Index















