I have a query like this.
Both regions are indexed on instrumentKey
Cluster-15 gfsh>query --query="<trace> select p from /instrumentstore i,/position p where i.symbolString='GOOG' and i.instrType=6 and i.instrumentKey=p.instrumentKey" --interactive=true
Result : true
startCount : 0
endCount : 20
Rows : 1000
Query Trace : Query Executed in 2181.0803 ms; indexesUsed(1):instrumentKey(Results: 138249)
The moment I create an index on "symbolString" above query runs for ever (ever means I never waited more than 10min ) I have 2 millon entries in each of them.