MongoDB admin web console Information

36 views
Skip to first unread message

SreenathV

unread,
Feb 28, 2012, 3:36:58 PM2/28/12
to mongodb-user
I see the Log Section as

Log
Tue Feb 28 12:26:25 [conn87] insert test.ShoppingCart 119ms
12:26:36 [conn88] insert test.ShoppingCart 567ms
12:26:37 [conn91] insert test.ShoppingCart 1301ms


12:29:44 [conn89] update test.ShoppingCart query: { user: 11777 }
update: { $addToSet: { items: { quantity: 1, date: new
Date(1330460977189), deal: { id: 9, price: 9.9, limit: 1 } } } } moved:
1 7311ms
12:29:45 [conn86] update test.ShoppingCart query: { user:
3416 } update: { $addToSet: { items: { quantity: 1, date: new
Date(1330460985123), deal: { id: 9, price: 9.9, limit: 1 } } } } moved:
1 339ms
12:29:46 [conn83] update test.ShoppingCart query: { user:
1492 } update: { $addToSet: { items: { quantity: 1, date: new
Date(1330460986319), deal: { id: 9, price: 9.9, limit: 1 } } } } moved:
1 351ms


Does the above means each insert is taking (119, 567, 1301 ms ) and
update (7311, 339, 351 ms)??? Does this mean the timing is from with
in MongoDB server and not impacting Client inserts and Updates?

Ben Becker

unread,
Feb 28, 2012, 8:46:05 PM2/28/12
to mongod...@googlegroups.com
Hi,

Those log entries represent the time it took for mongo to complete the operation.  If the client application calls getLastError() after each insert and update, then the application will block until the operation completes.  Might want to check your indexes and make sure you have enough free memory to figure out why those operations are taking so long.

     Regards,
     Ben
Reply all
Reply to author
Forward
0 new messages