Slide 1

Slide 1 text

MongoDB Big Database @DWURSTEISEN

Slide 2

Slide 2 text

http://fr.slideshare.net/soatexpert

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

WARNING

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

Il n’y a pas si longtemps que cela, un site internet faisait sensation…

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

20:00:00

Slide 10

Slide 10 text

Ce site déboite

Slide 11

Slide 11 text

Oups ! Database Error

Slide 12

Slide 12 text

no more space disk available

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

No content

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

BIG DATA

Slide 20

Slide 20 text

Animation Soat Devoxx France 2013

Slide 21

Slide 21 text

Caractéristiques (sous le capot)

Slide 22

Slide 22 text

Orienté document

Slide 23

Slide 23 text

No content

Slide 24

Slide 24 text

{! "_id": "enigme1", ! "titre": "Enigme du vendredi", ! "activation": true! }

Slide 25

Slide 25 text

{! "_id": "enigme1", ! "titre": "Enigme du vendredi", ! "activation": true! } {! "_id": "enigme1", ! "activation": true, ! "joueurs": [! { "email": "[email protected]", "score": 20 }! ], ! "indices": [! {! "contenu": "je suis ton père",! "flashcode": "111-111-1111", ! "joueurs": [ { "email": "[email protected]" } ]! } ]! }!

Slide 26

Slide 26 text

Sans schéma

Slide 27

Slide 27 text

CREATE TABLE example_default_now ( id INT NOT NULL PRIMARY KEY AUTO_INCREMENT, data VARCHAR(100), created TIMESTAMP DEFAULT NOW() );

Slide 28

Slide 28 text

CREATE TABLE example_default_now ( id INT NOT NULL PRIMARY KEY AUTO_INCREMENT, data VARCHAR(100), created TIMESTAMP DEFAULT NOW() );

Slide 29

Slide 29 text

Sans transaction

Slide 30

Slide 30 text

Transaction

Slide 31

Slide 31 text

Transaction

Slide 32

Slide 32 text

Transaction

Slide 33

Slide 33 text

Transaction

Slide 34

Slide 34 text

Transaction

Slide 35

Slide 35 text

Transaction

Slide 36

Slide 36 text

Sans transaction

Slide 37

Slide 37 text

Sans transaction

Slide 38

Slide 38 text

Sans transaction

Slide 39

Slide 39 text

Sans transaction

Slide 40

Slide 40 text

Update atomique

Slide 41

Slide 41 text

Sans jointure

Slide 42

Slide 42 text

{! "_id": "enigme1", ! "activation": true, ! "joueurs": [! { "email": "[email protected]", "score": 20 }! ], ! "indices": [! {! "contenu": "je suis ton père",! "flashcode": "111-111-1111", ! "joueurs": [ { "email": "[email protected]" } ]! } ]! }!

Slide 43

Slide 43 text

{! "_id": "enigme1", ! "activation": true, ! "joueurs": [! { "email": "[email protected]", "score": 20 }! ], ! "indices": [! {! "contenu": "je suis ton père",! "flashcode": "111-111-1111", ! "joueurs": [ { "email": "[email protected]" } ]! } ]! }! jointure ?

Slide 44

Slide 44 text

Distribué

Slide 45

Slide 45 text

Document = 16Mb Hard Limit

Slide 46

Slide 46 text

Design des structures des données

Slide 47

Slide 47 text

Type Exemple Int / Double / … { a: 1 } Boolean { b: true } String { c: ‘hello’ } Array { d: [1, 2, 3] } Date {e: ISODate("2012-12-19T06:01:17.171Z") ObjectId {f: ObjectId(‘123456’)} Object {g: {a: 1, b: true}} … http://docs.mongodb.org/manual/reference/bson-types/

Slide 48

Slide 48 text

Organiser les données selon leurs Utilisations

Slide 49

Slide 49 text

No content

Slide 50

Slide 50 text

ci gît la 
 4ème forme 
 normale

Slide 51

Slide 51 text

Structure de donnée pour l’affichage d’un message ? Question :

Slide 52

Slide 52 text

2

Slide 53

Slide 53 text

2 Auteur

Slide 54

Slide 54 text

2 Auteur Contenu

Slide 55

Slide 55 text

2 Auteur Contenu Recouicoui

Slide 56

Slide 56 text

{ _id: ObjectId(11),

Slide 57

Slide 57 text

{ _id: ObjectId(11), user: {mail: « user1 », avatar: « http://…. »,

Slide 58

Slide 58 text

{ _id: ObjectId(11), user: {mail: « user1 », avatar: « http://…. », content: « blabla »,

Slide 59

Slide 59 text

{ _id: ObjectId(11), user: {mail: « user1 », avatar: « http://…. », content: « blabla », …

Slide 60

Slide 60 text

{ _id: ObjectId(11), user: {mail: « user1 », avatar: « http://…. », content: « blabla », … recouicoui: [ObjectId(22), ObjectId(33)]

Slide 61

Slide 61 text

{ _id: ObjectId(11), user: {mail: « user1 », avatar: « http://…. », content: « blabla », … ! recouicoui: 2, // compteur

Slide 62

Slide 62 text

{ _id: ObjectId(11), user: {mail: « user1 », avatar: « http://…. », content: « blabla », … ! recouicoui: [{user: {…}, {user: {…}]

Slide 63

Slide 63 text

No content

Slide 64

Slide 64 text

No content

Slide 65

Slide 65 text

No content

Slide 66

Slide 66 text

No content

Slide 67

Slide 67 text

{ _id: ObjectId(11), user: {mail: « user1 », avatar: « http://…. », content: « blabla », … ! recouicoui: [{user: {…}, {user: {…}]

Slide 68

Slide 68 text

{ _id: ObjectId(11), user: {mail: « user1 », avatar: « http://…. », content: « blabla », … ! recouicoui: [{user: {…} * 789013]

Slide 69

Slide 69 text

{ _id: ObjectId(11), user: {mail: « user1 », avatar: « http://…. », content: « blabla », … ! recouicoui: [{user: {…} * 789013] > 16Mb

Slide 70

Slide 70 text

2

Slide 71

Slide 71 text

2 Information partielle

Slide 72

Slide 72 text

{ _id: ObjectId(11), user: {mail: « user1 », avatar: « http://…. », content: « blabla », … recouicoui: { users: [{user: {…} * 5], compteur: 789013 }

Slide 73

Slide 73 text

bonne complexe structure de donnée est Le design d’une

Slide 74

Slide 74 text

Parlez-vous Français ? Query language select * from table

Slide 75

Slide 75 text

Le shell : mongo

Slide 76

Slide 76 text

Lecture

Slide 77

Slide 77 text

Sélection d’un document db.collection.findOne(…)

Slide 78

Slide 78 text

Sélection d’un document db.collection.findOne(…) Query

Slide 79

Slide 79 text

Sélection de documents db.collection.find(…)

Slide 80

Slide 80 text

Sélection et mise à jour de document db.collection.findAndModify(…)

Slide 81

Slide 81 text

Champ unique {_id: ‘azerty’}

Slide 82

Slide 82 text

Champ unique {_id: ‘azerty’} {! "_id": "azerty", ! "titre": "Enigme du vendredi", ! "activation": true! } ✓

Slide 83

Slide 83 text

Champ unique {_id: ‘azerty’} {! "_id": "azerty", ! "titre": "Enigme du vendredi", ! "activation": true! } ✓ {! "_id": "azerty", ! "activation": true,! "titre": "Enigme du vendredi"! } ✓

Slide 84

Slide 84 text

{! "_id": "azerty12345", ! "activation": true,! "titre": "Enigme du vendredi"! } ✗ Champ unique {_id: ‘azerty’} {! "_id": "azerty", ! "titre": "Enigme du vendredi", ! "activation": true! } ✓ {! "_id": "azerty", ! "activation": true,! "titre": "Enigme du vendredi"! } ✓

Slide 85

Slide 85 text

Sous document spécifique {auteur: {nom: ‘Wursteisen’}}

Slide 86

Slide 86 text

Sous document spécifique {auteur: {nom: ‘Wursteisen’}} {! "_id": "azerty", ! "auteur": {"nom":"Wursteisen"}! } ✓

Slide 87

Slide 87 text

Sous document spécifique {auteur: {nom: ‘Wursteisen’}} {! "_id": "azerty", ! "auteur": {"nom":"Wursteisen"}! } ✓ {! "_id": "azerty", ! "auteur": {"nom":"Wursteisen", "prénom":"David"}! } ✗

Slide 88

Slide 88 text

Sous document spécifique {auteur: {prénom: ‘David’, nom: ‘Wursteisen’}}

Slide 89

Slide 89 text

Sous document spécifique {auteur: {prénom: ‘David’, nom: ‘Wursteisen’}} {! "_id": "azerty", ! "auteur": {"prénom":"David", "nom":"Wursteisen"}! } ✓

Slide 90

Slide 90 text

Sous document spécifique {auteur: {prénom: ‘David’, nom: ‘Wursteisen’}} {! "_id": "azerty", ! "auteur": {"prénom":"David", "nom":"Wursteisen"}! } ✓ {! "_id": "azerty", ! "auteur": {"nom":"Wursteisen", "prénom":"David"}! } ✗

Slide 91

Slide 91 text

Sous champ {‘auteur.nom’: ‘Wursteisen’}

Slide 92

Slide 92 text

Sous champ {‘auteur.nom’: ‘Wursteisen’} {! "_id": "azerty", ! "auteur": {"nom":"Wursteisen"}! } ✓

Slide 93

Slide 93 text

Sous champ {‘auteur.nom’: ‘Wursteisen’} {! "_id": "azerty", ! "auteur": {"nom":"Wursteisen"}! } ✓ {! "_id": "azerty", ! "auteur": {"nom":"Wursteisen", "prénom":"David"}! } ✓

Slide 94

Slide 94 text

Sous champ {‘auteur.nom’: ‘Wursteisen’} {! "_id": "azerty", ! "auteur": {"nom":"Wursteisen"}! } ✓ {! "_id": "azerty", ! "auteur": {"nom":"Wursteisen", "prénom":"David"}! } ✓ {! "_id": "azerty", ! "auteur": {"nom":"Bob", "prénom":"David"}! } ✗

Slide 95

Slide 95 text

Champ unique {recouicoui: {$gt: 20}}

Slide 96

Slide 96 text

Champ unique {recouicoui: {$gt: 20}} {! "_id": "azerty", ! "titre": "Enigme du vendredi", ! "recouicoui": 50! } ✓

Slide 97

Slide 97 text

Champ unique {recouicoui: {$gt: 20}} {! "_id": "azerty", ! "titre": "Enigme du vendredi", ! "recouicoui": 50! } ✓ {! "_id": "azerty", ! "titre": "Enigme du vendredi", ! "recouicoui": 10! } ✗

Slide 98

Slide 98 text

Champ unique {recouicoui: {$gt: 20}} {! "_id": "azerty", ! "titre": "Enigme du vendredi", ! "recouicoui": 50! } ✓ {! "_id": "azerty", ! "titre": "Enigme du vendredi", ! "recouicoui": 10! } ✗ {! "_id": "azerty", ! "titre": "Enigme du vendredi", ! ! } ✗

Slide 99

Slide 99 text

Écriture

Slide 100

Slide 100 text

Insertion d’un document db.collection.insert(…)

Slide 101

Slide 101 text

Insertion d’un document db.collection.insert(…) Document

Slide 102

Slide 102 text

Update d’un document db.collection.update(, )

Slide 103

Slide 103 text

Update d’un document db.collection.update(, ) modifier

Slide 104

Slide 104 text

Update de documents db.collection.update(…, …, {multi: true})

Slide 105

Slide 105 text

Écrire un document db.collection.update(…, {prénom:’David’})

Slide 106

Slide 106 text

Écrire un document db.collection.update(…, {prénom:’David’}) {! "_id": "azerty", ! "nom": "wursteisen", ! "prénom": "bob"! }

Slide 107

Slide 107 text

Écrire un document db.collection.update(…, {prénom:’David’}) {! "_id": "azerty", ! "nom": "wursteisen", ! "prénom": "bob"! } {! "_id": "azerty", ! "prénom": "David"! }

Slide 108

Slide 108 text

Modifier un champ db.collection.update(…, {$set: {prénom:’David’}})

Slide 109

Slide 109 text

Modifier un champ db.collection.update(…, {$set: {prénom:’David’}}) {! "_id": "azerty", ! "nom": "wursteisen", ! "prénom": "bob"! }

Slide 110

Slide 110 text

Modifier un champ db.collection.update(…, {$set: {prénom:’David’}}) {! "_id": "azerty", ! "nom": "wursteisen", ! "prénom": "bob"! } {! "_id": "azerty", ! "nom": "wursteisen", ! "prénom": "David"! }

Slide 111

Slide 111 text

Incrémentation db.collection.update(…, {$inc: {recouicoui: 2 }})

Slide 112

Slide 112 text

Incrémentation db.collection.update(…, {$inc: {recouicoui: 2 }}) {! "_id": "azerty", ! "nom": "wursteisen", ! "recouicoui": 5! }

Slide 113

Slide 113 text

Incrémentation db.collection.update(…, {$inc: {recouicoui: 2 }}) {! "_id": "azerty", ! "nom": "wursteisen", ! "recouicoui": 5! } {! "_id": "azerty", ! "nom": "wursteisen", ! "recouicoui": 7! }

Slide 114

Slide 114 text

Ajout dans un tableau db.collection.update(…, {$push: {contact: ‘Robert’ }})

Slide 115

Slide 115 text

Ajout dans un tableau db.collection.update(…, {$push: {contact: ‘Robert’ }}) {! "_id": "azerty", ! "contact": ["John", "Bob"] ! }

Slide 116

Slide 116 text

Ajout dans un tableau db.collection.update(…, {$push: {contact: ‘Robert’ }}) {! "_id": "azerty", ! "contact": ["John", "Bob"] ! } {! "_id": "azerty", ! "contact": ["John", "Bob", "Robert"] ! }

Slide 117

Slide 117 text

Index

Slide 118

Slide 118 text

db.couicoui.ensureIndex({ name:1 }) Index simple

Slide 119

Slide 119 text

db.couicoui.ensureIndex({ name:1, date:-1 }) Index composé

Slide 120

Slide 120 text

db.couicoui.ensureIndex({ geo: ‘2d‘ }) Géo index

Slide 121

Slide 121 text

No content

Slide 122

Slide 122 text

db.couicoui.ensureIndex({ name:1 }, {expireAfterSeconds: 3600}) Index avec Time To Live

Slide 123

Slide 123 text

db.find({…}).explain()

Slide 124

Slide 124 text

{ "cursor" : "", "n" : , "nscanned" : , "scanAndOrder" : , … }

Slide 125

Slide 125 text

Replica Set

Slide 126

Slide 126 text

Driver Primary Secondary Secondary

Slide 127

Slide 127 text

Driver Primary Secondary Secondary Écriture

Slide 128

Slide 128 text

Driver Primary Secondary Secondary Écriture Réplication

Slide 129

Slide 129 text

Driver Primary Secondary Secondary Écriture Réplication Réplication

Slide 130

Slide 130 text

Driver Primary Secondary Secondary Écriture Réplication Réplication Lecture

Slide 131

Slide 131 text

Driver Primary Secondary Secondary Écriture Réplication Réplication Lecture Lecture

Slide 132

Slide 132 text

Primary Secondary Secondary

Slide 133

Slide 133 text

Primary Secondary Secondary Heartbeats

Slide 134

Slide 134 text

Primary Secondary Secondary Heartbeats

Slide 135

Slide 135 text

Primary Secondary Secondary

Slide 136

Slide 136 text

Primary Secondary Secondary Primary ?

Slide 137

Slide 137 text

Primary Primary Secondary Primary ?

Slide 138

Slide 138 text

Primary Primary Secondary Primary ? Réplication

Slide 139

Slide 139 text

Primary Primary Secondary Primary ? Réplication

Slide 140

Slide 140 text

Primary Primary Secondary Primary ? Réplication Heartbeats

Slide 141

Slide 141 text

Primary Primary Secondary Primary ? Réplication Heartbeats

Slide 142

Slide 142 text

Secondary Primary Secondary Primary ? Réplication Heartbeats

Slide 143

Slide 143 text

Secondary Primary Secondary Primary ? Réplication Heartbeats

Slide 144

Slide 144 text

No content

Slide 145

Slide 145 text

No content

Slide 146

Slide 146 text

No content

Slide 147

Slide 147 text

No content

Slide 148

Slide 148 text

No content

Slide 149

Slide 149 text

No content

Slide 150

Slide 150 text

No content

Slide 151

Slide 151 text

Write Concern notification d’écriture

Slide 152

Slide 152 text

collection.insert(…, WriteConcern.ACKNOWLEDGED); ! db.getLastError(); (dépendant du driver)

Slide 153

Slide 153 text

collection.insert(…, WriteConcern.ACKNOWLEDGED); ! db.getLastError(); (dépendant du driver) w=1

Slide 154

Slide 154 text

collection.insert(…, WriteConcern.ACKNOWLEDGED); ! db.getLastError(); (dépendant du driver) w=1 bloquant

Slide 155

Slide 155 text

disable acknowledgment w=0

Slide 156

Slide 156 text

Driver Mongod

Slide 157

Slide 157 text

write Driver Mongod

Slide 158

Slide 158 text

write Driver Mongod getLastError
 w=0

Slide 159

Slide 159 text

write Driver Mongod getLastError response getLastError
 w=0

Slide 160

Slide 160 text

acknowledgment w=1

Slide 161

Slide 161 text

Driver Mongod

Slide 162

Slide 162 text

write Driver Mongod

Slide 163

Slide 163 text

write Driver Mongod getLastError
 w=1

Slide 164

Slide 164 text

write Driver Mongod getLastError
 w=1 apply

Slide 165

Slide 165 text

write Driver Mongod getLastError response getLastError
 w=1 apply

Slide 166

Slide 166 text

write Driver Mongod getLastError response getLastError
 w=1 apply bloquant

Slide 167

Slide 167 text

journal j=1

Slide 168

Slide 168 text

Driver Mongod

Slide 169

Slide 169 text

write Driver Mongod

Slide 170

Slide 170 text

write Driver Mongod getLastError
 w=1,j=1

Slide 171

Slide 171 text

write Driver Mongod getLastError
 w=1,j=1 apply

Slide 172

Slide 172 text

write Driver Mongod getLastError
 w=1,j=1 apply write to journal

Slide 173

Slide 173 text

write Driver Mongod getLastError response getLastError
 w=1,j=1 apply write to journal

Slide 174

Slide 174 text

write Driver Mongod getLastError response getLastError
 w=1,j=1 apply write to journal bloquant

Slide 175

Slide 175 text

replica acknowledgment w=2

Slide 176

Slide 176 text

Driver Primary Secondary Secondary

Slide 177

Slide 177 text

write Driver Primary Secondary Secondary

Slide 178

Slide 178 text

write Driver Primary getLastError
 w=2 Secondary Secondary

Slide 179

Slide 179 text

write Driver Primary getLastError
 w=2 apply Secondary Secondary

Slide 180

Slide 180 text

write Driver Primary getLastError
 w=2 apply Secondary Secondary replicate

Slide 181

Slide 181 text

write Driver Primary getLastError
 w=2 apply Secondary Secondary replicate

Slide 182

Slide 182 text

write Driver Primary getLastError response getLastError
 w=2 apply Secondary Secondary replicate

Slide 183

Slide 183 text

write Driver Primary getLastError response getLastError
 w=2 apply Secondary Secondary replicate bloquant

Slide 184

Slide 184 text

write Driver Primary getLastError response getLastError
 w=2 apply Secondary Secondary replicate replicate bloquant

Slide 185

Slide 185 text

Sharding Répartition

Slide 186

Slide 186 text

collection

Slide 187

Slide 187 text

Shard2 Shard3 Shard1 collection

Slide 188

Slide 188 text

Shard2 Shard3 Shard1 collection {x: min} {x: max} {x: -11} {x: 50}

Slide 189

Slide 189 text

Avec une clé de sharding

Slide 190

Slide 190 text

Mongos db.collect.find({key: …})

Slide 191

Slide 191 text

Mongos db.collect.find({key: …})

Slide 192

Slide 192 text

Mongos db.collect.find({key: …})

Slide 193

Slide 193 text

Mongos db.collect.find({key: …})

Slide 194

Slide 194 text

Mongos db.collect.find({key: …})

Slide 195

Slide 195 text

Avec une clé non shardé

Slide 196

Slide 196 text

Mongos db.collect.find({other: …})

Slide 197

Slide 197 text

Mongos db.collect.find({other: …})

Slide 198

Slide 198 text

Mongos db.collect.find({other: …})

Slide 199

Slide 199 text

Clé de sharding pour gérer 
 les messages d’un utilisateur ? Question :

Slide 200

Slide 200 text

Cardinalité Répartition en écriture Isolation Fiabilité _id

Slide 201

Slide 201 text

ObjectId(« 507f1f77bcf86cd799439011 ») http://www.mongodb.com/presentations/advanced-sharding-features-mongodb-24

Slide 202

Slide 202 text

ObjectId(« 507f1f77bcf86cd799439011 ») http://www.mongodb.com/presentations/advanced-sharding-features-mongodb-24 Timestamp

Slide 203

Slide 203 text

ObjectId(« 507f1f77bcf86cd799439011 ») http://www.mongodb.com/presentations/advanced-sharding-features-mongodb-24 Timestamp Host

Slide 204

Slide 204 text

ObjectId(« 507f1f77bcf86cd799439011 ») http://www.mongodb.com/presentations/advanced-sharding-features-mongodb-24 Timestamp Host PID

Slide 205

Slide 205 text

ObjectId(« 507f1f77bcf86cd799439011 ») http://www.mongodb.com/presentations/advanced-sharding-features-mongodb-24 Timestamp Host Compteur PID

Slide 206

Slide 206 text

ObjectId(« 507f1f77bcf86cd799439011 ») http://www.mongodb.com/presentations/advanced-sharding-features-mongodb-24 Timestamp

Slide 207

Slide 207 text

Cardinalité Répartition en écriture Isolation Fiabilité _id ✓ ✗ ✗ ✗

Slide 208

Slide 208 text

Mongos db.collect.insert({…})

Slide 209

Slide 209 text

Mongos db.collect.insert({…})

Slide 210

Slide 210 text

Mongos db.collect.find({…})

Slide 211

Slide 211 text

Mongos db.collect.find({…})

Slide 212

Slide 212 text

Mongos db.collect.find({…})

Slide 213

Slide 213 text

Cardinalité Répartition en écriture Isolation Fiabilité _id ✓ ✗ ✗ ✗ hash(_id) ✓ ✓ ✗ ✗

Slide 214

Slide 214 text

Mongos db.collect.insert({…})

Slide 215

Slide 215 text

Mongos db.collect.insert({…})

Slide 216

Slide 216 text

Mongos db.collect.insert({…})

Slide 217

Slide 217 text

Mongos db.collect.insert({…})

Slide 218

Slide 218 text

Mongos db.collect.find({…})

Slide 219

Slide 219 text

Mongos db.collect.find({…})

Slide 220

Slide 220 text

Mongos db.collect.find({…})

Slide 221

Slide 221 text

Cardinalité Répartition en écriture Isolation Fiabilité _id ✓ ✗ ✗ ✗ hash(_id) ✓ ✓ ✗ ✗ user ✗ ✓ ✓ ✓

Slide 222

Slide 222 text

Mongos db.collect.insert({…})

Slide 223

Slide 223 text

Mongos db.collect.insert({…})

Slide 224

Slide 224 text

Mongos db.collect.insert({…})

Slide 225

Slide 225 text

Mongos db.collect.insert({…})

Slide 226

Slide 226 text

Mongos db.collect.find({…})

Slide 227

Slide 227 text

Mongos db.collect.find({…})

Slide 228

Slide 228 text

Mongos db.collect.find({…})

Slide 229

Slide 229 text

Cardinalité Répartition en écriture Isolation Fiabilité _id ✓ ✗ ✗ ✗ hash(_id) ✓ ✓ ✗ ✗ user ✗ ✓ ✓ ✓ user, time ✓ ✓ ✓ ✓

Slide 230

Slide 230 text

Mongos db.collect.insert({…})

Slide 231

Slide 231 text

Mongos db.collect.insert({…})

Slide 232

Slide 232 text

Mongos db.collect.insert({…})

Slide 233

Slide 233 text

Mongos db.collect.insert({…})

Slide 234

Slide 234 text

Mongos db.collect.find({…})

Slide 235

Slide 235 text

Mongos db.collect.find({…})

Slide 236

Slide 236 text

Mongos db.collect.find({…})

Slide 237

Slide 237 text

Aller plus loin…

Slide 238

Slide 238 text

https://education.mongodb.com

Slide 239

Slide 239 text

http://www.meetup.com/Paris-MongoDB-User-Group/

Slide 240

Slide 240 text

Demo

Slide 241

Slide 241 text

https://github.com/dwursteisen/atelier-mongodb

Slide 242

Slide 242 text

Questions ? @dwursteisen

Slide 243

Slide 243 text

Crédits photos

Slide 244

Slide 244 text

http://bit.ly/HNvkfZ http://bit.ly/HGb1BO http://bit.ly/1d5OVTr http://bit.ly/1awf0XL http://bit.ly/MMaRr8 http://bit.ly/1hTARzS http://bit.ly/1hrvZ7z http://bit.ly/17SGXwC http://bit.ly/HNvRP4

Slide 245

Slide 245 text

http://bit.ly/HGf2Gh http://bit.ly/1967kv2 http://bit.ly/1c6uCUA