-
Notifications
You must be signed in to change notification settings - Fork 0
bootandy/mongodb-benchmark
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Benchmarking Mongodb. Run: python main.py Discoveries: Adding: safe=True slows you down between ~ 0 -> 100% If you have an object with many fields and you only need to access a few of them. - Just load the whole object instead of picking out certain fields. If you have an object with > 1000 entries in an array field then consider disregarding the above and only the fields or entries that you need. Applying updates at the db level is faster than calling object.save(). Dont make multiple calls to the DB to do your update though - then object.save() will perform better
About
Testing various CRUD operations in mongodb. Gives an idea of its speed, strengths and weaknesses. Download and run.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published