Try OpenEdge Now
skip to main content
SQL Development
Optimizing Query Performance : Understanding optimization : Optimizer phases : GROUP BY optimization
 
GROUP BY optimization
GROUP BY optimization allows the SQL engine to select index scan and to perform STREAM aggregation for GROUP BY columns. The two techniques of GROUP BY optimizations are as follows:
*1. Re-order GROUP BY columns
*2. Considering Equi-Constant Predicates
* Re-order GROUP BY columns
* Considering Equi-Constant Predicates