home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Neueste VersionenFixList
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

DB2 - Problembeschreibung

Problem IT06542 Status: Geschlossen

EMPTY RESULT OR A HANG MAY HAPPEN for CDE TABLE QUERY IF TABLESPACE HAS
ENOUGH TABLES TO GENERATE NEGATIVE TABLE_ID

Produkt:
DB2 FOR LUW / DB2FORLUW / A50 - DB2
Problembeschreibung:
Empty result sets may return for a query even when the qualified 
data is not empty, or a hang may occur, if both the conditions 
below are met: 
 
1. The query is against a column-organized table 
2. There are enough tables in the table's tablespace so that the 
table's table_id is negative in SYSCAT.TABLES. 
 
The problem will typically only manifest when there are > 12000 
column-organized tables in a single tablespace. If there are a 
mix of row-organized and column-organized tables in the same 
tablespace, then the overall number of tables required to 
trigger the problem will be higher (since the row-organized 
tables do not involve the creation of the 'extra' synopsis 
table, while for each column-organized table, there will 
typically be a synopsis table created). Buf if there are 
partition tables, the overall number of tables required to 
trigger the problem will be lower because DB2 will create a 
'extra' table for each partition. 
 
This problem doesn't happen on AIX due to its characteristic. 
 
An example: 
db2 "create table test(a int,b varchar(10)) organize by column" 
DB20000I  The SQL command completed successfully. 
 
db2 "insert into test values(1,'aa')" 
DB20000I  The SQL command completed successfully. 
 
db2 "select * from test" 
 
A           B 
----------- ---------- 
 
  0 record(s) selected. 
 
 
db2 "select  substr(TABNAME,1,20) TABNAME, TABLEID,TBSPACEID 
from SYSCAT.TABLES where TABNAME='TEST' " 
 
TABNAME              TABLEID TBSPACEID 
-------------------- ------- --------- 
TEST                  -27349         3 
 
  1 record(s) selected. 
 
Example of the hang stack must have sqloWaitEDUWaitPost and 
sqlrr_smp_router: 
 
 semtimedop 
 sqloWaitEDUWaitPost 
 sqlriCdeOpen 
 sqlriCdeQuery 
 sqlriSectInvoke 
 sqlrr_smp_router 
 sqlrr_subagent_router
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* N/A                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2  V10.5 FIXPACK 7.                             * 
****************************************************************
Local-Fix:
Lösung
The problem is firstly fixed on V10.5 FIXPACK 7.
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
16.01.2015
20.01.2016
20.01.2016
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
10.5.0.7 FixList