Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > db.createCollection("loopinsert")
- { "ok" : 1 }
- > db.setProfilingLevel(2)
- { "was" : 0, "ok" : 1 }
- > for(var i=0; i<100000; ++i){ db.loopinsert.save({"num": i}); }
- > show profile
- 2ms Mon May 17 2010 18:13:16
- insert test.loopinsert
- 2ms Mon May 17 2010 18:13:16
- insert test.loopinsert
- 2ms Mon May 17 2010 18:13:16
- insert test.loopinsert
- 2ms Mon May 17 2010 18:13:16
- insert test.loopinsert
- >
Add Comment
Please, Sign In to add comment