Вы находитесь на странице: 1из 19

IBM Analytics

June 2017
Gustavo Lozano
gustavof@br.ibm.com

DB2 12 Utilities / DB2 Tools

© 2017 IBM Corporation


IBM Analytics

Disclaimer

IBM’s statements regarding its plans, directions, and intent are subject to change or withdrawal without
notice at IBM’s sole discretion. Information regarding potential future products is intended to outline
our general product direction and it should not be relied on in making a purchasing decision. The
information mentioned regarding potential future products is not a commitment, promise, or legal
obligation to deliver any material, code or functionality. Information about potential future products may
not be incorporated into any contract. The development, release, and timing of any future features or
functionality described for our products remains at our sole discretion.

2 © 2017 IBM Corporation


IBM Analytics

Agenda

REORG
Load & Unload
Backup & Recovery
Statistics
Recent Development
Summary

3 © 2017 IBM Corporation


IBM Analytics

REORG

Improved partition-level REORG for PBG tablespaces


– Allow overflow of PBG partitions during part-level REORG
– Avoid REORG failures due to inability to fit data back into original part(s)
– Create new PBG partition(s) as necessary
– Remove zparm REORG_IGNORE_FREESPACE (V11)
New DROP_PART option to delete empty PBG partitions
– Overrides REORG_DROP_PBG_PARTS zparm
– MAXPARTITIONS > 1
Support new COMPRESSRATIO SYSTABLEPART column

4 © 2017 IBM Corporation


IBM Analytics

REORG

zIIP offload for REORG RELOAD phase


– 20% GP CPU reduction
– Up to 57% offload to zIIP for REORG
Mapping table format changed in V12 to support 7 byte RIDs
CREATE TABLE mapping_table
(TYPE CHAR(1) NOT NULL,
ORID CHAR(7) NOT NULL,
NRID CHAR(11) NOT NULL,
LRSN CHAR(10) NOT NULL)

Permit REORG against RO pagesets

5 © 2017 IBM Corporation


IBM Analytics

LOAD & UNLOAD

LOAD PART REPLACE skip NPI scan if PBR partition is empty


– 99% CPU & 98% ET reduction

LOAD SHRLEVEL CHANGE PARALLEL support for PBGs


– Extend support delivered in V11 to cover PBGs including support for partition
growth
– 76% ET reduction, some CPU increase due mainly to insert contention
zIIP offload for LOAD utility reload process
– Up to 75% offload to zIIP
LOAD utility now maintains MAXASSIGNEDVAL for identity columns and
sequences
– For user-supplied values, will now maintain MAXASSIGNEDVAL
– LOAD REPLACE will not reset MAXASSIGNEDVAL to avoid errors after PIT
recovery

6 © 2017 IBM Corporation


IBM Analytics

LOAD & UNLOAD

LOAD REPLACE support for COMPRESSRATIO SYSTABLEPART


column
New IGNORE option for LOAD to ignore records excluded by WHEN
clause
– Do not treat as discarded
UNLOAD privilege
– Controlled by AUTH_COMPATIBILITY zparm
• Default (null) is to enforce when new function is activated
• SELECT_FOR_UNLOAD checks if user has SELECT privilege
• New IFCID 404 can be run to identify UNLOADs where SELECT privilege is used

7 © 2017 IBM Corporation


IBM Analytics

Backup & Recovery

New COPY_FASTREPLICATION zparm


– Default remains PREFERRED, but allows REQUIRED
&ICTYPE to reflect actual imagecopy type for COPY CHANGELIMIT
– Previously had type C rather than I or F
MODIFY RECOVERY DELETEDS option to physically delete datasets
MODIFY RECOVERY NOCOPYPEND option
– Avoid leaving objects in copy-pending
– Particularly useful for SLB environments

8 © 2017 IBM Corporation


IBM Analytics

RUNSTATS

Inline stats support for LOAD PARALLEL


LISTDEF performance improvements
– Avoid processing index multiple times for a list of parts
COLGROUP performance improvement
– Gather stats from index if matches COLGROUP columns
– 25% CPU reduction, 15% ET reduction
COUNT value now automatically determined by RUNSTATS for
FREQVAL

9 © 2017 IBM Corporation


IBM Analytics

Recent News

LOAD utility IGNORE(WHEN) option


– Ignore records that do not satisfy WHEN clause instead of treating them like
discarded records
– PI44415 & PI44465
LOAD CONSTANT support
– Override data in SYSREC, or supply values for fields not in SYSREC
– PI08421

+-CONSTANT(----+--’string’-----------+-)---------------------
+--X’hex-string’------+
+--integer------------+
+--CURRENT DATE-------+
+--CURRENT TIME-------+
+--CURRENT TIMESTAMP--+
+--NULL---------------+

10 © 2017 IBM Corporation


IBM Analytics

Recent News

LOAD support for new DATE, TIME, TIMESTAMP formats


– PI69064

DATE_A mm-dd-yyyy TIME_A hh.mm.ss TIMESTAMP_A yyyy-mm-dd-hh.mm.ss


DATE_B mm-dd-yy TIME_B hh.mm TIMESTAMP_B yyyy-mm-dd-hh.mm.ss.nnnnnn
DATE_C yyyy-mm-dd TIME_C hh.mm AM or TIMESTAMP_C yyyymmddhhmmss
DATE_D yy-mm-dd hh.mm PM TIMESTAMP_D yymmddhhmmss
DATE_E dd-mm-yyyy TIME_D hhmmss TIMESTAMP_E yyyymmddhhmmssnnnnnn
DATE_F dd-mm-yy TIME_E hhmm TIMESTAMP_F yymmddhhmmssnnnnnn
DATE_G yyyy-ddd
DATE_H yy-ddd
DATE_I mmddyyyy
DATE_J mmddyy
DATE_K yyyymmdd
DATE_L yymmdd
DATE_M ddmmyyyy
DATE_N ddmmyy
DATE_O yyyyddd
DATE_P yyddd

11 © 2017 IBM Corporation


IBM Analytics

IBM DB2 Tools enable customers to be successful with DB2

Unparalleled investment in a full range of products to administer, monitor & tune


DB2 systems
– Utilities Management
– Database Administration
– Performance Management
– Recovery Management
Continuously improving and expanding Tools portfolio
– Extend the capability of DB2 Systems
– Day 1 support of new DB2 features
– Increase technology lead to ensure maximum efficiency to reduce cost &
improve availability
• Extend zIIP, FlashCopy, IDAA exploitation
– Make DB2 systems self-managing
• Extend autonomics
• Enhance usability
– Enable and support provisioning

12 © 2017 IBM Corporation


IBM Analytics

DB2 Tools
DB2 Management Solution Pack:
– DB2 Administration Solution Pack
• DB2 Change Management Solution Pack
DB2 Administration Tool
DB2 Object Comparison Tool
DB2 Table Editor
• DB2 Configuration Manager
• DB2 Cloning Tool
– DB2 Performance Solution Pack
• SQL Performance Solution Pack
DB2 Query Monitor
DB2 SQL Performance Analyzer
DB2 Query Workload Tuner
• OmegaMon XE for DB2 Performance Expert
– DB2 Utitlities Solution Pack
• DB2 Extended Utilities Suite
DB2 Sort
DB2 High Performance Unload (HPU)
DB2 Utilities Enhancement Tool
• DB2 Backup and Recovery Solution Pack
DB2 Automation Tool
DB2 Recovery Expert
IBM DB2 Analytics Accelerator (IDAA)
IBM DB2 Analytics Accelerator Loader (IDAA Loader)
DB2 Query Management Facility (QMF)
13 © 2017 IBM Corporation
IBM Analytics

IBM DB2 Tools Highlights


• Performance improvements (e.g. more zIIP, LOB REORG, faster index
recovery)
• LOAD enhancements (e.g. RESUME BACKOUT, SHRLEVEL
Utilities REFERENCE)
• REORG enhancements (e.g. tiered-storage support)
• Over 30 enhancements delivered in 2016

• Enhancements in change management functionality and usability


features
Admin Tool / Object Compare • Optimizing use of REORG in dealing with the complex ALTERs
• Ability to use authorization
• More support for management of DB2 Analytics Accelerator both in
batch and TSO

• Integration of Key Performance Indicators (KPI) into graphical interface


OMEGAMON XE for DB2 • Integration of OMEGAMON CICS and Query Monitor for enh. 3270
Performance Expert user experience
• Additional support for monitoring DB2 Analytics Accelerator

• Redirected recovery can backup object from source and restore to


different target - NO DOWNTIME IMPACT TO SOURCE
DB2 Recovery Expert • Back out errant transactions to ensure logical errors are removed from
data
• Mass application recovery: prioritize mass recovery based on
application priorities

• Clone table spaces from image copies – NO DOWNTIME!


• Clone subsystem at data set level, reducing the footprint of the clone
DB2 Cloning Tool
• Consistent cloning across z/OS LPARS to clone large applications to a
new LPAR at a consistent point-in-time
14 © 2017 IBM Corporation
IBM Analytics

IBM Data Server Manager comes to DB2 for z/OS

Deliver a Simplified
User Experience
Common integrated
web console
Deliver familiar
capabilities from the
Data Studio
Database Tools

15 © 2017 IBM Corporation


IBM Analytics

Data Server Manager and DB2 administration

Manage database
objects

Explore the catalog

Explore database
object properties

16 © 2017 IBM Corporation


IBM Analytics

Data Server Manager and OmegaMon XE for DB2 PE KPI

Accelerate analysis
and reduce
downtime for urgent
situations

17 © 2017 IBM Corporation


IBM Analytics

IBM Utilities and Tools – The Key to the Future of DB2

IBM utilities and tools are the key to the exploitation of new capability in DB2
Continual focus on comprehensive, efficient management of DB2 environments
New solutions in support of ever-greater demands for simplicity, availability,
efficiency
Unquestionable and unparalleled support of DB2 to meet business needs
Inherently suited to support DB2’s future continuous delivery model
Role of IBM utilities and tools extends far beyond the efficient management of
today’s data and DB2 systems
Ensure the manageability and viability of DB2 systems now and into the future

18 © 2017 IBM Corporation


IBM Analytics

19 © 2017 IBM Corporation

Вам также может понравиться