(Ep. 20) - Db2 REORG

  Рет қаралды 6,106

DISCOVER.DB2

DISCOVER.DB2

Күн бұрын

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:
(KC) Compare/Contrast Types of Reorg - tinyurl.com/yadaoeue
(KC) Phases of Offline Reorg - tinyurl.com/ya9o8jyc
(KC) Phases of Online Reorg - tinyurl.com/yanpxn6s
(Technote) Aborted Reorg Recovery - tinyurl.com/y9pr7gjc
(Blog) Best Practices for Reorg/Runstats - tinyurl.com/ycnbvf5z

Пікірлер: 16
@Affflex
@Affflex 8 ай бұрын
Very clear explanation. Thank you!
@sssdf816
@sssdf816 11 ай бұрын
AWESOME !
@i.f.7788
@i.f.7788 5 жыл бұрын
Really good explanation! Thank you!
@myunderstanding9904
@myunderstanding9904 5 жыл бұрын
Awesome content... good explanation... recommended for professionals
@kalpanamanoj8495
@kalpanamanoj8495 3 жыл бұрын
Good Explanation .. Thank you very much ..
@CHANDANDCMS
@CHANDANDCMS 4 жыл бұрын
Thank you So much .
@hanurao8078
@hanurao8078 4 жыл бұрын
Good info.Please clarify me at what phase we can interrupt online/offline reorg without impacting to table and db
@MrVieV
@MrVieV 5 жыл бұрын
Many thanks! Very few channels for DB2 are also in good English) P.S. Do you answer questions on the channel?
@DISCOVERDB2
@DISCOVERDB2 5 жыл бұрын
I always try to answer comments, feel free to ask away.
@monishpatil3420
@monishpatil3420 4 жыл бұрын
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.
@shubhamshahane6532
@shubhamshahane6532 2 жыл бұрын
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)
@yashtiwari4348
@yashtiwari4348 5 жыл бұрын
Thank you... it was a very well explained video... After Online reorg do we need to run reorg index command every-time... ?**
@DISCOVERDB2
@DISCOVERDB2 5 жыл бұрын
Not necessarily, many people lean on REORGCHK to tell them when to reorganize what tables or indexes (a script could be written to interpret the output and automatically kick off a reorg). But if I am manually running a reorg on a specific table I normally do both table and index and follow up with a runstats.
@yashtiwari4348
@yashtiwari4348 5 жыл бұрын
Ohhkay... thank you...
@aravindachalla4398
@aravindachalla4398 5 жыл бұрын
What if offline reorg interrupt ?
@DISCOVERDB2
@DISCOVERDB2 5 жыл бұрын
I’m not sure I understand your question? If the offline reorg was interrupted and stopped abnormally, you can just issue the same reorg command again and it should start over from the beginning.
(Ep. 21) - Db2 REDUCE MAX Command
16:34
DISCOVER.DB2
Рет қаралды 2 М.
5. DB2 Tutorial: Reorg Tables
9:02
Braham Creation 2 go
Рет қаралды 342
I Can't Believe We Did This...
00:38
Stokes Twins
Рет қаралды 93 МЛН
Самое Романтичное Видео ❤️
00:16
Глеб Рандалайнен
Рет қаралды 6 МЛН
DO YOU HAVE FRIENDS LIKE THIS?
00:17
dednahype
Рет қаралды 90 МЛН
DB2 SQL Tuning Tips for Developers
55:04
Themis Education
Рет қаралды 9 М.
Best Practices for Optimizing DB2 Performance
57:42
Datavail
Рет қаралды 14 М.
(Ep. 11) - Exploring the Db2 Error Log
16:05
DISCOVER.DB2
Рет қаралды 2,3 М.
(Ep. 14) - DB2 Database Locking Concepts
6:57
DISCOVER.DB2
Рет қаралды 3,4 М.
⚡️Супер БЫСТРАЯ Зарядка | Проверка
1:00
Как слушать музыку с помощью чека?
0:36
Самый дорогой кабель Apple
0:37
Romancev768
Рет қаралды 332 М.
Hisense Official Flagship Store Hisense is the champion What is going on?
0:11
Special Effects Funny 44
Рет қаралды 2,9 МЛН