Suche senden
Hochladen
MongoDB: Replication,Sharding,MapReduce
•
9 gefällt mir
•
2,192 views
Takahiro Inoue
Folgen
Technologie
Bildung
Melden
Teilen
Melden
Teilen
1 von 39
Jetzt herunterladen
Downloaden Sie, um offline zu lesen
Empfohlen
はじめてのMongoDB
はじめてのMongoDB
Takahiro Inoue
20110514 mongo dbチューニング
20110514 mongo dbチューニング
Yuichi Matsuo
Mongodb workshop
Mongodb workshop
Harun Yardımcı
MongoDBで作るソーシャルデータ新解析基盤
MongoDBで作るソーシャルデータ新解析基盤
Takahiro Inoue
AST + Better Reflection (PHP Benelux 2016 Unconference)
AST + Better Reflection (PHP Benelux 2016 Unconference)
James Titcumb
San Francisco Java User Group
San Francisco Java User Group
kchodorow
Couchdb
Couchdb
Саги Усаги
MongoDB全機能解説2
MongoDB全機能解説2
Takahiro Inoue
Empfohlen
はじめてのMongoDB
はじめてのMongoDB
Takahiro Inoue
20110514 mongo dbチューニング
20110514 mongo dbチューニング
Yuichi Matsuo
Mongodb workshop
Mongodb workshop
Harun Yardımcı
MongoDBで作るソーシャルデータ新解析基盤
MongoDBで作るソーシャルデータ新解析基盤
Takahiro Inoue
AST + Better Reflection (PHP Benelux 2016 Unconference)
AST + Better Reflection (PHP Benelux 2016 Unconference)
James Titcumb
San Francisco Java User Group
San Francisco Java User Group
kchodorow
Couchdb
Couchdb
Саги Усаги
MongoDB全機能解説2
MongoDB全機能解説2
Takahiro Inoue
Inside MongoDB: the Internals of an Open-Source Database
Inside MongoDB: the Internals of an Open-Source Database
Mike Dirolf
Latinoware
Latinoware
kchodorow
MongoUK - PHP Development
MongoUK - PHP Development
Boxed Ice
Introduction to jRuby
Introduction to jRuby
Adam Kalsey
The State of NoSQL
The State of NoSQL
Ben Scofield
MongoDB Oplog入門
MongoDB Oplog入門
Takahiro Inoue
Redis the better NoSQL
Redis the better NoSQL
OpenFest team
Moose Lightning Talk
Moose Lightning Talk
Mike Whitaker
C# Development (Sam Corder)
C# Development (Sam Corder)
MongoSF
Couchdb
Couchdb
Brian Smith
Elastic search 검색
Elastic search 검색
HyeonSeok Choi
20171014 tips for manipulating filesystem in julia
20171014 tips for manipulating filesystem in julia
岳華 杜
MongoDB-SESSION03
MongoDB-SESSION03
Jainul Musani
Webinar: Replication and Replica Sets
Webinar: Replication and Replica Sets
MongoDB
MooseX::Datamodel - Barcelona Perl Workshop Lightning talk
MooseX::Datamodel - Barcelona Perl Workshop Lightning talk
Jose Luis Martínez
Realm to Json & Royal
Realm to Json & Royal
Leonardo Taehwan Kim
Map Reduce 〜入門編:仕組みの理解とアルゴリズムデザイン〜
Map Reduce 〜入門編:仕組みの理解とアルゴリズムデザイン〜
Takahiro Inoue
From mysql to MongoDB(MongoDB2011北京交流会)
From mysql to MongoDB(MongoDB2011北京交流会)
Night Sailer
Tipo virus espia con esto aprenderan a espiar a personas etc jeropas de mrd :v
Tipo virus espia con esto aprenderan a espiar a personas etc jeropas de mrd :v
Arian Gutierrez
MongoDBと位置情報 ~地理空間インデックスの紹介
MongoDBと位置情報 ~地理空間インデックスの紹介
Koji Iwazaki
Mongo db roma replication and sharding
Mongo db roma replication and sharding
Guglielmo Incisa Di Camerana
MongoDB by Tonny
MongoDB by Tonny
Agate Studio
Weitere ähnliche Inhalte
Was ist angesagt?
Inside MongoDB: the Internals of an Open-Source Database
Inside MongoDB: the Internals of an Open-Source Database
Mike Dirolf
Latinoware
Latinoware
kchodorow
MongoUK - PHP Development
MongoUK - PHP Development
Boxed Ice
Introduction to jRuby
Introduction to jRuby
Adam Kalsey
The State of NoSQL
The State of NoSQL
Ben Scofield
MongoDB Oplog入門
MongoDB Oplog入門
Takahiro Inoue
Redis the better NoSQL
Redis the better NoSQL
OpenFest team
Moose Lightning Talk
Moose Lightning Talk
Mike Whitaker
C# Development (Sam Corder)
C# Development (Sam Corder)
MongoSF
Couchdb
Couchdb
Brian Smith
Elastic search 검색
Elastic search 검색
HyeonSeok Choi
20171014 tips for manipulating filesystem in julia
20171014 tips for manipulating filesystem in julia
岳華 杜
MongoDB-SESSION03
MongoDB-SESSION03
Jainul Musani
Webinar: Replication and Replica Sets
Webinar: Replication and Replica Sets
MongoDB
MooseX::Datamodel - Barcelona Perl Workshop Lightning talk
MooseX::Datamodel - Barcelona Perl Workshop Lightning talk
Jose Luis Martínez
Realm to Json & Royal
Realm to Json & Royal
Leonardo Taehwan Kim
Map Reduce 〜入門編:仕組みの理解とアルゴリズムデザイン〜
Map Reduce 〜入門編:仕組みの理解とアルゴリズムデザイン〜
Takahiro Inoue
From mysql to MongoDB(MongoDB2011北京交流会)
From mysql to MongoDB(MongoDB2011北京交流会)
Night Sailer
Tipo virus espia con esto aprenderan a espiar a personas etc jeropas de mrd :v
Tipo virus espia con esto aprenderan a espiar a personas etc jeropas de mrd :v
Arian Gutierrez
MongoDBと位置情報 ~地理空間インデックスの紹介
MongoDBと位置情報 ~地理空間インデックスの紹介
Koji Iwazaki
Was ist angesagt?
(20)
Inside MongoDB: the Internals of an Open-Source Database
Inside MongoDB: the Internals of an Open-Source Database
Latinoware
Latinoware
MongoUK - PHP Development
MongoUK - PHP Development
Introduction to jRuby
Introduction to jRuby
The State of NoSQL
The State of NoSQL
MongoDB Oplog入門
MongoDB Oplog入門
Redis the better NoSQL
Redis the better NoSQL
Moose Lightning Talk
Moose Lightning Talk
C# Development (Sam Corder)
C# Development (Sam Corder)
Couchdb
Couchdb
Elastic search 검색
Elastic search 검색
20171014 tips for manipulating filesystem in julia
20171014 tips for manipulating filesystem in julia
MongoDB-SESSION03
MongoDB-SESSION03
Webinar: Replication and Replica Sets
Webinar: Replication and Replica Sets
MooseX::Datamodel - Barcelona Perl Workshop Lightning talk
MooseX::Datamodel - Barcelona Perl Workshop Lightning talk
Realm to Json & Royal
Realm to Json & Royal
Map Reduce 〜入門編:仕組みの理解とアルゴリズムデザイン〜
Map Reduce 〜入門編:仕組みの理解とアルゴリズムデザイン〜
From mysql to MongoDB(MongoDB2011北京交流会)
From mysql to MongoDB(MongoDB2011北京交流会)
Tipo virus espia con esto aprenderan a espiar a personas etc jeropas de mrd :v
Tipo virus espia con esto aprenderan a espiar a personas etc jeropas de mrd :v
MongoDBと位置情報 ~地理空間インデックスの紹介
MongoDBと位置情報 ~地理空間インデックスの紹介
Andere mochten auch
Mongo db roma replication and sharding
Mongo db roma replication and sharding
Guglielmo Incisa Di Camerana
MongoDB by Tonny
MongoDB by Tonny
Agate Studio
MongoDB Replication and Sharding
MongoDB Replication and Sharding
Tharun Srinivasa
Aggregation Framework
Aggregation Framework
MongoDB
MongoDB: Advance concepts - Replication and Sharding
MongoDB: Advance concepts - Replication and Sharding
Knoldus Inc.
MongoDB Introduction - Document Oriented Nosql Database
MongoDB Introduction - Document Oriented Nosql Database
Sudhir Patil
MongoDB Aggregation Framework
MongoDB Aggregation Framework
Tyler Brock
"Sharding - patterns & antipatterns". Доклад Алексея Рыбака (Badoo) и Констан...
"Sharding - patterns & antipatterns". Доклад Алексея Рыбака (Badoo) и Констан...
Badoo Development
Data Processing and Aggregation with MongoDB
Data Processing and Aggregation with MongoDB
MongoDB
An Introduction to Map/Reduce with MongoDB
An Introduction to Map/Reduce with MongoDB
Rainforest QA
Introduction to MongoDB
Introduction to MongoDB
Ravi Teja
Andere mochten auch
(11)
Mongo db roma replication and sharding
Mongo db roma replication and sharding
MongoDB by Tonny
MongoDB by Tonny
MongoDB Replication and Sharding
MongoDB Replication and Sharding
Aggregation Framework
Aggregation Framework
MongoDB: Advance concepts - Replication and Sharding
MongoDB: Advance concepts - Replication and Sharding
MongoDB Introduction - Document Oriented Nosql Database
MongoDB Introduction - Document Oriented Nosql Database
MongoDB Aggregation Framework
MongoDB Aggregation Framework
"Sharding - patterns & antipatterns". Доклад Алексея Рыбака (Badoo) и Констан...
"Sharding - patterns & antipatterns". Доклад Алексея Рыбака (Badoo) и Констан...
Data Processing and Aggregation with MongoDB
Data Processing and Aggregation with MongoDB
An Introduction to Map/Reduce with MongoDB
An Introduction to Map/Reduce with MongoDB
Introduction to MongoDB
Introduction to MongoDB
Ähnlich wie MongoDB: Replication,Sharding,MapReduce
Full Stack Clojure
Full Stack Clojure
Michiel Borkent
MongoDB: Intro & Application for Big Data
MongoDB: Intro & Application for Big Data
Takahiro Inoue
Kernel Recipes 2019 - GNU poke, an extensible editor for structured binary data
Kernel Recipes 2019 - GNU poke, an extensible editor for structured binary data
Anne Nicolas
MongoDB: Optimising for Performance, Scale & Analytics
MongoDB: Optimising for Performance, Scale & Analytics
Server Density
Ensuring High Availability for Real-time Analytics featuring Boxed Ice / Serv...
Ensuring High Availability for Real-time Analytics featuring Boxed Ice / Serv...
MongoDB
Django101 geodjango
Django101 geodjango
Calvin Cheng
Meta-objective Lisp @名古屋 Reject 会議
Meta-objective Lisp @名古屋 Reject 会議
dico_leque
Super Advanced Python –act1
Super Advanced Python –act1
Ke Wei Louis
Python 101 language features and functional programming
Python 101 language features and functional programming
Lukasz Dynowski
Pune Clojure Course Outline
Pune Clojure Course Outline
Baishampayan Ghose
Clojure Intro
Clojure Intro
thnetos
Programming Lisp Clojure - 2장 : 클로저 둘러보기
Programming Lisp Clojure - 2장 : 클로저 둘러보기
JangHyuk You
Extending Spark SQL API with Easier to Use Array Types Operations with Marek ...
Extending Spark SQL API with Easier to Use Array Types Operations with Marek ...
Databricks
Introduction to spark
Introduction to spark
Duyhai Doan
Spark Summit EU talk by Ted Malaska
Spark Summit EU talk by Ted Malaska
Spark Summit
Happy Go Programming
Happy Go Programming
Lin Yo-An
Is Haskell an acceptable Perl?
Is Haskell an acceptable Perl?
osfameron
tutorial5
tutorial5
tutorialsruby
tutorial5
tutorial5
tutorialsruby
The Curious Clojurist - Neal Ford (Thoughtworks)
The Curious Clojurist - Neal Ford (Thoughtworks)
jaxLondonConference
Ähnlich wie MongoDB: Replication,Sharding,MapReduce
(20)
Full Stack Clojure
Full Stack Clojure
MongoDB: Intro & Application for Big Data
MongoDB: Intro & Application for Big Data
Kernel Recipes 2019 - GNU poke, an extensible editor for structured binary data
Kernel Recipes 2019 - GNU poke, an extensible editor for structured binary data
MongoDB: Optimising for Performance, Scale & Analytics
MongoDB: Optimising for Performance, Scale & Analytics
Ensuring High Availability for Real-time Analytics featuring Boxed Ice / Serv...
Ensuring High Availability for Real-time Analytics featuring Boxed Ice / Serv...
Django101 geodjango
Django101 geodjango
Meta-objective Lisp @名古屋 Reject 会議
Meta-objective Lisp @名古屋 Reject 会議
Super Advanced Python –act1
Super Advanced Python –act1
Python 101 language features and functional programming
Python 101 language features and functional programming
Pune Clojure Course Outline
Pune Clojure Course Outline
Clojure Intro
Clojure Intro
Programming Lisp Clojure - 2장 : 클로저 둘러보기
Programming Lisp Clojure - 2장 : 클로저 둘러보기
Extending Spark SQL API with Easier to Use Array Types Operations with Marek ...
Extending Spark SQL API with Easier to Use Array Types Operations with Marek ...
Introduction to spark
Introduction to spark
Spark Summit EU talk by Ted Malaska
Spark Summit EU talk by Ted Malaska
Happy Go Programming
Happy Go Programming
Is Haskell an acceptable Perl?
Is Haskell an acceptable Perl?
tutorial5
tutorial5
tutorial5
tutorial5
The Curious Clojurist - Neal Ford (Thoughtworks)
The Curious Clojurist - Neal Ford (Thoughtworks)
Mehr von Takahiro Inoue
Treasure Data × Wave Analytics EC Demo
Treasure Data × Wave Analytics EC Demo
Takahiro Inoue
トレジャーデータとtableau実現する自動レポーティング
トレジャーデータとtableau実現する自動レポーティング
Takahiro Inoue
Tableauが魅せる Data Visualization の世界
Tableauが魅せる Data Visualization の世界
Takahiro Inoue
トレジャーデータのバッチクエリとアドホッククエリを理解する
トレジャーデータのバッチクエリとアドホッククエリを理解する
Takahiro Inoue
20140708 オンラインゲームソリューション
20140708 オンラインゲームソリューション
Takahiro Inoue
トレジャーデータ流,データ分析の始め方
トレジャーデータ流,データ分析の始め方
Takahiro Inoue
オンラインゲームソリューション@トレジャーデータ
オンラインゲームソリューション@トレジャーデータ
Takahiro Inoue
事例で学ぶトレジャーデータ 20140612
事例で学ぶトレジャーデータ 20140612
Takahiro Inoue
トレジャーデータ株式会社について(for all Data_Enthusiast!!)
トレジャーデータ株式会社について(for all Data_Enthusiast!!)
Takahiro Inoue
この Visualization がすごい2014 〜データ世界を彩るツール6選〜
この Visualization がすごい2014 〜データ世界を彩るツール6選〜
Takahiro Inoue
Treasure Data Intro for Data Enthusiast!!
Treasure Data Intro for Data Enthusiast!!
Takahiro Inoue
Hadoop and the Data Scientist
Hadoop and the Data Scientist
Takahiro Inoue
An Introduction to Fluent & MongoDB Plugins
An Introduction to Fluent & MongoDB Plugins
Takahiro Inoue
An Introduction to Tinkerpop
An Introduction to Tinkerpop
Takahiro Inoue
An Introduction to Neo4j
An Introduction to Neo4j
Takahiro Inoue
The Definition of GraphDB
The Definition of GraphDB
Takahiro Inoue
Large-Scale Graph Processing〜Introduction〜(完全版)
Large-Scale Graph Processing〜Introduction〜(完全版)
Takahiro Inoue
Large-Scale Graph Processing〜Introduction〜(LT版)
Large-Scale Graph Processing〜Introduction〜(LT版)
Takahiro Inoue
Advanced MongoDB #1
Advanced MongoDB #1
Takahiro Inoue
はじめてのGlusterFS
はじめてのGlusterFS
Takahiro Inoue
Mehr von Takahiro Inoue
(20)
Treasure Data × Wave Analytics EC Demo
Treasure Data × Wave Analytics EC Demo
トレジャーデータとtableau実現する自動レポーティング
トレジャーデータとtableau実現する自動レポーティング
Tableauが魅せる Data Visualization の世界
Tableauが魅せる Data Visualization の世界
トレジャーデータのバッチクエリとアドホッククエリを理解する
トレジャーデータのバッチクエリとアドホッククエリを理解する
20140708 オンラインゲームソリューション
20140708 オンラインゲームソリューション
トレジャーデータ流,データ分析の始め方
トレジャーデータ流,データ分析の始め方
オンラインゲームソリューション@トレジャーデータ
オンラインゲームソリューション@トレジャーデータ
事例で学ぶトレジャーデータ 20140612
事例で学ぶトレジャーデータ 20140612
トレジャーデータ株式会社について(for all Data_Enthusiast!!)
トレジャーデータ株式会社について(for all Data_Enthusiast!!)
この Visualization がすごい2014 〜データ世界を彩るツール6選〜
この Visualization がすごい2014 〜データ世界を彩るツール6選〜
Treasure Data Intro for Data Enthusiast!!
Treasure Data Intro for Data Enthusiast!!
Hadoop and the Data Scientist
Hadoop and the Data Scientist
An Introduction to Fluent & MongoDB Plugins
An Introduction to Fluent & MongoDB Plugins
An Introduction to Tinkerpop
An Introduction to Tinkerpop
An Introduction to Neo4j
An Introduction to Neo4j
The Definition of GraphDB
The Definition of GraphDB
Large-Scale Graph Processing〜Introduction〜(完全版)
Large-Scale Graph Processing〜Introduction〜(完全版)
Large-Scale Graph Processing〜Introduction〜(LT版)
Large-Scale Graph Processing〜Introduction〜(LT版)
Advanced MongoDB #1
Advanced MongoDB #1
はじめてのGlusterFS
はじめてのGlusterFS
Kürzlich hochgeladen
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
Radu Cotescu
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
sudhanshuwaghmare1
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Neo4j
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
HampshireHUG
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
The Digital Insurer
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Miguel Araújo
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
UK Journal
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
The Digital Insurer
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Gabriella Davis
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Principled Technologies
Evaluating the top large language models.pdf
Evaluating the top large language models.pdf
ChristopherTHyatt
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
The Digital Insurer
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
lior mazor
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Igalia
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Martijn de Jong
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Delhi Call girls
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
Delhi Call girls
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
Kürzlich hochgeladen
(20)
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Evaluating the top large language models.pdf
Evaluating the top large language models.pdf
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
MongoDB: Replication,Sharding,MapReduce
1.
2.
3.
4.
5.
6.
7.
8.
9.
{
"_id" : ObjectId("4dcd3ebc9278000000005158"), "timestamp" : ISODate("2011-05-13T14:22:46.777Z"), "binary" : BinData(0,""), "string" : "abc", "number" : 3, "subobj" : {"subA": 1, "subB": 2 }, "array" : [1, 2, 3], "dbref" : [_id1, _id2, _id3] padding }
10.
{
db.coll.find({"string": "abc"}); db.coll.find({ "string" : /^a.*$/i }); "_id" : ObjectId("4dcd3ebc9278000000005158"), "timestamp" : ISODate("2011-05-13T14:22:46.777Z"), db.coll.find({"subobj.subA": 1}); db.coll.find({"subobj.subB": {$exists: true} }); "binary" : BinData(0,""), "string" : "abc", db.coll.find({"number": 3}); db.coll.find({"number": {$gt: 1}}); "number" : 3, "subobj" : {"subA": 1, "subB": 2 }, "array" : [1, 2, 3], db.coll.find({"array": {$all:[1, 2]} }); "dbref" : [_id1, _id2, _id3] db.coll.find({"array": {$in:[2, 4, 6]} }); padding }
11.
{
"_id" : ObjectId("4dcd3ebc9278000000005158"), "timestamp" : ISODate("2011-05-13T14:22:46.777Z"), { $set : {"string": "def"} } "binary" : BinData(0,""), { $inc : {"number": 1} } "string" : "def", { $pull : {"subobj": {"subB": 2 } } } "number" : 4, "subobj" : {"subA": 1, "subB": 2 }, "array" : [1, 2, 3, 4, 5, 6], "dbref"$addToSet : { "array" : { $each : [ 4 , 5 , 6 ] } } } { : [_id1, _id2, _id3] "newkey" : "In-place" } { $set : {"newkey": "In-place"} }
12.
13.
14.
Member1
Member2 Primary Secondary Member4 Member3 Secondary Secondary
15.
Member1
Member2 Primary Secondary Member4 Member3 Secondary Secondary
16.
Member1
Member2 Primary Secondary Member4 Member3 Secondary Secondary
17.
Member2
Secondary Member4 Member3 Secondary Secondary
18.
Member1
Primary Member6 Member2 Secondary Secondary Member5 Member3 Secondary Secondary Member4 Secondary
19.
Member1
Primary Member6 Member2 Secondary Secondary Member5 Member3 Secondary Secondary Member4 Secondary
20.
Member1
Primary Member6 Member2 Secondary Secondary Member5 Member3 Secondary Secondary Member4 Secondary
21.
22.
23.
24.
Chunk
Shard Key Chunk 200MB
25.
Cluster
Shard Servers (Data) config Servers (Shard Configration) shard1 shard2 shard3 [ a, f ) [ k, n) [ o, t ) Chunk [ f, k ) [ n, o ) [ t, } ) mongos Servers (Routers)
26.
http://www.mongodb.org/display/DOCS/Introduction
27.
primary Shard
primary 1 ( mongos primary primary primary ) Shard cinfig Shard mongos http://www.mongodb.org/display/DOCS/Introduction
28.
shard1
shard2 [ a, f ) [ n, o ) [ o, t) [ 0, 9) [ f, k ) [ k, n) shard1 shard2 [ a, f ) [ o, t) [ n, o ) [ f, k ) [ k, n) [ 0, 9)
29.
30.
31.
32.
33.
34.
m = function(){
this.tags.forEach{ function(z) { emit(z, {count: 1}); } }; }; r = function(key, values) { var total=0; for (i=0, i<values.length, i++) total += values[i].count; return { count : total }; } res=db.things.mapReduce(m,!r); # finalize
Jetzt herunterladen