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

coll.createIndex on empty collection lasts 50-100 ms (vs 1 ms with Vers. 2)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: 3.0.0
    • Fix Version/s: None
    • Component/s: Performance
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible

      Description

      When creating a new (empty) collection we also create all corresponding indexes. This was used to take about 1 ms with mongoDB V2. With V3 this now takes between 50 and 150 ms. Is this a bug or a feature?

        Attachments

          Activity

            People

            Assignee:
            ramon.fernandez Ramon Fernandez Marina
            Reporter:
            redmedical Jochen Brüggemann
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: