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

Explain Plan: show regex performance (nr of steps)

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Query Execution

      The Explain Plan is quite interesting. Maybe use a regex debugging library to compute the number of steps a regex takes to complete. For example: https://metacpan.org/pod/Regexp::Debugger

      The idea is to give the users the awareness of performance penalties for regular expression queries, especially complex ones that backtrack a lot.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            massimiliano.marcon@mongodb.com Massimiliano Marcon
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: