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)

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.0.0
    • Component/s: Performance
    • Labels:
      None
    • Fully Compatible

      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?

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

              Created:
              Updated:
              Resolved: