Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-12378

findOne queries on _id field are slower in 2.6/2.4 than in 2.2

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 2.4.8, 2.5.4
    • Concurrency, Querying
    • None
    • Linux ip-10-237-131-70 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
    • ALL

    Description

      Queries of the kind

      db.foo.findOne({_id: 0})

      are about 5% slower in 2.6 than in 2.2 on heavy-multithreaded tests (8-16 threads), screenshot attached.

      Attachments

        Activity

          People

            davide.italiano Davide Italiano
            davide.italiano Davide Italiano
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: