DB2 - Problem description
Problem IT26337 | Status: Closed |
DB2 MAY THROW A SQL0901N 'XML Stats Sanity check failed' error DURING A AUTO RUNSTATS ON a XML TABLE | |
product: | |
DB2 FOR LUW / DB2FORLUW / A50 - DB2 | |
Problem description: | |
Db2 detects mismatched node counts during auto runstats. Here is the sample entry in db2diag.log: FUNCTION: DB2 UDB, XML Node Manager, XmlrnStatsCheckSanity, probe:20 DATA #1 : String, 32 bytes # Non-Null Docs > Sum Node Count DATA #2 : String, 13 bytes Non-Null Docs DATA #3 : unsigned integer, 8 bytes 16060 DATA #4 : String, 14 bytes Sum Node count DATA #5 : unsigned integer, 8 bytes 16059 | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Db2 11.1 Mod 4 Fixpack 5 or higher * **************************************************************** | |
Local Fix: | |
Insert XML documents that have something in addition to a root tag (such as some text). | |
Solution | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 18.09.2018 16.01.2020 16.01.2020 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |