IBM DB2 for z/OS - S.K. Consulting · Leverage CST/RSU process: Start with latest RSU + Identified...

24
1 Oktober 2010 DB2 Version 9 - System (DB2_V9_SYSnews.ppt) IBM DB2 for z/OS (*) (*) ist eingetragenes Warenzeichen der IBM International Business Machines Inc.

Transcript of IBM DB2 for z/OS - S.K. Consulting · Leverage CST/RSU process: Start with latest RSU + Identified...

Page 1: IBM DB2 for z/OS - S.K. Consulting · Leverage CST/RSU process: Start with latest RSU + Identified Hipers • Apply 2 to 3 preventative service drops annually • Exploit Enhanced

1Oktober 2010

DB2 Version 9 - System

(DB2_V9_SYSnews.ppt)

IBM DB2 for z/OS

(*)

(*) ist eingetragenes Warenzeichen der IBM International Business Machines Inc.

Page 2: IBM DB2 for z/OS - S.K. Consulting · Leverage CST/RSU process: Start with latest RSU + Identified Hipers • Apply 2 to 3 preventative service drops annually • Exploit Enhanced

2Oktober 2010

DB2 Version 9 DB2 Version 9 (System)(System)

DB2 V9 – SYSTEM CHANGES

Synergie mit System/z

Synergie mit neuer I/O Hardware

Synergie mit neuer CPU Hardware

Spezielle „engines“

Neue Speichereinteilung

„not logged“ Scenarien

WLM Unterstützung

RECOVER von „Volume backups“

DDF Erweiterungen

„autonomic computing“

Sicherheit

DATABASE Roles

Zusammenfassung

Überlegungen und Empfehlungen zur Migration

Page 3: IBM DB2 for z/OS - S.K. Consulting · Leverage CST/RSU process: Start with latest RSU + Identified Hipers • Apply 2 to 3 preventative service drops annually • Exploit Enhanced

3Oktober 2010

DB2 Version 9 DB2 Version 9 (System)(System)

Page 4: IBM DB2 for z/OS - S.K. Consulting · Leverage CST/RSU process: Start with latest RSU + Identified Hipers • Apply 2 to 3 preventative service drops annually • Exploit Enhanced

4Oktober 2010

DB2 Version 9 DB2 Version 9 (System)(System)

Synergy with new I/O hardware

• Data transfer with RAID 5 architecture

A data set is spread across as many as 8 disks enabling faster prestaging

• FICON channels are progressively much faster than ESCON channels

z990 introduced FICON Express 2

z9 introduced FICON

Express 4

• DS8000 introduced faster device

adapters and host adapters

• MIDAW (Modified Indirect

Data Address Word) has

increased the channel efficiency

MIDAW requires z9

(2094) and z/OS1.6

OA10984,

OA13324/13384

• DB2 V9 supports larger pages

for indexes, increases

preformat and prefetch quantity

Page 5: IBM DB2 for z/OS - S.K. Consulting · Leverage CST/RSU process: Start with latest RSU + Identified Hipers • Apply 2 to 3 preventative service drops annually • Exploit Enhanced

5Oktober 2010

DB2 Version 9 DB2 Version 9 (System)(System)

Synergy with new I/O hardware

Page 6: IBM DB2 for z/OS - S.K. Consulting · Leverage CST/RSU process: Start with latest RSU + Identified Hipers • Apply 2 to 3 preventative service drops annually • Exploit Enhanced

6Oktober 2010

DB2 Version 9 DB2 Version 9 (System)(System)

Synergy with new CPU hardware

• In addition to the raw speed improvement per engine, there are more engines (up to 54

for z9) and special performance improvement tied to a given hardware

• z990 (2084)

More than 2 times faster row-level encryption

V9 long displacement instruction hardware support,

simulated by microcode on z900

Most impact on input and output column processing

V9 CPU vs V8 on

z900: +5 to 10%,

more if many

columns

V9 CPU vs V8 on

z990 or later:

0 to -10% for

columnintensive

• z9 (2094) - MIDAW to improve

I/O performance

zIIP to reduce total

cost of ownership

Page 7: IBM DB2 for z/OS - S.K. Consulting · Leverage CST/RSU process: Start with latest RSU + Identified Hipers • Apply 2 to 3 preventative service drops annually • Exploit Enhanced

7Oktober 2010

DB2 Version 9 DB2 Version 9 (System)(System)

Technology Evolution with Mainframe Specialty Engines

Page 8: IBM DB2 for z/OS - S.K. Consulting · Leverage CST/RSU process: Start with latest RSU + Identified Hipers • Apply 2 to 3 preventative service drops annually • Exploit Enhanced

8Oktober 2010

DB2 Version 9 DB2 Version 9 (System)(System)

Die speziellen Prozessoren sind::

• System Assistant Processor (to perform I/O processing)

• Internal Coupling Facility (allowed the backup CF to be an LPAR

on a production processor. Also

with the introduction of CF

duplexing, internal CFs started

to be used on both production

processors)

• zSeries® Integrated Facility for

Linux (dedicated to Linux-only workloads)

• z9 Application Assist Processor (zAAP: for

the IBM Java Virtual Machine on z/OS).

• System z9 Integrated Information

Processor (zIIP).

Page 9: IBM DB2 for z/OS - S.K. Consulting · Leverage CST/RSU process: Start with latest RSU + Identified Hipers • Apply 2 to 3 preventative service drops annually • Exploit Enhanced

9Oktober 2010

DB2 Version 9 DB2 Version 9 (System)(System)

SAP workload and zIIPs

Page 10: IBM DB2 for z/OS - S.K. Consulting · Leverage CST/RSU process: Start with latest RSU + Identified Hipers • Apply 2 to 3 preventative service drops annually • Exploit Enhanced

10Oktober 2010

DB2 Version 9 DB2 Version 9 (System)(System)

A vision for System z advanced data servingSystem z Enterprise Hub for Mission Critical Data

Page 11: IBM DB2 for z/OS - S.K. Consulting · Leverage CST/RSU process: Start with latest RSU + Identified Hipers • Apply 2 to 3 preventative service drops annually • Exploit Enhanced

11Oktober 2010

DB2 Version 9 DB2 Version 9 (System)(System)

„virtual storage

management“

Page 12: IBM DB2 for z/OS - S.K. Consulting · Leverage CST/RSU process: Start with latest RSU + Identified Hipers • Apply 2 to 3 preventative service drops annually • Exploit Enhanced

12Oktober 2010

DB2 Version 9 DB2 Version 9 (System)(System)

„WLM assisted BP Management“

• enable or disable this functionality via a new AUTOSIZE(YES/NO) option of the

ALTER BUFFERPOOL command

• By default, automatic buffer pool adjustment is turned off.

• Only the size attribute of the buffer pool is changed.

• Automatic management of buffer pool storage entails the following:

DB2 registers the BPOOL with WLM.

DB2 provides sizing information to WLM.

DB2 communicates to WLM each time allied agents encounter delays due to read I/O.

DB2 periodically reports BPOOL size and random read hit ratios to WLM.

• If a buffer pool is adjusted, the results will be just as though an ALTER

BUFFERPOOL VPSIZE command had been issued

• DB2 9 for z/OS restricts the total adjustment to +/- 25% the size of the buffer

pool at DB2 startup

• We recommend that you closely monitor your real storage consumption when

turning on WLM assisted buffer pool management for buffer pools defined with

PGFIX(YES)

Page 13: IBM DB2 for z/OS - S.K. Consulting · Leverage CST/RSU process: Start with latest RSU + Identified Hipers • Apply 2 to 3 preventative service drops annually • Exploit Enhanced

13Oktober 2010

DB2 Version 9 DB2 Version 9 (System)(System)

2 Purposes:

1. Reduction of

the amount of

information

written to the

log in situations

where absolute

recoverability of

the data is not

required. A typical

example would be for

large MQTs.

2. Relieve of scalability

issues for those

customers who run

many concurrent/

parallel heavy insert

or update batch

processes. They

will now have the

option to turn off

logging during those

specific batch pro-

cesses

Page 14: IBM DB2 for z/OS - S.K. Consulting · Leverage CST/RSU process: Start with latest RSU + Identified Hipers • Apply 2 to 3 preventative service drops annually • Exploit Enhanced

14Oktober 2010

DB2 Version 9 DB2 Version 9 (System)(System)

LOAD and REORG interaction

Performance objectives

The main performance objective for this enhancement is to maintain current performance

regardless of whether INSERTS are done against a logged or not logged table space.

In some cases, parallel INSERTS to a not logged table space may show significant (greater

than 5%) improvement over a logged table space.

For those cases where parallel INSERTS are done against a not logged table space,

performance is expected to show a greater than 10% improvement.

Page 15: IBM DB2 for z/OS - S.K. Consulting · Leverage CST/RSU process: Start with latest RSU + Identified Hipers • Apply 2 to 3 preventative service drops annually • Exploit Enhanced

15Oktober 2010

DB2 Version 9 DB2 Version 9 (System)(System)

DB2 V9 – WLM Unterstützung

Grösse des Bufferpools

Aktivierung auf einzelnem

Bufferpool

Neue Grösse ist im BSDS

‚vermerkt

DB2 Restart benutzt die letzte

allozierte Grösse

Page 16: IBM DB2 for z/OS - S.K. Consulting · Leverage CST/RSU process: Start with latest RSU + Identified Hipers • Apply 2 to 3 preventative service drops annually • Exploit Enhanced

16Oktober 2010

DB2 Version 9 DB2 Version 9 (System)(System)

DB2 V9 – RECOVER

Neues “keyword” RECOVERBEFORE im RECOVER Utility

Page 17: IBM DB2 for z/OS - S.K. Consulting · Leverage CST/RSU process: Start with latest RSU + Identified Hipers • Apply 2 to 3 preventative service drops annually • Exploit Enhanced

17Oktober 2010

DB2 Version 9 DB2 Version 9 (System)(System)

DB2 V9 – RECOVER

DB2 9 – RECOVER auf PIT

mit Konsistenz

Erweiterung des RECOVER Utility

Entdeckt automatisch uncommitted transactions zu PIT

Änderungen werden zurückgestellt (Rollback)

Dadurch wird Datenkonsistenz hergestellt

Objekte sind konsistent auf Transaktionsebene

QUIESCE Utility soll nicht mehr benötigt werden

RECOVER TORBA und RECOVER TOLOGPOINT

Wird per default mit dieser Technik arbeiten

RECOVER von Volume BACKUPs

basierend auf COPYPOOL

Sicherungen mit SYSTEM

BACKUP

Page 18: IBM DB2 for z/OS - S.K. Consulting · Leverage CST/RSU process: Start with latest RSU + Identified Hipers • Apply 2 to 3 preventative service drops annually • Exploit Enhanced

18Oktober 2010

DB2 Version 9 DB2 Version 9 (System)(System)

DB2 V9 – Sicherheit

Roles

Network Trusted Contexts

Improved auditing

Data Encryption

Secure Socket Layer

DB2 V9 – Database ROLEs

ROLE ist eine “virtuelle authid”

• Zugeordnet via TRUSTED CONTEXT

• Ermöglicht zusätzliche Rechte in einem

“trusted environment”

• Benutzung mit der bestehenden

primary AUTHID

CREATE ROLE PROD_DBA;

GRANT DBADM … TO PROD_DBA;

CREATE TRUSTED CONTEXT DBA1 …

DEFAULT ROLE PROD_DBA OWNER(ROLE);

Page 19: IBM DB2 for z/OS - S.K. Consulting · Leverage CST/RSU process: Start with latest RSU + Identified Hipers • Apply 2 to 3 preventative service drops annually • Exploit Enhanced

19Oktober 2010

DB2 Version 9 DB2 Version 9 (System)(System)

DB2 V9 – DDF Erweiterungen

64 Bit Modus

SHARED PRIVATE Bereich für DBM1 und DDF

Vermeidung von Datenbewegungen zwischen DBM1 und DDF Adressraum bei SQL

Operationen

IPV6 und SSL

VTAM Definition ist nun optional

Vorbereitung zur Elimierung des PRIVATE PROTOCOL

DB2 9 – Autonomic Computing

Bufferpool Management durch WLM

Recovery einzelner Objekte von Plattensicherungen

Änderung des Early Code ohne IPL

BACKUP / RESTORE von Band

RECOVER auf Konsistenz Punkt / MODIFY RECOVERY

Automatische Definition von Datenbank und Tablespace

Automatischer Index Page Split

Schnellerer und automatisierter DB2 Restart

Automatische Suche des passenden Checkpoint

Page 20: IBM DB2 for z/OS - S.K. Consulting · Leverage CST/RSU process: Start with latest RSU + Identified Hipers • Apply 2 to 3 preventative service drops annually • Exploit Enhanced

20Oktober 2010

DB2 Version 9 DB2 Version 9 (System)(System)

DB2 V9 – Synergie mit System z

System z9 Integrated Information Processor (zIIP)

IPv6

SSL

Java

Decimal float

Backup & Restore

Security

Unicode collation

Compression

System z Application Assist Processor (zAAP)

WLM enhanced

Neuer IBM System z9 Integrierter Informations prozessor (zIIP)

Folgende DB2 for z/OS V8 workloads können davon profitieren

(1) ERP, CRM, Business Intelligence oder andere Anwendungen - Via DRDA über eine TCP/IP

Verbindung

(2) Data warehousing Anwendungen - Anforderungen die parallele Queries gebrauchen

(3) DB2 for z/OS V8 utilities - Interne DB2 Utility Funktionen um die Index Strukturen zu bauen

Page 21: IBM DB2 for z/OS - S.K. Consulting · Leverage CST/RSU process: Start with latest RSU + Identified Hipers • Apply 2 to 3 preventative service drops annually • Exploit Enhanced

21Oktober 2010

DB2 Version 9 DB2 Version 9 (System)(System)

DB2 9 – 64Bit Unterstützung

• EDMPOOL

V8 – DBDs über 2GB bar

V9 – SKCT, SKPT über 2GB bar

• Weitere Änderungen

Speicher für DDF Anwendungen

Speicher für dynamische SQL

• Virtueller Speicher ist immer noch ein

wichtiger Punkt für Kunden

Page 22: IBM DB2 for z/OS - S.K. Consulting · Leverage CST/RSU process: Start with latest RSU + Identified Hipers • Apply 2 to 3 preventative service drops annually • Exploit Enhanced

22Oktober 2010

DB2 Version 9 DB2 Version 9 (System)(System)

DB2 V9 – Überlegungen und Empfehlungen zur Migration

Leverage CST/RSU process: Start with latest RSU + Identified Hipers

• Apply 2 to 3 preventative service drops annually

• Exploit Enhanced HOLDDATA to be vigilant on HIPERs and PEs

Man nutze die DB2 9 'Package Stability' Funktion für “static” SQL

• Bietet eine Option zur “Pfaderhaltung”. Kehrt zum vorangegangenen Pfad zurück, falls eine

Änderung eingeführt wird.

Man minimiere potentielle Query Performance Risiken

• Nutzen des Optimization Service Cente r, um die SQL Statements zu kontrollieren

• Nutzen des Stats Advisor, um die Empfehlungen für Statistiken zu realisieren

• Nutzen von RUNSTATS, um sicher zu sein, dass die kritischen Statistiken alle gesammelt sind

Man stelle sicher, dass ein PMR(Problem Management Record) vor der Migration offen ist

Migration ist viel einfacher, als im vorangegangenen Release Version 8

Die einzelnen Phasen des Migrationsprozesses helfen bei Planung und Sicherheit im Prozess

Jede Kundenerfahrung ist anders

“We turned to NFM in a Monday morning, few minutes before

business hours…”

Page 23: IBM DB2 for z/OS - S.K. Consulting · Leverage CST/RSU process: Start with latest RSU + Identified Hipers • Apply 2 to 3 preventative service drops annually • Exploit Enhanced

23Oktober 2010

DB2 Version 9 DB2 Version 9 (System)(System)

DB2 V9 – Überlegungen und Empfehlungen zur Migration

Page 24: IBM DB2 for z/OS - S.K. Consulting · Leverage CST/RSU process: Start with latest RSU + Identified Hipers • Apply 2 to 3 preventative service drops annually • Exploit Enhanced

24Oktober 2010

DB2 Version 9 DB2 Version 9 (System)(System)