Presentation is loading. Please wait.

Presentation is loading. Please wait.

® IBM Software Group © 2012 IBM Corporation OPTIM Data Studio – 3.1.1 Jon Sayles, IBM/Rational November, 2012.

Similar presentations


Presentation on theme: "® IBM Software Group © 2012 IBM Corporation OPTIM Data Studio – 3.1.1 Jon Sayles, IBM/Rational November, 2012."— Presentation transcript:

1 ® IBM Software Group © 2012 IBM Corporation OPTIM Data Studio – 3.1.1 Jon Sayles, IBM/Rational November, 2012

2 2 @ Copyright 2012 - IBM IBM Trademarks and Copyrights  © Copyright IBM Corporation 2007,2008, 2009, 2010, 2011, 2012. All rights reserved.  The information contained in these materials is provided for informational purposes only, and is provided AS IS without warranty of any kind, express or implied. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, these materials. Nothing contained in these materials 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 the applicable license agreement governing the use of IBM software. References in these materials to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates.  This information is based on current IBM product plans and strategy, which are subject to change by IBM without notice. Product release dates and/or capabilities referenced in these materials may change at any time at IBM’s sole discretion based on market opportunities or other factors, and are not intended to be a commitment to future product or feature availability in any way.  IBM, the IBM logo, the on-demand business logo, Rational, the Rational logo, and other IBM Rational products and services are trademarks or registered trademarks of the International Business Machines Corporation, in the United States, other countries or both. Other company, product, or service names may be trademarks or service marks of others.

3 3 @ Copyright 2012 - IBM What is Data Studio 3.1.1? DB2 development software  Free Data Tooling software  Integrates into RDz  Becomes a Perspective + Views in the RDz workbench)  Provides:  Data Analysis Tools  SQL Programming Options  SQL Performance Analysis & Tuning Features  DB2 Table Editing Options  DBA Functionality

4 4 @ Copyright 2012 - IBM Data Analysis Tools  Data Source Explorer – like RDz, but shows additional "physical" DB2 objects  Administrative Explorer – provides filtered lists of DB2 object meta-data. List includes Row Count, Tablespace/Database/Partitioning information, etc.  Context Menu – Overview diagram, access to list of user Privileges, host of DBA tools

5 5 @ Copyright 2012 - IBM Additional Meta-Data  Discover the Database, Table Space and Storage Group for a Table  If authorized you can update Statistics for the Tablespace  Launches a series of DSNU… utilities  The table properties will reflect statistics

6 6 @ Copyright 2012 - IBM Additional Meta-Data – Value Distribution in Table Columns  Same as selecting a column, and asking for: Data > Sample Contents (but a lot nicer visual representation)

7 7 @ Copyright 2012 - IBM SQL Development Tools  Content Assist and Context menu options (like RDz Data tooling)  SPUFI-like run options  Additional SQL functionality for:  Visual Explain  OPTIM SQL Query tuning (requires InfoSphere z/OS components)  SQL Results view – same as RDz Data Perspective tooling  Can contract the tabs for more SQL coding real estate

8 8 @ Copyright 2012 - IBM Context Menu  And SQL Results  Note – additional options available in Data Studio from the Context Menu

9 9 @ Copyright 2012 - IBM Visual Explain  Multiple ways to invoke  Requires DB2 "Plan Tables"  Produces:  Illustration of Optimizer access path  Cost estimate of running query  Print/save graph, or Cost estimate

10 10 @ Copyright 2012 - IBM Visual Explain of Complex SQL Statement  Requires deep (DBA-level) understanding of DB2 access path theory and (current) physical database design

11 11 @ Copyright 2012 - IBM SQL Performance Tuning (SQL Query Advisor)  Requires IBM InfoSphere – installed on z/OS  Multiple steps/stages 1. Code the query  Run 2. Select tuning options 3. Select the tuning (Access Path) ` reports

12 12 @ Copyright 2012 - IBM SQL Performance Tuning – Review the Query Advisor Recommendations 4. Review the various tuning and DB2 utility recommendations

13 13 @ Copyright 2012 - IBM SQL Performance Tuning – Review the Access Plan Graph 6. Visual Explain – but with some additional analysis options (separate Query Block diagrams, etc.)

14 14 @ Copyright 2012 - IBM SQL Performance Tuning – Explore each access plan Query Block 7. Each QB revealed, including: CPU Millisecond, I/O (VSAM & Paging) and Service Unit costs Note – Can save and compare versions of the same SQL for cost analysis

15 15 @ Copyright 2012 - IBM SQL Performance Tuning – Review the Query Tuner Report Details 8. Recommended actions for utilities and Query re-coding

16 16 @ Copyright 2012 - IBM SQL Performance Tuning – Capture the SQL Query – for Re-testing 8. Can select copy and paste the automatically tuned query – for iterative (subsequent) analysis runs

17 17 @ Copyright 2012 - IBM SQL Performance Tuning – Capture the SQL Query – for Re-testing 9 There are a number of DBA-level reports available for study (scroll down for reports)

18 18 @ Copyright 2012 - IBM Table Editing – Options From the Data Source Explorer:  Can edit multiple tables – but no table subsetting  Can also access (run utilities & reports against): Databases/Storage Groups/Tablespaces

19 19 @ Copyright 2012 - IBM Table Editing – Subsetting and other options From the Administration Explorer  Right-click an object type  Use the Database Catalog Filter to expose specific objects for editing (and other) actions

20 20 @ Copyright 2012 - IBM Table Editing - Options Some options same as RDz Data Tools – but others extend the functionality:  Browse rows (in tabular format)  Generate pureQuery Code  Manage DB2 privileges (GRANT/REVOKE)  Alter table  Generates DDL – even for options that require dropping a table  Runs script – or can run as Job

21 21 @ Copyright 2012 - IBM Table Editing – Subsetting Start by editing the table data Select: Filter the data

22 22 @ Copyright 2012 - IBM Table Editing – Subsetting  Select columns to show  Specify Row Selection conditions  Update Rows to Return Click OK

23 23 @ Copyright 2012 - IBM DBA Functionality Execute RUNSTATS against the Tablespace Alter a table  Add a column  Add a Primary or Foreign key  Modify table GRANT (access permissions)

24 24 @ Copyright 2012 - IBM What can you "not" do with OPTIM  Can't edit in hex  Can't copy/paste rows  Doesn't allow multiple table-subsetting "Templates"  All of the above can be done through the IBM PD Tools "File Manager" product


Download ppt "® IBM Software Group © 2012 IBM Corporation OPTIM Data Studio – 3.1.1 Jon Sayles, IBM/Rational November, 2012."

Similar presentations


Ads by Google