Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-2679

Query engine: faster cost calculation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.3.7, 1.4
    • core, query

    Description

      If there are many indexes, preparing a query can take a long time, in relation to executing the query.

      The query execution plans can be cached. The cache should be invalidated if there are new indexes, or indexes are changed; a simple solution might be to use a timeout, and / or a manual cache clean via JMX or so.

      Attachments

        1. 0001-OAK-2679-Reduce-execution-plan-overhead_0.2.patch
          46 kB
          Joel Richard
        2. executionplancache.patch
          2 kB
          Joel Richard
        3. OAK-2679.patch
          6 kB
          Thomas Mueller
        4. OAK-2679-2.patch
          41 kB
          Thomas Mueller

        Issue Links

          Activity

            People

              thomasm Thomas Mueller
              thomasm Thomas Mueller
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: