I think the following is set up for online reogs to be automated.
A) I don't think the db has to be in logretain=recovery mode as the online
reorg is automatically revocered from a crash via the active logs which are
always available wether in circular logging or roll forward enbled mode.
B) For autoamtion online, one has to set the parm AUTO_REORG ON in the db
cfg or use the the db2 cc and define an online maintenca time window (page 3
Timing in the wizard).
Once that is set it is DB2 that will decide wether or not the table needs to
be roerg'ed. If yes, then it will check the time. If time is in the online
window defined then the online reorg will happen. If time is out the window
then no online reorg happens.
That's why you don't choose the online option for reorg; it is because DB2
decides ( Ig guess it runs a reorgchk under the covers) wether the table
needs to be and if in the window it will reorg it online.
That's the way it was explained to me and I may need to be corrected, but it
still makes sense to me!!!
HTH, Pierre.
--
Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515
"Larry" <la***@nospam.net> a écrit dans le message de news:
bJ******************@fe10.lga...
Andy,
When I open my CC and then right-click on a table, I select "Reorganize"
and I see a popup that gives me the choice between online and offline. It
also has a tab that allows me to schedule the REORG. Granted I am on
windows, but it should be the same.
8.1.0.80 would appear to be fp8. Where are you using the db2cc from? Are
you sure that your db2cc is at V8? If it is, I'm not sure I have an
answer.
Larry Edelstein
an***********@ecngroup.co.nz wrote: Larry,
The db2 gui seems to not do any configuration except when to do it and
to what tables. It allows backup and runstats to be online but reorg
only online. I am making tasks to do all the tables that I want and
that allows configuration like the cli command
andy