Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / May 2006

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
pike - 10 May 2006 15:33 GMT
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.
Jayesh Thakrar - 11 May 2006 16:03 GMT
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
pike - 12 May 2006 15:42 GMT
@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.)?
Michel Esber - 12 May 2006 16:12 GMT
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
Michel Esber - 12 May 2006 16:16 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.