Empowering DBA's with IBM Data Studio - MWDUG Studio for the DBA.pdfEmpowering DBA's with IBM Data...

29
Empowering DBA's with IBM Data Studio Deb Jenson, Data Studio Product Manager, [email protected]

Transcript of Empowering DBA's with IBM Data Studio - MWDUG Studio for the DBA.pdfEmpowering DBA's with IBM Data...

Empowering DBA's with IBM Data StudioDeb Jenson, Data Studio Product Manager, [email protected]

1

© Copyright IBM Corporation [current year]. All rights reserved.U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

THE INFORMATION CONTAINED IN THIS PRESENTATION IS PROVIDED FOR INFORMATIONAL PURPOSES ONLY. WHILE EFFORTS WERE MADE TO VERIFY THE COMPLETENESS AND ACCURACY OF THE INFORMATION CONTAINED IN THIS PRESENTATION, IT IS PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. IN ADDITION, THIS INFORMATION IS BASED ON IBM’S CURRENT PRODUCT PLANS AND STRATEGY, WHICH ARE SUBJECT TO CHANGE BY IBM WITHOUT NOTICE. IBM SHALL NOT BE RESPONSIBLE FOR ANY DAMAGES ARISING OUT OF THE USE OF, OR OTHERWISE RELATED TO, THIS PRESENTATION OR ANY OTHER DOCUMENTATION. NOTHING CONTAINED IN THIS PRESENTATION IS INTENDED TO, NOR SHALL HAVE THE EFFECT OF, CREATING ANY WARRANTIES OR REPRESENTATIONS FROM IBM (OR ITS SUPPLIERS OR LICENSORS), OR ALTERING THE TERMS AND CONDITIONS OF ANY AGREEMENT OR LICENSE GOVERNING THE USE OF IBM PRODUCTS AND/OR SOFTWARE.

IBM, the IBM logo, ibm.com, DB2, Informix, IDS, Data Studio are trademarks or registered trademarks of International Business Machines Corporation in the United States, other countries, or both. If these and other IBM trademarked terms are marked on their first occurrence in this information with a trademark symbol (® or ™), these symbols indicate U.S. registered or common law trademarks owned by IBM at the time this information was published. Such trademarks may also be registered or common law trademarks in other countries. A current list of IBM trademarks is available on the Web at “Copyright and trademark information” at www.ibm.com/legal/copytrade.shtml

Other company, product, or service names may be trademarks or service marks of others.

Disclaimer

2

Integrated Data Management Core Values

Providing end-to-end data lifecycle managementFacilitating cross-organizational collaboration for business alignmentFlexibility to provide the ease of use small businesses require with the scalability to manage the large enterprises

An integrated, modular, data management environment

3

Core Users of the IBM Data Studio

4

The Problem Today

DB2 DB2 for for

LUWLUW

MicrosoftMicrosoft WebWeb EclipseEclipse JavaJava Command Command LineLine

ManageManage GovernGovern

Change Manager ExpertDeveloper WorkbenchRational Data Architect

DeployDeployDevelopDevelopDesignDesign

Table Editor

Web Query Tool

Migration Tool Kit

Control Center

Control Center

Control Center

Test Database Generator

Developer WorkbenchData Quant

Developer Workbench

Developer Workbench

Control Center

DWE Studio & Admin

Performance Expert

Recovery Expert

Change Manager Expert

Data Archive Expert

Test Database Generator

High Performance Unload

DS Admin Console DSAC

Encryption Expert

DB Security Analyst

Test Database Generator

Data Archive Expert

Audit Mgmt Expert

IDSIDSDB2 DB2 for for

i5/OSi5/OS

Visual Studio .Net Plug-in

UserInterfaces

DB2 DB2 for for

z/OSz/OSNonNon--IBMIBM

Tools

5

Toolset Q&AI need to create a logical data model– You need to use Rational Data Architect

I need to build and debug a SQL stored procedure– You need to use Developer Workbench

I need to create a table for DB2 for LUW– You need to use Control Center

I need to execute some commands on DB2 for z/OS– You need to use Command Editor

I need to catalog my DB2 data servers– You need to use Configuration Assistant

I need to change a few configuration parameters– You need to use Control Center

I need to check the health of my DB2 for LUW data server– You need to use Health Center or Performance Expert

I need to administer my DB2 for LUW Replication configurations– You need to use Replication Center

6

Why IBM Data Studio?

Increases productivity -- throughout data life cycle– Integrated data management environment for every role – Promote collaboration between Developers and DBAs to optimize

performance – Accelerate development cycle– Quickly identify, analyze and resolve performance problems

Shortens the learning curve– Learn once, use with all your IBM data servers (DB2 and IDS)– Easy-to-use and intuitive user interface– Compatible with Rational Software Development Platform

7

Data Studio Packaging

ER DiagrammingData Distribution Viewer

XML EditorXML Schema EditorData Web Services

Object ManagementSecurity Access Control

Data AdministrationUtility Management

SQL Routine DebuggerJava Routine Debugger

Project ManagementIntegrated Query Editor

SQL Builder Visual Explain

Rational Data Architect Data Studio Developer

• Generate a data access layer using Java objects• Reduce code to write and maintain to lower complexity and cost • Provide a seamless Eclipse-based SQL/Java experience

Data Studio pureQuery Data Studio Administrator

• Manages changes while preserving data, privileges, all dependencies, and application binding• Migrates objects and dependent objects• Compares objects and builds deployment script based on the changes

• Create logical and physical data models • Discover the structure of data sources • Discover or identify relationships between data sources • Compare and synchronize two data sources

• Limit user access by granting users execute privileges on the queries• Choose between dynamic or static execution at deployment time • Capture additional workload information to aid forecasting accuracy

Optimization Expert

• Proactive notification• Expert analysis• Reporting• Performance WH• Identifies potential bottlenecks• Starter set of system tuning tips • Buffer pool analysis• SQL activity tracing• Multi-partition monitoring

Performance Expert

• Proactive notification• Expert analysis• Reporting• Performance WH• Identifies potential bottlenecks• Starter set of system tuning tips • Buffer pool analysis• SQL activity tracing• Multi-partition monitoring

Health Monitoring

Data Studio Base

Design Develop Manage Optimize

High Performance Unload

8

Developer Workbench Data Studio

SQL Query EditorSQLJ EditorSQL BuilderXQuery BuilderSQL Routine DebuggerJava Routine DebuggerXML EditorXML Schema EditorData ManagementVisual ExplainProject Management

Integrated Query Editor – SQL + XQuerySQLJ EditorSQL BuilderXQuery BuilderSQL Routine DebuggerJava Routine DebuggerXML EditorXML Schema EditorData ManagementVisual ExplainProject Management

ER DiagrammingData Distribution ViewerObject ManagementPrivilege ManagementBrowse & Update StatisticsSecurity Access ControlConnection Management integration with Kerberos and LDAPData Web ServicesIDS Server SupportHealth Monitoring DB2 for LUW 9.5 and DB2 z/OS v9Instance and database commandsUtility supportData management supportView and force applications

Data Studio is a full replacement of Data Studio is a full replacement of DB2 Developer WorkbenchDB2 Developer Workbench

plus much moreplus much more•• DB2 for Linux, Unix, Windows v8.x, v9.1.x, v9.5DB2 for Linux, Unix, Windows v8.x, v9.1.x, v9.5•• DB2 for z/OS v7, v8, v9DB2 for z/OS v7, v8, v9•• DB2 for i5/OS v5r2, v5r3, v5r4DB2 for i5/OS v5r2, v5r3, v5r4•• Informix Dynamic Server (IDS) v9.x, v10.x, v11Informix Dynamic Server (IDS) v9.x, v10.x, v11

DB2 Developer Workbench vs. Data Studio

Data Studio v2.1

9

Users of the IBM Data Studio

10

Top Tasks of a DBADesign of New or Changing Existing Applications– Create and change objects– Building test databases– Privilege granting– Design for performance– Building SQL or stored procedures

Maintaining Production Applications– Backup/Recovery– Reorganization– Runstats– Managing Growth

Ensuring High Performance and Availability– Monitoring– Tuning bottlenecks

• Tuning System• Tuning SQL• Tuning Wait Events

11

Data Studio pureQuery Runtime

A high-performance Java data access platform -- improves security and manageability of Java application connections to databases.

Data Studio DeveloperAn Integrated Development Environment

for creating and testing database and pureQuery applications

Data Studio AdministratorIncrease productivity and reduce application

outages by automating and simplifying complex DB2 structural changes.

Data Studio Offerings

IBM Integrated Data Management SoftwareManaging the value of your data throughout its lifetime

Rational Data ArchitectEnterprise data modeling and integration

design tool.

DB2 Performance ExpertReduce downtime and quickly

resolve performance issues with this comprehensive DB2 monitor.

* Not yet integrated into Data Studio

High Performance UnloadUnloads data quickly and easily to help meet service

level agreements and application upgrade requirements. * Not yet integrated into Data Studio

DB2 Optimization ExpertDetect and tune poorly written SQL

proactively before the business is affected.

* Not yet integrated into Data Studio

12

Data Studio Administration – Base Functions

DDL– Create, Alter, Drop– Generate DDL

Utilities– Backup– Recover, Restore– Rollforward– Runstats– Reorg– Rollforward

Common Commands– Quiesce, Unquiesce– Start, Stop

DML– Privilege granting and

revokingData– Edit– Extract– Export, Import, Load

SQL– Build with assistance– Stored procedure

builder and debugger– Visual Explain

13

IBM Data Studio AdministratorManages changes while:– Preserving data– Privileges– Dependent objects– Application binding

Synchronizes, copies, clones, or merges database schema definitions from the source to the target – Change in place and

object migrationDocuments changes for collaboration and audit

Integrates with Rational V7 software for easy collaboration

14

Data Studio Administration - Diagram

15

Data Studio Administration - Migrate

16

Data Studio Administration - Data

17

Data Studio Administration - Utilities

18

Data Studio Administration - Privileges

19

Data Studio Administrator - Compare

20

Data Studio Administration – SQL Assist

21

Data Studio Administration – SQL

Visually build SQL queriesAnalyze query results and access plans (DB2)Improve query accuracy with integrated parsers for DB2 and IDSStore and retrieve queries on demand to foster team collaboration

22

Data Studio Administration - Data

Graphically view the distribution of data

Build queries, stored procedures and applications with improved knowledge of existing data

23

Top Tasks of a DBADesign of New or Changing Existing Applications

Create and change objectsDeploying new or altered objects to productionBuilding test databasesPrivilege grantingBuilding SQL or stored procedures

– Design for performanceMaintaining Production Applications

Backup/RecoveryReorganizationRunstats

Ensuring High Performance and Availability– Monitoring– Tuning bottlenecks

• Tuning System• Tuning SQL• Tuning Wait Events

24

Access Plan Graph

Type of scan

25

Top Tasks of a DBADesign of New or Changing Existing Applications

Create and change objectsDeploying new or altered objects to productionBuilding test databasesPrivilege grantingBuilding SQL or stored proceduresDesign for performance

Maintaining Production ApplicationsBackup/RecoveryReorganizationRunstats

Ensuring High Performance and Availability– Monitoring– Tuning bottlenecks

• Tuning SystemTuning SQL

• Tuning Wait Events

26

Data Studio – Health Monitoring

27

Top Tasks of a DBADesign of New or Changing Existing Applications

Create and change objectsDeploying new or altered objects to productionBuilding test databasesPrivilege grantingBuilding SQL or stored proceduresDesign for performance

Maintaining Production ApplicationsBackup/RecoveryReorganizationRunstats

Ensuring High Performance and AvailabilityMonitoringTuning bottlenecks

Tuning SystemTuning SQLTuning Wait Events

28

Click to edit Master title style

for more info visit: www.ibm.com/software/data/studio