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 IT15265 Status: Geschlossen

DB2TS CLEAR EVENTS DOES NOT WORK WHEN EVENTTABLLE HAS ROWS > 1000.

Produkt:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problembeschreibung:
Trying to clear events from the text search events table results 
in SQL0607N. 
 
db2 "CALL SYSPROC.SYSTS_CLEAR_EVENTS('ONSITE', 
'FILES_FILE_NAME_TSINDEX','locale', ?) " 
 
SQL20427N  An error occurred during a text search administration 
procedure or 
command. The error message is "" SQL0607N  "DROP" is not defined 
for 
system objects.  SQLSTAT".  SQL".  SQLSTATE=38H14 
 
This only occurs if the number of rows to remove is > 1000 
rows.
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* Users of Text Indexes                                        * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 Version 11 Fix Pack 1 or higher               * 
****************************************************************
Local-Fix:
Get eventtableschemaName and eventtableName using : 
                db2 "select EVENTTABLESCHEMA,EVENTTABLENAME from 
sysibmts.systsindexes where  indexname = 
'FILES_FILE_NAME_TSINDEX'" 
 
Lock index to block other admin commands on index during change 
of eventview 
          db2ts set command locks for index 
onsite.FILES_FILE_NAME_TSINDEX for text 
 
Trim the eventtable as below: 
        db2 "delete from 
<eventtableschemaName>.<eventtableName>" 
 
Unlock the index for other admin operatin on index. 
       db2ts clear command locks for index 
ionsite.FILES_FILE_NAME_TSINDEX for text
verfügbare FixPacks:
DB2 Version 11.1 Mod1 Fix Pack1 iFix001 for Linux, UNIX, and Windows
DB2 Version 11.1 Mod 2 Fix Pack 2 for Linux, UNIX, and Windows
Db2 Version 11.1 Mod2 Fix Pack2 iFix001 for Linux, UNIX, and Windows
Db2 Version 11.1 Mod2 Fix Pack2 iFix002 for Linux, UNIX, and Windows
Db2 Version 11.1 Mod 3 Fix Pack 3 for Linux, UNIX, and Windows
Db2 Version 11.1 Mod3 Fix Pack3 iFix001 for Linux, UNIX, and Windows
Db2 Version 11.1 Mod3 Fix Pack3 iFix002 for Linux, UNIX, and Windows

Lösung
First fixed in DB2 Version 11 Fix Pack 1 or higher
Workaround
Get eventtableschemaName and eventtableName using : 
                db2 "select EVENTTABLESCHEMA,EVENTTABLENAME from 
sysibmts.systsindexes where  indexname = 
'FILES_FILE_NAME_TSINDEX'" 
 
Lock index to block other admin commands on index during change 
of eventview 
          db2ts set command locks for index 
onsite.FILES_FILE_NAME_TSINDEX for text 
 
Trim the eventtable as below: 
        db2 "delete from 
<eventtableschemaName>.<eventtableName>" 
 
Unlock the index for other admin operatin on index. 
       db2ts clear command locks for index 
onsite.FILES_FILE_NAME_TSINDEX for text
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
12.05.2016
10.10.2017
10.10.2017
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
11.1.1.1 FixList