Manuals
/
IBM
/
Computer Equipment
/
Server
IBM
5655-DB2, 5695-DF1 manual Xiv Storage Management with DB2 for OS/390
Models:
5695-DF1
5655-DB2
1
16
274
274
Download
274 pages
18.18 Kb
13
14
15
16
17
18
19
20
<
>
Data Placement
Base Configuration
Tuning Write Frequency
Two-Phase Commit Log Writes
Backup
DB2 Recovery Data Sets
How to
ACS Testing Results
1 3380 and 3390 Volumes
Service Level Agreement
Page 16
Image 16
xiv
Storage Management with DB2 for OS/390
Page 15
Page 17
Page 16
Image 16
Page 15
Page 17
Contents
Storage Management with DB2 for OS/390
Page
Storage Management with DB2 for OS/390
September
Take Note
Contents
Iv Storage Management with DB2 for OS/390
Page
Storage Class Management Class Storage Group Summary
Page
Viii Storage Management with DB2 for OS/390
List of Abbreviations Index Itso Redbook Evaluation
Storage Management with DB2 for OS/390
Figures
Xii Storage Management with DB2 for OS/390
Xiii
Xiv Storage Management with DB2 for OS/390
Tables
Xvi Storage Management with DB2 for OS/390
Preface
Team That Wrote This Redbook
Xviii Storage Management with DB2 for OS/390
Comments Welcome
IBM UK
Your comments are important to us
Xix
Xx Storage Management with DB2 for OS/390
Part 1. Introduction and Summary
Storage Management with DB2 for OS/390
Introduction
Storage Management with DB2 for OS/390
DB2 and Storage Management
Summary of Considerations
Benefits of Dfsms
Data Placement
DB2 and Storage Servers
Managing DB2 Data Sets with Dfsms
Examples for Managing DB2 Data Sets with Dfsms
Ramac Architecture
Log Structured File
SMS Storage Groups
Performance Management
Part 2. DB2 and System Managed Storage
Storage Management with DB2 for OS/390
DB2 Storage Objects
DB2 Overview
DB2 Data Objects
Tablespace Index Indexspace Database Stogroup
Tablespace
Creating Table Spaces and Index Spaces
Index
1 DB2 Defined and Managed
User Defined and Managed
DB2 Catalog and Directory
DB2 System Table Spaces
Work Database
DSNDB01.SYSLGRNX
DB2 Recovery Data Sets
Bootstrap Data Sets
DB2 Application Table Spaces
Dsntipn
Active Logs
Impact of Log Size on Backup and Recovery Strategy
Sizing Active Logs
DB2 LOG Active LOG Archive + Active LOG
Archive Logs
Image Copies
Image Copy Availability
Image Copy Options
Application Read Processing
Application Write Processing
Image Copy Failures During Recovery
Deleting Image Copies and Archive Logs
Other DB2 Data Sets
DB2 Data Sets Naming Conventions
Other Copies
1 DB2 Library Data Sets
Bsds Names
Table Space and Index Space Names
Active Log Names
Archive Log and Bsds Backup Names
Image Copy Names
Background
System Managed Storage Concepts and Components
Evolution
DFSMS/MVS Components
DFSMSdfp
Ismf for the End User
Ismf Primary Option Menu DFSMS/MVS
DFSMSdss
Ismf for the Storage Administrator
Functionality
Filtering
DFSMShsm
Converting Data to SMS
DFSMShsm Environment
Space Management
Availability Management
DFSMSrmm
DFSMSopt
Benefits
SMF Records
System Managed Storage Concepts and Components
Storage Management with DB2 for OS/390
Base Configuration
Storage Management with Dfsms
Introduction
Source Control Data Set
Automatic Class Selection Routines
Class and Storage Group Definitions
Communications Data Set
Define Classes and Storage Groups
ACS Routine Process
Data Class
SMS Classes
Description
Storage Class
Planning for Implementation
Storage Class Attributes
Management Class
Management Class Attributes
Storage Group
Planning for Implementation
Mapping Devices to Storage Groups for Performance
Naming Standards
Examples
Using Ismf to Display SMS Constructs
Managing DB2 Databases with SMS
SMS Examples for DB2 Databases
SMS Data Class
Scdbmed
SMS Storage Class
Data Class Application Selection
SMS Management Class
MCDB22
SGDB20
SGDB21
SGDB22
Sgdbtest
Sgdbxxxx
6 DB2 STOGROUPs and SMS Storage Groups
Pool Storage Group Alter
Assigning SMS Classes to DB2 Table Spaces and Index Spaces
Pool
High Level Qualifier Filter
Database Name Filter
Table Space Name Filter
High Level Qualifier Codes
Table Space Name Codes
SET &STOGROUP EQ SGDB2GRA
SET &STOGROUP EQ SGDB2GRB
SET &STOGROUP EQ SGDB2GRC
Managing Partitioned Table Spaces with SMS
Table Space and Index Space Names for SMS
Let SMS Manage Everything
Use One SMS Storage Group for Each Partition
User Databases
Use One SMS Storage Group for One Partitioned Table Space
Online Production Databases
Batch Production Databases
Data Warehouse Databases
Storage Classes
Summary
Development and Test Databases
Scdbmed Scdbtest Scdbfast
DB2 System Databases
Catalog and Directory Databases
Directory Good Very High
Storage Management with DB2 for OS/390
Managing DB2 Recovery Data Sets with SMS
SMS Examples for DB2 Recovery Data Sets
Mcdbicd
Mcdbicw
Mcdbicm
MCDBLV2
Sgdbich
Sgdbic
Sgdbarch
Sgdbactl
Assigning SMS Classes to DB2 Recovery Data Sets
SGDB2PLG
Bsds
Data Organization
Performance
Availability
Backup
Active Logs
ACS Example
Migration
Archive Logs
Example Vsam Definition of One Active Log
Dsntipa
Allocation Units === CYL
Primary Quantity ===
Secondary QTY
Image Copies
Scdbic Scdbich
Summary
Sgdbic Sgdbich Sgdbarch
Storage Management with DB2 for OS/390
Converting DB2 to Systems Managed Storage
Overview
Advantages of SMS Managing DB2 Data
Dfsms FIT
SMS Management Goals
Positioning for Implementation
Prerequisite Planning
Conversion Process
Service Level Agreement
Sequence
Converted with Movement
Methodology
Converted in Place
SMS Implementation
NaviQuest
Post Implementation
Storage Management with DB2 for OS/390
Part 3. DB2 and Storage Servers
Storage Management with DB2 for OS/390
1 3380 and 3390 Volumes
Disk Environment Overview
Evolution of Disk Architecture
Arrays
Log Structured File and SnapShot
Timed evolutionary view of the data
Ships LOG
Virtual Volumes
FTT TNT
Disk Control Units
Storage Server
Storage Devices
Cache Management
Logical Control Unit
Track Caching
Read Record Caching
Write Record Caching Quickwrite
Sequential Caching
No Caching-Bypass Cache
No Caching-Inhibit Cache Load
Capabilities
Paths and Bandwidth Evolution
Dual Copy
Schema of a Backup with Concurrent Copy
Concurrent Copy
Virtual Concurrent Copy
Remote Copy
Pprc
Profile of a Pprc Write
Need for Time-Consistency
Geographically Dispersed Parallel Sysplex
Implementation
Processing
Extended Remote Copy
Compression
XRC Data Flow
Sequential Data Striping
Storage Management with DB2 for OS/390
Avoiding I/O Operations
DB2 I/O Operations
103
Normal Read
Data Read Operations
Sequential Prefetch
List Prefetch
Dynamic Prefetch
Prefetch Quantity
Data Management Threshold
Sequential Prefetch Threshold
Data Write Operations
Asynchronous Writes
Tuning Write Frequency
Synchronous Writes
Immediate Write Threshold
Write Quantity
Buffer Updates Synchronous Write Synchronous Read
TOT4K Total Bpool HIT Ratio % Getpages
SEQ. Prefetch Reqs
List Prefetch Reqs DYN. Prefetch Reqs
Buffer Updates
BP4
Commit
Getpage Request
No Wait Force
Log Writes
Physical Writes
Two-Phase Commit Log Writes
Writing to Two Logs
Nowait Force
Async Sync
Avoid Device Contention
Improving Log Write Performance
LOG Output Buffer Size
Devices for Log Data Sets
Log Reads
Preformat New Active Log Data Sets
Avoid Device Contention
Improving Log Read Performance
Active Log Size
Log Input Buffer
Active Log Size
Archive to Disk and Tape
Log Sizing Parameters
Calculating Average Log Record Size
Bsds Access Requests
LOG Activity
Minute Thread Commit
WRITE-NOWAIT
11.1 DB2 PM Overview
O Performance and Monitoring Tools
119
Accounting I/O Information
11.1.1.1 I/O Operations
Statistics I/O Information
11.1.1.2 I/O Suspensions
Data I/O Operations
121
PREF.DISABLED-NO Buffer
Log Activity
BP4 Read Operations
Minute Thread Commit Bpool HIT Ratio %
Performance I/O Information and I/O Activity
123
Minute Thread
WRITE-NOWAIT Write Output LOG Buffers
RMF Monitoring
Buffer Pool Totals AET Total I/O Requests
Total Read I/O Requests
Total Write Requests Synchronous Writes
RMF Report Analysis
Cache Subsystem Activity Reports
Reports Cache Subsys
125
Cache Subsystem Status
Cache Subsystem Overview
127
C H E S U B S Y S T E M a C T I V I T Y
Cache Subsystem Device Overview
Direct Access Device Activity Report
Reports Device Dasd
129
R E C T a C C E S S D E V I C E a C T I V I T Y
AVG Conn Time * Device Activity RATE/1000*100
Queuing Activity Report
Reports IOQ
Channel Path Activity Repor t
131
Using RMF Reports
Resource Level Analysis
RMF Reporting at Storage Group Level
Device Activity Rate 1,042.261 AVG Conn Time
Tools Providing More In-Depth Analysis than RMF
Spreadsheet Tools for RMF Analyzis
Global View of a DB2 I/O by DB2 PM and RMF
Disk Storage Server
Ixfp Monitoring
135
Device Performance Reports
Cache Effectiveness Report
137
Space Utilization Report
IBM Itso Pokeepsie
139
2B00
Storage Management with DB2 for OS/390
12.1 DB2 Case Study Analysis
Case Study
General Analysis
SQL DML Total Select Insert Update Delete
DB2 Class
CPU Time
TCB
Time Not Accounted
Data Access
BP0
BP2
BP4
Suspend Times
Synchronous I/O
12.1.3.3 I/O Rate
Asynchronous Read I/O
Programs Parallelism
Storage Server Analysis
Conclusions
RMF Views
Summary of I/O operations
Reduction
Device Activity Report Analysis
12.2.1.2 I/O Queuing Activity Report Analysis
Channel Path Activity Report Analysis
E U I N G
Case Study RMF Cache Subsystem Activity Extracts
Ixfp View
Device Performance Overall Summary
Cache effectiveness Overall Summary
Space Utilization Summary
Case Study Summary
28.1
DB2 PM I/O Summary
Cache Activity
2715 216
Disk
Storage Management with DB2 for OS/390
Part 4. Appendixes
159
Storage Management with DB2 for OS/390
Appendix A. Test Cases for DB2 Table Space Data Sets
Test Environment
CU0 CU1 CU2 CU3
161
Create Stogroup SGRV1CU0 Volumes RV1CU0 Vcat DB2V610Z
Partitioned Table Space, DB2 Defined, Without SMS
Create Eight STOGROUPs
Create the Database
Display a Volume
Create the Table Space
VOLUMESRV2CU1
Partitioned Table Space, User Defined, Without SMS
Define Cluster for 16 Partitions
SHAREOPTIONS3 Data
DB2 Table Spaces Using SMS, Existing Names
DB2V610Z.DSNDBD.BPAOLOR1.PART2.I0001.A005
DB2V610Z.DSNDBD.BPAOLOR1.PART2.I0001.A013
SYS1.VTOCIX.RV2CU1
Scdbtest Scdbfast Scdbmed Scdbcrit
Storage Class Define
SMS.SCDS1.SCDS
Storage Class for Test DB2 Tablespaces
Management Class
Test Case 3 Storage Class Routine Extract
Conditional
Management Class Define
Management Class Filtlist Definitions Filtlist MCDB20
Pool Storage Group Define
Storage Group
Sgdbtest
Storage Group Volume Selection
SMS
ACS Testing Results
Ismf Test Cases
Create Stogroup SGRV1CU0 Volumes Vcat DB2D
Updating the Active Configuration
6 DB2 Definitions
Data Set Allocation Results
DB2 Table Spaces Using SMS, Coded Names
Scdbtest Scdbmed Scdbfast Scdbcrit
MCDB0 MCDB1 MCDB2
Storage Class
Storage Groups
Filtlist MCDB21 INCLUDEDB2P.DSNDB%.*.M1
Filtlist MCDB22 INCLUDEDB2D.DSNDB%.*.T2
4 DB2 Definitions
Partitioned Table Space Using SMS Distribution
UCAT.VSBOX09 History Smsdata
Define Volumes to SMS Storage Group
3 DB2 Definitions
Part 2 Using Stogroup SGRV1CU0
Part 8 Using Stogroup SGRV1CU0
DB2D.DSNDBD.BPAOLOR1.PART1.I0001.A005
DB2D.DSNDBD.BPAOLOR1.PART1.I0001.A003
Partitioned Table Spaces Using SMS, User Distribution
Line Volume Free Alloc Frag
Create Storage Groups
DB2D.DSNDBC.BPAOLOR1.PART1.I0001.A001
Line Storgrp VIO Auto Migrate System
Storage Group List
Name Type Maxsize Unit Migrate Or SYS Group
Test Case 6 Storage Group ACS Routine Extract
Create Tablespace Beta BPAOLOR1
Data SET List
Line Alloc
Operator Data SET Name Space Used Serial
Appendix B. Test Cases for DB2 Recovery Data Sets
Bsds and Active Logs
SMS Storage Class
185
SMS Management Class
Storage Class Name Scdbactl
If &DSN EQ &ACTLOG Then do SET &MGMTCLAS = Mcdbactl Exit END
Select When &STORCLAS = Scdbactl
SET &STORGRP = Sgdbactl When &STORCLAS = Scdbactl
Storage Group
SET &STORGRP = SGDB2PLG END
Index NAMEDB2P.BSDS01.INDEX RECORDS5
Idcams Definition Extract for Bsds
Idcams System Services
Define Cluster Name DB2P.LOGCOPY1.DS01 VOLUMESRV1CU1 Reuse
DB2P.BSDS01
DB2P.BSDS01.INDEX
DB2P.LOGCOPY1.DS01
DB2P.LOGCOPY1.DS01.DATA
DB2P.LOGCOPY1.DS02
DB2P.LOGCOPY1.DS02.DATA
Filtlist Dbarch
Select When &DSN = &DBSYS
SET &STORCLAS = Scdbarch Otherwise SET &STORCLAS = END
DSNJ003I =DB2P DSNJOFF3 Full Archive LOG Volume
SET &STORGRP = Sgdbactl
SET &STORGRP = Sgdbarch END
=DB2P Archive LOG Modequiesce
MCDBLV2
Filtlist Ichigh
Filtlist Icstd
Filtlist ICW
Filtlist ICD
Filtlist ICM
SET &STORGRP = Sgdbich END
Storage Group Routine Extract Incorporating Image Copies
IGD101I SMS Allocated to Ddname Syscopy
Dsntrace DD SYSOUT= SYSCOPY1 DD
VOL SER NOS= RV2CU0
Scdbich
Storage Management with DB2 for OS/390
Appendix C. DB2 PM Accounting Trace Report
201
DB2 Version
DB2 PM Accounting Trace Report
Storage Management with DB2 for OS/390
Appendix D. DB2 PM Statistics Report
205
Location
DB2 PM Statistics Report
Group Boag Statistics Report Long
Plan Allocation Attempts Display Utility
TERMINATED-NO Storage Auth SUCC-PLAN-W/O Catalog
Quantity Minute Thread
Location USIBMT6BOAPLX DB2 Performance Monitor Group Boag
General Quantity Minute Thread
Pages Written PER Write I/O
General Quantity Minute Thread Commit BP2 Read Operations
Storage Management with DB2 for OS/390
BP4 Read Operations Quantity Minute
60274.00 1776.11 30.1K
BP5 Read Operations Quantity Minute
46.00 23.00
106.55
60274.00 1776.11 30.1K
Appendix E. Disk Storage Server Reports
223
U I N G T I V I T Y
Disk Storage Server Reports
C H E B S Y S T E M T I V I T Y
C H E B S Y S T E M
30.3
CU-ID 2BC0 Ssid 008B
Rate Count
26.8
38.6
CU-ID 2CC0 Ssid 200A
System
R E C T C E S S V I C E T I V I T Y
Ixfp Extract Reports
Cache Effectiveness Overall Summary
Space Utilization Summary Report
Appendix F. Special Notices
239
IBM DB2 MVS/ESA
Appendix G. Related Publications
International Technical Support Organization Publications
Redbooks on CD-ROMs
241
Other Publications
Web Sites
How to Get Itso Redbooks
243
IBM Redbook Fax Order Form
Please send me the following
List of Abbreviations
245
Redundant array
Index Numerics
247
Dump
249
Scds SDM
Write Threshold
Itso Redbook Evaluation
251
Storage Management with DB2 for OS/390 SG24-5462