blob: e78ae4a720232fecdcc2210cbd1a30436629a4d7 (
plain)
1
2
3
4
5
6
7
|
path = '/data/db/indexbg_dur';
m = startMongodEmpty( '--port', 30001, '--dbpath', path, '--journal', '--smallfiles', '--journalOptions', 24 );
t = m.getDB( 'test' ).test;
t.save( {x:1} );
t.createIndex( {x:1}, {background:true} );
t.count();
|