467,923 Members | 1,850 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,923 developers. It's quick & easy.

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

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
  • viewed: 5329
Share:
4 Replies
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
@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
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
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.

Similar topics

27 posts views Thread by Raquel | last post: by
2 posts views Thread by TomHorner | last post: by
3 posts views Thread by andy.standley | last post: by
9 posts views Thread by mike_dba | last post: by
reply views Thread by bwmiller16 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.