Enviar pesquisa
Carregar
MongoDB: Replication,Sharding,MapReduce
•
9 gostaram
•
2,192 visualizações
Takahiro Inoue
Seguir
Tecnologia
Educação
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 39
Baixar agora
Baixar para ler offline
Recomendados
はじめての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
Recomendados
はじめての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
Mais conteúdo relacionado
Mais procurados
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
Mais procurados
(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と位置情報 ~地理空間インデックスの紹介
Destaque
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
Destaque
(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
Semelhante a 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
Semelhante a 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)
Mais de 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
Mais de 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
Último
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
UiPathCommunity
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
IES VE
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
Ingrid Airi González
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
BookNet Canada
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
LoriGlavin3
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
panagenda
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
LoriGlavin3
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App Framework
Pixlogix Infotech
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
Hiroshi SHIBATA
A Framework for Development in the AI Age
A Framework for Development in the AI Age
Cprime
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
Curtis Poe
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
Neo4j
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
Nathaniel Shimoni
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
fnnc6jmgwh
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
LoriGlavin3
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Nikki Chapple
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
BookNet Canada
How to write a Business Continuity Plan
How to write a Business Continuity Plan
Databarracks
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
ThousandEyes
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
Mydbops
Último
(20)
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App Framework
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
A Framework for Development in the AI Age
A Framework for Development in the AI Age
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
How to write a Business Continuity Plan
How to write a Business Continuity Plan
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
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
Baixar agora