Back to Basics · Introduction
## Summary
- Document Model
- Simplifiy development
- Simplify scale out
- Improve performance
- MongoDB
- Rich general purpose database
- Built in high availability and failover
- Build in scale out
- Analyze Performance of Database Operations enable with
db.setProfilingLevel(2)
and query withdb.system.profile.find( { millis : { $gt : 5 } } ).pretty()
for instance;show profile
displays the five most recent events that took more than 1ms - Measuring time and analyzing a query: explain()
db.collection.find().explain().millis
gives the time taken by a given query - Ways to implement data versioning in MongoDB StackOverflow
- Atomic Counters using MongoDB’s findAndModify with PHP
- How to apply automatic versioning to a C# class
(pas sauvegardé cette fois-là)