If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Reorg state - DICT_SAMPLE

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-24-10, 11:23
mathew.eldho mathew.eldho is offline
Registered User
 
Join Date: Jan 2007
Location: Pune, India
Posts: 27
Reorg state - DICT_SAMPLE

Hello

Greetings...!

I have been checking my systems today and found the following status for some of the tables.

Query using to monitor the reorg status:-

cat reorgstatus.txt
SELECT SUBSTR(TABNAME, 1, 15) AS TAB_NAME, SUBSTR(TABSCHEMA, 1, 15) AS TAB_SCHEMA, REORG_PHASE,DATE(REORG_START), SUBSTR(REORG_TYPE, 1, 20) AS REORG_TYPE, REORG_STATUS, REORG_COMPLETION, DBPARTITIONNUM FROM SYSIBMADM.SNAPTAB_REORG WHERE DATE(REORG_START)='24/06/2010' ORDER BY DBPARTITIONNUM;

It is showing the following status for few tables....

taname1 DICT_SAMPLE 24/06/2010 RECLUSTER+OFFLINE+AL STOPPED FAIL 1
taname1 DICT_SAMPLE 24/06/2010 RECLUSTER+OFFLINE+AL STOPPED FAIL 2
taname1 DICT_SAMPLE 24/06/2010 RECLUSTER+OFFLINE+AL STOPPED FAIL 3
taname1 DICT_SAMPLE 24/06/2010 RECLUSTER+OFFLINE+AL STOPPED FAIL 4

There was some data stage loads and data compression yesterday night...

Is there anybody got any clue about this state DICT_SAMPLE to understand the reorg failure reason...?

Thanks in advance..
__________________
Eldho Mathew
IBM DB2 UDB LUW Software Engineer
Reply With Quote
  #2 (permalink)  
Old 06-24-10, 11:28
mathew.eldho mathew.eldho is offline
Registered User
 
Join Date: Jan 2007
Location: Pune, India
Posts: 27
researches...

Here are the some reorg state details...

REORG_PHASE VARCHAR (16) reorg_phase - Table reorganize phase . This interface returns a text identifier based on defines in sqlmon.h and is one of:
* BUILD
* DICT_SAMPLE
* INDEX_RECREATE
* REPLACE
* SORT

Dictionary Build: SQLM_REORG_DICT_SAMPLE

Not sure if something ...went wrong during the dictionary build phase and failed.!
__________________
Eldho Mathew
IBM DB2 UDB LUW Software Engineer
Reply With Quote
  #3 (permalink)  
Old 06-24-10, 11:55
mathew.eldho mathew.eldho is offline
Registered User
 
Join Date: Jan 2007
Location: Pune, India
Posts: 27
researches...

Hello

I was referring the following link and found the reorgs in DICT_SAMPLE phase shows completed status as well....

http://www.ibm.com/developerworks/wi....pdf?version=1

db2diag.log is messed up.... db2 creates more than 100MB log everyday... however, let me see if i can get some relevant part...
__________________
Eldho Mathew
IBM DB2 UDB LUW Software Engineer
Reply With Quote
Reply

Tags
reorg, reorg status

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On