Db2 12 Early Experiences. Walter Janißen DB2 Aktuell
|
|
- Beatrix Williams
- 6 years ago
- Views:
Transcription
1 Db2 12 Early Experiences Walter Janißen DB2 Aktuell
2 Agenda 1 Introduction page 3 2 EPICS tested page 9 3 V12-Experiences page 32 4 Post GA Plans and Migration Schedule page 34 5 Conclusion page 35 6 What is still missing page 36 2
3 Introduction ERGO Group Competence and all-round product range insurance provision advice services Our clear brand positioning and broad line-up make us one of the major insurance groups in Germany and Europe Life and property-casualty insurance Specialists for health, legal protection and travel Our brand promise To insure is to understand sets us apart 17 billion premium income 16 billion insurance benefits Direct and online insurance Investments of 127 billion International Operations in over 30 countries focusing on Europe and Asia Excellent ratings for financial strength Part of Munich Re, one of the world s leading reinsurers and risk carriers About 44,000 staff and sales agents ERGO Group wwwergo-groupcom As at 31 Dec
4 Introduction ITERGO ITERGO is the IT provider of the ERGO Insurance Group ITERGO combines insurance expertise with providing and maintaining sophisticated IT solutions for the benefit of its customers ITERGO has very deep project experience ITERGO develops and provides the international IT platform for ERGO s subsidiaries Key Facts Founded in 2000 Headquarter: Düsseldorf, Germany No Employees: ~ 1,400
5 Introduction System Environment Most DB2 systems are 6-way data sharing systems > 99% of data managed by DB2 ; < 1% managed by DL/1 The main business consists of IMS transactions and batch jobs executing static SQL Less than 1% distributed threads 5
6 Introduction DB2 Systems Plex Data- Sharing TX/sec (peak) TX/day (avg) Users signed on Sandbox (3) Test 2-way Developing Developing 6-way - 200,000 ~120 Approval Developing 6-way - 150,000 ~80 Integration Developing 6-way - 40,000 ~50 Special test Developing 6-way Education Developing 4-way - 1,000 ~50 Production Production 6-way M ~5,500 Special Production Production 1-way Data Ware House Production 5-way - - ~50 6
7 Introduction Overview Started the DB2 V12 ESP End of April 2016 We had to wait for the migration of z/os to 21 Project team members Walter Janißen Ulf Brinkmeier Jürgen Ritterbach Thorsten Zurek Ina Fischer IBM Support members Peter Hartmann Christoph Theisen Gareth Jones Whitney Huang Thomas Beavin Motivated by ITERGO requirements implemented in DB2 V12
8 Introduction Preparation Migrate z/os to V22 Clone Education system as our ESP-system Delete all rows in SYSSTATFEEDBACK Run the pre-migration checks Reorg everything which exceeded our thresholds Gather basic statistics for all tablespaces Bind all packages Gather the recommended statistics Bind again every package to get a baseline to compare with Rebind all plans with PROGAUTH(ENABLE) Dump this system
9 EPICs tested DDL SQL Optimizer Utilities Insert Partition Lift Partition Limit Enhanced Trigger Support SQL Pagination Full Merge Piecewise Delete Adaptive Indexes Bubble Up Extend NPGTHRSH to default statistics Maintenance of Profile Tables Prune unused Columns REORG using Inline Stats RUNSTATS using INVALIDATECACHE Prune empty Partitions Modify Recovery with DELETEDS Miscellanious Temporal Logical Transactions Dynamic and static plan stability Fast Insert and Fast Traversal 9
10 EPICs tested (DDL) Insert Partition Current situation with DB2 V11 Several large tablespaces with hundreds of partitions (4 or 8 GB) Rows are inserted only into a few partitions spread over the whole tablespace REORG REBALANCE periodically required
11 EPICs tested (DDL) Insert Partition Prerequisite Tablespace must be UTS V12 Insert Partition where it is required Run REORG Caution: Logical partition numbers have to be translated to physical partition numbers Advantages Necessary REORGs are limited to a minimum of partitions You don t have to take care of adjacent partitions which possibly reach their space limit too If you are able to determine the limit key for the new inserted partition, the procedure of handling partition full conditions is very easy to automate Just add partition and run REORG
12 EPICs tested (DDL) Lift Partition Limit Prerequisite UTS partitioned by range tablespace Classic partitioned tablespace can be altered and alter can still be pending V12 ALTER RELATIVE Online REORG will materialize all pending changes There is no way back to absolute numbering Problems During conversion all IC-datasets are allocated at once Tape-drives are no longer feasible DASD-space can lead to problems (eg running out of volumes) TAPEUNITS are planned as an additional clause similar to the COPY-utility STACK YES is not supported for inline copies This is the show stopper for us But: STACK YES is possible for the COPY-utility
13 EPICs tested (DDL) Enhanced Triggers V11 Triggers are limited in functionality V12 Advanced Triggers are supported SQL PL within the trigger body More than one statement within the trigger body Old Triggers (now called basic triggers) can still be used without modification (MODE DB2SQL) Our Test Consolidate different basic triggers on one object to a single advanced trigger Because of additional functionality the advanced triggers are more expensive In our tests we saw a CPU-overhead of 30 to 40 % for the same functionality Conclusion Use basic triggers if the trigger definition is simple Use advanced triggers if the new features are needed
14 EPICs tested (SQL) SQL Pagination V11 Application developers use static scrollable cursors just to skip to the desired row Problems Without commit application can reach the maximum number of OBIDs for a database Even read-only applications can create long running unit of recoveries Result set is always materialized V12 Numeric pagination With OFFSET n ROWS you can specify a starting point to begin with Data dependent pagination Simple way for building the complex OR-predicates for scrolling logic Just code (col1, col2) >= (:H1, :H2) LIMIT n is a synonym for FETCH FIRST n ROWS ONLY OFFSET n ROWS not allowed with LIMIT n, but with FETCH FIRST n ROWS ONLY
15 EPICs tested (SQL) SQL Pagination Restriction OFFSET-clause is not allowed in subqueries FETCH FIRST n ROWS is allowed Conclusion Many static scroll cursors can be exchanged by SQL pagination Result set is no longer materialized Read-only applications do not create long running unit of recoveries Performance can be improved
16 EPICs tested (SQL) Full Merge V11 Limited functionality for merge V12 Full merge with a variety of new features Source can be a table, view or fullselect The MATCHED and NOT MATCHED clauses can be more complex Multiple DELETE/INSERT/UPDATE actions Example / Explain MERGE INTO TARGET A USING SOURCE B ON AKEY = BKEY WHEN MATCHED AND ACNT < 1000 THEN UPDATE SET ACNT = ACNT + BCNT WHEN MATCHED AND ACNT >= 1000 THEN DELETE WHEN NOT MATCHED THEN INSERT (KEY, CNT) VALUES (BKEY, BCNT) ELSE IGNORE; Pl J Pt Stmt Nr Nr M Tabelle AC MC Index T Nr Typ SOURCE R 0 5 SELECT TARGET I 1 IXTARGET L 5 SELECT TARGET 0 5 UPDATE TARGET 0 5 SELECT TARGET 0 5 INSERT DSNWFQB R 0 0 MERGE
17 EPICs tested (Optimizer) Adaptive Indexes Prerequisite Cursor with the following query-pattern SELECT something FROM T1 WHERE col1 BETWEEN :H1 AND :H2 IX1 on col1 AND col2 BETWEEN :H3 AND :H4 IX2 on col2 Access path: must use list prefetch at best would be multiple index access One of these BETWEEN-predicates is from LOW- to HIGH-value Adaptive Index at runtime Enormous savings in CPU consumption (from 400 ms to 20 ms) and elapsed time can occur This was the result, when eg H1 is equal to H2 But To support more specific cursors, where at least one of these BETWEEN-predicates is an equal-predicate, we create in general multi-column indexes So there is an index IX1 with col1 and col2 and an index with col2 and col1 In this case multiple index was not considered The use of multiple index access could be more aggressive
18 EPICs tested (Optimizer) Bubble up Solution Misplaced with DB2 predicate V12: Suppose the following statement: SELECT something FROM T1 WHERE T1col1 =? AND T1col3 IN (SELECT col3 FROM T2 WHERE T2col1 =? AND T1col2 =?) V11 Bad access path, because col2 is not matching Index IX1 on T1: V12 col2 is now copied or moved to the outer query block If copied: Subquery remains correlated If moved: Subquery becomes non-correlated Not moved if subquery contains a column-function eg MAX At start of the ESP Only worked for IN-subqueries column COLCARDF col1 24 col2 72,379,553
19 EPICs tested (Optimizer) Bubble up Also works for complex queries (taken from production) SELECT DISTINCT AVNR, AAKZ, TRIM(LEADING FROM AFIN) AS FIN, CASE WHEN CV_END_DAT > CURRENT DATE THEN 'beendet' WHEN CV_END_DAT < CURRENT DATE THEN 'historisch ELSE 'aktuell END AS STATUS FROM DB2KRTB0301 AS A, DB2VATB0990 AS C WHERE AGUELTIG_BIS <= CURRENT DATE AND AGUELTIG_AB >= CURRENT DATE AND AHIST_LNR = (SELECT MAX(BHIST_LNR) FROM DB2KRTB0301 AS B WHERE AVNR = BVNR AND AVNR = CVNR AND CV_VERW_SYS_SL = 'KR AND CGUELTIG_BIS >= CURRENT DATE - 5 YEARS) V11 this is a join without a join condition (CROSS JOIN) V12 three predicates are bubbled up Column ADDED_PRED in DSN_PREDICAT_TABLE contains B
20 EPICs tested (Optimizer) Extend NPGTHRSH to default statistics Prerequisite No statistics are present or table is empty That is the general case for tables, when they are created Queries tend to use tablespace-scans or non-matching index-scans even if an appropriate index exists Access path is somehow unpredictable V12 Appropriate index is chosen More specific: if sort can be omitted then this index is chosen otherwise the index with the most matching columns is chosen Result is a more robust access path But SELECT something FROM T1 SELECT something FROM T1 WHERE col1 = :H1 WHERE col1 = :H1 OR col2 = :H2 UNION currently leads to a tablespace SELECT something FROM T1 scan although there are WHERE col2 = :H2 appropriate indexes Matching index access is chosen Planned: matching index access over multiple index access over tablespace-scan
21 EPICs tested (Optimizer) Extend NPGTHRSH to default statistics But (the reality) It does not work as intended Index chosen can still be not predictable Example SELECT FROM T1 WHERE C1 =? AND C2 =? ORDER BY C3 There are two indexes IX1: (C1, C2, C3) and IX2 (C1, C2, C4) DB2 can still pick up index IX2 Reason: IX1 and IX2 are in different classes and classes compete against each other on a cost basis independently of number of matching columns RFE is raised to get the intended behaviour
22 EPICs tested (Optimizer) Maintenance of Profile Tables Prerequisite ZPARMS: V12 First recommendation creates profile from existing stats Further recommendations update profile Migration (Suggestion) Delete stale statistics, maybe 6 months older than STATSTIME in SYSTABLES If there are special stats create a profile for those tables INLINE STATS can then be used in your REORG jobs immediately after FL 500 STATFDBK_PROFILE = YES STATFDBK_SCOPE not NONE Findings Rebind of 10,000 packages on 4,000 tables led to only 800 rows in SYSTABLES_PROFILES Reasons BASIC TYPE I and T, STALE and CONFLICT do not update the profile After migration we were flooded in less than 1 week with 120,000 stale-reasons Reorg of a partition with production data took more than 16 minutes (220 different recommendations) compared to 1 minute with default statistics
23 EPICs tested (Optimizer) Maintenance of Profile Tables Solution Problems with DB2 V12: There is no way that these profiles contain statements to collect the least values Generated RUNSTATS do not contain COUNT at all There is no way to avoid storing recommendations for queries, which do not make sense A threshold would be beneficial Collect only statistics, which can affect the access path choice Sometimes recommendations do not make sense (bug?) How to decide, if collection of certain values is no longer necessary Do we need information, which stats the optimizer hasn t used? Findings If a column is dropped the materializing REORG will automatically update the profile But it does not remove the profile, if the last column is dropped, where specific RUNSTATS-statements are provided for Although there is no more than the default
24 EPICs tested (Utilities) REORG using RUNSTATS-Profiles V11 RUNSTATS-Profiles in SYSIBMSYSTABLES_PROFILES have to be created manually using information from SYSIBMSYSSTATFEEDBACK table Execution of RUNSTATS-Utility is required V12 RUNSTATS-Profiles will be created automatically in SYSIBMSYSSTATFEEDBACK Inline Stats using a profile can be used in REORG-Utility Statistics which do not make sense are eliminated from DB2-catalog Findings Easy to implement ZPARMs: STATFDBK_PROFILE=YES, STATFDBK_SCOPE not NONE Add USE PROFILE parameter to REORG-Jobs Suitable (?) statistics will be created Reorg of a partition with production data took more than 16 minutes (220 different recommendations) compared to 1 minute with default statistics
25 EPICs tested (Utilities) RUNSTATS V11 RUNSTATS always flushes the cache UPDATE NONE REPORT NO does nothing else V12 New keyword INVALIDATECACHE It is not a synonym for UPDATE NONE REPORT NO RUNSTATS TABLESPACE databasetablespace INVALIDATECACHE YES Stats are collected for the tablepace Cache is flushed RUNSTATS without INVALIDATECACHE YES does not flush the cache That is different compared to V11 RUNSTATS TABLESPACE UPDATE NONE REPORT YES Still flushes the cache, although INVALIDATECACHE YES is not specified INVALIDATECACHE YES is default here RUNSTATS RESET ACCESSPATH does not remove the RUNSTATS-profile
26 EPICs tested (Temporal Support) Temporal Logical Transactions V11 Multiple working processes are cumulated to a single history table entry At ITERGO commit-frequency for batch jobs should only be adjusted in order to deal with locking conflicts during online time and performance while batch is running working process table Customer ID commit Value Batch Job update Number of business working processes (in history table) depends on commitfrequency Commitfrequency = 5 Customer ID operational data Balance Value business working processes cumulated into 3 history table entries Customer ID historical data Balance Value
27 EPICs tested (Temporal Support) Temporal Logical Transactions V12 Independent from commit frequency every single business process is documented and comprehensible working process table Customer ID SET TLT SET TLTT SET TLTT SET TLTT SET TLTT SET TLTT Value COMMIT & SET TLTT SET TLTT SET TLT -> SET TEMPORAL_LOGICAL_TRANSACTIONS = 1; SET TLTT -> SET TEMPORAL_LOGICAL_TRANSACTION_TIME = CURRENT TIMESTAMP; Batch Job update SET TTLT & Commitfrequency = 5 Customer ID operational data Balance Value Customer ID historical data Balance Value all business working processes are documented
28 EPICs tested (Temporal Support) Temporal Logical Transactions Solution Logical with unit DB2 of V12: work < physical unit of work TEMPORAL_LOGICAL_TRANSACTIONS (TLT) must be set to 1 Can mitigate the problem of out of sync of history rows (SQLCODE ) Logical unit of work > physical unit of work TEMPORAL_LOGICAL_TRANSACTION_TIME can be set without setting TLT Return back to default behaviour SET TEMPORAL_LOGICAL_TRANSACTIONS (TLT) to NULL Use case Updates of several temporal tables with the same SYSTEM_END_TIME is possible Problem A subroutine can set TEMPORAL_LOGICAL_TRANSACTION_TIME Subsequent subroutines will work always with the same SYSTEN_END_TIME Does not change after commit
29 EPICs tested (Miscellaneous) Dynamic Plan Stability Prerequisite ZPARM CACHEDYN_STABILIZATION=BOTH Stabilize a specific statement -STA DYNQUERYCAPTURE STBLGRP(SPECIFIC) STMTID(94958) Works as expected Stabilize queries with more than a certain amount of executions Prerequisite: ICFID 318 has to be active -STA DYNQUERYCAPTURE STBLGRP(SPECIFIC) THRESHOLD n MONITOR(NO) Only statements, which exceeded this threshold are stabilized MONITOR(YES) Every statement is stabilized, which exceeds that threshold as long as this command is active But: If statement is flushed from DSC, counter is reset Statements must have the same AUTHID Therefore: not well suited for QMF- or SAS-queries
30 EPICs tested (Miscellaneous) Dynamic Plan Stability Findings To get the access path EXPLAIN STABILIZED DYNAMIC QUERY STMTID n n = STMTID in SYSDYNQRY = PER_STMT_ID in PLAN_TABLE QUERYNO is not populated for all those explains Several executions provides exactly the same rows Could be confusing when analyzing the access path information But EXPLAIN STMTCACHE STMTID n QUERYNO is populated Stabilized Query consumed more CPU than static My measurement: about double as much as the same static statement
31 EPICs tested (Miscellaneous) Static Plan Stability FREE Free a copy of a package Works fine, even if package is in use Message is confusing, no hint that PLANMGMTSCOPE was used Rebind Switch to a previous copy, which is invalid Does not work, PMR APREUSESOURCE Only possible with APREUSE(WARN/ERROR) Version, which was used to compare with, is stored in APREUSE_VERSION in DSN_STATEMNT_TABLE Column is also populated for BIND with APREUSE Other small enhancements New column ORIGIN in SYSPACKAGE tells you, what kind of bind it was Eg A for automatic rebind
32 EPICs tested (Miscellaneous) Performance-Topics Fast Insert Partitioned tablespace with MEMBER CLUSTER and INLINE LOB All LOBs were inline 4,5 million rows inserted Fast insert did not work DSNI055I with reason 8 occured, PMR (recently closed) Suggestion Maintain a counter in RTS how often fast insert was used Fast Traversal 1, 000,000 selects using unclustered index After several tests index memory usage occurred Up to 23% CPU-time reduction compared to no FTB usage 100,000 inserts Index memory usage occured Up to 20% CPU-time reduction compared to V11 Suggestion Maintain a counter in RTS how often FTB was built or used
33 V12 Experiences Some problems during testing 23 PMRs opened, 22 solved, 1 still open We got SQLCODE -109 for some packages Reason: non-documented use of SELECT INTO UNION ALL Currently rebind works fine A new deprecated ZPARM DISALLOW_SEL_INTO_UNION will be introduced Optimizer generated recommendations for columns, which are not supported by RUNSTATS (column too large) RUNSTATS was enhanced to ignore these recommendations Recommendations still issued by optimizer DSNI055I-message for fast insert, first reason 10, then reason 8 FTB-blocks built for objects, which were excluded by SYSINDEXCONTROL Other experiences Lock-Escalation message is enhanced Now it contains also the partition number
34 V12 Experiences Big problems after migration of our development system No problems during migration No problems during first tests Problems came up when application developers start working on Monday Some 0C4 and 0D6 in master address space A lot of inconsistent data with different reason codes Broken pages IMS applications hung DB2 crashed several times System could be stabilized on Friday afternoon 2 PTFs were installed All packages which activated a trigger were rebound Every trigger package was rebound Each DBD containing a clone table was repaired FTB was disabled Connectivity problems between MS ACCESS and DB2 This prevented migrating the next system
35 Post GA Plans and Migration Schedule V12R1M100 Approval V12R1M100 Integration V12R1M100 Production V12R1M100 Education and Data Warehouse V12R1M100 Development system November 2016 March 2017 April 2017 May 2017 June
36 Conclusion Pros + Migration effort significantly reduced compared with previous versions + Several ITERGO-requirements were implemented + Very good support from our IBM-team + CC: Question for DB2 Development What we could achieve Bubble Up was extended for more predicates NPGTHRSH will be extended for more cases (RFE ) Adaptive indexes will also support multi-column-indexes Cons Lift partition limit cannot be used STACK YES is mandatory for us for inline copies Logical partitions could be better supported
37 What is still missing Implicit Casting Performance is awful for the following query SELECT FROM T1 WHERE char-col = integer-value Predicate is stage2 Users just forgot to put quotes around value RFEs 56980, and Cross Load SHRLEVEL CHANGE RFE Privileges CREATE TABLE with LIKE-clause or with fullselect Currently: CURRENT SQLID must have select privilege for table, which is used as a template Why is a privilege needed at all? RFE 24234
Db2 for z/os: Lies, Damn lies and Statistics
Db2 for z/os: Lies, Damn lies and Statistics SEGUS & SOFTWARE ENGINEERING GmbH Session code: A18 05.10.2017, 11:00 Platform: Db2 for z/os 1 Agenda Quotes Quotes Basic RUNSTATS knowledge Basic RUNSTATS
More informationDB2 12 A new spin on a successful database
Presenter: Dan Lohmeier Lead Developer BMC Software Author: Phil Grainger Product Manager BMC Software DB2 12 A new spin on a successful database So, what s new with DB2 12 We ll take a speedy journey
More informationWhat Developers must know about DB2 for z/os indexes
CRISTIAN MOLARO CRISTIAN@MOLARO.BE What Developers must know about DB2 for z/os indexes Mardi 22 novembre 2016 Tour Europlaza, Paris-La Défense What Developers must know about DB2 for z/os indexes Introduction
More informationAn A-Z of System Performance for DB2 for z/os
Phil Grainger, Lead Product Manager BMC Software March, 2016 An A-Z of System Performance for DB2 for z/os The Challenge Simplistically, DB2 will be doing one (and only one) of the following at any one
More informationDb2 12 A new spin on a successful database
Phil Grainger Principal Enablement Manager BMC Software Db2 12 A new spin on a successful database Management Performance Administration So What's new with Performance Performance Management Db2 12? Availability
More informationDB2 11 for z/os Application Functionality (Check out these New Features) Randy Ebersole IBM
DB2 11 for z/os Application Functionality (Check out these New Features) Randy Ebersole IBM ebersole@us.ibm.com Please note IBM s statements regarding its plans, directions, and intent are subject to change
More informationDB2 for z/os Utilities Update
Information Management for System z DB2 for z/os Utilities Update Haakon Roberts DE, DB2 for z/os & Tools Development haakon@us.ibm.com 1 Disclaimer Information regarding potential future products is intended
More informationHow do I keep up with this stuff??
Michael Cotignola Db2 Software Consultant BMC Software Db2 12 How do I keep up with this stuff?? Or. Add your tag line here So, what s new with Db2 12 We ll take a quick look at the usual suspects: Reliability,
More informationDB2 12 for z/os: Technical Overview and Highlights
DB2 12 for z/os: Technical Overview and Highlights by John Campbell and Gareth Jones Introduction Cloud, Analytics, and Mobile are changing the landscape for enterprise customers. These technology trends
More informationDB2 UDB: App Programming - Advanced
A Access Methods... 8:6 Access Path Selection... 8:6 Access Paths... 5:22 ACQUIRE(ALLOCATE) / RELEASE(DEALLOCATE)... 5:14 ACQUIRE(USE) / RELEASE(DEALLOCATE)... 5:14 Active Log... 9:3 Active Logs - Determining
More informationDb2 V12 Gilbert Sieben
Db2 V12 Migration @KBC Gilbert Sieben Agenda 1. Time line 2. Premigration checks 3. Migration to V12 4. Measurements 5. New Features 6. Lessons learned Company 2 1. Time line Project of 1 year, 300 Mandays,
More informationTUC TOTAL UTILITY CONTROL FOR DB2 Z/OS. TUC Unique Features
TUC Unique Features 1 Overview This document is describing the unique features of TUC that make this product outstanding in automating the DB2 object maintenance tasks. The document is comparing the various
More informationDo these DB2 10 for z/os Optimizer Enhancments apply to me?
Do these DB2 10 for z/os Optimizer Enhancments apply to me? Andrei Lurie IBM Silicon Valley Lab February 4, 2013 Session Number 12739 Agenda Introduction IN-list and complex ORs Predicate simplification
More informationV9 Migration KBC. Ronny Vandegehuchte
V9 Migration Experiences @ KBC Ronny Vandegehuchte KBC Configuration 50 subsystems (15 in production) Datasharing (3 way) 24X7 sandbox, development, acceptance, production Timings Environment DB2 V9 CM
More informationRunstats has always been a challenge in terms of what syntax to use, how much statistics to collect and how frequent to collect these statistics.
1 Runstats has always been a challenge in terms of what syntax to use, how much statistics to collect and how frequent to collect these statistics. The past couple of DB2 releases have introduced some
More informationDB2 10 Capturing Tuning and Trending for SQL Workloads - a resource and cost saving approach
DB2 10 Capturing Tuning and Trending for SQL Workloads - a resource and cost saving approach Roy Boxwell SOFTWARE ENGINEERING GmbH Session Code: V05 15.10.2013, 11:30 12:30 Platform: DB2 z/os 2 Agenda
More informationDB2 9 for z/os Selected Query Performance Enhancements
Session: C13 DB2 9 for z/os Selected Query Performance Enhancements James Guo IBM Silicon Valley Lab May 10, 2007 10:40 a.m. 11:40 a.m. Platform: DB2 for z/os 1 Table of Content Cross Query Block Optimization
More informationDB2 for z/os Optimizer: What have you done for me lately?
Session: A08 DB2 for z/os Optimizer: What have you done for me lately? Terry Purcell IBM Silicon Valley Lab 14 th October 2008 16:45 17:45 Platform: DB2 for z/os You can always read about the features/enhancements
More informationDB2 10 for z/os Optimization and Query Performance Improvements
DB2 10 for z/os Optimization and Query Performance Improvements James Guo DB2 for z/os Performance IBM Silicon Valley Lab August 11, 2011 6 PM 7 PM Session Number 9524 Disclaimer Copyright IBM Corporation
More informationTo REORG or not to REORG That is the Question. Kevin Baker BMC Software
To REORG or not to REORG That is the Question Kevin Baker BMC Software Objectives Identify I/O performance trends for DB pagesets Correlate reorganization benefits to I/O performance trends Understand
More informationWorkload Insights Without a Trace - Introducing DB2 z/os SQL tracking SOFTWARE ENGINEERING GMBH and SEGUS Inc. 1
Workload Insights Without a Trace - Introducing DB2 z/os SQL tracking 2011 SOFTWARE ENGINEERING GMBH and SEGUS Inc. 1 Agenda What s new in DB2 10 What s of interest for geeks in DB2 10 What s of interest
More informationApplication Development Best Practice for Q Replication Performance
Ya Liu, liuya@cn.ibm.com InfoSphere Data Replication Technical Enablement, CDL, IBM Application Development Best Practice for Q Replication Performance Information Management Agenda Q Replication product
More informationPBR RPN - Removing Partitioning restrictions in Db2 12 for z/os
PBR RPN - Removing Partitioning restrictions in Db2 12 for z/os Steve Thomas CA Technologies 07/11/2017 Session ID Agenda Current Limitations in Db2 for z/os Partitioning Evolution of partitioned tablespaces
More informationContents. Using. Dynamic SQL 44. Bag of Tricks 56. Complex SQL Guidelines 90. Working with Nulls 115. Aggregate Functions 135
Contents Preface xxiii Part I SQL Techniques, Tips, and Tricks 1 The Magic Words 3 An Overview of SQL 4 SQL Tools of the Trade 13 Static SQL 42 Dynamic SQL 44 SQL Performance Factors 45 2 Data Manipulation
More informationDB2 UDB: Application Programming
A ABS or ABSVAL... 4:19 Access Path - Determining... 10:8 Access Strategies... 9:3 Additional Facts About Data Types... 5:18 Aliases... 1:13 ALL, ANY, SOME Operator... 3:21 AND... 3:12 Arithmetic Expressions...
More informationDB2 10 Capturing Tuning and Trending for SQL Workloads - a resource and cost saving approach. Roy Boxwell SOFTWARE ENGINEERING GmbH
1 DB2 10 Capturing Tuning and Trending for SQL Workloads - a resource and cost saving approach Roy Boxwell SOFTWARE ENGINEERING GmbH 3 Agenda 1. DB2 10 technology used by SQL WorkloadExpert (WLX) 2. The
More informationDB2 11 for z/os Overview DUGI Massimiliano Castellini DB2 Advisor
DB2 11 for z/os Overview DUGI 2014 Massimiliano Castellini DB2 Advisor 50th Anniversary of the Mainframe 7 April 1964-2014 DB2 for z/os Customer Trends Proliferation of mobile and other network-connected
More informationWhat s new from the Optimizer in DB2 11 for z/os?
What s new from the Optimizer in DB2 11 for z/os? 赵雄伟 DB2 z/os Level 2 support zhaoxw@cn.ibm.com 1 Agenda Plan Management Predicate Indexability In-Memory Data Cache (sparse index) Duplicate Removal DPSIs
More informationDB2 9 for z/os V9 migration status update
IBM Software Group DB2 9 for z/os V9 migration status update July, 2008 Bart Steegmans DB2 for z/os L2 Performance Acknowledgement and Disclaimer i Measurement data included in this presentation are obtained
More informationC Examcollection.Premium.Exam.58q
C2090-610.Examcollection.Premium.Exam.58q Number: C2090-610 Passing Score: 800 Time Limit: 120 min File Version: 32.2 http://www.gratisexam.com/ Exam Code: C2090-610 Exam Name: DB2 10.1 Fundamentals Visualexams
More informationSession: G03 No Magic to Improve DB2 for z/os Application Performance. Marcel Lévy Natixis. May 19, :30 p.m. 02:30 p.m. Platform: DB2 for z/os
Session: G03 No Magic to Improve DB2 for z/os Application Performance Marcel Lévy Natixis May 19, 2008 01:30 p.m. 02:30 p.m. Platform: DB2 for z/os 1 Agenda Story of a DB2 application migration Measurement
More informationPass IBM C Exam
Pass IBM C2090-612 Exam Number: C2090-612 Passing Score: 800 Time Limit: 120 min File Version: 37.4 http://www.gratisexam.com/ Exam Code: C2090-612 Exam Name: DB2 10 DBA for z/os Certkey QUESTION 1 Workload
More informationDB2 12 Overview what s coming
DB2 12 Overview what s coming Tom Crocker (tom_crocker@uk.ibm.com) IBM Date of presentation (01/11/2016) Session IA Please Note IBM s statements regarding its plans, directions, and intent are subject
More informationWestfield DB2 z/os System Management
Westfield DB2 z/os System Management Managing the Pain with Stats, Charts, Graphs, & REXX NEODBUG Aug 16, 2012 Mike Smith Westfield Insurance Agenda About Westfield DB2 Workload and Environment Tools and
More informationStabilizing dynamic SQL (and static enhancements too)
Stabilizing dynamic SQL (and static enhancements too) Patrick Bossman Email: bossman@us.ibm.com Linkedin: www.linkedin.com/in/bossman/ YouTube Channel: DB2z DevOps Agenda Overview and Problem statement
More informationDB2 11 for z/os Utilities Update
DB2 11 for z/os Utilities Update Andy Lai DB2 Utilities Development atlai@us.ibm.com Insert Custom Session QR if Desired. 1 Disclaimer Copyright IBM Corporation 2014. All rights reserved. IBM s statements
More informationCollecting Cached SQL Data and Its Related Analytics. Gerald Hodge HLS Technologies, Inc.
Collecting Cached SQL Data and Its Related Analytics Gerald Hodge HLS Technologies, Inc. Agenda Quick Review of SQL Prepare CACHEDYN=YES and KEEPDYNAMIC=YES CACHEDYN=YES and KEEPDYNAMIC=YES with COMMIT
More informationA Field Guide for Test Data Management
A Field Guide for Test Data Management Kai Stroh, UBS Hainer GmbH Typical scenarios Common situation Often based on Unload/Load Separate tools required for DDL generation Hundreds of jobs Data is taken
More informationShort Summary of DB2 V4 Through V6 Changes
IN THIS CHAPTER DB2 Version 6 Features DB2 Version 5 Features DB2 Version 4 Features Short Summary of DB2 V4 Through V6 Changes This appendix provides short checklists of features for the most recent versions
More informationDB2 SQL Tuning Tips for z/os Developers
DB2 SQL Tuning Tips for z/os Developers Tony Andrews IBM Press, Pearson pic Upper Saddle River, NJ Boston Indianapolis San Francisco New York Toronto Montreal London Munich Paris Madrid Cape Town Sydney
More informationIBM DB2 10 for z/os beta. Reduce costs with improved performance
IBM DB2 10 for z/os beta Reduce costs with improved performance TABLE OF CONTENTS SECTION I INTRODUCTION OF DB2 10 FOR Z/OS... 3 Executive Summary... 3 SECTION II PERFORMANCE AVAILABILITY... 5 Many performance
More informationC Exam code: C Exam name: IBM DB2 11 DBA for z/os. Version 15.0
C2090-312 Number: C2090-312 Passing Score: 800 Time Limit: 120 min File Version: 15.0 http://www.gratisexam.com/ Exam code: C2090-312 Exam name: IBM DB2 11 DBA for z/os Version 15.0 C2090-312 QUESTION
More informationWhat s new in DB2 9 for z/os for Applications
What s new in DB2 9 for z/os for Applications Patrick Bossman bossman@us.ibm.com Senior software engineer IBM Silicon Valley Lab 9/8/2009 Disclaimer Copyright IBM Corporation [current year]. All rights
More informationThe former pager tasks have been replaced in 7.9 by the special savepoint tasks.
1 2 3 4 With version 7.7 the I/O interface to the operating system has been reimplemented. As of version 7.7 different parameters than in version 7.6 are used. The improved I/O system has the following
More informationDB2 10 for z/os Technical Overview
DB2 10 for z/os Technical Overview John Campbell Distinguished Engineer DB2 for z/os Development IBM Silicon Valley Lab Email: CampbelJ@uk.ibm.com 2010 IBM Corporation DB2 10 for z/os IBM Software Group
More informationDaily, Weekly or Monthly Partitions? A discussion of several factors for this important decision
Daily, Weekly or Monthly Partitions? A discussion of several factors for this important decision Copyright 2006 Mercury Consulting Published in July 2006 Conventions The following typographical conventions
More informationDeep Dive Into Storage Optimization When And How To Use Adaptive Compression. Thomas Fanghaenel IBM Bill Minor IBM
Deep Dive Into Storage Optimization When And How To Use Adaptive Compression Thomas Fanghaenel IBM Bill Minor IBM Agenda Recap: Compression in DB2 9 for Linux, Unix and Windows New in DB2 10 for Linux,
More informationQuery tuning with Optimization Service Center
Session: F08 Query tuning with Optimization Service Center Patrick Bossman IBM May 20, 2008 4:00 p.m. 5:00 p.m. Platform: DB2 for z/os 1 Agenda Overview of Optimization Service Center Workload (application)
More informationCreating indexes suited to your queries
Creating indexes suited to your queries Jacek Surma PKO Bank Polski S.A. Session Code: B11 Wed, 16th Oct 2013, 11:00 12:00 Platform: DB2 z/os Michał Białecki IBM Silicon Valley / SWG Cracow Lab In every
More informationHOLDDATA FOR DB2 9.1 PUT Level ** Please read through all the holddata before acting on any of it. ** GENERAL
HOLDDATA FOR DB2 9.1 PUT Level 0805 ** Please read through all the holddata before acting on any of it. ** GENERAL 1. Rebind all static DB2 application which match criteria. Member REBIND DSN910.SVSC.HOLDCNTL
More informationz/os Db2 Batch Design for High Performance
Division of Fresche Solutions z/os Db2 Batch Design for High Performance Introduction Neal Lozins SoftBase Product Manager All tests in this presentation were run on a dedicated zbc12 server We used our
More informationOptimizing Insert Performance - Part 1
Optimizing Insert Performance - Part 1 John Campbell Distinguished Engineer DB2 for z/os development CAMPBELJ@uk.ibm.com 2 Disclaimer/Trademarks The information contained in this document has not been
More informationVendor: IBM. Exam Code: Exam Name: IBM Certified Database Administrator - DB2 10 for z/os. Version: Demo
Vendor: IBM Exam Code: 000-612 Exam Name: IBM Certified Database Administrator - DB2 10 for z/os Version: Demo QUESTION NO: 1 Workload Manager (WLM) manages how many concurrent stored procedures can run
More informationDB2 Partitioning Choices, choices, choices
DB2 Partitioning Choices, choices, choices Phil Grainger BMC Software Date of presentation (01/11/2016) Session IB DB2 Version 8 Table Based Partitioning Version 8 introduced TABLE BASED PARTITIONING What
More informationDb2 Analytics Accelerator V5.1 What s new in PTF 5
Ute Baumbach, Christopher Watson IBM Boeblingen Laboratory Db2 Analytics Accelerator V5.1 What s new in PTF 5 Legal Disclaimer IBM Corporation 2017. All Rights Reserved. The information contained in this
More informationCopyright 2012, Oracle and/or its affiliates. All rights reserved.
1 Oracle Partitioning für Einsteiger Hermann Bär Partitioning Produkt Management 2 Disclaimer The goal is to establish a basic understanding of what can be done with Partitioning I want you to start thinking
More informationWhy did the DB2 for z/os optimizer choose that access path?
Why did the DB2 for z/os optimizer choose that access path? Terry Purcell IBM tpurcel@us.ibm.com Saghi Amirsoleymani IBM amirsole@us.ibm.com Session Code: A10 Thursday May 13 th, 9:45am 10:45am Platform:
More informationChapter 1 GETTING STARTED. SYS-ED/ Computer Education Techniques, Inc.
Chapter 1 GETTING STARTED SYS-ED/ Computer Education Techniques, Inc. Objectives You will learn: The facilities of File-AID for DB2. How to create and alter objects. Creating test tables. Customizing data.
More informationContents. Why You Should Read This Book by Tom Ramey... i About the Authors... v Introduction by Surekha Parekh... xv
Contents Why You Should Read This Book by Tom Ramey... i About the Authors... v Introduction by Surekha Parekh... xv DB2 12 for z/os: Technical Overview and Highlights by John Campbell and Gareth Jones...
More informationCA Database Management Solutions for DB2 for z/os
CA Database Management Solutions for DB2 for z/os Release Notes Version 17.0.00, Ninth Edition This Documentation, which includes embedded help systems and electronically distributed materials, (hereinafter
More informationLessons Learned in Utility Management
Jürgen Glag SOFTWARE ENGINEERING GmbH Düsseldorf, Germany juergen_glag@compuserve.com j.glag@seg.de Copyright Jürgen Glag, 1999 foil 01/39 Low consumption of CPU and elapsed time Compatibility with application
More informationDB2 Data Warehousing at KBC. Dirk Beauson
DB2 Data Warehousing at KBC Dirk Beauson dirk.beauson@kbc.be 1 Agenda Our DataWarehouse environment Adding data into our DWH Exploiting the data in our DWH Maintaining our DWH The challenges and the future
More informationOracle Database 11g: SQL and PL/SQL Fundamentals
Oracle University Contact Us: +33 (0) 1 57 60 20 81 Oracle Database 11g: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn In this course, students learn the fundamentals of SQL and PL/SQL
More informationOracle Database: SQL and PL/SQL Fundamentals NEW
Oracle Database: SQL and PL/SQL Fundamentals NEW Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training delivers the fundamentals of SQL and PL/SQL along with the
More informationOracle Database: SQL and PL/SQL Fundamentals
Oracle University Contact Us: 001-855-844-3881 & 001-800-514-06-9 7 Oracle Database: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training
More informationOracle Database: SQL and PL/SQL Fundamentals Ed 2
Oracle University Contact Us: Local: 1800 103 4775 Intl: +91 80 67863102 Oracle Database: SQL and PL/SQL Fundamentals Ed 2 Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals
More informationDb2 12 for z/os Optimizer Update
IBM & IDUG 2018 Data Tech Summit Db2 12 for z/os Optimizer Update Terry Purcell IBM Dec 12 th, 2018 #Db2World #IDUGDb2 #IBMDb2 IBM z Analytics Agenda Db2 12 Performance Focus UNION ALL & Outer Join Enhancements
More informationCOMP 3400 Mainframe Administration 1
COMP 3400 Mainframe Administration 1 Christian Grothoff christian@grothoff.org http://grothoff.org/christian/ 1 These slides are based in part on materials provided by IBM s Academic Initiative. 1 Databases
More informationControl your own destiny with Optimization Hints
Control your own destiny with Optimization Hints Patrick Bossman IBM Silicon Valley Lab December 13, 2006 Columbia, MD 1 Agenda Overview Reasons for using Environment setup Preparation Sample cases Verifying
More informationPBR RPN & Other Availability Improvements in Db2 12
PBR RPN & Other Availability Improvements in Db2 12 Haakon Roberts IBM Session code: A11 07.11.2018 11:00-12:00 Platform: Db2 for z/os 1 Disclaimer IBM s statements regarding its plans, directions, and
More informationDB2 is a complex system, with a major impact upon your processing environment. There are substantial performance and instrumentation changes in
DB2 is a complex system, with a major impact upon your processing environment. There are substantial performance and instrumentation changes in versions 8 and 9. that must be used to measure, evaluate,
More informationAdvanced Design Considerations
Advanced Design Considerations par Phil Grainger, BMC Réunion du Guide DB2 pour z/os France Mercredi 25 novembre 2015 Hôtel Hilton CNIT, Paris-La Défense Introduction Over the last few years, we have gained
More informationSoftware Announcement March 6, 2001
Software Announcement March 6, 2001 IBM DB2 Universal Database Server for OS/390 and z/os, Version 7 Utilities Deliver Improved Usability, Availability, and Performance for Managing your Databases Overview
More informationDB2 Users Group. September 8, 2005
DB2 Users Group September 8, 2005 1 General Announcements September 13 RICDUG, Richmond DB2 Users Group, Richmond, VA www.ricdug.org September 18 TIB 2005195-1143 Removal of COBOL 2.2 TIB 2005236-1154
More informationDB2 12 for z/os Optimizer Sneak Peek
DB2 12 for z/os Optimizer Sneak Peek Terry Purcell IBM Silicon Valley Lab Session Code: @Alabama Tuesday Oct 4th Platform: DB2 for z/os Disclaimer Information regarding potential future products is intended
More informationOracle Syllabus Course code-r10605 SQL
Oracle Syllabus Course code-r10605 SQL Writing Basic SQL SELECT Statements Basic SELECT Statement Selecting All Columns Selecting Specific Columns Writing SQL Statements Column Heading Defaults Arithmetic
More informationPBR RPN & Other Availability Enhancements In Db2 12 Dec IBM z Analytics
PBR RPN & Other Availability Enhancements In Db2 12 Dec 2018 IBM z Analytics Disclaimer IBM s statements regarding its plans, directions, and intent are subject to change or withdrawal without notice at
More informationMainframe at Volvo IT
Mainframe at Volvo IT Major locations UK Sweden USA France Poland Belgium Asia Japan Peru Brazil Argentina Malaysia 6000+ Employees Introduction Volvo Customers Volvo Trucks, Renault Trucks, Mack Trucks,
More informationArrays are a very commonly used programming language construct, but have limited support within relational databases. Although an XML document or
Performance problems come in many flavors, with many different causes and many different solutions. I've run into a number of these that I have not seen written about or presented elsewhere and I want
More informationWhere did Visual Explain Go?
Where did Visual Explain Go? Doug Clifton Executive IT Specialist cliftonw@us.ibm.com Information Management Agenda Visual Explain History Stats Advisor DB2 Management Clients Package Optimization Service
More informationTHE BUFFER POOL. Spring Utility Improvements in DB2 9 for z/os By Craig S. Mullins
Spring 2009 THE BUFFER POOL Utility Improvements in DB2 9 for z/os By Craig S. Mullins Every new release of DB2 brings with it new functionality and improvements for the IBM DB2 utilities. And DB2 Version
More informationCA Database Management Solutions for DB2 for z/os
CA Database Management Solutions for DB2 for z/os Release Notes Version 17.0.00, Fourth Edition This Documentation, which includes embedded help systems and electronically distributed materials, (hereinafter
More informationEffective Testing for Live Applications. March, 29, 2018 Sveta Smirnova
Effective Testing for Live Applications March, 29, 2018 Sveta Smirnova Table of Contents Sometimes You Have to Test on Production Wrong Data SELECT Returns Nonsense Wrong Data in the Database Performance
More informationSql Server Syllabus. Overview
Sql Server Syllabus Overview This SQL Server training teaches developers all the Transact-SQL skills they need to create database objects like Tables, Views, Stored procedures & Functions and triggers
More informationDB2 for z/os Stored Procedures Update
Robert Catterall, IBM rfcatter@us.ibm.com DB2 for z/os Stored Procedures Update Michigan DB2 Users Group May 15, 2013 Information Management Agenda A brief review of DB2 for z/os stored procedure enhancements
More informationHow to Get the Most out of Your DB2 and Analytics Investment
World 16 MAINFRAME AND WORKLOAD AUTOMATION How to Get the Most out of Your DB2 and Analytics Investment Ron Colmone CA Technologies Sr Consulting Architect @RonColmone #CAWorld MFX81E Abstract Ron Colmone
More informationThe attendee will get a deep dive into all the DDL changes needed in order to exploit DB2 V10 Temporal tables as well as the limitations.
The attendee will get a deep dive into all the DDL changes needed in order to exploit DB2 V10 Temporal tables as well as the limitations. A case study scenario using a live DB2 V10 system will be used
More informationOptimising Insert Performance. John Campbell Distinguished Engineer IBM DB2 for z/os Development
DB2 for z/os Optimising Insert Performance John Campbell Distinguished Engineer IBM DB2 for z/os Development Objectives Understand typical performance bottlenecks How to design and optimise for high performance
More informationDB2 11 for z/os Application Compatibility What you Need to Know
DB2 11 for z/os Application Compatibility What you Need to Know Christopher J. Crone IBM Platform: DB2 for z/os Disclaimer 1 Information regarding potential future products is intended to outline our general
More informationIBM DB2 11 DBA for z/os Certification Review Guide Exam 312
Introduction IBM DB2 11 DBA for z/os Certification Review Guide Exam 312 The purpose of this book is to assist you with preparing for the IBM DB2 11 DBA for z/os exam (Exam 312), one of the two required
More informationDb2 9.7 Create Table If Not Exists >>>CLICK HERE<<<
Db2 9.7 Create Table If Not Exists The Explain tables capture access plans when the Explain facility is activated. You can create them using one of the following methods: for static SQL, The SYSTOOLS schema
More informationFIVE BEST PRACTICES FOR ENSURING A SUCCESSFUL SQL SERVER MIGRATION
FIVE BEST PRACTICES FOR ENSURING A SUCCESSFUL SQL SERVER MIGRATION The process of planning and executing SQL Server migrations can be complex and risk-prone. This is a case where the right approach and
More informationDB2 V10 upgrade Colruyt. slide 1
DB2 V10 upgrade experience @ Colruyt slide 1 DB2 V10 upgrade experience @ Colruyt Who are we Migration plan Issues Performance New features slide 2 Who are we... Retail Wholesale & Food service Other Belgium
More informationDB2 Archive tables. Introduction. DDL Operations. 18 April Rajesh Venkata Rama Mallina DB2 Z/OS DBA IBM
DB2 Archive tables Rajesh Venkata Rama Mallina (vmallina@in.ibm.com) DB2 Z/OS DBA IBM 18 April 2017 This paper will help in understanding the concepts of archive tables which includes its creation, maintenance
More informationSelf-test DB2 for z/os Fundamentals
Self-test DB2 for z/os Fundamentals Document: e1067test.fm 01/04/2017 ABIS Training & Consulting P.O. Box 220 B-3000 Leuven Belgium TRAINING & CONSULTING INTRODUCTION TO THE SELF-TEST DB2 FOR Z/OS FUNDAMENTALS
More informationFirebird in 2011/2012: Development Review
Firebird in 2011/2012: Development Review Dmitry Yemanov mailto:dimitr@firebirdsql.org Firebird Project http://www.firebirdsql.org/ Packages Released in 2011 Firebird 2.1.4 March 2011 96 bugs fixed 4 improvements,
More informationWhat s new in DB2 Administration Tool 10.1 for z/os
What s new in DB2 Administration Tool 10.1 for z/os Joseph Reynolds, Architect and Development Lead, IBM jreynold@us.ibm.com Calene Janacek, DB2 Tools Product Marketing Manager, IBM cjanace@us.ibm.com
More informationSystem Z Performance & Capacity Management using TDSz and DB2 Analytics Accelerator: UnipolSai Customer Experience
System Z Performance & Capacity Management using TDSz and DB2 Analytics Accelerator: UnipolSai Customer Experience Marina Balboni & Roberta Barnabé System Z Transactions and Data Area, UnipolSai Francesco
More informationDB2 Analytics Accelerator Loader for z/os
Information Management for System z DB2 Analytics Accelerator Loader for z/os Agenda Challenges of loading to the Analytics Accelerator DB2 Analytics Accelerator for z/os Overview Managing the Accelerator
More informationAdvanced Oracle SQL Tuning v3.0 by Tanel Poder
Advanced Oracle SQL Tuning v3.0 by Tanel Poder /seminar Training overview This training session is entirely about making Oracle SQL execution run faster and more efficiently, understanding the root causes
More information