ADM535 DB2 LUW Administration for SAP. COURSE OUTLINE Course Version: Course Duration: 3 Day(s)
SAP Copyrights and Trademarks 2017 SAP SE or an SAP affiliate company. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company. SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate company) in Germany and other countries. Please see http://global12.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices. Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors. National product specifications may vary. These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP SE or its affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP SE or SAP affiliate company products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or release any functionality mentioned therein. This document, or any related presentation, and SAP SE s or its affiliated companies strategy and possible future developments, products, and/or platform directions and functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, which speak only as of their dates, and they should not be relied upon in making purchasing decisions. Copyright. All rights reserved. iii
Typographic Conventions American English is the standard used in this handbook. The following typographic conventions are also used. This information is displayed in the instructor s presentation Demonstration Procedure Warning or Caution Hint Related or Additional Information Facilitated Discussion User interface control Example text Window title Example text iv Copyright. All rights reserved.
Contents vii Course Overview 1 Unit 1: Basics 1 Lesson: DB2 Products and Versions 1 Lesson: DB2 Essentials 1 Lesson: DB2 Connect and Security 1 Lesson: DB2 EDUs, Starting and Stopping 1 Lesson: DB2 Configuration 1 Lesson: DB2 Memory Management 3 Unit 2: Storage Management 3 Lesson: Fundamentals 3 Lesson: Tablespace Types and Techniques 3 Lesson: SAP Tablespace Pools 3 Lesson: Excursus - Legacy DMS Tablespaces 3 Lesson: Storage Layout Hints 5 Unit 3: Table and Index Maintenance 5 Lesson: Quality of Data Storage - REORGCHK 5 Lesson: Table and Index Reorganization 5 Lesson: Statistics Collection - RUNSTATS 5 Lesson: Data and Index Compression 5 Lesson: Further Techniques 7 Unit 4: Log File Management 7 Lesson: Log File Fundamentals 7 Lesson: Logging Mechanism 7 Lesson: Logging Information 7 Lesson: Log File Handling 9 Unit 5: Database Backups 9 Lesson: Reasons for Backups 9 Lesson: Backup Architecture 9 Lesson: Backup Types 9 Lesson: Backup Tools 9 Lesson: Backup Monitoring 9 Lesson: Backup Validation 10 Lesson: Advanced Backup Technologies 10 Lesson: Backup Strategy Copyright. All rights reserved. v
11 Unit 6: Recovery 11 Lesson: Recovery - Necessity to be Prepared 11 Lesson: Recovery Techniques 11 Lesson: Recovery - Additional Information 13 Unit 7: Performance Monitoring and Tuning 13 Lesson: Performance Monitoring 13 Lesson: Memory 13 Lesson: Cost-Based Optimizer 13 Lesson: Statement Tuning 13 Lesson: Monitoring and Tuning Tools 15 Unit 8: Problem Analysis 15 Lesson: Problem Reporting 15 Lesson: Problem Analysis Approach and Tools 15 Lesson: Sources of Information 17 Unit 9: Infrastructure Options 17 Lesson: DB2 BLU Acceleration 17 Lesson: Database Partitioning Feature (DPF) 17 Lesson: Excursus - Multi-Dimensional Clustering (MDC) 17 Lesson: HADR and Tivoli System Automation 17 Lesson: DB2 purescale Cluster Solution vi Copyright. All rights reserved.
Course Overview TARGET AUDIENCE This course is intended for the following audiences: Database Administrator System Administrator Technology Consultant Copyright. All rights reserved. vii
viii Copyright. All rights reserved.
UNIT 1 Basics Lesson 1: DB2 Products and Versions Understand relationships and apply knowledge about important definitions in DB2 Lesson 2: DB2 Essentials Describe the DB2 processes and threads, directories and naming conventions Lesson 3: DB2 Connect and Security Describe the user and security management Lesson 4: DB2 EDUs, Starting and Stopping Set and monitor the DB2 environment Lesson 5: DB2 Configuration Describe DB2 configuration Lesson 6: DB2 Memory Management Copyright. All rights reserved. 1
Unit 1: Basics Understand the DB2 memory management 2 Copyright. All rights reserved.
UNIT 2 Storage Management Lesson 1: Fundamentals Describe the DB2 storage concepts Lesson 2: Tablespace Types and Techniques Explain the different levels of DB2 space management Lesson 3: SAP Tablespace Pools Explain the SAP Tablespace Pools Lesson 4: Excursus - Legacy DMS Tablespaces Describe the legacy DMS tablespaces Lesson 5: Storage Layout Hints Choose the appropriate storage layout Copyright. All rights reserved. 3
Unit 2: Storage Management 4 Copyright. All rights reserved.
UNIT 3 Table and Index Maintenance Lesson 1: Quality of Data Storage - REORGCHK Describe the quality of data storage Lesson 2: Table and Index Reorganization Decide the best reorganization strategy Lesson 3: Statistics Collection - RUNSTATS Setup statistics collection in production systems Lesson 4: Data and Index Compression Describe and use the data compression features Lesson 5: Further Techniques Understand advanced techniques of storing table and index data Copyright. All rights reserved. 5
Unit 3: Table and Index Maintenance 6 Copyright. All rights reserved.
UNIT 4 Log File Management Lesson 1: Log File Fundamentals Explain the contents of the transaction log file Lesson 2: Logging Mechanism Understand the DB2 log file management Lesson 3: Logging Information Explain and use the DB2 logging tools Lesson 4: Log File Handling Explain log file handling Copyright. All rights reserved. 7
Unit 4: Log File Management 8 Copyright. All rights reserved.
UNIT 5 Database Backups Lesson 1: Reasons for Backups Explain reasons of data separation and redundancy Lesson 2: Backup Architecture Describe the backup process model Lesson 3: Backup Types Explain the various backup types Lesson 4: Backup Tools Explain the backup tools and execute simple backups Lesson 5: Backup Monitoring Describe backup monitoring Lesson 6: Backup Validation Copyright. All rights reserved. 9
Unit 5: Database Backups Find and evaluate the backup information Lesson 7: Advanced Backup Technologies Implement and execute advanced backup technologies Lesson 8: Backup Strategy Implement an appropriate backup strategy 10 Copyright. All rights reserved.
UNIT 6 Recovery Lesson 1: Recovery - Necessity to be Prepared Understand the need to prevent data loss and to prepare for disaster recovery Lesson 2: Recovery Techniques Explain the recovery techniques and execute database restore and rollforward recovery Lesson 3: Recovery - Additional Information Apply knowledge about special recovery techniques Copyright. All rights reserved. 11
Unit 6: Recovery 12 Copyright. All rights reserved.
UNIT 7 Performance Monitoring and Tuning Lesson 1: Performance Monitoring Assess key performance indicators Lesson 2: Memory Understand the memory settings that influence the performance of statement execution Lesson 3: Cost-Based Optimizer Describe the operational model of the DB2 cost-based optimizer Lesson 4: Statement Tuning Reorganize poorly qualified and unnecessary SQL statements Lesson 5: Monitoring and Tuning Tools Choose and use performance monitoring tools Copyright. All rights reserved. 13
Unit 7: Performance Monitoring and Tuning 14 Copyright. All rights reserved.
UNIT 8 Problem Analysis Lesson 1: Problem Reporting Understand the support and maintenance processes for DB2 database servers and collect support data Lesson 2: Problem Analysis Approach and Tools Apply basic problem analysis knowledge and understand how to use the DB2 diagnostic tools Lesson 3: Sources of Information Describe the sources of DB2-related information Copyright. All rights reserved. 15
Unit 8: Problem Analysis 16 Copyright. All rights reserved.
UNIT 9 Infrastructure Options Lesson 1: DB2 BLU Acceleration Understand the techniques and benefits of DB2 BLU acceleration Lesson 2: Database Partitioning Feature (DPF) Understand the DB2 database partitioning features Lesson 3: Excursus - Multi-Dimensional Clustering (MDC) Understand DB2 Multi-Dimensional Clustering Lesson 4: HADR and Tivoli System Automation Describe HADR and Tivoli system automation Lesson 5: DB2 purescale Cluster Solution Describe DB2 purescale Cluster Solution Copyright. All rights reserved. 17