MongoDB Authoritative Guide PDF

Source: Internet
Author: User
Tags bulk insert mongodb client mongodb driver

students who need to learn can download pdf:http://tadown.com/ls/yibenshu/ccecc15b/via the Web disk.
Content Profile ...

How does MongoDB help you manage the massive amounts of data collected through web apps? With this book's authoritative interpretation, you'll understand the many advantages of a document-oriented database, and discover why MongoDB is so stable, superior in performance and even infinitely scalable.

The two authors of the MongoDB authoritative guide come from 10gen, a company that develops and supports MongoDB, an open source database. Database developers can use this book as a reference guide, and system administrators can find advanced configuration techniques in this book, and other users can learn some basic concepts and use cases. You'll find it much easier to organize your data into self-contained JSON-style documents than to organize records into relational databases.

Author Profile ...

Kristinaccchodorow

13310gen software Engineer, core member of 2MongoDB Project. A is responsible for the database server, PHP driver, Perl driver and other modules. A she spoke at a world-class conference, 2 including Oscon, LinuxCon, Fosdem and Latinoware.a

Catalog ...Chapter 1th Introduction 1
1.1 Rich Data Model 1
1.2 Easy to expand 1
1.3 Rich features 2
1.4 Without sacrificing speed 3
1.5 Easy to manage 3
1.6 Other Content 3
The 2nd Chapter Introduction 5
2.1 Document 5
2.2 Set-together 6
2.2.1 No mode 6
2.2.2 Naming 7
2.3 Database 8
2.4 Starting MongoDB 9
2.5 MongoDB Shell 10
2.5.1 Running Shell 10
2.5.2 MongoDB Client 11
2.5.3 basic operations in the Shell 11
2.5.4 tips for using the shell 13
.2.6 Data Type 15
2.6.1 Basic Data Type 15
2.6.2 number 17
2.6.3 Date 18
2.6.4 Array 19
2.6.5 Inline Document 19
2.6.6 _id and Objectid 20
3rd. Create, update, and delete documents 23
3.1 Inserting and saving a document 23
3.1.1 Bulk Insert 23
3.1.2 Insertion: Principle and function 24
3.2 Deleting a document 24
3.3 Update Documentation 25
3.3.1 Document Replacement 26
3.3.2 Using modifiers 27
3.3.3 Upsert 36
3.3.4 Updating multiple Documents 38
3.3.5 returning an updated document 38
3.4 Instant Completion 41
3.4.1 Safe Operation 41
3.4.2 capturing "General" error 42
3.5 Requests and Connections 43
The 4th Chapter Inquires 45
4.1 Find Introduction 45
4.1.1 Specifies the returned key 46
4.1.2 Limit 46
4.2 Conditions of Inquiry 47
4.2.1 Query Conditions 47
4.2.2 or Query 47
4.2.3 $not 48
4.2.4 rules for conditional clauses 49
4.3 Type-specific queries 49
4.3.1 NULL 49
4.3.2 Regular Expression 50
4.3.3 Query Array 51
4.3.4 Querying inline Documents 53
4.4 $where Query 55
4.5 Cursor 56
4.5.2 avoid skipping a lot of results with skip 58
4.5.3 Advanced query Options 60
4.5.4 getting consistent results 61
4.6 Cursor Insider 63
Chapter 5th Index 65
5.1 Introduction to the Index 65
5.1.1 Extended Index 67
5.1.2 index embedded in the document key 68
5.1.3 Creating an index for sorting 68
5.1.4 Index name 69
5.2 Unique Index 69
5.2.1 de-Duplication 69
5.2.2 Composite Unique Index 70
5.3 Using explain and hint 70
5.4 Index management 75
5.5 Geo-Spatial index 76
5.5.1 Composite geo-spatial Index 78
5.5.2 Earth is not a two-dimensional plane 78
6th IV Aggregation 79
6.1 Count 79
6.2 DISTINCT 79
6.3 Group 80
6.3.1 using the completion device 82
6.3.2 the function as a key using 84
6.4 MapReduce 84
6.4.1 Example 1: Find all keys in the set 85
6.4.2 Cases 2: Web page category 87
6.4.3 MongoDB and MapReduce 87
7th Advanced Guide 91
7.1 Database Commands 91
How the 7.1.1 command works 92
7.1.2 Command Reference 92
7.2 Fixed Set 95
7.2.1 Properties and Usage 96
7.2.2 Creating a Fixed collection 96
7.2.3 Natural Sort 97
7.2.4 Tail Cursor 98
7.3 Gridfs: Storing files 99
7.3.1 Start using Gridfs:mongofiles 99
7.3.2 working with the MongoDB driver Gridfs 100
7.3.3 Internal Principle 100
7.4 Server-side scripting 101
7.4.1 Db.eval 101
7.4.2 Storing JavaScript Scripts 102
7.4.3 Security 103
7.5 Database References 104
7.5.1 What is Dbref 104
7.5.2 Example Mode 104
7.5.3 driver support for DBREF 105
7.5.4 when should I use DBREF? 106
Chapter 8th Management 107
8.1 Starting and Stopping MongoDB 107
8.1.1 starting from the command line 107
8.1.2 configuration File 109
8.1.3 Stop MongoDB 110
8.2 Monitoring 110
8.2.1 using the Management interface 110
8.2.2 Serverstatus 112
8.2.3 Mongostat 113
8.2.4 third-party plug-ins 113
8.3 Security and Certification 114
Basic knowledge of 8.3.1 certification 114
How the 8.3.2 Certification works 115
8.3.3 Other Security Considerations 116
8.4 Backup and Repair 116
8.4.1 Data File Backup 117
8.4.2 Mongodump and Mongorestore 117
8.4.3 Fsync and Lock 118
8.4.4 Dependent Backup 119
8.4.5 Repair 119
9th copy of Chapter 121
9.1 Master-Slave replication 121
9.1.1 Option 122
9.1.2 Adding a Delete source 123
9.2 Replica Set 124
9.2.1 initializing a replica set 125
9.2.2 nodes in a replica set 127
9.2.3 Failover and master node election 128
9.3 Performing operations from the server 129
9.3.1 Read Extension 130
9.3.2 data processing with slave nodes 130
9.4 Working principle 130
9.4.1 Oplog 131
9.4.2 Sync 131
9.4.3 replication Status and local database 132
9.4.4 Blocking Replication 132
9.5 Management 133
9.5.1 Diagnostics 133
9.5.2 change the size of the Oplog 134
9.5.3 Certified Replication 134
10th Shard 135
10.1 Shard Introduction 135
10.2 Shards in MongoDB 135
10.3-Sheet Key 137
10.3.1 the existing collection shards 137
10.3.2 Increment Tab key or Random tab key 137
10.3.3 effect of the chip key on Operation 138
10.4 Creating Shards 139
10.4.1 Starting Server 139
10.4.2 Slicing Data 140
10.5 Production Configuration 140
10.5.1 Robust Configuration 141
10.5. More than 2 MONGOs 141
10.5.3 Sturdy slices 141
10.5.4 Physical Server 142
10.6 Managing Shards 142
10.6.1 Configuration Collection 142
10.6.2 Shard Command 143
The 11th chapter applies an example 145
11.1 Chemical Search Engine: Java 145
11.2 News Aggregator: PHP 149
11.3 Custom Submission Form: Ruby 154
11.4 Real-time analysis: Python 157
Appendix A, installing MongoDB 163
Appendix B mongo:mongodb Shell 167
Appendix C deep within MONGODB 169

MongoDB Authoritative Guide PDF

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.