suche 36x36
  • Admin-Scout-small-Banner
           

    CURSOR Admin-Scout

    get the ultimate tool for Informix

    pfeil  
Latest versionsfixlist
14.10.xC10 FixList
12.10.xC16.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

Informix - Problem description

Problem IT37790 Status: Closed

SELF JOIN WITH COMMITTED READ CAN RETURN WRONG ROWS (TOO MANY) WHEN
INSERTS ARE HAPPENING ON TABLE

product:
INFORMIX SERVER / 5725A3900 / C10 - IDS 12.10
Problem description:
The query plan shows an index self join is happening:

select no_fi from f_nf_m where no_fi = 442635

Estimated Cost: 7
Estimated # of Rows Returned: 3

  1) informix.f_nf_m: INDEX PATH

    (1) Index Name: informix.f_nf_m06
        Index Keys: em no_fi s_no_fi
client s_no_fi   (Key-Only)  (Serial, fragments: ALL)
        Index Self Join Keys (em )

        Lower Index Filter: informix.f_nf_m.em =
informix.f_nf_m.em AND
informix.f_nf_m.no_fi = 442635

The query should return 3 rows, but if you run it in a loop with
committed read isolation
while inserts are happening on the table, you may see more than
3 rows returned:

Database selected.

no_fi

     442635
     442635
     442635

3 row(s) retrieved.

Database closed.


Database selected.

no_fi

     442635
     442635
     442635
     442635
     442635
     442635
     442635
     442635
     442635
     442635
     442635
     442635

12 row(s) retrieved.

Database closed.

More rows may be returned depending upon the environment.
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* Users of Informix Server prior to 12.10.xC16 and 14.10.xC8.  *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to Informix Server 12.10.xC16 or 14.10.xC8.          *
****************************************************************
Local Fix:
Solution
Workaround
****************************************************************
* USERS AFFECTED:                                              *
* Users of Informix Server prior to 12.10.xC16 and 14.10.xC8.  *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to Informix Server 12.10.xC16 or 14.10.xC8.          *
****************************************************************
Comment
Fixed in Informix Server 12.10.xC16 and 14.10.xC8.
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
27.07.2021
04.05.2023
04.05.2023
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
Informix EditionsInformix Editions
Informix Editions
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