Opening databases at startup has quadratic behaviour

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • Execution EMEA Team 2023-10-30
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Startup opens all databases, and for each opened database, it compares it against all previously opened databases to check for duplicates. This is quadratic. A test opening 50k databases takes about a minute; with 100k databases, it takes over ten minutes.

        1. flame_graph.png
          90 kB
          Josef Ahmad
        2. flame_graph.svg
          87 kB
          Josef Ahmad

            Assignee:
            David Dominguez Sal (Inactive)
            Reporter:
            Josef Ahmad
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: