(Ep. 20) - Db2 REORG

preview_player
Показать описание
The Db2 REORG is a fundamental command and a best practice for regular maintenance. On smaller tables, the process can be quick and painless, but what about large tables, or tables that require 24x7 access? Then things get a little tricky.

In this episode we will discuss why you would call a reorg, the different kinds of reorgs, benefits and drawbacks, syntax, and monitoring the process.

Timestamps:
00:58 - Why are REORGs needed?
01:28 - Repercussions of not doing a regular REORG
02:26 - Advantages/Disadvantages of Offline Reorg
03:47 - Phases of an Offline Reorg
05:51 - Advantage/Disadvantage of Online Reorg
07:53 - Phases of an Online Reorg
09:38 - Command Syntax
- Minor Syntax Correction:
REORG TABLE TABLENAME [PAUSE | STOP]
11:00 - Monitoring Reorg Progress
13:56 - Aborted Reorg Recovery

Useful Links:
Рекомендации по теме
Комментарии
Автор

Thank you... it was a very well explained video...
After Online reorg do we need to run reorg index command every-time... ?**

yashtiwari
Автор

Hello Sir,
Very usefull information about reorg.

I have one question : During offline reorg system get down or get crashed what happen will we able to access table ? Or we have to restore from tempspace1 (mostly this will not happend but senario asking in interview question)

shubhamshahane
Автор

Hey Nice explanatory video on reorg, i had one doubt, what if i accidentally perform an offline reorg in Prod environment during working hours, and what if i abort it in between without waiting for it to complete... Will database crash in such scenario?? if yes how do i get back the database running in Prod.

monishpatil
Автор

Many thanks! Very few channels for DB2 are also in good English)
P.S.
Do you answer questions on the channel?

MrVieV
Автор

Good info.Please clarify me at what phase we can interrupt online/offline reorg without impacting to table and db

hanurao
Автор

Good Explanation .. Thank you very much ..

kalpanamanoj
Автор

Awesome content... good explanation... recommended for professionals

myunderstanding