xHarbour Reference Documentation > Command Reference |
Toggles filter optimization with indexed databases.
SET OPTIMIZE ON | off | (<lToggle>)
The SET OPTIMIZE command determines whether or not to optimize filters in the current work area. Optimization is based on index expressions of indexes open in the current work area. When a filter condition matches with an index expression, the RDD, such as DBFCDX, compares values stored in the index rather than the database. This leads to an enhanced performance since less disk I/O is required during database navigation.
See also: | Set(), SET FILTER, SET INDEX |
Category: | Database commands , SET commands |
Source: | rtl\set.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com