Alex Rivera | Logout

Understanding results of mongostat

Asked 2011-12-22T02:51:42.550
12

I am trying to understand the results of mongostat:

example

insert  query update delete getmore command flushes mapped  vsize    res faults locked % idx  
0      2      4      0       0      10       0   976m  2.21g   643m      0      0.1          0       
0      1      0      0       0       4       0   976m  2.21g   643m      0        0          0       
0      0      0      0       0       1       0   976m  2.21g   643m      0        0          0    

I see

mapped - 976m
vsize-2.2.g
res - 643m
  • res - RAM, so ~650MB of my database is in RAM
  • mapped - total size of database (via memory mapped files)
  • vsize - ???

not sure why vsize is important or what exactly it means in this content - im running an m1.large so i have like 400GB of HD space + 8GB of RAM.

Can someone help me out here and explain if

  1. I am on the right page
  2. what stats I should monitor in production
Edit
Report

1 Answer

3

Also you can use these mini tools watching mongodb

http://openmymind.net/2011/9/23/Compressed-Blobs-In-MongoDB/

by the way I remembered this great online tool from 10gen

https://mms.10gen.com/user/login

answered 2011-12-22T17:42:27.073

Your Answer