Skip to content

athlonUA/MongoDBEnginesTests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MongoDB 3.2 Engines insert speed testing

OS: Ubuntu 14.04.3

CPU: Intel Core i5-3210M 2.5GHz

Interpreter: Python 2.7.6

MongoDB Connection Tools: Pymongo 3.2

Engine Number of documents Insert method time
inMemory 1K insert_one() 0:00:00.256019
inMemory 10K insert_one() 0:00:02.555137
inMemory 100K insert_one() 0:00:25.371257
inMemory 1M insert_one() 0:04:25.501858
wiredTiger 1K insert_one() 0:00:00.262877
wiredTiger 10K insert_one() 0:00:02.622586
wiredTiger 100K insert_one() 0:00:26.450679
wiredTiger 1M insert_one() 0:04:25.172383
mmapv1 1K insert_one() 0:00:00.258589
mmapv1 10K insert_one() 0:00:02.719752
mmapv1 100K insert_one() 0:00:27.077982
mmapv1 1M insert_one() 0:04:21.461826
inMemory 1K insert_many() 0:00:00.025174
inMemory 10K insert_many() 0:00:00.223759
inMemory 100K insert_many() 0:00:02.304617
inMemory 1M insert_many() 0:00:25.498137
wiredTiger 1K insert_many() 0:00:00.025317
wiredTiger 10K insert_many() 0:00:00.246260
wiredTiger 100K insert_many() 0:00:02.494182
wiredTiger 1M insert_many() 0:00:27.500170
mmapv1 1K insert_many() 0:00:00.023795
mmapv1 10K insert_many() 0:00:00.219049
mmapv1 100K insert_many() 0:00:02.322669
mmapv1 1M insert_many() 0:00:24.511715

##Insert method - insert_one()

  • insert_one results insert_one

  • insert_one results - 1K (y-scaling)

    Engine time
    inMemory 0:00:00.256019
    wiredTiger 0:00:00.262877
    mmapv1 0:00:00.258589

insert_one

  • insert_one results - 10K (y-scaling)

    Engine time
    inMemory 0:00:02.555137
    wiredTiger 0:00:02.622586
    mmapv1 0:00:02.719752

insert_one

  • insert_one results - 100K (y-scaling)

    Engine time
    inMemory 0:00:25.371257
    wiredTiger 0:00:26.450679
    mmapv1 0:00:27.077982

insert_one

  • insert_one results - 1M (y-scaling)

    Engine time
    inMemory 0:04:25.501858
    wiredTiger 0:04:25.172383
    mmapv1 0:04:21.461826

insert_one


##Insert method - insert_many()

  • insert_many results insert_one

  • insert_many results - 1K (y-scaling)

    Engine time
    inMemory 0:00:00.025174
    wiredTiger 0:00:00.025317
    mmapv1 0:00:00.023795

insert_one

  • insert_many results - 10K (y-scaling)

    Engine time
    inMemory 0:00:00.223759
    wiredTiger 0:00:00.246260
    mmapv1 0:00:00.219049

insert_one

  • insert_many results - 100K (y-scaling)

    Engine time
    inMemory 0:00:02.304617
    wiredTiger 0:00:02.494182
    mmapv1 0:00:02.322669

insert_one

  • insert_many results - 1M (y-scaling)

    Engine time
    inMemory 0:00:25.498137
    wiredTiger 0:00:27.500170
    mmapv1 0:00:24.511715

insert_one

About

MongoDB 3.2 Engines insert speed testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages