Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is normal write lock percentage for MongoDB

When we started to use MongoDB write lock percentage was 0.2%, now it is 1.5%. What is the normal range for it? Should I worry that it grows?

like image 540
Alexander Avatar asked Jul 13 '11 07:07

Alexander


2 Answers

Which version of MongoDB are you using?

May be this specific post might help you:

http://groups.google.com/group/mongodb-user/browse_thread/thread/44605fc5193349d2

http://groups.google.com/group/mongodb-user/browse_thread/thread/9e62c19aa3d0448f

http://groups.google.com/group/mongodb-user/browse_thread/thread/b619daa74bb3192a

like image 191
kheya Avatar answered Oct 13 '22 09:10

kheya


MongoDB lock percentage will vary greatly between databases.
Normal lock percentage definition depends on the DB usage.

Write heavy databases might see values >50%
While read intensive databases can have values <10%

like image 27
Uri Meirav Avatar answered Oct 13 '22 09:10

Uri Meirav