(Ep. 21) - Db2 REDUCE MAX Command

  Рет қаралды 2,030

DISCOVER.DB2

DISCOVER.DB2

Күн бұрын

You have run a REORG on a few of your tables and your data is in a nice contiguous order. What do you do with all the empty data extents? Release them to the operating system so your capacity needs drop of course. Everyone loves seeing your data filesystem drop ftom 70% full to 45% full.
Today we will discuss tablespace watermarks, how Db2 views what space is needed where, and the REDUCE command.
Timestamps:
01:25 - What is a High Watermark
04:31 - Viewing Tablespace Details
05:51 - db2dart (Detail High Water Mark)
08:15 - db2dart (Lower High Watermark)
09:20 - Releasing PENDING free pages
10:34 - REDUCE MAX Command
12:32 - Monitoring Extent Movement
14:22 - REORG vs Export/Import
Download (EXT_STATUS.sql):
github.com/MKrafick/DiscoverDB2
Useful Links:
(KC) Reclaiming unused storage in AST - tinyurl.com/y92wkdta
(KC) Reclaimable Storage (*Good article on Watermarks) - tinyurl.com/ycndehoc
(Blog w/ SQL) Monitoring Extent Movement Progress - tinyurl.com/ybwcpa2n

Пікірлер: 3
@rscarawa
@rscarawa 6 жыл бұрын
Is there any performance advantage to leaving the open space in place? Will inserts run faster if you leave the HWM alone?
@sanjaysinghbora7923
@sanjaysinghbora7923 6 жыл бұрын
Isnt db2dart an offline command
@DISCOVERDB2
@DISCOVERDB2 6 жыл бұрын
Not necessarily. They highly recommend it because it can lead to false data. It can also be intrusive. But I have run it online before. In some cases like index corruption repair you would definitely want it offline.
(Ep. 28) - Four Types of Database Bottlenecks
19:19
DISCOVER.DB2
Рет қаралды 1,2 М.
(Ep. 20) - Db2 REORG
15:32
DISCOVER.DB2
Рет қаралды 6 М.
Inside Out 2: Who is the strongest? Joy vs Envy vs Anger #shorts #animation
00:22
НЫСАНА КОНЦЕРТ 2024
2:26:34
Нысана театры
Рет қаралды 1,4 МЛН
(Ep. 25) - Writing a Dockerfile for Db2 (Part I)
14:19
DISCOVER.DB2
Рет қаралды 1,2 М.
(Ep. 22) - DB2LOOK
8:35
DISCOVER.DB2
Рет қаралды 1,1 М.
(Ep. 11) - Exploring the Db2 Error Log
16:05
DISCOVER.DB2
Рет қаралды 2,3 М.
Table High Water Mark
12:18
DbVidya
Рет қаралды 3,6 М.
Master Databricks and Apache Spark Step by Step: Lesson 1 - Introduction
32:23
Get Data Into Databricks - Simple ETL Pipeline
10:05
Databricks
Рет қаралды 71 М.
HADR setup in DB2 LUW
57:59
Ravi Nandigam
Рет қаралды 14 М.
Elon Musk update on 2nd human who got Neuralink implant
9:12
Lex Clips
Рет қаралды 10 М.
Tips n Tricks Part 166 How to Reduce / Lower High Water Mark ?
14:35
(Ep. 18) - Db2 Performance Tuning With IREF
10:52
DISCOVER.DB2
Рет қаралды 770
Samsung laughing on iPhone #techbyakram
0:12
Tech by Akram
Рет қаралды 6 МЛН
iPhone 15 Pro в реальной жизни
24:07
HUDAKOV
Рет қаралды 484 М.
$1 vs $100,000 Slow Motion Camera!
0:44
Hafu Go
Рет қаралды 28 МЛН
Better Than Smart Phones☠️🤯 | #trollface
0:11
Not Sanu Moments
Рет қаралды 16 МЛН