Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rushmore optimized GROUP BY
Message
From
17/06/2019 10:53:42
 
 
To
12/06/2019 13:29:13
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01669032
Message ID:
01669108
Views:
54
>>In my lame search, I have not been able determine if a FOX SQL statement with a GROUP BY clause can be optimized using indexes (rushmore). Is it possible?
>>
>>I have a large set of data created using the SET COVERAGE statement, and I am trying to aggregate the duration to find the lines that consume the maximum time. Currently the SQL statement is taking around 5+ minutes. I was thinking that if an indexes on the Method column would help in speeding up the aggregation.
>
>So you have a cursor or table you created by importing SET COVERAGE data? I do that kind of thing as needed, and I've never had my queries against it be painful. I don't know for sure whether GROUP BY can be optimized, but can't hurt to try.
>
>Tamar

I have tried adding indexes for the GROUP BY / ORDER BY fields. But the Show Plan (SYS(3054)) indicates that no Rushmore optimizing is used.
Thanks for your thoughts.
Greg Reichert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform