33
© 2016 IBM Corporation Data Server Manager Saghi Amirsoleymani, [email protected] WW Senior Solution Architect Hybrid Platform - IBM Analytics

Data Server Manager for DB2 for z/OS

Embed Size (px)

Citation preview

Page 1: Data Server Manager for DB2 for z/OS

© 2016 IBM Corporation

Data Server Manager

Saghi Amirsoleymani, [email protected]

WW Senior Solution Architect

Hybrid Platform - IBM Analytics

Page 2: Data Server Manager for DB2 for z/OS

© 2015 IBM Corporation2 IBM Confidential – Do not distribute

IBM Data Server Manager 2.1 What new for DB2 for z/OS

Page 3: Data Server Manager for DB2 for z/OS

© IBM 2016 3

What Customers Keep Telling Us

Make it easier to use; provide workflow, diagnostic smarts, actionable recommendations

Too many tools, too many installs, too many repositories

Manage databases across the enterprise

Provide better performance and scalability

Be competitive with other database vendors that provide one stop shop tooling

Page 4: Data Server Manager for DB2 for z/OS

© IBM 2016 4

IBM Data Server Manager

Deliver a

Simplified User

Experience

Common integrated

web consoleDeliver familiar

capabilities

from the

Database Tools• Single installer and integrated repository

• Provides enterprise view of your environment

• Guided workflow and analysis

• Database Administration, Query Tuning and Configuration Management as extensible services

7

Page 5: Data Server Manager for DB2 for z/OS

© IBM 2016 5

Modernize Query Tuning / Increase IDAA value

– Improve performance of applications leveraging DB2z

– Simplified, modern look and feel to database query tuning and

also carried through in the DB2z Performance Pack

– Get more value out of your IDAA investments through

evaluating IDAA eligible workloads

– New features such as index impact analysis

Easy Database Administration

• Quick and simple way to navigate database objects, view

data and edit, write SQL and get results back

Simplify Best Practices Configuration

• Easier to manage database clients connecting to DB2 for

z/OS systems, and manage what they are doing

• Increase value of the DB2z Administration Pack

Integrated Tool for DB2 for z/OS -Management Console and DSM Integration

• Common strategy for DB2 for z/OS customers who want

simple access - one tool - to manage the health of the

enterprise in a modernized fashion via web browser

Introducing Data Server Manager Supporting DB2 for z/OS

Page 6: Data Server Manager for DB2 for z/OS

© IBM 2016 6

Data Server Manger – Where DBAs Spend Time

Administration

– helps you manage, and maintain complex database environments for increased productivity and optimized use of system resources

Performance Tuning

– helps you develop and implement a performance strategy including providing expert recommendations to improve query workload performance

Identifying Environment changes

– offers centralized management of database and client configuration

Troubleshooting

– capture production application workloads then compare capture and enforce configuration settings

Page 7: Data Server Manager for DB2 for z/OS

© IBM 2016 7

DB2 Configuration Manager for z/OS V5.1 (inside DB2 Admin Soln Pack

only )

DB2 Query Workload Tuner for z/OS V5.1 (standalone, DB2 Perf Soln

Pack)

Features of the Data Server Manager Based Tools At A

Glance

Data Server Manager Base

• Connect to DB2 for z/OS V10 and V11. • Database object navigation, viewing

object detail, and linking to related objects.

• Database object dependency display. • Data browsing and editing. • Basic database object operations, such

as creation of tables, indexes, constraints, and tablespaces; dropping of tables, indexes and constraints; altering tables.

• Showing system privilege from the perspective of Group/User, Role, or SQL object. Choose:-"Group/User" to see the role and the relative object privilege for a user account; - "Role" to see the role a user account belongs to and its relative object privilege;- "SQL object" to see a specific object and users or roles that have the relative authority.

• Single Query Tuning • Statistics Advisor• Query Environment Capture • Access Path Graph

• Launching of visual explain and tune query on the SQL editor

• A new tuning wizard to capture SQL statements from multiple sources

• Several Tuning advisors provide recommendations for:

• Statistics Advisor• Index Advisor• IDAA Advisor

• Understand problem query or workload • Access plan graph• Query formatting and annotation• Tuning Report• Test Candidate Index• Access Plan Comparison• Index Impact Analysis• Query and Workload

Environment Capture

• Track Configuration Changes• Configure zParm• Compare and Clone Configurations• Manage Application Profile• Manage alias• Manage clients

DB2 Utility Solution Pack V2.2

• Customizable profiles for identifying object situations and generating resolving JCL (reorg, copy, runstats, etc)

• Automatic prioritization of object situations and their resolving actions

• Ability to define maintenance windows for enabling active autonomics, allowing DB2 to self manage utility runs

• Notification support (email, text, WTO) on selected autonomic events

• Graphical trend analysis of historical RTS• Capture of utility history, recording utility

output, time, duration, etc.

NO CHARGE

http://ibm.biz/IWANTDSM

Page 8: Data Server Manager for DB2 for z/OS

© IBM 2016 8

Where do I start ?...... Data Server Manager

http://ibm.biz/IWANTDSM

Page 9: Data Server Manager for DB2 for z/OS

© IBM 2016 9

Simple 3-step setup

http://ibm.biz/IWANTDSM

Page 10: Data Server Manager for DB2 for z/OS

© IBM 2016 10

Manage Databases Using the Database Explorer

Explore the catalog

Explore database

object properties

Manage database objects

http://ibm.biz/IWANTDSM

Page 11: Data Server Manager for DB2 for z/OS

© IBM 2016 11

Develop and Run SQL Scripts

Validate SQL

• Customize and filter

result output

• Save execution results

• Manage scripts

• Explain SQL

• Tune SQL

http://ibm.biz/IWANTDSM

Page 12: Data Server Manager for DB2 for z/OS

© IBM 2016 12

Create and schedule jobs

Schedule a Create Table job from Explore

Databases

Scheduled

commands from

Explore Databases

Alternatively, create a script and schedule

the job

http://ibm.biz/IWANTDSM

Page 13: Data Server Manager for DB2 for z/OS

© IBM 2016 13

DB2 Utilities Solution Pack 2.2

“More integration,

greater value”

Automate Data Collection Utility

History

Symptoms/actions on subsystem and object dashboards

View upcoming

autonomic maintenance

windows

with scheduled actions

Components:

DB2 Automation Tool

DB2 High Performance

Unload for z/OS

DB2 Sort for z/OS

DB2 Utilities Enhancement Tool

Autonomics support

Data Server M anager

Optimize, control

manage & automate

DB2 Utilities

Solution

http://ibm.biz/IWANTDSM

Page 14: Data Server Manager for DB2 for z/OS

© IBM 2016 14

What to do next …. Performance Tuning Using Data Server Manager : Query Workload Tuner 5.1

http://ibm.biz/IWANTDSM

Page 15: Data Server Manager for DB2 for z/OS

© IBM 2016 1515

DB2 Query Workload Tuner

Meet SLAsIncrease

Performance

Lower

Infrastructure

Costs

Minimize slowdowns which impact End User Productivity

Avoid Problems with proactive query tuning

Improved HW and DB Utilization & Cost Savings

Database Administrators do more with Less

Faster Time to Problem Resolution

Lower

Operational

Costs

Page 16: Data Server Manager for DB2 for z/OS

© IBM 2016 1616 July 19, 2016

What’s New for DSM V2.1 for DB2 for z/OS

• Query Tuning Enhancements

– As a DBA I have opened up a pmr with support and want to send in diagnostics –use collector tool to send diagnostics to IBM support team

– DBA could not connect to the internet so give ability to download diagnostic files locally

– A DBA or Application Developer wants to get a single query target tuning job from a Workload Statements View

– As a DBA want to use the CAPTURE statement to check the statement’s catalog package for information such as COLLID, NAME, VERSION, statement runtime information to refine workload, View Runtime Access Plan Graph, View Bind Time Access Plan Graph

– No charge Single Query Tuning now available

Page 17: Data Server Manager for DB2 for z/OS

© IBM 2016 17

Identify query candidates from

numerous sources

– DB2 catalog

– Dynamic statement cache

– User defined repository

Facilitate analysis

– Query formatting

– Query annotation

– Access path visualization and

annotation

Get expert tuning advice

– Improve statistics quality

– Improve database design

– Improve accelerated queries

Expert-Enabled Query Tuning Out of the Box

http://ibm.biz/IWANTDSM

Page 18: Data Server Manager for DB2 for z/OS

© IBM 2016 18

Execute Advisors

• Statistics

– Get recommendations on the best statistics to capture to influence access path selection

• Index

– Get recommendations on indexes changes that can reduce database scans

• Analytics Accelerator

– Get recommendations on optimizing and managing accelerated analytic queries and applications

http://ibm.biz/IWANTDSM

Page 19: Data Server Manager for DB2 for z/OS

© IBM 2016 19

Improve Statistics Quality and Collection

• Results

• Accurate estimated costs

• Better query performance

• Less CPU consumption

• Improved maintenance window throughput

Provides advice on

– Missing statistics– Conflicting statistics– Out-of-date

statistics

“80 % of access path PMRs could be resolved by statistics advisor before calling IBM support.” – IBM Support

Generates

RUNSTATS control

statements

Conflicting

statistics explanation

Page 20: Data Server Manager for DB2 for z/OS

© 2016 IBM Corporation

Analytics

Analyze Access Plans

New Recommendation Integration

Visualize access path – See flow of query

processing– See indexes and

operations– See optimizer

rationale

Assess access path stability to reduce risk of performance regression– Is the optimizer able to

apply the filtering early?

– Are there indexes that support an efficient path?

– Do statistics allow distinction between the choices?

http://ibm.biz/IWANTDSM

Page 21: Data Server Manager for DB2 for z/OS

© IBM 2016 21

Indexing Advice to Improve Query Efficiency

• Improve query efficiency

• Indexing foreign keys in queries that do not have indexes defined

• Identifying index filtering and screening

• Support for index only access

• Indexing to avoid sorts

• Simplify use

• Consolidate indexes and provide a single recommendation

• Enables what-if analysis

• Provides DDL to create indexes

• Run immediately or save

• Test before deployment

• Utilize virtual index capabilities built into the DB2 engine

Estimated

performance improvement

Page 22: Data Server Manager for DB2 for z/OS

© 2016 IBM Corporation

Analytics

Indexing Advice to Improve Database Design Workload Index Impact Analysis

QWT 5.1 only

http://ibm.biz/IWANTDSM

Page 23: Data Server Manager for DB2 for z/OS

© IBM 2016 23

Optimizing the Selection, Tuning and Access Plan Analysis

of Accelerated Workloads

Workload Analytics Accelerator

Advisor • Identify candidate queries and tables to be routed to the

accelerator

• Identify candidate tables to be routed to the accelerator

• Implement advisor-based tuning recommendations for

mixed

workloads of accelerated and un-accelerated queries

• Diagram accelerated queries in Access Plan Graphs

• Integrates with Query Monitor and OMPE for capturing

query workloads for complete analysis

• Enable “what if” analysis

Benefits• Shorten the process of selecting tables to be

accelerated

• Visualize access paths of accelerated queries

• Increase productivity by working with accelerated

queries through a unified interface

Increase overall system capacity

Page 24: Data Server Manager for DB2 for z/OS

© IBM 2016 24

Prevent Problems Before They Impact the Business

• Optimize beyond the prior level of

service.

• Determine whether the later

version of the collection has

degraded performance.

• Determine whether any packages

have errors.

• Identify which packages have SQL

statements that have degraded

performance

• Available Actions

• Apply filters and review

Comparison result

• Review comparison result

• Generate HTML comparison

report

• Generate new query workload for

tuning & perform analysis

• Enhancements

• Compare two different workloads

• Utilize runtime metrics

• Access plan lockdown for SQL

statementshttp://ibm.biz/IWANTDSM

Workload Access Plan comparison

Page 25: Data Server Manager for DB2 for z/OS

© IBM 2016 25

Integration Speeds Resolution Times

Solve problems closing the loop on problem

determination

DB2 SQL Performance Analyzer DB2 Query Monitor

DB2 Query W orkload Tuner

/Data Server Manager

OMPE and Extended Insight

Page 26: Data Server Manager for DB2 for z/OS

© IBM 2016 26

Exploring Clients and Servers, identifying changes , and Controlling

DB2 applications Data Sever Manager DB2 Configuration

Manager 4.1

Page 27: Data Server Manager for DB2 for z/OS

© IBM 2016 27

IBM Data Server Manager Configuration Management

• Get insights into IT deployments

• Identify servers, clients and their properties and

relationships

• Reduce outages by remotely controlling the behavior of

database applications

• Enforce database connection properties from a central

location

• Redirect database access to another database

• Monitor client and server configuration changes

• Track data server and client changes

http://ibm.biz/IWANTDSM

Page 28: Data Server Manager for DB2 for z/OS

© IBM 2016 28

IBM Data Server Manager - High Level Focus

Data Server Manager

Applications

Common DriverSimpler Development

Certify once

Common management

Single install

Data Server ManagerFlexible deployment

Enterprise management

Common administration

Guided workflows

Data Server Driver

“BigSQL”

Hadoop Environment

dashDB

Managed Public

Cloud Service

DB2 vNext

On-premises

Software

DB2 on Cloud

Iaas/Paas

DB2

BLU Helix

“dashDB Local”

Private Cloud /

Software-defined

Page 29: Data Server Manager for DB2 for z/OS

© IBM 2016 29

How to get Data Server Manager ?

• Data Server Manager Base Edition - No Charge ! http://ibm.biz/IWANTDSM

• QWT 5.1 is a standalone product– Local Proof of Technologies available

• QWT 5.1 is part of the z Performance Solution Pack– Integrated with Performance tools

• CMz 4.1 is part of the z Admin Solution Pack & DB2 Connect Unlimited Advanced

– Integrated with z Admin Tool– Best value for our customers

• DSM is part of the z Utilities Solution Pack 2.2

• Ask about our for help from the Lab with initial up&running

Page 30: Data Server Manager for DB2 for z/OS

© IBM 2016 30

Data Server Manager comes to z/OS

Page 31: Data Server Manager for DB2 for z/OS

© IBM 2016 31

THANK YOU

Page 32: Data Server Manager for DB2 for z/OS

© IBM 2016 32

Data Studio vs Data Server Manager DB2 for z/OS

Feature

Data Studio DSM (Feb 2016) 1.1.2.1 DSM ( June 2016) 2.1

Local Help content Yes Yes Yes

Database catalog filter Yes Yes Yes

Database overview diagrams Yes No No

Integrated Query Editor (SQL and

XQuery) with query formatting Yes Yes Yes

SQL Builder Yes Partially

Routine test configuration Yes No No

Database configuration check for

routine development Yes No No

Stored procedure editor and debuggerYes No debugger, only SQL PL No debugger, only SQL PL

User-defined function editor and

debugger Yes No debugger, only SQL PL No debugger, only SQL PL

XML editor, schema editor, and

annotated XSD mapping editor Yes No No

Data Web Services development and

deployment Yes No No

SQL outline view Yes No No

Statistics Advisor Yes No Yes

Query Environment Capture Yes No Yes

Access Path Graph Yes No Yes

Page 33: Data Server Manager for DB2 for z/OS

© IBM 2016 33

Resources And Contacts

• IBM Data Server Manager product page on ibm.com

• Short URL: http://bit.ly/ibmdsm

http://www.ibm.com/software/products/en/ibm-data-server-manager

• IBM Data Server Manager community on DeveloperWorks

• http://ibm.biz/dataservermanager

• IBM Data Server Manager support page

• http://www.ibm.com/support/entry/portal/Software/Information_Management/IBM

_Data_Server_Manager

• DSM Videos

• https://www.youtube.com/watch?v=zn9V84MUQcQ&feature=player_embedded&

list=PLKMYHhPjiLICUVSwrlzVzfNuunJlpQpjo

• Contacts

• Anson Kokkat, Product Manager, [email protected]

• Saghi Amirsoleymani, Technical Enablement, [email protected]