Operational MongoDB

3,862 views

Published on

This talk was a general overview of MongoDB from the operational perspective, given at MongoHamburg hosted by Xing.

Published in: Technology
0 Comments
6 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,862
On SlideShare
0
From Embeds
0
Number of Embeds
76
Actions
Shares
0
Downloads
0
Comments
0
Likes
6
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Operational MongoDB

    1. 1. Operational MongoDBMitch PirtleMongoMeetup @Xing - June 27, 2011Hamburg, Germany
    2. 2. One thing real quick.
    3. 3. About this session
    4. 4. About the speakerNew Yorker Torino, ItalyContributor to many FOSS projects (Joomla! founder)Budding author MongoDB for Web Development Extreme Joomla! PerformanceHigh-traffic projects (Jetsetter, MTV, Food Networks)Husband, dad, skate punk, metalcore bassist, coach
    5. 5. What is MongoDB?
    6. 6. What is MongoDB?Document database
    7. 7. What is MongoDB?Document databaseWicked fast speed
    8. 8. What is MongoDB?Document databaseWicked fast speedGreat for scale
    9. 9. What is MongoDB?Document databaseWicked fast speedGreat for scaleLow administration requirements
    10. 10. What is MongoDB?Document databaseWicked fast speedGreat for scaleLow administration requirementsEncourages simple code, fewer bugs
    11. 11. Community Resourceshttp://www.mongodb.org/display/DOCS/Community
    12. 12. MongoDB Language Centerhttp://www.mongodb.org/display/DOCS/Drivers
    13. 13. Development Trackerhttp://jira.mongodb.org
    14. 14. MongoDB Cookbookhttp://cookbook.mongodb.org/
    15. 15. Explore MongoDB @Githubhttp://github.com/search?q=mongo
    16. 16. Scaling Facilities
    17. 17. Shardinghttp://www.mongodb.org/display/DOCS/Sharding
    18. 18. Replicationhttp://www.mongodb.org/display/DOCS/Replication
    19. 19. Atomic operationshttp://www.mongodb.org/display/DOCS/Atomic+Operations
    20. 20. Honorable mention: GridFS
    21. 21. GridFShttp://www.mongodb.org/display/DOCS/GridFS
    22. 22. General Administration
    23. 23. Getting Started $ apt-get install mongodb-10gen $ /etc/init.d/mongodb start
    24. 24. Durability and Repair
    25. 25. Journalinghttp://www.mongodb.org/display/DOCS/Durability+and+Repair
    26. 26. Backups
    27. 27. BackupsSnapshots with journaling
    28. 28. BackupsSnapshots with journalingCold backups (offline)
    29. 29. BackupsSnapshots with journalingCold backups (offline)Hot backups (write lock, fsync, backup)
    30. 30. BackupsSnapshots with journalingCold backups (offline)Hot backups (write lock, fsync, backup)Exports
    31. 31. BackupsSnapshots with journalingCold backups (offline)Hot backups (write lock, fsync, backup)ExportsSlave backupshttp://www.mongodb.org/display/DOCS/Backups
    32. 32. Import and Export Tools
    33. 33. Import and Export Toolsmongoimport / mongoexport
    34. 34. Import and Export Toolsmongoimport / mongoexportmongodump / mongorestore
    35. 35. Import and Export Toolsmongoimport / mongoexportmongodump / mongorestorebsondumphttp://www.mongodb.org/display/DOCS/Import+Export+Tools
    36. 36. Admin Shell Tricks
    37. 37. Admin Shell Tricks help
    38. 38. Admin Shell Tricks help show dbs
    39. 39. Admin Shell Tricks help show dbs show collections
    40. 40. Admin Shell Tricks help show dbs show collections db.copyDatabase(fromdb, todb, fromhost)
    41. 41. Admin Shell Tricks help show dbs show collections db.copyDatabase(fromdb, todb, fromhost) ...and many more examples: http://www.mongodb.org/display/DOCS/DBA +Operations+from+the+Shell
    42. 42. Questions and Excuses
    43. 43. Thanks!Email: spacemonkey@mongodb.orgTwitter: @mitchitizedWeb: http://www.mitchitized.com/Slides: http://www.slideshare.net/spacemonkeylabs

    ×