IBM Support

IT40864: ERROR -768 ON TABLE WITH COUNT OF ROWS > MAXINT

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • create table mbi_varia
    (
        var_id integer,
        var_art_nr integer,
        var_nr integer
      );
    
    create unique index tab1_ix1 on tab1 (var_id, var_art_nr) using
    btree ;
    
    create index tab1_ix2 on tab1 (var_art_nr,var_nr) using btree ;
    
    The table has almost 2185682396 Rows.
    
    When this query ran against the table:
    SELECT   var_id FROM tab1 WHERE var_id = 4711 ORDER BY
    var_art_nr;
    
    it returns this error:
    768: Internal error in routine sqoptim: no valid query plan
    generated
    
    
    The problem stems from overflow in the sysindices.clust column
    for the index, most commonly seen as a negative number.
    

Local fix

  • After applying a version with the fix,  the index(icies) with
    the negative clust number(s) must be rebuilt.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of Informix Server prior to 12.10.xC16 and 14.10.xC9.  *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Informix Server 12.10.xC16 (if available) or      *
    * 14.10.xC9.                                                   *
    ****************************************************************
    

Problem conclusion

  • Fixed in Informix Server 12.10.xC16 and 14.10.xC9.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT40864

  • Reported component name

    INFORMIX SERVER

  • Reported component ID

    5725A3900

  • Reported release

    E10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-05-06

  • Closed date

    2022-10-04

  • Last modified date

    2022-10-04

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    INFORMIX SERVER

  • Fixed component ID

    5725A3900

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSGU8G","label":"Informix Servers"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"E10"}]

Document Information

Modified date:
04 October 2022