IC91397: A DEADLOCK MAY OCCUR,IF ALTER SEQUENCE IS EXECUTED AT THE SAME TIME.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • A deadlock may occur, if alter sequence is executed at the same
    time.
    
    Terminal 1:
    db2 connect to sample
    db2 "ALTER SEQUENCE TESTSEQ RESTART WITH 1"
    
    Terminal 2:
    db2 connect to sample
    db2 "ALTER SEQUENCE TESTSEQ RESTART WITH 1"
    
    The "alter sequence" statement returned as below.
    
    DB21034E  The command was processed as an SQL statement because
    it was not a
    valid Command Line Processor command.  During SQL processing it
    returned:
    SQL0911N  The current transaction has been rolled back because
    of a deadlock
    or timeout.  Reason code "2".  SQLSTATE=40001
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 UDB version 9.7 fixpack 9.                    *
    ****************************************************************
    

Problem conclusion

  • Problem was first fixed in DB2 UDB Version 9.7 FixPack 9
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC91397

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-04-07

  • Closed date

    2014-01-13

  • Last modified date

    2014-01-13

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

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

    IC95276 IC96262

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

DB2 for Linux, UNIX and Windows

Software version:

9.7

Reference #:

IC91397

Modified date:

2014-01-13

Translate my page

Machine Translation

Content navigation