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

Create view becomes very slow when system has many (10000+) views

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.2.0
    • Component/s: Performance
    • None
    • Fully Compatible

      Mongo Server reloads the view catalog when view created / updated / dropped. We have tens of thousands of views in database, and it's getting more and more slower to create or modify view.

      Is it possible to make the view reload optional? 

        1. collMode.png
          collMode.png
          163 kB
        2. collMode_createIndex.png
          collMode_createIndex.png
          189 kB

            Assignee:
            dmitry.agranat@mongodb.com Dmitry Agranat
            Reporter:
            xiaoqiang.chou@gmail.com Xiaoqiang Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: