O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.
Ops Jumpstart: Admin 101
Achille Brighton
2
0 – 100 in 45 mins
1) What is MongoDB?
2) What's so special
about administering it?
What is MongoDB?
4
db-engines.com/ranking
5
{
"name" : "James Bond",
"age" : 42,
"address" : [
{ "city" : "London",
"country": "UK"
},
{ "city" : "Nassau/Bahamas",
...
6
db.persons.find ({ "name" : "James Bond" })
db.persons.find ({ "age" : { "$gt" : 40 } })
db.persons.update ({ "name" : "...
7
Replication
PRIMARY
SECONDARY SECONDARY
DRIVER
APPLICATION
8
Sharding
SHARD
0
SHARD
1
SHARD
2
SHARD
3
ROUTER
mongos
DRIVER
APPLICATION
C
C C
9
Sharding & Replication
ROUTER
mongos
DRIVER
APPLICATION
C
C C
P
S S
P
S S
P
S S
P
S S
10
MongoDB in a Nutshell
• A document store: more complex data than relational
• Query language is just about as expressiv...
What's so special
about administering it?
12
DBA Tasks for MongoDB
• There are no schemas
• Indexes are more important than in relational DBs
• Responsibility for s...
13
14
MongoDB Cloud Manager
• Comprehensive, web-based management solution
– modules for monitoring, backup, automation
• Clo...
15
Monitoring
16
Backup
• Registers itself as a hidden replica,
works cluster-wide
• Snapshot every six hours,
plus oplog, thus
point-in...
17
Automation
• Deploy, configure and control
MongoDB on your own hardware
• Create complex configurations
with dozens, hu...
18
Summary
• Paradigm shift in databases is happening
• MongoDB is extremely attractive to modern application
development:...
Thank you.
Questions?
Próximos SlideShares
Carregando em…5
×

MongoDB Days Silicon Valley: Jumpstart: Ops/Admin 101

607 visualizações

Publicada em

Presented by Achille Brighton, Principal Consulting Engineer, MongoDB

Experience level: Introductory

New to MongoDB? We'll provide an overview of installation, high availability through replication, scale out through sharding, and options for monitoring and backup. No prior knowledge of MongoDB is assumed. This session will jumpstart your knowledge of MongoDB operations, providing you with context for the rest of the day's content.

Publicada em: Tecnologia
  • Seja o primeiro a comentar

MongoDB Days Silicon Valley: Jumpstart: Ops/Admin 101

  1. 1. Ops Jumpstart: Admin 101 Achille Brighton
  2. 2. 2 0 – 100 in 45 mins 1) What is MongoDB? 2) What's so special about administering it?
  3. 3. What is MongoDB?
  4. 4. 4 db-engines.com/ranking
  5. 5. 5 { "name" : "James Bond", "age" : 42, "address" : [ { "city" : "London", "country": "UK" }, { "city" : "Nassau/Bahamas", "country" : "US" } ] } Storing Documents: JSON
  6. 6. 6 db.persons.find ({ "name" : "James Bond" }) db.persons.find ({ "age" : { "$gt" : 40 } }) db.persons.update ({ "name" : "James Bond" }, { "$inc" : "age" }) Expressive Query Language
  7. 7. 7 Replication PRIMARY SECONDARY SECONDARY DRIVER APPLICATION
  8. 8. 8 Sharding SHARD 0 SHARD 1 SHARD 2 SHARD 3 ROUTER mongos DRIVER APPLICATION C C C
  9. 9. 9 Sharding & Replication ROUTER mongos DRIVER APPLICATION C C C P S S P S S P S S P S S
  10. 10. 10 MongoDB in a Nutshell • A document store: more complex data than relational • Query language is just about as expressive as SQL • Much greater focus on scalability – replication (high availability) – sharding (volume and throughput)
  11. 11. What's so special about administering it?
  12. 12. 12 DBA Tasks for MongoDB • There are no schemas • Indexes are more important than in relational DBs • Responsibility for security • Likely dealing with a lot of servers – monitoring – backup – deployment
  13. 13. 13
  14. 14. 14 MongoDB Cloud Manager • Comprehensive, web-based management solution – modules for monitoring, backup, automation • Cloud Manager – we run it for you – enhances interaction with MongoDB tech support • OpsManager (on prem) – you run it yourself – all under your control, nothing leaves your network
  15. 15. 15 Monitoring
  16. 16. 16 Backup • Registers itself as a hidden replica, works cluster-wide • Snapshot every six hours, plus oplog, thus point-in-time restore • Requires 3-4x original storage for typical retention policy • Can do 100s of GB/day over the net • On-prem version available for enterprise customers
  17. 17. 17 Automation • Deploy, configure and control MongoDB on your own hardware • Create complex configurations with dozens, hundreds of servers in seconds • Orchestrate complex tasks such as version upgrades, change of storage engine • Each server runs an autonomous automation agent
  18. 18. 18 Summary • Paradigm shift in databases is happening • MongoDB is extremely attractive to modern application development: complex data structures, huge volume • For DBAs, some things are different, some things stay the same: no schemas, but many servers • Know as much as you can!
  19. 19. Thank you. Questions?

×