MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DB2 RUNSTATS / Message DSNU623I

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
bauer
Intermediate


Joined: 10 Oct 2003
Posts: 317
Topics: 50
Location: Germany

PostPosted: Fri Mar 11, 2005 7:39 am    Post subject: DB2 RUNSTATS / Message DSNU623I Reply with quote

Hi,

DB2 runstats returns message

DSNU623I +DB2X DSNUSIDX - SYSIBM.SYSCOLDIST CATALOG NOT UPDATED WITH AGGREGATE STATISTICS FOR <creator>.<tablename>.<columnname>,
BECAUSE SOME PARTITIONS HAVE NO VALID STATISTICS,

for an specific index, returncode of job is zero. <columname> is part of other indexes, at 2. or 3. position.

Runstats is executed using then syntax

RUNSTATS TABLESPACE <dbname>.<spacename> INDEX(ALL).

For all other indexes the SYSCOLDIST is updated, the tablespace / indexspace is not segmented, table has 18 indexes (limit of runstats ???).

But executing runstats using the command

RUNSTATS TABLESPACE <dbname>.<spacename> INDEX(<indexname>)

the data in syscoldist is updated for the specific index.

I checked the IBM manual for the reason, but couldn't find anything.

Any idea ?

regards,
bauer
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Fri Mar 11, 2005 8:47 am    Post subject: Reply with quote

Bauer,

Did some alter a varchar column and ran a RUNSTATS with PART option?

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bauer
Intermediate


Joined: 10 Oct 2003
Posts: 317
Topics: 50
Location: Germany

PostPosted: Fri Mar 11, 2005 8:52 am    Post subject: Reply with quote

Kolusu,

this possible reason is known to me.

But the answer is NO (I'm responsible of this table, I'm sure).

Any other hint (Don't say ask DB Admin, we dicussed the problem, but no solution.)

regards,
bauer
Back to top
View user's profile Send private message
bauer
Intermediate


Joined: 10 Oct 2003
Posts: 317
Topics: 50
Location: Germany

PostPosted: Fri Mar 11, 2005 8:55 am    Post subject: Reply with quote

Kolusu,

we added some columns to this table.

Could this be a possible reason ?

regrads,
bauer
Back to top
View user's profile Send private message
bauer
Intermediate


Joined: 10 Oct 2003
Posts: 317
Topics: 50
Location: Germany

PostPosted: Wed Mar 16, 2005 5:19 am    Post subject: Reply with quote

Kolusu,

the problem is caused by an bug, see below.



PQ72652

APAR status
Closed as program error.

Error description

During Runstats of non-partitioned tablespace, MSGDSNU623I is
invalidly issued.

Local fix
Code:

Problem summary

****************************************************************
* USERS AFFECTED: All DB2 UDB for OS/390 or z/OS utility users *
****************************************************************
* PROBLEM DESCRIPTION: MSGDSNU623I issued erroneously during *
* RUNSTATS TABLESPACE DSNDB06.SYSOBJ *
* TABLE(ALL) INDEX(ALL) SHRLEVEL CHANGE. *
****************************************************************
* RECOMMENDATION: Apply corrective PTF when available *
****************************************************************
RUNSTATS TABLESPACE DSNDB06.SYSOBJ TABLE(ALL) INDEX(ALL)
SHRLEVEL CHANGE erroneously issued DSNU623I SYSIBM.SYSCOLDIST
CATALOG NOT UPDATED WITH AGGREGATE STATISTICS FOR
SYSIBM.SYSROUTINES.NAME BECAUSE SOME PARTITIONS HAVE NO VALID STATISTICS. The tablespace is not partitioned.

Certain code paths are avoided during frequency statistics
collection for duplicate columns. However, this led duplicate
column processing to issue MSGDSNU623I in error.

Problem conclusion

Duplicate column processing has been corrected.

Temporary fix

Comments

APAR information
APAR number PQ72652
Reported component name 5740 IBM DATABA
Reported component ID 5740XYR00
Reported release 710
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2003-03-31
Closed date 2003-07-31
Last modified date 2003-09-04

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:
UQ79108
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Wed Mar 16, 2005 8:37 am    Post subject: Reply with quote

Bauer,

Thanks for the update.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group