When TABLE-SCAN is recommended instead of WHOLE-INDEX
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
The following example demonstrates when TABLE-SCAN is recommended instead of
WHOLE-INDEX
|
If TABLE-SCAN is used, AVM scans all the records by
accessing record blocks only; while if TABLE-SCAN is not
specified, then WHOLE-INDEX is used and AVM scans all
the records by accessing index blocks and record blocks. So instead
of accessing index blocks and record blocks, with TABLE-SCAN,
you only access the record blocks.