Informix - Problem description
Problem IT32496 | Status: Closed |
SELECT WITH SORT IS SLOWER BECAUSE IT IS USING SEQUENTIAL SCAN EVEN IF INDEX EXISTS | |
product: | |
INFORMIX SERVER / 5725A3900 / E10 - | |
Problem description: | |
A query such as: SELECT * FROM tab1 ... ORDER BY c1 may use sequential scan even if index for c1 exists and may be slower because it has to sort the resulting rows. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * Users of Informix Server prior to 14.10.xC5. * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Update to Informix Server 14.10.xC5. * **************************************************************** The fix can be disabled by turning on 0x10000 in SQL_FEAT_CTRL2: onmode -wm SQL_FEAT_CTRL2=0x10000 NOTE: first find the current setting for SQL_FEAT_CTRL2 and then add 0x10000 to that value in command above. | |
Local Fix: | |
Solution | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 08.04.2020 06.12.2020 06.12.2020 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |