Quantcast
Channel: VMware Communities : All Content - vFabric GemFire [ARCHIVED]
Viewing all articles
Browse latest Browse all 990

Deteriorating query performance with index

$
0
0

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.


Viewing all articles
Browse latest Browse all 990

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>