Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-8287

QueryUtils doNestedIterationsForIndex is not applying an index value correctly and causing the entire region to be iterated

    XMLWordPrintableJSON

Details

    Description

      Here is an example of the query in 8.2.12:

      Query Executed in 3.502438E7 ms; indexesUsed(2):mapFieldIndex(Results: 500),pkIdIndex(Results: 1) "select vr1, vr2 from /region1 vr1, /region2 vr2 where vr1.id = vr2.id and vr1.mapField['FIELDNAME']=$1"
      

      The number of DistributionStats deserializations is 1,001.

      Here is an example of the query in 9.10.0:

      Query Executed in 22732.467 ms; rowCount = 500; indexesUsed(2):mapFieldIndex(Results: 500),pkIdIndex(Results: 1) "select vr1, vr2 from /region1 vr1, /region2 vr2 where vr1.id = vr2.id and vr1.mapField['FIELDNAME']=$1"
      

      The number of DistributionStats deserializations is 25,001,004

      Attachments

        Issue Links

          Activity

            People

              boglesby Barrett Oglesby
              boglesby Barrett Oglesby
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: