GROUP BY optimization
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
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