diff --git a/source/.static/logo-mongodb.png b/source/.static/logo-mongodb.png index e949d4ec566..bcc4569cd0a 100644 Binary files a/source/.static/logo-mongodb.png and b/source/.static/logo-mongodb.png differ diff --git a/source/images/M036-smallsquare.svg b/source/images/M036-smallsquare.svg index fe8dfd0ac15..c44d35d90b2 100644 --- a/source/images/M036-smallsquare.svg +++ b/source/images/M036-smallsquare.svg @@ -1,12 +1 @@ - - - - - - - - - - - - + \ No newline at end of file diff --git a/source/images/aggregation-pipeline.svg b/source/images/aggregation-pipeline.svg index f563d8517cb..2e1ee701bd6 100644 --- a/source/images/aggregation-pipeline.svg +++ b/source/images/aggregation-pipeline.svg @@ -1,243 +1 @@ - - - - - - - - cust_id: "A123", - - - - - - cust_id: "A123", - - - - - - { - - - amount: 250, - - - status: "A" - - - } - - - - - { - - - amount: 500, - - - status: "A" - - - } - - - - - - - { - - - amount: 200, - - - status: "A" - - - } - - - - - cust_id: "B212", - - - - - - { - - - cust_id: "A123", - - - amount: 500, - - - status: "A" - - - } - - - - - - { - - - cust_id: "A123", - - - amount: 250, - - - status: "A" - - - } - - - - - - { - - - cust_id: "B212", - - - amount: 200, - - - status: "A" - - - } - - - - - - { - - - cust_id: "A123", - - - amount: 300, - - - status: "D" - - - } - - - - - - _id: "A123", - - - - { - - - total: 750 - - - } - - - - - _id: "B212", - - - - { - - - total: 200 - - - } - - - - - - db.orders.aggregate( [ - - - - - - - - - - - - - - - - - $match stage - - - $group stage - - - Collection - - - orders - - - Results - - - - - - - - - - - - - - - - - $match - - - $group - - - - { $match: { status: "A" } }, - - - { $group: { _id: "$cust_id",total: { $sum: "$amount" } } } - - - - ] ) - - - - - - - - - - +cust_id: "A123",cust_id: "A123",{amount: 250,status: "A"}{amount: 500,status: "A"}{amount: 200,status: "A"}cust_id: "B212",{cust_id: "A123",amount: 500,status: "A"}{cust_id: "A123",amount: 250,status: "A"}{cust_id: "B212",amount: 200,status: "A"}{cust_id: "A123",amount: 300,status: "D"}_id: "A123",{total: 750}_id: "B212",{total: 200}db.orders.aggregate( [$match stage$group stageCollectionordersResults$match$group{ $match: { status: "A" } },{ $group: { _id: "$cust_id",total: { $sum: "$amount" } } }] ) \ No newline at end of file diff --git a/source/images/atlas-create-cluster.png b/source/images/atlas-create-cluster.png index 8bc0f220c34..8ca855940bb 100644 Binary files a/source/images/atlas-create-cluster.png and b/source/images/atlas-create-cluster.png differ diff --git a/source/images/atlas-setup-cluster-security.png b/source/images/atlas-setup-cluster-security.png index b3e229bbb5a..a508e0eb596 100644 Binary files a/source/images/atlas-setup-cluster-security.png and b/source/images/atlas-setup-cluster-security.png differ diff --git a/source/images/causal-rc-local-wc-1.svg b/source/images/causal-rc-local-wc-1.svg index e36604ddfa8..ca4bdabb1bb 100644 --- a/source/images/causal-rc-local-wc-1.svg +++ b/source/images/causal-rc-local-wc-1.svg @@ -1,95 +1 @@ - - - - - - - - - P - - - old - - - - - - - - S - - - 1 - - - - - {id: 5, item: "A", qty:200} - - - - - - - - P - - - new - - - - - - - S - - - 3 - - - - - - - S - - - 2 - - - - - - {id: 5, item: "A", qty:50} - - - - - - - - {id: 5, item: "A", qty:200} - - - - - - - W1 - - - R1 - - - W2 - - - {id: 5, item: "A", qty:200} - - - R2 - - - +PoldS1{id: 5, item: "A", qty:200}PnewS3S2{id: 5, item: "A", qty:50}{id: 5, item: "A", qty:200}W1R1W2{id: 5, item: "A", qty:200}R2 \ No newline at end of file diff --git a/source/images/causal-rc-local-wc-majority.svg b/source/images/causal-rc-local-wc-majority.svg index 9b5266e8a18..2c46d3db0b4 100644 --- a/source/images/causal-rc-local-wc-majority.svg +++ b/source/images/causal-rc-local-wc-majority.svg @@ -1,95 +1 @@ - - - - - - - - - P - - - old - - - - - - - - S - - - 1 - - - - - {id: 5, item: "A", qty:200} - - - - - - - - P - - - new - - - - - - - S - - - 3 - - - - - - - S - - - 2 - - - - - - {id: 5, item: "A", qty:50} - - - - - W1 - - - R1 - - - {id: 5, item: "A", qty:200} - - - - - - - W2 - - - R2 - - - - - - {id: 5, item: "A", qty:50, restock: true} - - - +PoldS1{id: 5, item: "A", qty:200}PnewS3S2{id: 5, item: "A", qty:50}W1R1{id: 5, item: "A", qty:200}W2R2{id: 5, item: "A", qty:50, restock: true} \ No newline at end of file diff --git a/source/images/causal-rc-majority-wc-1.svg b/source/images/causal-rc-majority-wc-1.svg index 4c694169eb5..df83eb3d547 100644 --- a/source/images/causal-rc-majority-wc-1.svg +++ b/source/images/causal-rc-majority-wc-1.svg @@ -1,93 +1 @@ - - - - - - - - - P - - - old - - - - - - - - S - - - 1 - - - - - {id: 5, item: "A", qty:200} - - - - - - - - P - - - new - - - - - - - S - - - 3 - - - - - - - S - - - 2 - - - - - - {id: 5, item: "A", qty:50} - - - - - - {id: 5, item: "A", qty:200} - - - - - - - W1 - - - R1 - - - W2 - - - {id: 5, item: "A", qty:200} - - - R2 - - - +PoldS1{id: 5, item: "A", qty:200}PnewS3S2{id: 5, item: "A", qty:50}{id: 5, item: "A", qty:200}W1R1W2{id: 5, item: "A", qty:200}R2 \ No newline at end of file diff --git a/source/images/causal-rc-majority-wc-majority.svg b/source/images/causal-rc-majority-wc-majority.svg index e97b863d5e4..f23364d1f6a 100644 --- a/source/images/causal-rc-majority-wc-majority.svg +++ b/source/images/causal-rc-majority-wc-majority.svg @@ -1,94 +1 @@ - - - - - - - - - P - - - old - - - - - - - - S - - - 1 - - - - - {id: 5, item: "A", qty:200} - - - - - - - - P - - - new - - - - - - - S - - - 3 - - - - - - - S - - - 2 - - - - - - {id: 5, item: "A", qty:50} - - - - W1 - - - {id: 5, item: "A", qty:200} - - - - - - - W2 - - - R2 - - - - - - {id: 5, item: "A", qty:50, restock: true} - - - R1 - - - +PoldS1{id: 5, item: "A", qty:200}PnewS3S2{id: 5, item: "A", qty:50}W1{id: 5, item: "A", qty:200}W2R2{id: 5, item: "A", qty:50, restock: true}R1 \ No newline at end of file diff --git a/source/images/client-side-field-level-encryption-diagram.svg b/source/images/client-side-field-level-encryption-diagram.svg index 23c959c294f..64ff560bb86 100644 --- a/source/images/client-side-field-level-encryption-diagram.svg +++ b/source/images/client-side-field-level-encryption-diagram.svg @@ -1,620 +1 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - Client Machine - libmongocryptd - 4.2 Driver - mongocryptd - MongoDB Cluster - MongoDB Key Vault - Third-Party KMS - Gets JSON Schemafor defining encryptionrules - Retrieve / Add Encrypted Data Keys - Retrieve CMK forEncrypting/DecryptingData Keys - - +Client Machinelibmongocryptd4.2 DrivermongocryptdMongoDB ClusterMongoDB Key VaultThird-Party KMSGets JSON Schemafor defining encryptionrulesRetrieve / Add Encrypted Data KeysRetrieve CMK forEncrypting/DecryptingData Keys \ No newline at end of file diff --git a/source/images/compass-analyze-inventory-docs.png b/source/images/compass-analyze-inventory-docs.png index d7f7e554610..b250be29d04 100644 Binary files a/source/images/compass-analyze-inventory-docs.png and b/source/images/compass-analyze-inventory-docs.png differ diff --git a/source/images/compass-connect-uri-detected.png b/source/images/compass-connect-uri-detected.png index f0586e8e219..6cae4e15d96 100644 Binary files a/source/images/compass-connect-uri-detected.png and b/source/images/compass-connect-uri-detected.png differ diff --git a/source/images/compass-create-index-button.png b/source/images/compass-create-index-button.png index 5ac07276bb7..dc3f1aadc73 100644 Binary files a/source/images/compass-create-index-button.png and b/source/images/compass-create-index-button.png differ diff --git a/source/images/compass-create-inventory-index.png b/source/images/compass-create-inventory-index.png index 297ca46e8d3..38020fa99e3 100644 Binary files a/source/images/compass-create-inventory-index.png and b/source/images/compass-create-inventory-index.png differ diff --git a/source/images/compass-create-new-index.png b/source/images/compass-create-new-index.png index cb7f737cf0f..d53997bac7d 100644 Binary files a/source/images/compass-create-new-index.png and b/source/images/compass-create-new-index.png differ diff --git a/source/images/compass-delete-button-click.png b/source/images/compass-delete-button-click.png index df89f79708c..de5c549b357 100644 Binary files a/source/images/compass-delete-button-click.png and b/source/images/compass-delete-button-click.png differ diff --git a/source/images/compass-delete-confirm.png b/source/images/compass-delete-confirm.png index 8a4286b5492..09bb7072f9a 100644 Binary files a/source/images/compass-delete-confirm.png and b/source/images/compass-delete-confirm.png differ diff --git a/source/images/compass-delete-index.png b/source/images/compass-delete-index.png index 00493dfcd11..cdea66abf02 100644 Binary files a/source/images/compass-delete-index.png and b/source/images/compass-delete-index.png differ diff --git a/source/images/compass-delete-paper-find.png b/source/images/compass-delete-paper-find.png index 4884adc2e3f..7ccd12f27fa 100644 Binary files a/source/images/compass-delete-paper-find.png and b/source/images/compass-delete-paper-find.png differ diff --git a/source/images/compass-edit-inv-tab-click.png b/source/images/compass-edit-inv-tab-click.png index 99f56d75584..a4c47fa94a7 100644 Binary files a/source/images/compass-edit-inv-tab-click.png and b/source/images/compass-edit-inv-tab-click.png differ diff --git a/source/images/compass-edit-paper-add-last-modified.png b/source/images/compass-edit-paper-add-last-modified.png index 8a2cb63b9ee..f71a3284aed 100644 Binary files a/source/images/compass-edit-paper-add-last-modified.png and b/source/images/compass-edit-paper-add-last-modified.png differ diff --git a/source/images/compass-edit-paper-example.png b/source/images/compass-edit-paper-example.png index be87da3be83..244385f7fed 100644 Binary files a/source/images/compass-edit-paper-example.png and b/source/images/compass-edit-paper-example.png differ diff --git a/source/images/compass-edit-paper-expand.png b/source/images/compass-edit-paper-expand.png index cacf14c586d..ffd73ab52fc 100644 Binary files a/source/images/compass-edit-paper-expand.png and b/source/images/compass-edit-paper-expand.png differ diff --git a/source/images/compass-explain-plan-no-index-raw-json.png b/source/images/compass-explain-plan-no-index-raw-json.png index 244a4e9437b..201fc82bb58 100644 Binary files a/source/images/compass-explain-plan-no-index-raw-json.png and b/source/images/compass-explain-plan-no-index-raw-json.png differ diff --git a/source/images/compass-explain-plan-no-index.png b/source/images/compass-explain-plan-no-index.png index 7cbe19e678a..147dcbd70ca 100644 Binary files a/source/images/compass-explain-plan-no-index.png and b/source/images/compass-explain-plan-no-index.png differ diff --git a/source/images/compass-explain-plan-with-index-raw-json.png b/source/images/compass-explain-plan-with-index-raw-json.png index afef757a9f3..e3f1f3424ea 100644 Binary files a/source/images/compass-explain-plan-with-index-raw-json.png and b/source/images/compass-explain-plan-with-index-raw-json.png differ diff --git a/source/images/compass-explain-plan-with-index.png b/source/images/compass-explain-plan-with-index.png index f7bed9c9ca4..e5b272190eb 100644 Binary files a/source/images/compass-explain-plan-with-index.png and b/source/images/compass-explain-plan-with-index.png differ diff --git a/source/images/compass-find-no-index-results.png b/source/images/compass-find-no-index-results.png index dccf3e05286..6a2ef838151 100644 Binary files a/source/images/compass-find-no-index-results.png and b/source/images/compass-find-no-index-results.png differ diff --git a/source/images/compass-index-dialog.png b/source/images/compass-index-dialog.png index 5f7999d3348..22067913ab9 100644 Binary files a/source/images/compass-index-dialog.png and b/source/images/compass-index-dialog.png differ diff --git a/source/images/compass-index-tab-2.png b/source/images/compass-index-tab-2.png index 5de6c2f57f2..1dc3724d259 100644 Binary files a/source/images/compass-index-tab-2.png and b/source/images/compass-index-tab-2.png differ diff --git a/source/images/compass-index-tab.png b/source/images/compass-index-tab.png index 2827079537e..73655e626b9 100644 Binary files a/source/images/compass-index-tab.png and b/source/images/compass-index-tab.png differ diff --git a/source/images/compass-insert-document-field-type.png b/source/images/compass-insert-document-field-type.png index 5c4c541b0aa..3d105bcb0d2 100644 Binary files a/source/images/compass-insert-document-field-type.png and b/source/images/compass-insert-document-field-type.png differ diff --git a/source/images/compass-insert-document-field.png b/source/images/compass-insert-document-field.png index 35e0fe141d7..c539a8db52b 100644 Binary files a/source/images/compass-insert-document-field.png and b/source/images/compass-insert-document-field.png differ diff --git a/source/images/compass-show-new-index.png b/source/images/compass-show-new-index.png index 67dac36e9cb..b16db9a8433 100644 Binary files a/source/images/compass-show-new-index.png and b/source/images/compass-show-new-index.png differ diff --git a/source/images/compass-table-btn-click-2.png b/source/images/compass-table-btn-click-2.png index 5b21341ae1e..ff9de8ac9c8 100644 Binary files a/source/images/compass-table-btn-click-2.png and b/source/images/compass-table-btn-click-2.png differ diff --git a/source/images/compass-table-btn-click.png b/source/images/compass-table-btn-click.png index 3a44322d373..8a51406e037 100644 Binary files a/source/images/compass-table-btn-click.png and b/source/images/compass-table-btn-click.png differ diff --git a/source/images/compass-update-doc-button.png b/source/images/compass-update-doc-button.png index 0f98ca31d94..e070d66d370 100644 Binary files a/source/images/compass-update-doc-button.png and b/source/images/compass-update-doc-button.png differ diff --git a/source/images/crud-annotated-collection.svg b/source/images/crud-annotated-collection.svg index 5b01f35c4bd..76424341b8d 100644 --- a/source/images/crud-annotated-collection.svg +++ b/source/images/crud-annotated-collection.svg @@ -1,80 +1 @@ - - - - - - - - - - - { - - - name - : "sue", - - age - : 26, - - status - : "A", - - groups - : [ "news", "sports" ] - } - - - - - - - - - - { - - - name - : "lee", - - age - : 28, - - status - : "P", - - groups - : [ "food", "news" ] - } - - - - Collection - - - - - - - - { - - - name - : "al", - - age - : 18, - - status - : "D", - - groups - : [ "politics", "news" ] - } - - - - - +{ name : "sue", age : 26, status : "A", groups : [ "news", "sports" ] }{ name : "lee", age : 28, status : "P", groups : [ "food", "news" ] }Collection{ name : "al", age : 18, status : "D", groups : [ "politics", "news" ] } \ No newline at end of file diff --git a/source/images/crud-annotated-document.svg b/source/images/crud-annotated-document.svg index b9946d3eb8e..99b139dcaca 100644 --- a/source/images/crud-annotated-document.svg +++ b/source/images/crud-annotated-document.svg @@ -1,61 +1 @@ - - - - - - - - - - - field - : value - - - - - - - - - - - - - - field - : value - - - field - : value - - - { - - - name - : "sue", - - age - : 26, - - status - : "A", - - groups - : [ "news", "sports" ] - } - - - - - - - - field - : value - - - - +field : valuefield : valuefield : value{ name : "sue", age : 26, status : "A", groups : [ "news", "sports" ] }field : value \ No newline at end of file diff --git a/source/images/crud-annotated-mongodb-deleteMany.bakedsvg.svg b/source/images/crud-annotated-mongodb-deleteMany.bakedsvg.svg index b8f1bbb8944..8b5280e6519 100644 --- a/source/images/crud-annotated-mongodb-deleteMany.bakedsvg.svg +++ b/source/images/crud-annotated-mongodb-deleteMany.bakedsvg.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/source/images/crud-annotated-mongodb-deleteMany.svg b/source/images/crud-annotated-mongodb-deleteMany.svg index a47e569fb5e..77a8852de30 100644 --- a/source/images/crud-annotated-mongodb-deleteMany.svg +++ b/source/images/crud-annotated-mongodb-deleteMany.svg @@ -1,177 +1 @@ - - - - - - image/svg+xml - - - - - - - - - - db.users.deleteMany( - - - users - - - { status: "reject" } - - - ) - - - - - - - - - - - - delete filter - - - - - - - - - - - - collection - - - - +db.users.deleteMany(users{ status: "reject" })delete filtercollection \ No newline at end of file diff --git a/source/images/crud-annotated-mongodb-deleteOne.svg b/source/images/crud-annotated-mongodb-deleteOne.svg index 466abf17ec8..4c44d61fda1 100644 --- a/source/images/crud-annotated-mongodb-deleteOne.svg +++ b/source/images/crud-annotated-mongodb-deleteOne.svg @@ -1,44 +1 @@ - - - - - - - db.users.deleteOne( - - - users - - - { status: "Rejected" } - - - ) - - - - - - - - - - - - delete filter - - - - - - - - - - - - collection - - - - +db.users.deleteOne(users{ status: "Rejected" })delete filtercollection \ No newline at end of file diff --git a/source/images/crud-annotated-mongodb-find.svg b/source/images/crud-annotated-mongodb-find.svg index 0c74a662466..3c36b6eb0d2 100644 --- a/source/images/crud-annotated-mongodb-find.svg +++ b/source/images/crud-annotated-mongodb-find.svg @@ -1,79 +1 @@ - - - - - - - db. - - - users - - - .find( - - - { age: { $gt: 18 } }, - - - { - - - name: 1, address: 1 } - - - ).limit( - - - 5 - - - ) - - - - - - - - - - - - collection - - - - - - - - - - - - query criteria - - - - - - - - - - - projection - - - - - - - - - - cursor modifier - - - +db.users.find({ age: { $gt: 18 } },{name: 1, address: 1 }).limit(5)collectionquery criteriaprojectioncursor modifier \ No newline at end of file diff --git a/source/images/crud-annotated-mongodb-insert.svg b/source/images/crud-annotated-mongodb-insert.svg index 91aeed3c1e1..609208449e3 100644 --- a/source/images/crud-annotated-mongodb-insert.svg +++ b/source/images/crud-annotated-mongodb-insert.svg @@ -1,66 +1 @@ - - - - - - - - - - - - collection - - - - - - - - - field: value - - - - - - - - - field: value - - - - - - - - - field: value - - - - - db. - users - .insert ( - - { - - name: "sue", - - age: 26, - - status: "A" - - } - ) - - - - - document - - - - +collectionfield: valuefield: valuefield: valuedb. users .insert ( { name: "sue", age: 26, status: "A" } )document \ No newline at end of file diff --git a/source/images/crud-annotated-mongodb-insertMany.svg b/source/images/crud-annotated-mongodb-insertMany.svg index 1457ff8abb0..70f882be4c1 100644 --- a/source/images/crud-annotated-mongodb-insertMany.svg +++ b/source/images/crud-annotated-mongodb-insertMany.svg @@ -1,130 +1 @@ - - - - - - - { - - - name: "sue", - - - age: 26, - - - status: "pending" - - - }, - - - - - { - - - name: "bob", - - - age: 25, - - - status: "enrolled" - - - }, - - - - - { - - - name: "ann", - - - age: 28, - - - status: "enrolled" - - - } - - - - - - - - - - collection - - - - - - - - - field: value - - - - - - - - - field: value - - - - - - - - - field: value - - - - - - ) - - - db.users.insertMany( - - - users - - - - - - document - - - - [ - - - ] - - - - - document - - - - - - document - - - - +{name: "sue",age: 26,status: "pending"},{name: "bob",age: 25,status: "enrolled"},{name: "ann",age: 28,status: "enrolled"}collectionfield: valuefield: valuefield: value)db.users.insertMany(usersdocument[]documentdocument \ No newline at end of file diff --git a/source/images/crud-annotated-mongodb-insertOne.svg b/source/images/crud-annotated-mongodb-insertOne.svg index d442b079ae4..442bb597011 100644 --- a/source/images/crud-annotated-mongodb-insertOne.svg +++ b/source/images/crud-annotated-mongodb-insertOne.svg @@ -1,74 +1 @@ - - - - - - - - - - - - collection - - - - - - - - - field: value - - - - - - - - - field: value - - - - - - - - - field: value - - - - - - db.users.insertOne( - - - users - - - { - - - name: "sue", - - - age: 26, - - - status: "pending" - - - } - - - ) - - - - - document - - - +collectionfield: valuefield: valuefield: valuedb.users.insertOne(users{name: "sue",age: 26,status: "pending"})document \ No newline at end of file diff --git a/source/images/crud-annotated-mongodb-remove.svg b/source/images/crud-annotated-mongodb-remove.svg index 8e659606ce7..ae14adad83e 100644 --- a/source/images/crud-annotated-mongodb-remove.svg +++ b/source/images/crud-annotated-mongodb-remove.svg @@ -1,33 +1 @@ - - - - - - db. - users - .remove( - - { status: "D" } - ) - - - - - - - - remove criteria - - - - - - - - - collection - - - - - +db. users .remove( { status: "D" } )remove criteriacollection \ No newline at end of file diff --git a/source/images/crud-annotated-mongodb-replaceOne.svg b/source/images/crud-annotated-mongodb-replaceOne.svg index a2f2c7f1fe6..54c95fb8d0a 100644 --- a/source/images/crud-annotated-mongodb-replaceOne.svg +++ b/source/images/crud-annotated-mongodb-replaceOne.svg @@ -1,59 +1 @@ - - - - - - - db.users.replaceOne( - - - users - - - { name: "sue" } , - - - { - - - name: "amy", - - - age: 25, - - - status: "enrolled" - - - } - - - ) - - - - - - - - - collection - - - - - - - - - replace filter - - - - - - replacement document - - - - +db.users.replaceOne(users{ name: "sue" } ,{name: "amy",age: 25,status: "enrolled"})collectionreplace filterreplacement document \ No newline at end of file diff --git a/source/images/crud-annotated-mongodb-update.svg b/source/images/crud-annotated-mongodb-update.svg index cd7ff439c13..df28a0d2594 100644 --- a/source/images/crud-annotated-mongodb-update.svg +++ b/source/images/crud-annotated-mongodb-update.svg @@ -1,59 +1 @@ - - - - - - db. - users - .update( - - { age: { $gt: 18 } }, - - { - - $set: { status: "A" } }, - - { - - multi: true } - ) - - - - - - - - collection - - - - - - - - - update criteria - - - - - - - - - update action - - - - - - - - - update option - - - - - +db. users .update( { age: { $gt: 18 } }, { $set: { status: "A" } }, { multi: true } )collectionupdate criteriaupdate actionupdate option \ No newline at end of file diff --git a/source/images/crud-annotated-mongodb-updateMany.svg b/source/images/crud-annotated-mongodb-updateMany.svg index f96baf6ff14..990d4bc0e7d 100644 --- a/source/images/crud-annotated-mongodb-updateMany.svg +++ b/source/images/crud-annotated-mongodb-updateMany.svg @@ -1,59 +1 @@ - - - - - - - db.users.updateMany( - - - users - - - { age: { $lt: 18 } }, - - - { $set: { status: "reject" } } - - - ) - - - - - - - - - - - - collection - - - - - - - - - - - - update filter - - - - - - - - - - - - update action - - - - +db.users.updateMany(users{ age: { $lt: 18 } },{ $set: { status: "reject" } })collectionupdate filterupdate action \ No newline at end of file diff --git a/source/images/crud-annotated-mongodb-updateOne.svg b/source/images/crud-annotated-mongodb-updateOne.svg index 929afd04df4..0bc32917558 100644 --- a/source/images/crud-annotated-mongodb-updateOne.svg +++ b/source/images/crud-annotated-mongodb-updateOne.svg @@ -1,50 +1 @@ - - - - - - - db.users.updateOne( - - - users - - - { age : { $lt : 18 } } , - - - { $set: { status : "reject" } - - - ) - - - - - - - - - collection - - - - - - - - - update filter - - - - - - - - - update action - - - - +db.users.updateOne(users{ age : { $lt : 18 } } ,{ $set: { status : "reject" })collectionupdate filterupdate action \ No newline at end of file diff --git a/source/images/crud-annotated-sql-delete.svg b/source/images/crud-annotated-sql-delete.svg index 08bf83c7962..ca637417958 100644 --- a/source/images/crud-annotated-sql-delete.svg +++ b/source/images/crud-annotated-sql-delete.svg @@ -1,31 +1 @@ - - - - - - DELETE FROM - - users - WHERE - - status = 'D' - - - - - - - - table - - - - - - - - delete criteria - - - - +DELETE FROM users WHERE status = 'D'tabledelete criteria \ No newline at end of file diff --git a/source/images/crud-annotated-sql-deleteMany.svg b/source/images/crud-annotated-sql-deleteMany.svg index a694aeeee09..3bc02954fee 100644 --- a/source/images/crud-annotated-sql-deleteMany.svg +++ b/source/images/crud-annotated-sql-deleteMany.svg @@ -1,44 +1 @@ - - - - - - - DELETE FROM - - - users - - - WHERE - - - status = 'reject' - - - - - - - - - - - - table - - - - - delete filter - - - - - - - - - - - +DELETE FROMusersWHEREstatus = 'reject'tabledelete filter \ No newline at end of file diff --git a/source/images/crud-annotated-sql-deleteOne.svg b/source/images/crud-annotated-sql-deleteOne.svg index a707743a339..ecfce76e537 100644 --- a/source/images/crud-annotated-sql-deleteOne.svg +++ b/source/images/crud-annotated-sql-deleteOne.svg @@ -1,62 +1 @@ - - - - - - - DELETE FROM - - - users - - - WHERE - - - status = 'reject' - - - LIMIT - - - 1 - - - - - - - - - - - - table - - - - - delete filter - - - - - - - - - - - - - - - - - - - delete limit - - - - +DELETE FROMusersWHEREstatus = 'reject'LIMIT1tabledelete filterdelete limit \ No newline at end of file diff --git a/source/images/crud-annotated-sql-insert.svg b/source/images/crud-annotated-sql-insert.svg index a666a1decc4..30af209de72 100644 --- a/source/images/crud-annotated-sql-insert.svg +++ b/source/images/crud-annotated-sql-insert.svg @@ -1,62 +1 @@ - - - - - - - - - - - - - - table - - - - - - - - - - - - columns - - - - - - - - - - - - values/ - - - row - - - - - INSERT INTO - - - users - - - ( name, age, status ) - - - VALUES - - - ( "sue", 26, "A" ) - - - - +tablecolumnsvalues/rowINSERT INTOusers( name, age, status )VALUES( "sue", 26, "A" ) \ No newline at end of file diff --git a/source/images/crud-annotated-sql-insertMany.svg b/source/images/crud-annotated-sql-insertMany.svg index b0a35bd0842..28567a5d48c 100644 --- a/source/images/crud-annotated-sql-insertMany.svg +++ b/source/images/crud-annotated-sql-insertMany.svg @@ -1,60 +1 @@ - - - - - - - - values/ - - - row - - - - - - - INSERT INTO - - - user - - - ( name, age, status) - - - VALUES - - - - - ( "bob", 25, "enrolled" ), - - - ( "ann", 28, "enrolled" ) - - - ( "sue", 26, "pending" ), - - - - - - - - - table - - - - - - - - - columns - - - - +values/rowINSERT INTOuser( name, age, status)VALUES( "bob", 25, "enrolled" ),( "ann", 28, "enrolled" )( "sue", 26, "pending" ),tablecolumns \ No newline at end of file diff --git a/source/images/crud-annotated-sql-insertOne.svg b/source/images/crud-annotated-sql-insertOne.svg index 9142f2b3e71..0e20400d770 100644 --- a/source/images/crud-annotated-sql-insertOne.svg +++ b/source/images/crud-annotated-sql-insertOne.svg @@ -1,53 +1 @@ - - - - - - - INSERT INTO - - - users - - - ( name, age, status ) - - - VALUES - - - ( "sue", 26, "pending" ) - - - - - - - - - table - - - - - - - - - columns - - - - - - - - - values/row - - - row - - - - +INSERT INTOusers( name, age, status )VALUES( "sue", 26, "pending" )tablecolumnsvalues/rowrow \ No newline at end of file diff --git a/source/images/crud-annotated-sql-replaceOne.svg b/source/images/crud-annotated-sql-replaceOne.svg index 1596b61357a..f37b0158906 100644 --- a/source/images/crud-annotated-sql-replaceOne.svg +++ b/source/images/crud-annotated-sql-replaceOne.svg @@ -1,88 +1 @@ - - - - - - - UPDATE - - - users - - - SET - - - name = 'amy' - - - WHERE - - - name = 'sue' - - - age = '25' - - - status = 'enrolled' - - - 1 - - - LIMIT - - - - - - - - - table - - - - - update action - - - - - - - update action - - - - - - - update action - - - - - - - - - update filter - - - - - - - - - update limit - - - - - - - - +UPDATEusersSETname = 'amy'WHEREname = 'sue'age = '25'status = 'enrolled'1LIMITtableupdate actionupdate actionupdate actionupdate filterupdate limit \ No newline at end of file diff --git a/source/images/crud-annotated-sql-select.svg b/source/images/crud-annotated-sql-select.svg index d66a5497399..82567d03270 100644 --- a/source/images/crud-annotated-sql-select.svg +++ b/source/images/crud-annotated-sql-select.svg @@ -1,59 +1 @@ - - - - - - SELECT - - _id, - name, address - - FROM - - users - WHERE - - age > 18 - LIMIT - - 5 - - - - - - - - projection - - - - - - - - - table - - - - - - - - - select criteria - - - - - - - - - cursor modifier - - - - - +SELECT _id, name, address FROM users WHERE age > 18 LIMIT 5projectiontableselect criteriacursor modifier \ No newline at end of file diff --git a/source/images/crud-annotated-sql-update.svg b/source/images/crud-annotated-sql-update.svg index 336b8935e93..2c76862071b 100644 --- a/source/images/crud-annotated-sql-update.svg +++ b/source/images/crud-annotated-sql-update.svg @@ -1,41 +1 @@ - - - - - - UPDATE - - users - SET - - status = 'A' - WHERE - - age > 18 - - - - - - - - table - - - - - - - - update action - - - - - - - update criteria - - - - +UPDATE users SET status = 'A' WHERE age > 18tableupdate actionupdate criteria \ No newline at end of file diff --git a/source/images/crud-annotated-sql-updateMany.svg b/source/images/crud-annotated-sql-updateMany.svg index fd06871f88a..85c907c466a 100644 --- a/source/images/crud-annotated-sql-updateMany.svg +++ b/source/images/crud-annotated-sql-updateMany.svg @@ -1,53 +1 @@ - - - - - - - UPDATE - - - users - - - SET - - - status = 'reject' - - - WHERE - - - age < 18 - - - - - - - - - table - - - - - update action - - - - - - - - - update filter - - - - - - - - +UPDATEusersSETstatus = 'reject'WHEREage < 18tableupdate actionupdate filter \ No newline at end of file diff --git a/source/images/crud-annotated-sql-updateOne.svg b/source/images/crud-annotated-sql-updateOne.svg index 6ef97ec75ee..4fb575979ac 100644 --- a/source/images/crud-annotated-sql-updateOne.svg +++ b/source/images/crud-annotated-sql-updateOne.svg @@ -1,68 +1 @@ - - - - - - - UPDATE - - - users - - - SET - - - status = 'reject' - - - WHERE - - - age < 18 - - - 1 - - - LIMIT - - - - - - - - - table - - - - - update action - - - - - - - - - update filter - - - - - - - - - update limit - - - - - - - - +UPDATEusersSETstatus = 'reject'WHEREage < 181LIMITtableupdate actionupdate filterupdate limit \ No newline at end of file diff --git a/source/images/crud-insert-stages.svg b/source/images/crud-insert-stages.svg index 77de47d4b8b..75e55e8371d 100644 --- a/source/images/crud-insert-stages.svg +++ b/source/images/crud-insert-stages.svg @@ -1,143 +1 @@ - - - - - - - - - - - - - - - - { name: "al", age: 18, ... } - - - { name: "lee", age: 28, ... } - - - { name: "kai", age: 38, ... } - - - { name: "jan", age: 21, ... } - - - { name: "ryan", - age: 31, ... } - - - { name: "sam", age: 18, ... } - - - - { name: "mel", age: 38, ... } - - - users - - - db.users.insert( - - - Collection - - - Document - - - groups: [ "news", "sports" ] - - - age: - - 26 - , - - - status: - - "A" - , - - - - } - - - - { - - - name - : - - "sue" - , - - age - : - - 26 - , - - status - : - - "A" - , - - groups - : - - [ "news", "sports" ] - } - - - Document - - - Collection - - - - - - - - insert - - - - - - - - { name: "sue", age: 26, ... } - - - - { - - - - name: - "sue", - - - - ) - - - - - - - - - - - - +{ name: "al", age: 18, ... }{ name: "lee", age: 28, ... }{ name: "kai", age: 38, ... }{ name: "jan", age: 21, ... }{ name: "ryan", age: 31, ... }{ name: "sam", age: 18, ... }{ name: "mel", age: 38, ... }usersdb.users.insert(CollectionDocumentgroups: [ "news", "sports" ]age: 26 ,status: "A" ,}{ name : "sue" , age : 26 , status : "A" , groups : [ "news", "sports" ] }DocumentCollectioninsert{ name: "sue", age: 26, ... }{name: "sue",) \ No newline at end of file diff --git a/source/images/crud-query-stages.svg b/source/images/crud-query-stages.svg index 5a03d310288..9f1d2985fac 100644 --- a/source/images/crud-query-stages.svg +++ b/source/images/crud-query-stages.svg @@ -1,124 +1 @@ - - - - - - - - - - - - - - - - - - { age: 18, ...} - - - { age: 28, ...} - - - { age: 38, ...} - - - { age: 21, ...} - - - { age: 31, ...} - - - { age: 18, ...} - - - { age: 38, ...} - - - users - - - - - - - Query Criteria - - - - - - - - - - { age: 28, ...} - - - { age: 38, ...} - - - { age: 21, ...} - - - { age: 31, ...} - - - { age: 38, ...} - - - - - - Modifier - - - - - - - - - - - - - - { age: 21, ...} - - - { age: 31, ...} - - - { age: 28, ...} - - - - { age: 38, ...} - - - { age: 38, ...} - - - - - - Results - - - db.users.find( { age: { $gt: 18 } } ).sort( {age: 1 } ) - - - Collection - - - Query Criteria - - - Modifier - - - - - +{ age: 18, ...}{ age: 28, ...}{ age: 38, ...}{ age: 21, ...}{ age: 31, ...}{ age: 18, ...}{ age: 38, ...}usersQuery Criteria{ age: 28, ...}{ age: 38, ...}{ age: 21, ...}{ age: 31, ...}{ age: 38, ...}Modifier{ age: 21, ...}{ age: 31, ...}{ age: 28, ...}{ age: 38, ...}{ age: 38, ...}Resultsdb.users.find( { age: { $gt: 18 } } ).sort( {age: 1 } )CollectionQuery CriteriaModifier \ No newline at end of file diff --git a/source/images/crud-query-w-projection-stages.svg b/source/images/crud-query-w-projection-stages.svg index b5124845f17..7d3d40a9a97 100644 --- a/source/images/crud-query-w-projection-stages.svg +++ b/source/images/crud-query-w-projection-stages.svg @@ -1,98 +1 @@ - - - - - - - - - - - - - - - - - - { age: 18, ...} - - - { age: 28, ...} - - - { age: 38, ...} - - - { age: 21, ...} - - - { age: 31, ...} - - - { age: 18, ...} - - - { age: 38, ...} - - - users - - - - - - - Query Criteria - - - - - - - - - { age: 18, ...} - - - { age: 18, ...} - - - - Projection - - - - - - - Results - - - - - - - - { name: "bob" } - - - { name: "al" } - - - - db.users.find( { age: 18 }, { name: 1, _id: 0 } ) - - - Collection - - - Query Criteria - - - Projection - - - - - +{ age: 18, ...}{ age: 28, ...}{ age: 38, ...}{ age: 21, ...}{ age: 31, ...}{ age: 18, ...}{ age: 38, ...}usersQuery Criteria{ age: 18, ...}{ age: 18, ...}ProjectionResults{ name: "bob" }{ name: "al" }db.users.find( { age: 18 }, { name: 1, _id: 0 } )CollectionQuery CriteriaProjection \ No newline at end of file diff --git a/source/images/crud-write-concern-ack.svg b/source/images/crud-write-concern-ack.svg index 6bc47d653b7..ea5db789e27 100644 --- a/source/images/crud-write-concern-ack.svg +++ b/source/images/crud-write-concern-ack.svg @@ -1,52 +1 @@ - - - - - - - Dri - v - e - r - - - Primary - - - Write - - - - - - - - - mongod - - - - - - - - Response - - - - - - - - Apply - - - - - - writeConcern: - { w: 1 } - - - - +Dri v e rPrimaryWritemongodResponseApplywriteConcern: { w: 1 } \ No newline at end of file diff --git a/source/images/crud-write-concern-journal.svg b/source/images/crud-write-concern-journal.svg index 923794682e0..579f926d2fb 100644 --- a/source/images/crud-write-concern-journal.svg +++ b/source/images/crud-write-concern-journal.svg @@ -1,61 +1 @@ - - - - - - - Dri - v - e - r - - - Primary - - - Write - - - - - - - - - mongod - - - - - - - - - Apply - - - - - - - - - - - Write to journal - - - - writeConcern: - { w: 1, j: true } - - - - - - - Response - - - - +Dri v e rPrimaryWritemongodApplyWrite to journalwriteConcern: { w: 1, j: true }Response \ No newline at end of file diff --git a/source/images/crud-write-concern-unack.svg b/source/images/crud-write-concern-unack.svg index 4400adc20d6..bb920f10013 100644 --- a/source/images/crud-write-concern-unack.svg +++ b/source/images/crud-write-concern-unack.svg @@ -1,43 +1 @@ - - - - - - - Dri - v - e - r - - - Primary - - - - - mongod - - - - - - - - Apply - - - - - Write - - - - - - - writeConcern: - { w: 0 } - - - - +Dri v e rPrimarymongodApplyWritewriteConcern: { w: 0 } \ No newline at end of file diff --git a/source/images/crud-write-concern-w-majority.bakedsvg.svg b/source/images/crud-write-concern-w-majority.bakedsvg.svg index c5c4eb510d8..7985ab34db3 100644 --- a/source/images/crud-write-concern-w-majority.bakedsvg.svg +++ b/source/images/crud-write-concern-w-majority.bakedsvg.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/source/images/crud-write-concern-w-majority.svg b/source/images/crud-write-concern-w-majority.svg index 840835978ef..171cd35b088 100644 --- a/source/images/crud-write-concern-w-majority.svg +++ b/source/images/crud-write-concern-w-majority.svg @@ -1,125 +1 @@ - - - - - - - - Dri - - - v - - - e - - - r - - - - Primary - - - Write - - - - - - - - - - - - Primary - - - - - - Secondary - - - - - - - - - - - - Apply - - - - Replicate - - - - - - - - - - - - - - - - - - - - - - Secondary - - - - - Replicate - - - - - - - - - - - writeConcern: - - - { w: "majority" } - - - - - - - - - - - Response - - - - - - - - - - - Apply - - - - +DriverPrimaryWritePrimarySecondaryApplyReplicateSecondaryReplicatewriteConcern:{ w: "majority" }ResponseApply \ No newline at end of file diff --git a/source/images/crud-write-concern-w2.svg b/source/images/crud-write-concern-w2.svg index 98b6bedeea3..1355129c116 100644 --- a/source/images/crud-write-concern-w2.svg +++ b/source/images/crud-write-concern-w2.svg @@ -1,93 +1 @@ - - - - - - - Dri - v - e - r - - - Primary - - - Write - - - - - - - - - Primary - - - - - - Secondary - - - - - - - - - Apply - - - - Replicate - - - - - - - - - - - - - - - - Secondary - - - - - Replicate - - - - - - - writeConcern: - { w: 2 } - - - - - - - Response - - - - - - - - Apply - - - - - +Dri v e rPrimaryWritePrimarySecondaryApplyReplicateSecondaryReplicatewriteConcern: { w: 2 }ResponseApply \ No newline at end of file diff --git a/source/images/data-model-denormalized.svg b/source/images/data-model-denormalized.svg index a7e9bd96685..b351756c943 100644 --- a/source/images/data-model-denormalized.svg +++ b/source/images/data-model-denormalized.svg @@ -1,54 +1 @@ - - - - - - { - - - _id: <ObjectId1>, - - username: "123xyz", - - contact: { - - - } - - - phone: "123-456-7890", - email: "xyz@example.com" - - - - level: 5, - group: "dev" - - - }, - - - access: { - - - } - - - Embedded sub- - document - - - Embedded sub- - document - - - - - - - - - - - - +{ _id: <ObjectId1>, username: "123xyz", contact: { }phone: "123-456-7890", email: "xyz@example.com"level: 5, group: "dev"},access: {}Embedded sub- documentEmbedded sub- document \ No newline at end of file diff --git a/source/images/data-model-example-nested-set.svg b/source/images/data-model-example-nested-set.svg index 7883633e4a1..4b40bfe4a49 100644 --- a/source/images/data-model-example-nested-set.svg +++ b/source/images/data-model-example-nested-set.svg @@ -1,127 +1 @@ - - - - - - - - 1 - - - - - - 2 - - - - - - 11 - - - - - - 12 - - - - - - 3 - - - - - - Books - - - - - - - - Programming - - - - - - - - - - Databases - - - - - - - - - MongoDB - - - - - - dbm - - - - - - - - - Languages - - - - - - - 4 - - - - - - 5 - - - - - - 10 - - - - - - 6 - - - - - - 7 - - - - - - 8 - - - - - - 9 - - - - +1211123BooksProgrammingDatabasesMongoDBdbmLanguages45106789 \ No newline at end of file diff --git a/source/images/data-model-normalized.svg b/source/images/data-model-normalized.svg index ba33e04cc0e..ab03a9d6fd8 100644 --- a/source/images/data-model-normalized.svg +++ b/source/images/data-model-normalized.svg @@ -1,73 +1 @@ - - - - - - - { - - - _id: <ObjectId1>, - - username - : "123xyz" - } - - - - - { - - - } - - - - user - document - - - contact - - document - - - { - - } - - - - access - - document - - - - - - - - - - - - - _id: <ObjectId2>, - user - _id: <ObjectId1>, - phone: "123-456-7890", - email: "xyz@example.com" - - - _id: <ObjectId3>, - user - _id: <ObjectId1>, - level: 5, - group: "dev" - - - - - - +{ _id: <ObjectId1>, username : "123xyz" }{ }user documentcontact document{ }access document_id: <ObjectId2>, user _id: <ObjectId1>, phone: "123-456-7890", email: "xyz@example.com"_id: <ObjectId3>, user _id: <ObjectId1>, level: 5, group: "dev" \ No newline at end of file diff --git a/source/images/data-model-tree.svg b/source/images/data-model-tree.svg index 7087f2f0fbb..b253031c7c3 100644 --- a/source/images/data-model-tree.svg +++ b/source/images/data-model-tree.svg @@ -1,54 +1 @@ - - - - - - - Books - - - - - - Programming - - - - - - - - - - - - Databases - - - - - - - - - - - MongoDB - - - - - - dbm - - - - - - - Languages - - - - - +BooksProgrammingDatabasesMongoDBdbmLanguages \ No newline at end of file diff --git a/source/images/distinct.svg b/source/images/distinct.svg index 7a110df4cbf..2829720a92b 100644 --- a/source/images/distinct.svg +++ b/source/images/distinct.svg @@ -1,77 +1 @@ - - - - - - - db.orders.distinct( "cust_id" ) - - - Collection - - - orders - - - - - - - distinct - - - - { - - cust_id: "A123", - - amount: 500, - - status: "A" - } - - - - { - - cust_id: "A123", - - amount: 250, - - status: "A" - } - - - - { - - cust_id: "B212", - - amount: 200, - - status: "A" - } - - - - { - - cust_id: "A123", - - amount: 300, - - status: "D" - } - - - [ - "A123", "B212" ] - - - - - - - - - +db.orders.distinct( "cust_id" )Collectionordersdistinct{ cust_id: "A123", amount: 500, status: "A" }{ cust_id: "A123", amount: 250, status: "A" }{ cust_id: "B212", amount: 200, status: "A" }{ cust_id: "A123", amount: 300, status: "D" }[ "A123", "B212" ] \ No newline at end of file diff --git a/source/images/example-key1.png b/source/images/example-key1.png index 2a67052b9b8..89802a6ef47 100644 Binary files a/source/images/example-key1.png and b/source/images/example-key1.png differ diff --git a/source/images/example-key2.png b/source/images/example-key2.png index 9d99cfee33e..6bf2614afbb 100644 Binary files a/source/images/example-key2.png and b/source/images/example-key2.png differ diff --git a/source/images/example-multiple-keys1.png b/source/images/example-multiple-keys1.png index fd4260dce8d..7fec56021cf 100644 Binary files a/source/images/example-multiple-keys1.png and b/source/images/example-multiple-keys1.png differ diff --git a/source/images/example-multiple-keys2.png b/source/images/example-multiple-keys2.png index 9923bf2e670..63e5339b199 100644 Binary files a/source/images/example-multiple-keys2.png and b/source/images/example-multiple-keys2.png differ diff --git a/source/images/index-2dsphere-polygon-with-ring.svg b/source/images/index-2dsphere-polygon-with-ring.svg index bdb96c5fc06..9c96789a4ef 100644 --- a/source/images/index-2dsphere-polygon-with-ring.svg +++ b/source/images/index-2dsphere-polygon-with-ring.svg @@ -1,80 +1 @@ - - - - - - - - 0 - - - 1 - - - 2 - - - 3 - - - 4 - - - 5 - - - 6 - - - - - 0 - - - 1 - - - - - 2 - - - 3 - - - - - - 4 - - - 5 - - - - 6 - - - - - - - - - [3,6] - - - [6,1] - - - [2,2] - - - [3,3] - - - [4,2] - - - - +01234560123456[3,6][6,1][2,2][3,3][4,2] \ No newline at end of file diff --git a/source/images/index-asc.svg b/source/images/index-asc.svg index 06c37f8dadb..edeab53aa2c 100644 --- a/source/images/index-asc.svg +++ b/source/images/index-asc.svg @@ -1,59 +1 @@ - - - - - - - - - - - - - - - - - - 18 - - - 25 - - - min - - - 45 - - - max - - - - - - 75 - - - Index on - score - - - collection - - - - - - - { - - score - : 30, - ... - } - - - - +1825min45max75Index on scorecollection{ score : 30, ... } \ No newline at end of file diff --git a/source/images/index-ascending.svg b/source/images/index-ascending.svg index 2fdb0f33e63..6bce342222a 100644 --- a/source/images/index-ascending.svg +++ b/source/images/index-ascending.svg @@ -1,82 +1 @@ - - - - - - - - - - - - - collection - - - - - - - { - - - score - - - : - - - 30 - - - , - - - ... - - - } - - - - - - - - - 18 - - - 30 - - - min - - - 45 - - - max - - - - - - 75 - - - - { - - - score - - - : 1 } - - - Index - - - - +collection{score:30,...}1830min45max75{score: 1 }Index \ No newline at end of file diff --git a/source/images/index-compound-key.svg b/source/images/index-compound-key.svg index 0b64a00062a..72e565cabf6 100644 --- a/source/images/index-compound-key.svg +++ b/source/images/index-compound-key.svg @@ -1,87 +1 @@ - - - - - - - - - - - - - - collection - - - - - - - { - - score - : - 30 - , - - userid: ..., - - ... - } - - - - - - - "aa1", - 45 - - - - "ca2", - 75 - - - min - - - "nb1", - 30 - - - - max - - - - - - "xyz", - 90 - - - - - { - userid - : 1, - score - : -1 } - Index - - - - "ca2", - 55 - - - - "ca2", - 30 - - - - - +collection{ score : 30 , userid: ..., ... }"aa1", 45"ca2", 75min"nb1", 30max"xyz", 90{ userid : 1, score : -1 } Index"ca2", 55"ca2", 30 \ No newline at end of file diff --git a/source/images/index-for-covered-query.svg b/source/images/index-for-covered-query.svg index 810936ca9c4..0879c03716a 100644 --- a/source/images/index-for-covered-query.svg +++ b/source/images/index-for-covered-query.svg @@ -1,69 +1 @@ - - - - - - - - - - - - - min - - - - 18 - - - 30 - - - 45 - - - 75 - - - max - - - - db.users.find( { score: { "$lt": - 30 - } }, { score: 1, _id: 0 } ) - - - Collection - - - - - - - Query Criteria - - - - - - - - - - { - score - : 1 } - Index - - - Projection - - - - - - - - +min18304575maxdb.users.find( { score: { "$lt": 30 } }, { score: 1, _id: 0 } )CollectionQuery Criteria{ score : 1 } IndexProjection \ No newline at end of file diff --git a/source/images/index-for-sort.svg b/source/images/index-for-sort.svg index eac573bad68..10f2d10773b 100644 --- a/source/images/index-for-sort.svg +++ b/source/images/index-for-sort.svg @@ -1,368 +1 @@ - - - - - - - - - - - - - min - - - 18 - - - 30 - - - 45 - - - 75 - - - max - - - - - db.users.find( { score: { "$lt": - 30 - } } ).sort( { score: -1 } ) - - - - Collection - - - - - - - - - - Query Criteria - - - - - - - - - - - - - - { - - - score - - - : 1 } - - - Index - - - - - - - - - - - { - - - score - - - : - - - 25 - - - , - - - ... - - - } - - - - - - - - - - - - - - - - - - - { - - - score - - - : - - - 45 - - - , - - - ... - - - } - - - - - - - - - - - { - - - score - - - : - - - 56 - - - , - - - ... - - - } - - - - - - - - - - - { - - - score - - - : - - - 75 - - - , - - - ... - - - } - - - - - - - - - - - { - - - score - - - : - - - 5 - - - , - - - ... - - - } - - - - - - - - - - - - - - - - - - - - - - - { - - - score - - - : - - - 30 - - - , - - - ... - - - } - - - - - - - - - - - { - - - score - - - : - - - 40 - - - , - - - ... - - - } - - - - - - - - - - - - { - - - score - - - : - - - 18 - - - , - - - ... - - - } - - - - - - - - - - - - - - - - - ... - - - users - - - - - - - - - - - - - Sort order - - - - - - - - - - +min18304575maxdb.users.find( { score: { "$lt": 30 } } ).sort( { score: -1 } )CollectionQuery Criteria{score: 1 }Index{score:25,...}{score:45,...}{score:56,...}{score:75,...}{score:5,...}{score:30,...}{score:40,...}{score:18,...}...usersSort order \ No newline at end of file diff --git a/source/images/index-multikey.svg b/source/images/index-multikey.svg index ba1891d5f9c..365980bea81 100644 --- a/source/images/index-multikey.svg +++ b/source/images/index-multikey.svg @@ -1,67 +1 @@ - - - - - - - - - - collection - - - - - - - { - - userid: "xyz", - - addr - : - - - - - - "10036" - - - min - - - "78610" - - - max - - - - - - "94301" - - - { - "addr.zip" - : 1 } - - Index - - - [ - - { zip: "10036", ... }, - - { zip: "94301", ... } - ] - , - - - ... - } - - - - +collection{ userid: "xyz", addr :"10036"min"78610"max"94301"{ "addr.zip" : 1 } Index[ { zip: "10036", ... }, { zip: "94301", ... } ] ,... } \ No newline at end of file diff --git a/source/images/index-with-query.svg b/source/images/index-with-query.svg index f4afcdf0e6b..645e4ed04ee 100644 --- a/source/images/index-with-query.svg +++ b/source/images/index-with-query.svg @@ -1,232 +1 @@ - - - - - - - - - - - - - min - - - - 18 - - - 30 - - - 45 - - - 75 - - - max - - - - db.users.find( { score: { "$lt": - 30 - } } ) - - - Collection - - - - - - - Query Criteria - - - - - - - - - - { - score - : 1 } - Index - - - - - - - - - { - - - score - : - 25 - , - ... - } - - - - - - - - - - - - - - { - - score - : - 45 - , - ... - } - - - - - - - - - { - - score - : - 56 - , - ... - } - - - - - - - - - { - - score - : - 75 - , - ... - } - - - - - - - - - { - - score - : - 5 - , - ... - } - - - - - - - - - - - - - - - - - - { - - score - : - 30 - , - ... - } - - - - - - - - - { - - score - : - 40 - , - ... - } - - - - - - - - - - { - - score - : - 18 - , - ... - } - - - - - - - - - - - - - ... - - - users - - - - - - - - - - - - - - +min18304575maxdb.users.find( { score: { "$lt": 30 } } )CollectionQuery Criteria{ score : 1 } Index{ score : 25 , ... }{ score : 45 , ... }{ score : 56 , ... }{ score : 75 , ... }{ score : 5 , ... }{ score : 30 , ... }{ score : 40 , ... }{ score : 18 , ... }...users \ No newline at end of file diff --git a/source/images/map-reduce.svg b/source/images/map-reduce.svg index c3a8364302e..6a6489c376b 100644 --- a/source/images/map-reduce.svg +++ b/source/images/map-reduce.svg @@ -1,360 +1 @@ - - - - - - - db.orders.mapReduce( - - - - - function() { emit( this.cust_id, this.amount ); }, - - - function(key, values) { return Array.sum( values ) }, - - - { - - - query: { status: "A" } - - - , - - - out: "order_totals" - - - } - - - - ) - - - - - - { - - - cust_id: "A123", - - - amount: 500, - - - status: "A" - - - } - - - - - { - - - cust_id: "A123", - - - amount: 250, - - - status: "A" - - - } - - - - - { - - - cust_id: "B212", - - - amount: 200, - - - status: "A" - - - } - - - - - { - - - cust_id: "A123", - - - amount: 300, - - - status: "D" - - - } - - - - - - - - - - - - orders - - - - - - - - - - - map - - - - - - - - - - - reduce - - - - - - - - - - - - output - - - - - - - - - - - - query - - - - Collection - - - - - - - - - - - - - - - - - - - - - cust_id: "A123", - - - - - { - - - amount: 250, - - - status: "A" - - - } - - - - - - - cust_id: "A123", - - - - - { - - - amount: 500, - - - status: "A" - - - } - - - - - - - { - - - amount: 200, - - - status: "A" - - - } - - - - cust_id: "B212", - - - - - - - - - - - - - query - - - - order_totals - - - - - - - - - - map - - - - - - - - - - reduce - - - - - - _id: "A123", - - - - { - - - value: 750 - - - } - - - - - _id: "B212", - - - - { - - - value: 200 - - - } - - - - - - - - - - - - - [ 500, 250 ] - - - - - "A123": - - - { - - - } - - - - - "B212": - - - 200 - - - - { - - - } - - - - - - - - - - - - +db.orders.mapReduce(function() { emit( this.cust_id, this.amount ); },function(key, values) { return Array.sum( values ) },{query: { status: "A" },out: "order_totals"}){cust_id: "A123",amount: 500,status: "A"}{cust_id: "A123",amount: 250,status: "A"}{cust_id: "B212",amount: 200,status: "A"}{cust_id: "A123",amount: 300,status: "D"}ordersmapreduceoutputqueryCollectioncust_id: "A123",{amount: 250,status: "A"}cust_id: "A123",{amount: 500,status: "A"}{amount: 200,status: "A"}cust_id: "B212",queryorder_totalsmapreduce_id: "A123",{value: 750}_id: "B212",{value: 200}[ 500, 250 ]"A123":{}"B212":200{} \ No newline at end of file diff --git a/source/images/network-partition-two-primaries.svg b/source/images/network-partition-two-primaries.svg index d7be8bc9192..c4fc535cb0b 100644 --- a/source/images/network-partition-two-primaries.svg +++ b/source/images/network-partition-two-primaries.svg @@ -1,61 +1 @@ - - - - - - - Network Partition - - - - - P - - - old - - - - - - - S - - - 1 - - - - - - - - P - - - new - - - - - - - S - - - 3 - - - - - - - S - - - 2 - - - - - +Network PartitionPoldS1PnewS3S2 \ No newline at end of file diff --git a/source/images/query-planner-diagram.svg b/source/images/query-planner-diagram.svg index de6795ea680..4e9aea06205 100644 --- a/source/images/query-planner-diagram.svg +++ b/source/images/query-planner-diagram.svg @@ -1 +1 @@ - + \ No newline at end of file diff --git a/source/images/read-concern-write-timeline.svg b/source/images/read-concern-write-timeline.svg index 89999c39f01..db809aab69a 100644 --- a/source/images/read-concern-write-timeline.svg +++ b/source/images/read-concern-write-timeline.svg @@ -1,90 +1 @@ - - - - - - - - - Secondary - 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - t - 0 - - - t - 1 - - - t - 2 - - - w: "majority" - - - Acknowledge - - - Primary - - - t - 3 - - - t - 4 - - - Secondary - 1 - - - - - - - t - 5 - - - - - - - - - - - t - 6 - - - +Secondary 2t 0t 1t 2w: "majority"AcknowledgePrimaryt 3t 4Secondary 1t 5t 6 \ No newline at end of file diff --git a/source/images/redact-security-architecture.svg b/source/images/redact-security-architecture.svg index 63c79bf50cc..f5d33115f95 100644 --- a/source/images/redact-security-architecture.svg +++ b/source/images/redact-security-architecture.svg @@ -1,106 +1 @@ - - - - - - - - User - - - - - - User - - - - - - User - - - - - Trusted Middleware - - - - - mongod - - - - - MongoDB - - - - Application - - - . - . - . - - - - - User - - - - - - User - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Requests - - - Aggregation Pipeline - with $redact - - - - +UserUserUserTrusted MiddlewaremongodMongoDBApplication. . .UserUserRequestsAggregation Pipeline with $redact \ No newline at end of file diff --git a/source/images/replica-set-delayed-member.svg b/source/images/replica-set-delayed-member.svg index 5ac50da37ff..12e9e8dec0f 100644 --- a/source/images/replica-set-delayed-member.svg +++ b/source/images/replica-set-delayed-member.svg @@ -1,45 +1 @@ - - - - - - - - Secondary - - - - - Primary - - - - - Secondary - - - - priority: 0 - - - hidden: true - - - slaveDelay: 3600 - - - - - - Secondary - - - - - - Secondary - - - - - +SecondaryPrimarySecondarypriority: 0hidden: trueslaveDelay: 3600SecondarySecondary \ No newline at end of file diff --git a/source/images/replica-set-four-members-add-arbiter.svg b/source/images/replica-set-four-members-add-arbiter.svg index 117a8391490..5794a9209f3 100644 --- a/source/images/replica-set-four-members-add-arbiter.svg +++ b/source/images/replica-set-four-members-add-arbiter.svg @@ -1,55 +1 @@ - - - - - - - - Arbiter - - - votes: 1 - - - - - - - Secondary - - - - votes: 1 - - - - - votes: 1 - - - - Primary - - - - - - Secondary - - - - votes: 1 - - - - - - Secondary - - - - votes: 1 - - - - +Arbitervotes: 1Secondaryvotes: 1votes: 1PrimarySecondaryvotes: 1Secondaryvotes: 1 \ No newline at end of file diff --git a/source/images/replica-set-hidden-member.svg b/source/images/replica-set-hidden-member.svg index 47af4ecc879..b9ae8a4ffd3 100644 --- a/source/images/replica-set-hidden-member.svg +++ b/source/images/replica-set-hidden-member.svg @@ -1,40 +1 @@ - - - - - - - - - Secondary - - - - Primary - - - - - Secondary - - - - - - Secondary - - - priority: 0 - - - hidden: true - - - - - - Secondary - - - - +SecondaryPrimarySecondarySecondarypriority: 0hidden: trueSecondary \ No newline at end of file diff --git a/source/images/replica-set-only-seven-voting-members.svg b/source/images/replica-set-only-seven-voting-members.svg index 0ee1cdda1f5..a813e4a97da 100644 --- a/source/images/replica-set-only-seven-voting-members.svg +++ b/source/images/replica-set-only-seven-voting-members.svg @@ -1,88 +1 @@ - - - - - - - - Secondary - - - - votes: 1 - - - - - Secondary - - - - - - Secondary - - - - - - Secondary - - - - votes: 1 - - - - - Secondary - - - - votes: 1 - - - - - Secondary - - - - - - Secondary - - - votes: 0 - - - - - - Secondary - - - votes: 0 - - - - - - Primary - - - - votes: 1 - - - votes: 1 - - - votes: 1 - - - votes: 1 - - - - +Secondaryvotes: 1SecondarySecondarySecondaryvotes: 1Secondaryvotes: 1SecondarySecondaryvotes: 0Secondaryvotes: 0Primaryvotes: 1votes: 1votes: 1votes: 1 \ No newline at end of file diff --git a/source/images/replica-set-primary-with-secondary-and-arbiter.svg b/source/images/replica-set-primary-with-secondary-and-arbiter.svg index e09e7093d4e..f09a493a6cb 100644 --- a/source/images/replica-set-primary-with-secondary-and-arbiter.svg +++ b/source/images/replica-set-primary-with-secondary-and-arbiter.svg @@ -1,55 +1 @@ - - - - - - - - - - - - - - - - - - Secondary - - - - - Replication - - - - - - - - - - Primary - - - - Heartbeat - - - - - - - - - - Arbiter - - - (vote only) - - - - - +SecondaryReplicationPrimaryHeartbeatArbiter(vote only) \ No newline at end of file diff --git a/source/images/replica-set-primary-with-two-secondaries.svg b/source/images/replica-set-primary-with-two-secondaries.svg index e91ddf9b30a..d45014c7c78 100644 --- a/source/images/replica-set-primary-with-two-secondaries.svg +++ b/source/images/replica-set-primary-with-two-secondaries.svg @@ -1,61 +1 @@ - - - - - - - - - - - - - - - - - - Secondary - - - - - - Secondary - - - - - Replication - - - - - - - - - - Primary - - - - - Replication - - - - - - - - Heartbeat - - - - - - - - - +SecondarySecondaryReplicationPrimaryReplicationHeartbeat \ No newline at end of file diff --git a/source/images/replica-set-read-preference-secondary.svg b/source/images/replica-set-read-preference-secondary.svg index 34bdd21c53a..5b7918ec744 100644 --- a/source/images/replica-set-read-preference-secondary.svg +++ b/source/images/replica-set-read-preference-secondary.svg @@ -1,115 +1 @@ - - - - - - - - Se - - - c - - - ondary - - - - - - Se - - - c - - - ondary - - - - - - P - - - rimary - - - - - - Client - - - Application - - - - - - Dri - - - v - - - er - - - - - - W - - - rite - - - - - Read with Read Preference - - - secondary - - - - - R - - - epli - - - c - - - ation - - - - - - - - - - - - - - - - - - Replication - - - - - - - - - - +SecondarySecondaryPrimaryClientApplicationDriverWriteRead with Read PreferencesecondaryReplicationReplication \ No newline at end of file diff --git a/source/images/replica-set-read-preference.svg b/source/images/replica-set-read-preference.svg index b11c5610091..ab3f2185d92 100644 --- a/source/images/replica-set-read-preference.svg +++ b/source/images/replica-set-read-preference.svg @@ -1,352 +1 @@ - - - - - - image/svg+xml - - - - - - - - - Data Center 1 - - - - - - Primary - - - - priority: 1 - - - - - - Secondary - - - - priority: 1 - - - Data Center 2 - - - - - Secondary - - - priority: 0 - - - - - - - Dri - v - e - r - - - - - - - - - Dri - v - e - r - - - - - - - - Read with - - - - - - - Read Preference - (default) - - - Read with - - - Read Preference - (nearest) - - - - +Data Center 1Primarypriority: 1Secondarypriority: 1Data Center 2Secondarypriority: 0Dri v e rDri v e rRead withRead Preference (default)Read withRead Preference (nearest) \ No newline at end of file diff --git a/source/images/replica-set-read-write-operations-primary.svg b/source/images/replica-set-read-write-operations-primary.svg index 552cfdb8310..4bd31ab26b6 100644 --- a/source/images/replica-set-read-write-operations-primary.svg +++ b/source/images/replica-set-read-write-operations-primary.svg @@ -1,74 +1 @@ - - - - - - - P - rimary - - - - Client - - Application - - - - Driver - - - W - rites - - - Reads - - - - Replication - - - - - - - - - - - - - - - - - - Primary - - - - - Replication - - - - - - - - - - Secondary - - - - - - Secondary - - - - - - +P rimaryClient ApplicationDriverW ritesReadsReplicationPrimaryReplicationSecondarySecondary \ No newline at end of file diff --git a/source/images/replica-set-three-data-centers-priority.svg b/source/images/replica-set-three-data-centers-priority.svg index 9def1fe1c84..f52d9fcfd78 100644 --- a/source/images/replica-set-three-data-centers-priority.svg +++ b/source/images/replica-set-three-data-centers-priority.svg @@ -1,71 +1 @@ - - - - - - Data Center 1 - - - Data Center 3 - - - - - Data Center 2 - - - - - - - Primary - - - - priority: 1 - - - - - - - Secondary - - - - priority: 0.5 - - - - - - - Secondary - - - - priority: 1 - - - - - - Secondary - - - priority: 0 - - - - - - - Secondary - - - - priority: 0.5 - - - - +Data Center 1Data Center 3Data Center 2Primarypriority: 1Secondarypriority: 0.5Secondarypriority: 1Secondarypriority: 0Secondarypriority: 0.5 \ No newline at end of file diff --git a/source/images/replica-set-three-data-centers.svg b/source/images/replica-set-three-data-centers.svg index 36abcad6f02..3be06b0db4d 100644 --- a/source/images/replica-set-three-data-centers.svg +++ b/source/images/replica-set-three-data-centers.svg @@ -1,73 +1 @@ - - - - - - Data Center 1 - - - Data Center 3 - - - - - Data Center 2 - - - - - - - Primary - - - - priority: 1 - - - - - - - Secondary - - - - priority: 1 - - - - - - - Secondary - - - - priority: 1 - - - - - - - Secondary - - - - priority: 1 - - - - - - - Secondary - - - - priority: 1 - - - - +Data Center 1Data Center 3Data Center 2Primarypriority: 1Secondarypriority: 1Secondarypriority: 1Secondarypriority: 1Secondarypriority: 1 \ No newline at end of file diff --git a/source/images/replica-set-three-members-geographically-distributed.svg b/source/images/replica-set-three-members-geographically-distributed.svg index 9d9b3eee589..4fd9d033cd9 100644 --- a/source/images/replica-set-three-members-geographically-distributed.svg +++ b/source/images/replica-set-three-members-geographically-distributed.svg @@ -1,40 +1 @@ - - - - - - - Data Center 1 - - - - - Primary - - - - priority: 1 - - - - - Secondary - - - - priority: 1 - - - Data Center 2 - - - - Secondary - - - priority: 0 - - - - - +Data Center 1Primarypriority: 1Secondarypriority: 1Data Center 2Secondarypriority: 0 \ No newline at end of file diff --git a/source/images/replica-set-trigger-election.svg b/source/images/replica-set-trigger-election.svg index adefc1c21e6..6d59909fa18 100644 --- a/source/images/replica-set-trigger-election.svg +++ b/source/images/replica-set-trigger-election.svg @@ -1,78 +1 @@ - - - - - - - Heartbeat - - - - - - - - - - - - - - Election for New Primary - - - - - - - Replication - - - New Primary Elected - - - - - Secondary - - - - - - Secondary - - - - - - Secondary - - - - - - Primary - - - - - - Primary - - - - - - Heartbeat - - - - - - - - - - - - +HeartbeatElection for New PrimaryReplicationNew Primary ElectedSecondarySecondarySecondaryPrimaryPrimaryHeartbeat \ No newline at end of file diff --git a/source/images/replica-set-w-arbiter-trigger-election.svg b/source/images/replica-set-w-arbiter-trigger-election.svg index 9c9106684b7..fbd78a1e99e 100644 --- a/source/images/replica-set-w-arbiter-trigger-election.svg +++ b/source/images/replica-set-w-arbiter-trigger-election.svg @@ -1,71 +1 @@ - - - - - - - Heartbeat - - - - - - - - - - - - - - Election for New Primary - - - New Primary Elected - - - - - Secondary - - - - - - Primary - - - - - - Primary - - - - - - Heartbeat - - - - - - - - - - - - - Arbiter - - - - - - Arbiter - - - - - +HeartbeatElection for New PrimaryNew Primary ElectedSecondaryPrimaryPrimaryHeartbeatArbiterArbiter \ No newline at end of file diff --git a/source/images/sharded-cluster-mixed.svg b/source/images/sharded-cluster-mixed.svg index 590796a16bb..00a819a25ab 100644 --- a/source/images/sharded-cluster-mixed.svg +++ b/source/images/sharded-cluster-mixed.svg @@ -1,140 +1 @@ - - - - - - - - - Router - - - - (mongos) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Collection2 - - - Shard A - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Shard B - - - Collection1 - - - Reads/Writes - - - Reads/Writes - - - - - - - - - - - - - - - - - - - - - - - - - - - - Applications/ - - - Drivers - - - - - +Router(mongos)Collection2Shard AShard BCollection1Reads/WritesReads/WritesApplications/Drivers \ No newline at end of file diff --git a/source/images/sharded-cluster-primary-shard.svg b/source/images/sharded-cluster-primary-shard.svg index 723c4c3a52f..8ea8478c81f 100644 --- a/source/images/sharded-cluster-primary-shard.svg +++ b/source/images/sharded-cluster-primary-shard.svg @@ -1,90 +1 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Collection1 - - - Shard A - - - Collection2 - - - Shard B - - - +Collection1Shard ACollection2Shard B \ No newline at end of file diff --git a/source/images/sharded-cluster-production-architecture.svg b/source/images/sharded-cluster-production-architecture.svg index 0a30d4e82aa..3b0f57d5e1f 100644 --- a/source/images/sharded-cluster-production-architecture.svg +++ b/source/images/sharded-cluster-production-architecture.svg @@ -1,101 +1 @@ - - - - - - - - - Router - - - - (mongos) - - - - - - - - - - - - Router - - - - (mongos) - - - - - - - - - - 1 or more Routers - - - - - App Server - - - App Server - - - - - - - - - - 2 or more Shards - - - - - - - - - Shard - - - - (replica set) - - - - - - - - - Shard - - - - (replica set) - - - - - - - - - - Config Servers - - - - (replica set) - - - - +Router(mongos)Router(mongos)1 or more RoutersApp ServerApp Server2 or more ShardsShard(replica set)Shard(replica set)Config Servers(replica set) \ No newline at end of file diff --git a/source/images/sharded-cluster-ranged-distribution-low-cardinal.bakedsvg.svg b/source/images/sharded-cluster-ranged-distribution-low-cardinal.bakedsvg.svg index cd0c4e3aa72..e2c2a6ec31f 100644 --- a/source/images/sharded-cluster-ranged-distribution-low-cardinal.bakedsvg.svg +++ b/source/images/sharded-cluster-ranged-distribution-low-cardinal.bakedsvg.svg @@ -1,534 +1 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/source/images/sharded-cluster-ranged-distribution-low-cardinal.svg b/source/images/sharded-cluster-ranged-distribution-low-cardinal.svg index 0c50bad0d8b..e2c2a6ec31f 100644 --- a/source/images/sharded-cluster-ranged-distribution-low-cardinal.svg +++ b/source/images/sharded-cluster-ranged-distribution-low-cardinal.svg @@ -1,533 +1 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/source/images/sharded-cluster-scatter-gather-query.svg b/source/images/sharded-cluster-scatter-gather-query.svg index 6f0bf1d4690..766dd5af80f 100644 --- a/source/images/sharded-cluster-scatter-gather-query.svg +++ b/source/images/sharded-cluster-scatter-gather-query.svg @@ -1,117 +1 @@ - - - - - - - - - - Shard A - - - - - - - - - - - - - - - - - Shard B - - - - - - - - Shard C - - - - Collection1 (shard key x) - - - - - - mongos - - - - - - - - - - - - - - - - - - - - - - - - - - Dri - v - e - r - - - - - - - - - - - - - - - - - - - - Read - - - Results - - - - - - - - - - - - - - - - - - - - +Shard AShard BShard CCollection1 (shard key x)mongosDri v e rReadResults \ No newline at end of file diff --git a/source/images/sharded-cluster-targeted-query.svg b/source/images/sharded-cluster-targeted-query.svg index 22f8fe61fb9..96d9762b589 100644 --- a/source/images/sharded-cluster-targeted-query.svg +++ b/source/images/sharded-cluster-targeted-query.svg @@ -1,120 +1 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Dri - - - v - - - e - - - r - - - - Read - - - { a: "z1" } - - - Results - - - mongos - - - Shard A - - - Shard B - - - Shard C - - - Collection (shard key a) - - - a: "z1" - - - +DriverRead{ a: "z1" }ResultsmongosShard AShard BShard CCollection (shard key a)a: "z1" \ No newline at end of file diff --git a/source/images/sharded-cluster-test-architecture.svg b/source/images/sharded-cluster-test-architecture.svg index dd6ae6fcc8b..d0bde2b74de 100644 --- a/source/images/sharded-cluster-test-architecture.svg +++ b/source/images/sharded-cluster-test-architecture.svg @@ -1,60 +1 @@ - - - - - - - - - Router - - - - (mongos) - - - - - - - - - - - - - - - - - - - - - - - - - Config Server - - - - Replica Set - - - - 1 or more Shards - - - - - - - Shard - - - (mongod or replica set) - - - - +Router(mongos)Config ServerReplica Set1 or more ShardsShard(mongod or replica set) \ No newline at end of file diff --git a/source/images/sharded-cluster.svg b/source/images/sharded-cluster.svg index 8e0cc5361ea..5b0e957ceb0 100755 --- a/source/images/sharded-cluster.svg +++ b/source/images/sharded-cluster.svg @@ -1,137 +1 @@ - - - - - - - - - - - Application - - - - - - - Driver - - - - - - - - - Application - - - - - - - Driver - - - - Metadata - - - - - - - Router - - - (mongos) - - - - Shard - - - Data - - - - - - - - Application - - - - Driver - - - - - - - - - - - - - - - - - - - - Shard - - - Data - - - - - - - - - - - - - - - - - - - - - - - - - Config Server - - - - - - - - - Config Server - - - - - - - - Config Server - - - - - +ApplicationDriverApplicationDriverMetadataRouter(mongos)ShardDataApplicationDriverShardDataConfig ServerConfig ServerConfig Server \ No newline at end of file diff --git a/source/images/sharded-collection.svg b/source/images/sharded-collection.svg index cab00392b75..579a83fb69e 100644 --- a/source/images/sharded-collection.svg +++ b/source/images/sharded-collection.svg @@ -1,145 +1 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1TB - - - - Collection1 - - - - - - - - Shard A - - - - - - - - - - - - - - 256 GB - - - - - - - - Shard B - - - - - - - - - - - - - - 256 GB - - - - - - - - - Shard C - - - - - - - - - - - - - - - 256 GB - - - - - - - - - Shard D - - - - - - - - - - - - - - - 256 GB - - - - Collection1 - - - - - - - - - - +1TBCollection1Shard A256 GBShard B256 GBShard C256 GBShard D256 GBCollection1 \ No newline at end of file diff --git a/source/images/sharding-cleanup-orphaned.svg b/source/images/sharding-cleanup-orphaned.svg index ca8b6982940..3c45c62edab 100644 --- a/source/images/sharding-cleanup-orphaned.svg +++ b/source/images/sharding-cleanup-orphaned.svg @@ -1,114 +1 @@ - - - - - - - - { - x - : -75 } - - - - - { - x - : 25 } - - - { - x - : minKey } - - - { - x - : 175 } - - - { - x - : maxKey } - - - - - - - - - - - - - - - - - - - - - - - - - - Shard A - - - - - - Shard A - - - - - - Shard B - - - - - - Shard A - - - - - - - Shard B - - - - - - - - - - { - x - : 200 } - - - Chunk 1 - - - Chunk 2 - - - Chunk 3 - - - Chunk 4 - - - Chunk 5 - - - - +{ x : -75 }{ x : 25 }{ x : minKey }{ x : 175 }{ x : maxKey }Shard AShard AShard BShard AShard B{ x : 200 }Chunk 1Chunk 2Chunk 3Chunk 4Chunk 5 \ No newline at end of file diff --git a/source/images/sharding-hash-based.svg b/source/images/sharding-hash-based.svg index 320657bfe5a..b591dda3816 100644 --- a/source/images/sharding-hash-based.svg +++ b/source/images/sharding-hash-based.svg @@ -1,111 +1 @@ - - - - - - Chunk 1 - - - - - - - - Chunk 2 - - - - - Chunk 4 - - - - - - - - - { - x - : 25} - - - - - - - { - x - : 26} - - - - - Hash Function - - - - - - - - - - - - - Chunk 3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { - x - : 27} - - - - - - - - - - - - +Chunk 1Chunk 2Chunk 4{ x : 25}{ x : 26}Hash FunctionChunk 3{ x : 27} \ No newline at end of file diff --git a/source/images/sharding-migrating.svg b/source/images/sharding-migrating.svg index 8eda61b819a..70fc44f7346 100755 --- a/source/images/sharding-migrating.svg +++ b/source/images/sharding-migrating.svg @@ -1,114 +1 @@ - - - - - - - - - - Shard A - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Shard C - - - - - - - - Shard B - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Shard C - - - - - - - - - - - - - - - - - Migrate - - - - - - - - +Shard AShard CShard BShard CMigrate \ No newline at end of file diff --git a/source/images/sharding-range-based.svg b/source/images/sharding-range-based.svg index 46f5c65f5e4..6f99057f37c 100644 --- a/source/images/sharding-range-based.svg +++ b/source/images/sharding-range-based.svg @@ -1,146 +1 @@ - - - - - - - - - - - - - - - - { - x - : ...} - - - - Chunk 1 - - - - - - { - x - : -75 } - - - - - - - - - - - - - - - - - - - { - x - : ...} - - - - Chunk 2 - - - - - - - - - - - - - - { - x - : ...} - - - - Chunk 3 - - - - - - - - - - - - - - { - x - : ...} - - - - Chunk 4 - - - - Key Space for - x - - - { - x - : 25 } - - - { - x - : minKey } - - - { - x - : 175 } - - - { - x - : maxKey } - - - - - - - - - - - - - - - - - - - - - - - - - - +{ x : ...}Chunk 1{ x : -75 }{ x : ...}Chunk 2{ x : ...}Chunk 3{ x : ...}Chunk 4Key Space for x{ x : 25 }{ x : minKey }{ x : 175 }{ x : maxKey } \ No newline at end of file diff --git a/source/images/sharding-segmenting-data-by-location-architecture.svg b/source/images/sharding-segmenting-data-by-location-architecture.svg index 3e8b0cf3692..01d708109b1 100644 --- a/source/images/sharding-segmenting-data-by-location-architecture.svg +++ b/source/images/sharding-segmenting-data-by-location-architecture.svg @@ -1,275 +1 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - mongod - - - - mongod - - - - mongod - - - - mongod - - - - mongod - - - - mongod - - - - mongod - - - - mongod - - - - mongod - - - Shard 1 - - - Shard ... - - - Shard N - - - North America - - - - - - mongod - - - - mongod - - - - mongod - - - - mongod - - - - mongod - - - - mongod - - - Shard N+1 - - - Shard N+2 - - - Europe - - - - Sharded Cluster - - - +mongodmongodmongodmongodmongodmongodmongodmongodmongodShard 1Shard ...Shard NNorth AmericamongodmongodmongodmongodmongodmongodShard N+1Shard N+2EuropeSharded Cluster \ No newline at end of file diff --git a/source/images/sharding-segmenting-data-by-location-overview.svg b/source/images/sharding-segmenting-data-by-location-overview.svg index b4d25dd81e3..b3951987249 100644 --- a/source/images/sharding-segmenting-data-by-location-overview.svg +++ b/source/images/sharding-segmenting-data-by-location-overview.svg @@ -1,55 +1 @@ - - - - - background - - - - Layer 1 - - - - mongod - - mongod - - mongod - - mongod - - mongod - - mongod - - mongod - - mongod - - mongod - Shard 1 - Shard ... - Shard N - North America - - - mongod - - mongod - - mongod - - mongod - - mongod - - mongod - Shard N+1 - Shard N+2 - Europe - Sharded Cluster - - "NA" Zone - "EU" Zone - - \ No newline at end of file +backgroundLayer 1mongodmongodmongodmongodmongodmongodmongodmongodmongodShard 1Shard ...Shard NNorth AmericamongodmongodmongodmongodmongodmongodShard N+1Shard N+2EuropeSharded Cluster"NA" Zone"EU" Zone \ No newline at end of file diff --git a/source/images/sharding-segmenting-shards-architecture.svg b/source/images/sharding-segmenting-shards-architecture.svg index 2f4771ae7da..f1d8d282053 100755 --- a/source/images/sharding-segmenting-shards-architecture.svg +++ b/source/images/sharding-segmenting-shards-architecture.svg @@ -1,64 +1 @@ - - - - - background - - - - Layer 1 - - - - mongod - - mongod - - mongod - Shard 1 - - - - mongod - - mongod - - mongod - Shard 2 - - - mongod - - mongod - - mongod - Shard 4 - - robot - fruitos - - - Sharded Cluster - - - - - Config Servers - mongod - mongod - mongod - - mongos - Router - - - mongod - - mongod - - mongod - Shard 3 - fruitos - robot - - \ No newline at end of file +backgroundLayer 1mongodmongodmongodShard 1mongodmongodmongodShard 2mongodmongodmongodShard 4robotfruitosSharded ClusterConfig ServersmongodmongodmongodmongosRoutermongodmongodmongodShard 3fruitosrobot \ No newline at end of file diff --git a/source/images/sharding-segmenting-shards-overview.svg b/source/images/sharding-segmenting-shards-overview.svg index 736d6b29423..1db5ff89285 100755 --- a/source/images/sharding-segmenting-shards-overview.svg +++ b/source/images/sharding-segmenting-shards-overview.svg @@ -1,57 +1 @@ - - - - - background - - - - Layer 1 - - - - mongod - - mongod - - mongod - - mongod - - mongod - - mongod - Shard 1 - Shard ... - - - mongod - - mongod - - mongod - - mongod - - mongod - - mongod - Shard N+1 - Shard N+2 - Sharded Cluster - - Application or Customer X - Application or Customer Y - - - - Config Servers - mongod - mongod - mongod - - mongos - Router - ... - - \ No newline at end of file +backgroundLayer 1mongodmongodmongodmongodmongodmongodShard 1Shard ...mongodmongodmongodmongodmongodmongodShard N+1Shard N+2Sharded ClusterApplication or Customer XApplication or Customer YConfig ServersmongodmongodmongodmongosRouter... \ No newline at end of file diff --git a/source/images/sharding-segmenting-shards-tags.svg b/source/images/sharding-segmenting-shards-tags.svg index 58d8a6bec46..05e1f57a63a 100755 --- a/source/images/sharding-segmenting-shards-tags.svg +++ b/source/images/sharding-segmenting-shards-tags.svg @@ -1,60 +1 @@ - - - - - background - - - - Layer 1 - - - - - mongod - - mongod - - mongod - Shard 1 - - - mongod - - mongod - - mongod - Shard 2 - - mongod - - mongod - - mongod - Shard 4 - - robot - - - Sharded Cluster - - - - - Config Servers - mongod - mongod - mongod - - mongos - Router - - mongod - - mongod - - mongod - Shard 3 - fruitos - - \ No newline at end of file +backgroundLayer 1mongodmongodmongodShard 1mongodmongodmongodShard 2mongodmongodmongodShard 4robotSharded ClusterConfig ServersmongodmongodmongodmongosRoutermongodmongodmongodShard 3fruitos \ No newline at end of file diff --git a/source/images/sharding-splitting.svg b/source/images/sharding-splitting.svg index be9de636315..29b56220f6d 100755 --- a/source/images/sharding-splitting.svg +++ b/source/images/sharding-splitting.svg @@ -1,67 +1 @@ - - - - - - - - - - Shard A - - - - - - - - - - - - - 32.1 MB - - - - - - - - - - - - - 32.1 MB - - - - - - - - - - - - - 64.2 MB - - - - - - - - - - - Split - - - Split - - - - +Shard A32.1 MB32.1 MB64.2 MBSplitSplit \ No newline at end of file diff --git a/source/images/sharding-tiered-slas-architecture.svg b/source/images/sharding-tiered-slas-architecture.svg index 5a77a7bf83b..8b22a927e60 100755 --- a/source/images/sharding-tiered-slas-architecture.svg +++ b/source/images/sharding-tiered-slas-architecture.svg @@ -1,45 +1 @@ - - - - - background - - - - Layer 1 - - - - mongod - - mongod - - mongod - Shard 1 - Sharded Cluster - - - - mongod - - mongod - - mongod - Shard 2 - - - mongod - - mongod - - mongod - Shard 3 - - SSD Disks - 200GB RAM - SSD Disks - 200GB RAM - Spinning Disks - 64GB RAM - - \ No newline at end of file +backgroundLayer 1mongodmongodmongodShard 1Sharded ClustermongodmongodmongodShard 2mongodmongodmongodShard 3SSD Disks200GB RAMSSD Disks200GB RAMSpinning Disks64GB RAM \ No newline at end of file diff --git a/source/images/sharding-tiered-slas-overview.svg b/source/images/sharding-tiered-slas-overview.svg index 78056adc1e4..87fde75cb33 100755 --- a/source/images/sharding-tiered-slas-overview.svg +++ b/source/images/sharding-tiered-slas-overview.svg @@ -1,102 +1 @@ - - - - - - - - - - - mongod - - - - mongod - - - - mongod - - - - mongod - - - - mongod - - - - mongod - - - - mongod - - - - mongod - - - - mongod - - - Shard 1 - - - Shard ... - - - Shard N - - - Hardware Tier - - - - - mongod - - - - mongod - - - - mongod - - - - mongod - - - - mongod - - - - mongod - - - Shard N+1 - - - Shard N+2 - - - Hardware Tier - - - Sharded Cluster - - - Fast Hardware Tier - - - Archival Hardware Tier - - - - +mongodmongodmongodmongodmongodmongodmongodmongodmongodShard 1Shard ...Shard NHardware TiermongodmongodmongodmongodmongodmongodShard N+1Shard N+2Hardware TierSharded ClusterFast Hardware TierArchival Hardware Tier \ No newline at end of file diff --git a/source/images/sharding-tiered-slas-tags.svg b/source/images/sharding-tiered-slas-tags.svg index 90552dbfcd3..af5a05f47c8 100644 --- a/source/images/sharding-tiered-slas-tags.svg +++ b/source/images/sharding-tiered-slas-tags.svg @@ -1,46 +1 @@ - - - - - background - - - - Layer 1 - - - - mongod - - mongod - - mongod - Shard 1 - Sharded Cluster - - - mongod - - mongod - - mongod - Shard 2 - - - mongod - - mongod - - mongod - Shard 3 - - SSD Disks - 200GB RAM - SSD Disks - 200GB RAM - Spinning Disks - 64GB RAM - "recent" - "archive" - - \ No newline at end of file +backgroundLayer 1mongodmongodmongodShard 1Sharded ClustermongodmongodmongodShard 2mongodmongodmongodShard 3SSD Disks200GB RAMSSD Disks200GB RAMSpinning Disks64GB RAM"recent""archive" \ No newline at end of file diff --git a/source/images/windows-installer-install-only.png b/source/images/windows-installer-install-only.png index b900a2d2076..c06c23fa58a 100644 Binary files a/source/images/windows-installer-install-only.png and b/source/images/windows-installer-install-only.png differ diff --git a/source/images/windows-installer.png b/source/images/windows-installer.png index 4c0fe6ecde0..fd996b2fec7 100644 Binary files a/source/images/windows-installer.png and b/source/images/windows-installer.png differ