• Admin-Scout-small-Banner
           
    CURSOR Admin-Scout
    get the ultimate tool for Informix
    pfeil  
invispix 10x10
invispix 10x10
Latest versionsfixlist
14.10.xC5 FixList
12.10.xC14.X5 FixList
11.70.xC9.XB FixList
11.50.xC9.X2 FixList
11.10.xC3.W5 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26
Question in the chat LiveZilla Live Help

Informix - Problem description

Problem IT30853 Status: Closed

OPTIMIZER INCORRECTLY SELECT MULTI INDEX SKIP SCAN FOR SINGLE VALUE,
PRODUCING WRONG RESULTS

product:
INFORMIX SERVER / 5725A3900 / C10 - IDS 12.10
Problem description:
QUERY: (OPTIMIZATION TIMESTAMP: 10-29-2019 16:15:05)
------
select * from t1 where cdmat = 4011

Estimated Cost: 101464
Estimated # of Rows Returned: 68925

  1) informix.entmed: INDEX PATH (SKIP SCAN)

    (1) Index Name: informix.t1_fk_001
        Index Keys (Detached): cdmat   (Serial, fragments: ALL)
        Lower Index Filter: informix.t1.cdmat = 4011



Causes optimizer to scan the table a second time, adding wrong
results.

Workaround is to add AVOID_MULTI_INDEX directive.


QUERY: (OPTIMIZATION TIMESTAMP: 10-29-2019 16:18:28)
------
select /*+ AVOID_MULTI_INDEX (t1) */ * from t1 where cdmat =
4011

DIRECTIVES FOLLOWED:
AVOID_MULTI_INDEX( t1)
DIRECTIVES NOT FOLLOWED:

Estimated Cost: 197826
Estimated # of Rows Returned: 68925

  1) informix.t1: INDEX PATH

    (1) Index Name: informix.t1_fk_001
        Index Keys: cdmat   (Serial, fragments: ALL)
        Lower Index Filter: informix.t1.cdmat = 4011


Update Statistics Distribution required for reproduction.
Problem Summary:
Local Fix:
Solution
Workaround
not known / see Local fix
Comment
This APAR is a duplicate of IT27549
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
05.11.2019
11.11.2019
11.11.2019
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
invispix 10x10
invispix 10x10
invispix 10x10
Technical InfoTechnical Info

Technical Info

DocumentationDocumentation

Documentation

IBM NewsletterIBM Newsletter

IBM Newsletter

Current BugsCurrent Bugs

Current Bugs

Bug ResearchBug Research

Bug Research

Bug FixlistsBug Fixlists

Bug Fixlists

Release NotesRelease Notes

Release Notes

Machine NotesMachine Notes

Machine Notes

Release NewsRelease News

Release News

Product LifecycleProduct Lifecycle

Lifecycle

Media DownloadMedia Download

Media Download

invispix 10x10
Service und SupportService und Support

Service and Support

Informix MonitoringInformix Monitoring

Informix Monitoring

Admin-Scout forInformixAdmin-Scout forInformix

Admin-Scout for Informix

Informix News & InfosInformix News & Infos

Informix News & Infos

This site uses cookies to make it easier for us to provide you with our services. By using our site you agree to the use of cookies.