By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,589 Members | 2,255 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,589 IT Pros & Developers. It's quick & easy.

Can you tell if a REORG is in 'paused' state?

P: n/a
db2 v8.1FP 7a on AIX 5.3.

My weekly overnight REORG job sometimes generates SQL2219N rc 9 errors
"START is not allowed as a prior paused table reorganization has not
been stopped".

Is there a way to define in advance those tables for which REORG is in
'paused' state? I could then STOP the paused REORG before attempting to
start another one.

Any tips on why REORGs sit in 'paused' state would also be much
appreciated.

Thank you.

May 10 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
What is your DB2 version ?
Are you reorg'ing tables, indexes or tables and indexes (DB2 v8) ?
One possible reason for reorg to have a problem is running out of space
- you can check your diag.log for any such issues.

Jayesh

May 11 '06 #2

P: n/a
@Jayesh. Thanks. To re-iterate. DB2 Version is db2 v8.1FP 7a on AIX
5.3.
There is nothing written to the db2diag.log or the notification log at
the time of the error. However, previous REORG failures did leave some
..OLR files in the database data folder (presumably containing data
about the online REORG status of the respective table). When I remove
these, the REORG command works fine.

@Michel. Thanks, that was helpful. I cannot find column descriptions
for the output of the db2 "select * from TABLE
(SNAPSHOT_TBREORG('AUTOM02',-1)) as A" command. Can you point me to any
documentation which provides descriptions for these columns (i.e.
REORG_STATUS, REORG_PHASE etc.)?

May 12 '06 #3

P: n/a
Well, all the documentation I see does not have much information. I
guess the fields are pretty much self-explanatory.

Anyway, check this: http://tinyurl.com/z4zrn

-Michel

May 12 '06 #4

P: n/a
Well, all the documentation I see does not have much information. I
guess the fields are pretty much self-explanatory.

Anyway, check this: http://tinyurl.com/z4zrn

-Michel

May 12 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.