IBM Support

IT30917: SLOW-ALTERING A TABLE WHOSE INTERNAL SERIAL COUNTER WENT NEGATIVE WILL RESET THE SERIAL COUNTER TO 1

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

  • A SERIAL column, once having reached its maximum value (2^31-1),
    will restart from 1, with internal serial counter now being
    negative - all working nicely as long as newly produced serial
    values can be entered into the table, i.e. wouldn't conflict
    with existing values in a unique index or constraint.
    An ALTER TABLE should also leave all of this, including current
    (next) serial value, unaffected, so inserting can proceed.
    
    Should such ALTER TABLE be conducted as a 'slow alter', though,
    the internal serial counter suddenly would be reset to 1,
    potentially leading to unexpected insert conflicts.
    

Local fix

  • after such ALTER TABLE, or as soon as realizing you've got
    negative internal serial counter, run another ALTER TABLE MODIFY
    (<serial_column> SERIAL (<next_desired_positive_serial_value>));
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of Informix Server prior to 12.10.xC14 and 14.10.xC4.  *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Update to Informix Server 12.10.xC14 or 14.10.xC4 (when      *
    * available).                                                  *
    ****************************************************************
    

Problem conclusion

  • Fixed in Informix Server 12.10.xC14 and 14.10.xC4.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT30917

  • Reported component name

    INFORMIX SERVER

  • Reported component ID

    5725A3900

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-11-12

  • Closed date

    2020-03-03

  • Last modified date

    2020-03-03

  • 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 & Data Platform"},"Product":{"code":"SSGU8G","label":"Informix Servers"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"C10","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
03 March 2020