Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-220

Try to use the index even if the query matches all entries

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • JDG 7.0.0 ER4
    • JDG 7.0.0 ER3
    • Querying
    • None

    Description

      A DSL query with no filter clauses will match all entries. In this case we currently run a non-indexed query even if the cache is indexed. This is ok for queries that do not use sorting or projections. In that case we do not get any benefit from involving the index because we'll fetch all entries anyway.

      Performance can be improved by using the index if the query has sorting or projections so this should be treated as a special case.

      Attachments

        Issue Links

          Activity

            People

              anistor Adrian Nistor (Inactive)
              anistor Adrian Nistor (Inactive)
              Vojtech Juranek Vojtech Juranek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: