Deletes with j:true slower on WT than MMAPv1

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.0.7, 3.1.9
    • Affects Version/s: 3.0.6, 3.1.7
    • Component/s: WiredTiger
    • None
    • Fully Compatible
    • ALL
    • Quint 9 09/18/15
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      j:true is expectedly slower than not, but WT is much slower than MMAPv1:

      MMAPv1
      > for(x=0;x<10000;x++){db.test.insert( { x : x } ) }
      WriteResult({ "nInserted" : 1 })
      > var start=new Date();db.test.remove( { } );duration=new Date() - start
      70
      > for(x=0;x<10000;x++){db.test.insert( { x : x } ) }
      WriteResult({ "nInserted" : 1 })
      > var start=new Date();db.test.remove( { }, { writeConcern : {j:true}} );duration=new Date() - start
      94
      
      WT
      > for(x=0;x<10000;x++){db.test.insert( { x : x } ) }
      WriteResult({ "nInserted" : 1 })
      > var start=new Date();db.test.remove( { } );duration=new Date() - start
      189
      > for(x=0;x<10000;x++){db.test.insert( { x : x } ) }
      WriteResult({ "nInserted" : 1 })
      > var start=new Date();db.test.remove( { }, { writeConcern : {j:true}} );duration=new Date() - start
      95113
      

              Assignee:
              Geert Bosch
              Reporter:
              Andre de Frere
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

                Created:
                Updated:
                Resolved: