Query tuning with Optimization Service Center
|
|
- Dora Sullivan
- 5 years ago
- Views:
Transcription
1 Session: F08 Query tuning with Optimization Service Center Patrick Bossman IBM May 20, :00 p.m. 5:00 p.m. Platform: DB2 for z/os 1
2 Agenda Overview of Optimization Service Center Workload (application) Tuning Query tuning 2 IBM Corporation
3 Overview DB2 for z/os Optimization Service Center (OSC) New no-charge offering Included in DB2 Accessories Suite for z/os V1.1 Available via web download Simultaneous availability with DB2 9 for z/os GA in March IBM Corporation
4 VE & OSC feature comparison Functions Queries from Cache, Catalog Query Formatter, Annotation Access Plan Graph Query Report Visual Plan Hint Query Statistics Advisor Workload Statistics Advisor Workload Query Report Profile based Monitoring Visual Explain Yes Yes Yes Yes Optimization Service Center Yes Yes Yes Yes Yes Yes Yes Yes Yes 4 IBM Corporation
5 After connecting, the welcome page is where I go to navigate through OSC. It is the portal into the functions provided by OSC. From the welcome page, you can connect and configure DB2 subsystems, view workloads, view query activity, tune a workload, tune a single query, and view monitor profiles. 5
6 Tuning an application 6 IBM Corporation
7 Application tuning process What is application tuning? Identify what the application workload is Individual SQL statements Get an understanding of the applications behavior How often are individual SQL statements executing? What is the performance of individual SQL statements? Determine statistics for workload Workload statistics advisor More workload analysis features coming (?) Remeasure workload Identify top tuning candidates Use query based tools to further analyze (next session) 7 IBM Corporation 2007 With the introduction of workloads, users can now perform application tuning, rather than just query focused tuning. 7
8 OSC and OE support multiple workload sources. Snapping the statement cache, retrieving SQL from the catalog, QMF and QMF HPO, a file, and other workloads. 8
9 Select a plan, package or set of packages Very flexible filter criteria. 9
10 Choose all packages in a particular collection id with a package name mask. 10
11 Primarily, you d use this tab if you want all the SQL for a particular plan. 11
12 The cost and object filters allow you to supplement package / plan filters. You can further limit the SQL retrieved to match any or all of the criteria specified for the cost and object filters. So if you only want to see SQL which has a PROCMS over a certain value, or SQL which uses a particular index, or SQL which accesses a particular table. 12
13 Only choose queries which have certain access path characteristics 13
14 Capture the workload After selecting packages / plans / filters Click finish to capture workload OSC goes about the business of collecting the statements Queue Jeopardy music, get some coffee. 14 IBM Corporation
15 Workload options shows what you can do with this workload you ve just collected. 15
16 Workload statements shows the SQL within the workload. You should note that executions is set to 1, and there is no runtime execution information contained in this view. For the catalog source, as well as manual input, text file, and QMF sources there is no runtime information available through these workload generation sources. Earlier I indicated that one aspect of workload tuning is understanding the workload how often statements execute and what their performance is, and how that is helpful for guiding analysis. Using the catalog source tells us what SQL are in the workload, but not how often they execute, and what their typical performance is. We will be able to generate SQL targeted statistics recommendations even without knowing the frequency of execution and performance characteristics. So there is value to using this method, but we re still lacking the runtime information which we also would want. 16
17 You can capture more statements using another catalog extraction, or via other workload input options. 17
18 Two things to note: 1) Edit statement runtime information. 2) You can launch the individual query based advisors right from within a workload. We re going to cover the query based tuning tools later. 18
19 Run workload advisors. Note, for Optimization Service Center there currently is only one workload advisor workload statistics advisor. There is a for-charge product built on the same base which includes workload statistics advisor and another advisor. There are other workload analysis features under consideration but not yet available. 19
20 Why statistics advisor? Statistics are collected to help optimizer in costing available access paths Say you interview for a DBA position with three companies, and they all provided offers. What is the salary? How much vacation? How is the commute? Will you have to work weekends, nightshift, how often? What if you had to make a decision between the three offers, and you did not have (accurate) answers to the above questions? Without adequate answers to these questions, what are the odds you d be satisfied with your choice? Statistics advisor is asking these questions of your data for your queries. 20 IBM Corporation 2007 Sometimes I get challenged on what statistics are important and why. I have other presentations and articles which have covered this topic, but I wanted to use a metaphor to personalize the type of decision the optimizer has to make. 20
21 Workload statistics advisor recommendations page. 21
22 Workload Statistics Advisor will ALWAYS generate complete workload statistics recommendation. It will recommend recollection of the statistics you ve got, and supplement with any correlation (COLGROUP and KEYCARD) and skew (frequencies, histograms) which it believes are required based on the predicates in your SQL. If you ve collected all the statistics that statistics advisor thinks are necessary, it will STILL generate a complete suggestion marked as high priority, but the LOW priority repair recommendation will disappear. This has caused some confusion with users. The primary purpose of WSA is to generate a complete, targeted statistics recommendation which recollects existing statistics as well as supplementing with missing / conflicting statistics. If the low priority repair suggestion is absent, then WSA has determined that your statistics are good. We re working on a GUI change which will make this more clear. 22
23 Runstats control statements This section contains the actual RUNSTATS suggestions. 23
24 24
25 25
26 Output looks complex RUNSTATS commands are more targeted Only collect on tables used in queries Only collect column statistics on columns used as predicates Collect frequency and histogram statistics based on predicates which would benefit 26 IBM Corporation
27 Pause for questions on WSA? 27 IBM Corporation
28 Cache statement view Cache statement view Number of executions Accumulated & average CPU time Accumulated & average elapsed time SQL text Cache as input provides more visibility into how often SQL executing, cost of statements 28 IBM Corporation 2007 When you snap the dynamic statement cache, if you ve got IFCID turned on, you also get runtime information. So with the dynamic statement cache source input, you can get a better picture of how often SQL are running and it s performance characteristics which is useful for targeting your tuning efforts, understanding your application, and for measuring performance improvements. One drawback of the statement cache is it s a snapshot in time. Some SQL run by the application may not have executed yet, or their frequency of execution could be underreported depending on when the snapshot is taken. So it s not an ideal way to get an accurate profile of all SQL for an application. 28
29 When you snap the statement cache, you get runtime information. The runtime information from a snap of the statement cache has limitations. What if you snapped the statement cache early in the workload and an important statement is underrepresented from a number of executions perspective? It could be underrated from index advisor analysis perspective. Some SQL for the workload may have been flushed from the cache, or not yet put into the cache. So we can t be sure we have a complete picture of the workload. So it s imperfect, but having the runtime information is still more valuable than having nothing. 29
30 Monitor workload Normal monitor workload All SQL based on certain criteria Obtain runtime information for all monitored SQL (including static) Useful to profile an application Which SQL running most frequently? Which queries consuming most elapsed / execution time? Useful to identify which SQL are consuming most resources, tuning opportunities Exception monitor Workload generated based on exception criteria All SQL for package > x seconds elapsed All SQL for package > x seconds elapsed 30 IBM Corporation 2007 Workload monitoring is the ideal way to profile an application. You can define a workload consisting of plan, or a set of packages, as well as an IP address authid combination for remote dynamic SQL. You can then start the monitor, and perform a controlled run the application. When the application completes, or runs long enough to get a good perspective of the application, stop the monitoring. A workload is generated containing all the SQL which executed static or dynamic - with runtime information. Exception monitoring takes the scope of normal monitoring and overlays the option of setting CPU consumption thresholds to build a workload for all application SQL which exceeds the defined thresholds. 30
31 Create a normal or exception monitor. 31
32 You can build a list of packages as well as dynamic statements to monitor. 32
33 33
34 Just wanted to show a snapshot of the runtime information for static SQL. Number of executions, accumulated / average elapsed times, and accumulated / elapsed CPU times. 34
35 For an exception monitor, you set thresholds on which statements will generate the workload. This is useful to generate a workload from SQL consuming high CPU. 35
36 Application tuning Normal monitor allows for capture of all SQL Specify list of packages Prevents workload pollution which can occur with statement cache Capture valuable execution information Ideally initially used in QA environment to profile / tune application before production implementation How often does this execute? How long does this run? you can have answers to these questions Selectively use in production to develop application profile and tune application 36 IBM Corporation
37 Which workload source to use? Which workload source provides Identification of static and dynamic SQL statements executed Statement execution information Statement accumulated and average execution CPU and elapsed times Provides runtime information for any source Can re-measure and expect to see the same SQL again, compare results Is not polluted with dynamic SQL which are not relevant to the application? Workload monitoring (normal) 37 IBM Corporation
38 End of Workload tuning Next up, Query tuning with OSC Statistics Advisor Query annotation Query report Visual Explain Visual plan hint 38 IBM Corporation
39 Tuning a query Steps to tuning a query Identify statement Collect information regarding SQL Formatted SQL Physical design of referenced objects Statistics Access path Advisor output (like having another DBA perspective) Mentally compute, is access path efficient? Could we do better? 39 IBM Corporation
40 From the welcome page. Easist route to tuning a query is to select. Tune a query! 40
41 Pick your query. Note We ve buried things like the CURRENT DEGREE special register, CURRENT SCHEMA, explain with stored procedure within the Specify Query Context area. So, do take a whirl into that area to familiarize yourself. 41
42 I believe this is self explanatory... 42
43 One big improvement of OSC over Visual Explain is the consolidation of sources. Within VE, explaining dynamic SQL, static SQL, or looking at the dynamic statement cache the query inputs were scattered in different menu options. Some buried so well, you d hardly know there was any option at all. Early on, Statistics Advisor in VE only worked with a dynamically explained SQL (eventually, it was expanded in VE to support static, and explain from statement cache). Anyway, OSC has consolidated the query input options, and the query action options. You go to one place and you can get a query from any of the supported inputs. All of the query tools are available for all of the various input methods using a consolidated common interface. Personally, I think this is much cleaner. 43
44 Another significant improvement over VE With VE, when you used the statement cache interface, you had to define your filter and sort criteria over and over again. With OSC, there are some canned views, which display the statement cache in several desirable display and sort sequences. So you can choose from our preconfigured views (if you don t like them it s my fault). Alternately, you can create your own filter / sort / display view and save it for repeating use. I think this is a small, but very significant usability improvement. 44
45 Other cache improvements Design your own cache display view Choose filter criteria Choose how to sort rows retrieved from cache Choose which columns to display After rows retrieved, you can re-sort the rows displayed on the screen also Vastly improved statement cache interface One-time setup, repeating use 45 IBM Corporation
46 46
47 After you ve selected a query Query options Run SQL Categorize SQL Advisors Run statistics advisor Tools Query annotation Query graph Visual Plan Hint Query report 47 IBM Corporation
48 48
49 49
50 50
51 Original SQL Query annotation Format SQL Annotate SQL with statistics Helpful highlighting Expand / collapse query sections 51 IBM Corporation 2007 Just FYI Query annotation is probably the favorite feature of the entire product for the team that performs SQL service. Very often, we are provided completely unformatted and unanalyzed queries. Query annotation formats and provides both the original and transformed SQL text so that it s readable. It then annotates the SQL with valuable statistics and important costing information like qualified rows estimates at the table level, and estimated filtering at the predicate level. Let s take a look 51
52 Original SQL SELECT S_SUPPKEY, S_NAME, SUM(L_EXTENDEDPRICE*(1-L_DISCOUNT)) AS REVENUE FROM SYSADM.ORDER, SYSADM.LINEITEM, SYSADM.SUPPLIER WHERE L_ORDERKEY = O_ORDERKEY AND S_SUPPKEY = L_SUPPKEY AND O_ORDERDATE >= DATE(' ') AND O_ORDERDATE < DATE(' ') + 3 MONTH AND L_RETURNFLAG = 'R' AND S_NATIONKEY IN (1,2,3,4,5) AND S_SUPPKEY < GROUP BY S_SUPPKEY, S_NAME HAVING SUM(L_EXTENDEDPRICE*(1-L_DISCOUNT)) > ORDER BY REVENUE DESC QUERYNO 3 52 IBM Corporation 2007 You see, when someone sends me an SQL like this, I know that they have done absolutely nothing to analyze this SQL. If you can t read it, you can t analyze it. 52
53 Formatted SELECT SYSADM.SUPPLIER.S_SUPPKEY, SYSADM.SUPPLIER.S_NAME, SUM( SYSADM.LINEITEM.L_EXTENDEDPRICE * ( 1 - SYSADM.LINEITEM.L_DISCOUNT ) ) AS REVENUE FROM SYSADM.SUPPLIER, SYSADM.ORDER, SYSADM.LINEITEM WHERE ( SYSADM.LINEITEM.L_ORDERKEY = SYSADM.ORDER.O_ORDERKEY AND SYSADM.SUPPLIER.S_SUPPKEY = SYSADM.LINEITEM.L_SUPPKEY AND SYSADM.LINEITEM.L_RETURNFLAG = 'R' AND SYSADM.ORDER.O_ORDERDATE < ( DATE( ' ' ) + 3 MONTHS ) AND SYSADM.ORDER.O_ORDERDATE >= DATE( ' ' ) AND SYSADM.SUPPLIER.S_NATIONKEY IN ( 1, 2, 3, 4, 5 ) AND SYSADM.SUPPLIER.S_SUPPKEY < ) GROUP BY SYSADM.SUPPLIER.S_SUPPKEY, SYSADM.SUPPLIER.S_NAME HAVING SUM( SYSADM.LINEITEM.L_EXTENDEDPRICE * ( 1 - SYSADM.LINEITEM.L_DISCOUNT ) ) > ORDER BY REVENUE DESC 53 IBM Corporation 2007 Snap, SQL is formatted. Nice feature all by itself. 53
54 Annotated SELECT SYSADM.SUPPLIER.S_SUPPKEY, SYSADM.SUPPLIER.S_NAME, SUM( SYSADM.LINEITEM.L_EXTENDEDPRICE * ( 1 - SYSADM.LINEITEM.L_DISCOUNT ) ) AS REVENUE FROM SYSADM.SUPPLIER CARDF=10,000 QUALIFIED_ROWS=1, NPAGESF=402, SYSADM.ORDER CARDF=1,500,000 QUALIFIED_ROWS=57, NPAGESF=42,417, SYSADM.LINEITEM CARDF=4,254,339 QUALIFIED_ROWS=1,048,737.0 NPAGESF=141,743 WHERE ( SYSADM.LINEITEM.L_ORDERKEY = SYSADM.ORDER.O_ORDERKEY COLCARDF=1,063,455/1,500,00 MAX_FREQ= %/ FF= E-7 AND SYSADM.SUPPLIER.S_SUPPKEY = SYSADM.LINEITEM.L_SUPPKEY COLCARDF=10,000/10,000 MAX_FREQ=99.99%/ % FF= E-5 AND SYSADM.LINEITEM.L_RETURNFLAG = 'R' COLCARDF=4 MAX_FREQ= % FF= AND SYSADM.ORDER.O_ORDERDATE < ( DATE( ' ' ) + 3 MONTHS ) COLCARDF=2,304 MAX_FREQ=0.0414% FF= LOW2KEY= HIGH2KEY= AND SYSADM.ORDER.O_ORDERDATE >= DATE( ' ' ) COLCARDF=2,304 MAX_FREQ=0.0414% FF= LOW2KEY= HIGH2KEY= AND SYSADM.SUPPLIER.S_NATIONKEY IN ( 1, 2, 3, 4, 5 ) COLCARDF=25 MAX_FREQ=4.21% FF= AND SYSADM.SUPPLIER.S_SUPPKEY < COLCARDF=10,000 MAX_FREQ=99.99% FF= LOW2KEY=2 HIGH2KEY=9999 ) GROUP BY SYSADM.SUPPLIER.S_SUPPKEY, SYSADM.SUPPLIER.S_NAME HAVING SUM( SYSADM.LINEITEM.L_EXTENDEDPRICE * ( 1 - SYSADM.LINEITEM.L_DISCOUNT ) ) > FF= ORDER BY REVENUE DESC 54 IBM Corporation 2007 Now, take the formatted SQL, and add some costing information into it. 54
55 Here s what it looks like inside OSC. 55
56 Annotation table details Table annotations CARDF number of rows in the table NPAGESF number of pages Qualified rows optimizer estimated number of rows after local filtering (as though table is the outer table) Value Poor join sequence often due to inaccurate filtering estimate at the single table level Qualified rows shows optimizer estimate, is it accurate? CARDF, NPAGESF useful to have this embedded as you re looking at SQL and predicates 56 IBM Corporation 2007 Definition of some of the annotations. 56
57 Annotation table close-ups SELECT cols FROM SYSADM.SUPPLIER CARDF=10,000 QUAL_ROWS=1, NPAGESF=402, SYSADM.ORDER CARDF=1,500,000 QUAL_ROWS=57, NPAGESF=42,417, SYSADM.LINEITEM CARDF=4,254,339 QUAL_ROWS=1,048,737.0 NPAGESF=141, IBM Corporation
58 Annotation predicate details Column information COLCARDF number of distinct values for a column. For join predicate, both COLCARDF s shown Show selectivity of each predicate Max Freq Maximum frequency (if collected) Skew statistics collected? Show most skewed frequency (indicator of degree of skew) 58 IBM Corporation
59 Annotation predicate details Column information (cont.) FF (filter factor) optimizer single predicate filter factor estimate Show optimizer filtering estimate Is it accurate? (Compare to actual filtering) LOW2KEY / HIGH2KEY shown for range predicates. Observe literal value with domain of actual values Can spot stale columns statistics Eg. HIGH2KEY = , you ve got 2007 data in the table WHERE SALES_DT BETWEEN AND IBM Corporation
60 Annotation predicate close-up ( SYSADM.LINEITEM.L_ORDERKEY = SYSADM.ORDER.O_ORDERKEY AND SYSADM.SUPPLIER.S_SUPPKEY = SYSADM.LINEITEM.L_SUPPKEY AND SYSADM.LINEITEM.L_RETURNFLAG = 'R' AND SYSADM.ORDER.O_ORDERDATE < ( DATE( ' ' ) + 3 MONTHS ) AND SYSADM.ORDER.O_ORDERDATE >= DATE( ' ' ) AND SYSADM.SUPPLIER.S_NATIONKEY IN ( 1, 2, 3, 4, 5 ) AND SYSADM.SUPPLIER.S_SUPPKEY < COLCARDF=1,063,455/1,500,00 MAX_FREQ= %/ FF= E-7 COLCARDF=10,000/10,000 MAX_FREQ=99.99%/0.0119% FF= E-5 COLCARDF=4 MAX_FREQ= % FF= COLCARDF=2,304 MAX_FREQ=0.0414% FF= LKEY= HKEY= COLCARDF=2,304 MAX_FREQ=0.0414% FF= LOW2KEY= HIGH2KEY= COLCARDF=25 MAX_FREQ=4.21% FF= COLCARDF=10,000 MAX_FREQ=99.99% FF= LOW2KEY=2 HIGH2KEY= IBM Corporation
61 General annotation comments SQL analysis Start at the table level Identify any tables where qualified rows estimate looks off Examine predicates on that table Any individual predicates look too Optimistic? Pessimistic? Frequencies, histograms? After individual predicates are OK, any unaddressed correlation? KEYCARD, COLGROUP? Difficult to estimate predicate? WHERE SUBSTR(C1,1,4) = ABCD 61 IBM Corporation
62 Query annotation transformed SQL Transformed SQL All original SQL annotation benefits plus Show optimizer rewritten SQL Predicate transitive closure Predicate transformations Distribution and pruning Merge / materialization 62 62
63 63
64 64
65 65
66 66
67 67
68 68
69 69
70 Query report Easy to read report which shows Database / table space Table Index Indexed columns Column group cardinality Quick reference Statistics on objects Statistics on indexed columns KEYCARD statistics mapped into index 70 IBM Corporation
71 71
72 New SQL SELECT <cols> FROM SYSIBM.SYSPACKSTMT AS A, SYSIBM.SYSPACKAGE AS C WHERE ( A.QUERYNO > -1 AND C.COLLID = 'TEST' AND C.NAME = 'PGM1' AND A.COLLID = C.COLLID AND A.LOCATION = C.LOCATION AND A.NAME = C.NAME AND A.VERSION = C.VERSION ) ORDER BY <cols> 72 IBM Corporation
73 Query report table 1 73 IBM Corporation
74 Query report table 2 Looks like someone forgot to run RUNSTATS Hey this is MY database! 74 IBM Corporation
75 Statistics advisor says RUNSTATS TABLESPACE DSNDB06.SYSPKAGE TABLE(SYSIBM.SYSPACKSTMT) COLUMN(NAME,QUERYNO,VERSION,COLLID) TABLE(SYSIBM.SYSPACKAGE) COLUMN(NAME,VERSION,COLLID) INDEX(SYSIBM.DSNKSX01 KEYCARD,SYSIBM.DSNKKX02 KEYCARD,SYSIBM.DSNKKX01 KEYCARD) SHRLEVEL CHANGE REPORT YES 75 IBM Corporation
76 Query report table 1 Nice to see cascading MCARD s Only matching on 2 or 3 columns? Easy to see the KEYCARD bound 76 IBM Corporation
77 Query report table 2 Easy to read index, indexed columns report. Observations Clusterratiof of DSNKKX01? (reorg?) COLCARDF of CONTOKEN? Not used as a predicate! 77 IBM Corporation
78 Visual explain Access Plan Graph Ported from Visual Explain product Graphically display access path 78 IBM Corporation
79 79
80 Access plan graph 80 IBM Corporation
81 Access plan graph 81 IBM Corporation
82 Query graph overview Reading query graph Read from bottom up Left to right 82 IBM Corporation
83 Access plan graph 83 IBM Corporation
84 Access plan graph zoom 84 IBM Corporation
85 Query graph zoom reading Access index Plan_table_IDX1 Qualifies 2 rows Fetch from table Plan table has 930 rows Approximately 1.6 survive Inner table is accessed approximately 1.6 times 85 IBM Corporation
86 Access plan graph zoom 86 IBM Corporation
87 Descriptor 87 IBM Corporation
88 Descriptor 88 IBM Corporation
89 Descriptor Displays detailed information Descriptor changes as you navigate plan graph Click on index node for index information Click on table node, table information shown Double click node will pop-up independent descriptor window for node 89 IBM Corporation
90 Index descriptor Index node information Index creator, name Statistics on index Uniqueness Clustering attribute 90 IBM Corporation
91 Index scan descriptor Index scan information Index cardinality Index leaf pages Matching predicates Individual matching predicate filter factor Bounded matching predicate filter factor Total index filtering (matching and screening) Estimated scanned leaf pages Estimated index qualified rows 91 IBM Corporation
92 There s more Other information Identify matching, screening, S1, S2 predicates Filter factors for predicates Qualified partitions Parallelism Key range Page Range Degree of parallelism Sort keys, sort key length Estimated number of records at Index matching, total index filtering Data access Sort input / output Join 92 IBM Corporation
93 Textual explain view 93 IBM Corporation 2007 See the box on the bottom left? We added textual explain output for those that like textual explain output (umm, like me). 93
94 Textual explain view OSC shows plan_table rows Short / long format this is obviously a truncated view 94 IBM Corporation
95 Visual Plan Hint Visual Plan Hint Graphically alter the explain table Will show an overview More details included as part of Optimization hints presentation
96 Join graph, starting plan 96 On the left, a join graph shows all of the tables that are joined to each other. On the right is where the optimization hint is built. Buttons at the top allow the local and join predicates to be annotate the join graph. The Default Join Sequence drive Visual Plan Hint to start with the optimizer chosen access path. 96
97 Join graph, starting plan Double click to change access attributes 97 On the left, a join graph shows all of the tables that are joined to each other. On the right is where the optimization hint is built. Buttons at the top allow the local and join predicates to be annotate the join graph. The Default Join Sequence drive Visual Plan Hint to start with the optimizer chosen access path. 97
98 Join graph, starting plan 98 This opens a pop up screen which allows you to customize the access to the table. You can change the access method, join method, prefetch, optional sorts. So using visual plan hint makes it easy to make simple alterations to your existing access path, and let visual plan hint handle the mechanics of generating the records for the PLAN_TABLE. 98
99 Change join sequence step 1 Left click on the join graph, then delete 99 On the left, a join graph shows all of the tables that are joined to each other. On the right is where the optimization hint is built. Buttons at the top allow the local and join predicates to be annotate the join graph. The Default Join Sequence drive Visual Plan Hint to start with the optimizer chosen access path. 99
100 Change join sequence step 2 Reconnect the repositioned tables to join nodes. 100 On the left, a join graph shows all of the tables that are joined to each other. On the right is where the optimization hint is built. Buttons at the top allow the local and join predicates to be annotate the join graph. The Default Join Sequence drive Visual Plan Hint to start with the optimizer chosen access path. 100
101 Validate hints 101 Deploy hints brings up a pop up window where you can change query level optimization hints settings. You set the hint name, query number, application and program names, collection id, version, and explain table qualifier to place the hint. 101
102 Validate hint 102 Differences are highlighted in red for easy identification / analysis. You can tell if the access path you end up with is different from the hint you submitted, and what is also different from the original. I have only shown the hint input and hint output, not the original due to display constraints. 102
103 Visual Plan Hint Summary Visual Plan Hint Graphically alter the explain table Use of drop down lists reduces errors Validation of optimization hint built in Colorful compare of before / after access path, very nice
104 OSC Summary Optimization Service Center overview Support for workloads, workload advisors Monitoring allows for profiling of applications and exception generated workloads Consolidated inputs / outputs Improved statement cache display (allow customized views) Improved query tuning tools Statistics advisor Annotation Query report Access plan graph Visual plan hint 104 IBM Corporation
105 Session F08 Query tuning with Optimization Service Center Patrick Bossman IBM
More Ways to Challenge the DB2 z/os Optimizer. Terry Purcell IBM Silicon Valley Lab
More Ways to Challenge the DB2 z/os Optimizer Terry Purcell IBM Silicon Valley Lab Agenda Introduction Process for validating the preferred access path Filter Factor Challenges Predicate Challenges Conclusion
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 informationDB2 Optimization Service Center DB2 Optimization Expert for z/os
DB2 Optimization Service Center DB2 Optimization Expert for z/os Jay Bruce, Autonomic Optimization Mgr jmbruce@us.ibm.com Important Disclaimer THE I NFORMATI ON CONTAI NED I N THI S PRESENTATI ON I S PROVI
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 informationIBM Optim Query Workload Tuner for DB2 for z/os 4.1. Hands-on Labs
IBM Optim Query Workload Tuner for DB2 for z/os 4.1 Hands-on Labs INTRODUCTION... 2 SINGLE QUERY TUNING... 5 LAB 1 CUT COST AND OPTIMIZE PERFORMANCE... 7 1.1 GETTING STARTED... 8 1.2 CREATING A SAMPLE
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 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 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 informationDb2 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 information7. Query Processing and Optimization
7. Query Processing and Optimization Processing a Query 103 Indexing for Performance Simple (individual) index B + -tree index Matching index scan vs nonmatching index scan Unique index one entry and one
More informationQuery Optimization Ways of DB2 to Improve Database Performance
Query Optimization Ways of DB2 to Improve Database Performance 1 School of Software Engineering, Tongji University Shanghai, 201804, P.R.China E-mail:billtangjf@tongji.edu.cn Zewen Hua a, Jinsong Feng
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 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 informationAdvanced Query Tuning with IBM Data Studio. Tony Andrews Themis
Advanced Query Tuning with IBM Data Studio Tony Andrews Themis Session code:????????? Thu, May 03, 2018 (09:20 AM - 10:20 AM) Platform: Both Db2 LUW and z/os 1 1 Objectives By the end of this presentation,
More informationLesson 3 Transcript: Part 1 of 2 - Tools & Scripting
Lesson 3 Transcript: Part 1 of 2 - Tools & Scripting Slide 1: Cover Welcome to lesson 3 of the db2 on Campus lecture series. Today we're going to talk about tools and scripting, and this is part 1 of 2
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 informationOverview of Implementing Relational Operators and Query Evaluation
Overview of Implementing Relational Operators and Query Evaluation Chapter 12 Motivation: Evaluating Queries The same query can be evaluated in different ways. The evaluation strategy (plan) can make orders
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 informationReducing MIPS Using InfoSphere Optim Query Workload Tuner TDZ-2755A. Lloyd Matthews, U.S. Senate
Reducing MIPS Using InfoSphere Optim Query Workload Tuner TDZ-2755A Lloyd Matthews, U.S. Senate 0 Disclaimer Copyright IBM Corporation 2010. All rights reserved. U.S. Government Users Restricted Rights
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 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 informationVisual Explain Tutorial
IBM DB2 Universal Database Visual Explain Tutorial Version 8 IBM DB2 Universal Database Visual Explain Tutorial Version 8 Before using this information and the product it supports, be sure to read the
More informationCS330. Query Processing
CS330 Query Processing 1 Overview of Query Evaluation Plan: Tree of R.A. ops, with choice of alg for each op. Each operator typically implemented using a `pull interface: when an operator is `pulled for
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 informationWith the growth of data, the reduction in of DBA staffing, tight budgets, and the business goal to be 24x7 it is becoming more important to automate
1 With the growth of data, the reduction in of DBA staffing, tight budgets, and the business goal to be 24x7 it is becoming more important to automate as much Database Administration work as possible.
More informationPresentation Abstract
Presentation Abstract From the beginning of DB2, application performance has always been a key concern. There will always be more developers than DBAs, and even as hardware cost go down, people costs have
More informationPrinciples of Data Management. Lecture #9 (Query Processing Overview)
Principles of Data Management Lecture #9 (Query Processing Overview) Instructor: Mike Carey mjcarey@ics.uci.edu Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 Today s Notable News v Midterm
More informationOverview of Query Evaluation. Overview of Query Evaluation
Overview of Query Evaluation Chapter 12 Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 Overview of Query Evaluation v Plan: Tree of R.A. ops, with choice of alg for each op. Each operator
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 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 for z/os Stored Procedure support in Data Server Manager
DB2 for z/os Stored Procedure support in Data Server Manager This short tutorial walks you step-by-step, through a scenario where a DB2 for z/os application developer creates a query, explains and tunes
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 informationAnswer: Reduce the amount of work Oracle needs to do to return the desired result.
SQL Tuning 101 excerpt: Explain Plan A Logical Approach By mruckdaschel@affiniongroup.com Michael Ruckdaschel Affinion Group International My Qualifications Software Developer for Affinion Group International
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 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 informationSession id: The Self-Managing Database: Guided Application and SQL Tuning
Session id: 40713 The Self-Managing Database: Guided Application and SQL Tuning Lead Architects Benoit Dageville Khaled Yagoub Mohamed Zait Mohamed Ziauddin Agenda SQL Tuning Challenges Automatic SQL Tuning
More informationOptimizer Challenges in a Multi-Tenant World
Optimizer Challenges in a Multi-Tenant World Pat Selinger pselinger@salesforce.come Classic Query Optimizer Concepts & Assumptions Relational Model Cost = X * CPU + Y * I/O Cardinality Selectivity Clustering
More information<Insert Picture Here> DBA s New Best Friend: Advanced SQL Tuning Features of Oracle Database 11g
DBA s New Best Friend: Advanced SQL Tuning Features of Oracle Database 11g Peter Belknap, Sergey Koltakov, Jack Raitto The following is intended to outline our general product direction.
More informationCA Chorus for DB2 Database Management
CA Chorus for DB2 Database Management CA Performance Handbook for DB2 for z/os Version 04.0.00 This Documentation, which includes embedded help systems and electronically distributed materials (hereinafter
More informationEZY Intellect Pte. Ltd., #1 Changi North Street 1, Singapore
Oracle Database 12c: Performance Management and Tuning NEW Duration: 5 Days What you will learn In the Oracle Database 12c: Performance Management and Tuning course, learn about the performance analysis
More informationPerformance Monitoring
Performance Monitoring Performance Monitoring Goals Monitoring should check that the performanceinfluencing database parameters are correctly set and if they are not, it should point to where the problems
More informationOverview of Query Evaluation
Overview of Query Evaluation Chapter 12 Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 Overview of Query Evaluation Plan: Tree of R.A. ops, with choice of alg for each op. Each operator
More informationDB2 12 for z Optimizer
Front cover DB2 12 for z Optimizer Terry Purcell Redpaper Introduction There has been a considerable focus on performance improvements as one of the main themes in recent IBM DB2 releases, and DB2 12
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 informationOracle Database 12c Performance Management and Tuning
Course Code: OC12CPMT Vendor: Oracle Course Overview Duration: 5 RRP: POA Oracle Database 12c Performance Management and Tuning Overview In the Oracle Database 12c: Performance Management and Tuning course,
More informationDB2 for LUW Advanced Statistics with Statistical Views. John Hornibrook Manager DB2 for LUW Query Optimization Development
DB2 for LUW Advanced Statistics with Statistical Views John Hornibrook Manager DB2 for LUW Query Optimization Development 1 Session Information Presentation Category: DB2 for LUW 2 DB2 for LUW Advanced
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 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 informationRelational Query Optimization
Relational Query Optimization Module 4, Lectures 3 and 4 Database Management Systems, R. Ramakrishnan 1 Overview of Query Optimization Plan: Tree of R.A. ops, with choice of alg for each op. Each operator
More informationACS, DB2 for i and the Latest Tools
ACS, DB2 for i and the Latest Tools Scott Forstie Jesse Gorzinski Strategy Windows Install Only Any Device 2 1 IBM i System Management Trends Transformation Resulting Client Value iaccess for Windows Linux
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? par Terry Purcell, IBM Réunion du Guide DB2 pour z/os France Mardi 18 novembre 2014 Tour Europlaza, Paris-La Défense Agenda Plan Management Predicate Indexability
More informationDevelopment in a Virtualized Production Environment
Development in a Virtualized Production Environment True DB2 performance simulation covering Environment changes Schema changes Application changes Ulf Heinrich SEGUS, Inc u.heinrich@segus.com 2012 SOFTWARE
More informationPerformance Optimization for Informatica Data Services ( Hotfix 3)
Performance Optimization for Informatica Data Services (9.5.0-9.6.1 Hotfix 3) 1993-2015 Informatica Corporation. No part of this document may be reproduced or transmitted in any form, by any means (electronic,
More informationLesson 9 Transcript: Backup and Recovery
Lesson 9 Transcript: Backup and Recovery Slide 1: Cover Welcome to lesson 9 of the DB2 on Campus Lecture Series. We are going to talk in this presentation about database logging and backup and recovery.
More informationQuery Processing & Optimization
Query Processing & Optimization 1 Roadmap of This Lecture Overview of query processing Measures of Query Cost Selection Operation Sorting Join Operation Other Operations Evaluation of Expressions Introduction
More informationLesson 4 Transcript: DB2 Architecture
Lesson 4 Transcript: DB2 Architecture Slide 1: Cover Welcome to Lesson 4 of the DB2 on campus series. Today we are going to talk about the DB2 architecture. My name is Raul Chong and I am the DB2 on Campus
More informationGetting Started. In this chapter, you will learn: 2.1 Introduction
DB2Express.book Page 9 Thursday, August 26, 2004 3:59 PM CHAPTER 2 Getting Started In this chapter, you will learn: How to install DB2 Express server and client How to create the DB2 SAMPLE database How
More informationIBM DB2 Log Analysis Tool Version 1.3
IBM DB2 Log Analysis Tool Version 1.3 Agenda Who needs a log analysis tool? What is the IBM DB2 Log Analysis Tool? Robust data change reporting Rapid data restore/change reversal Enhancements in Version
More informationOracle Database 12c: Performance Management and Tuning
Oracle University Contact Us: +43 (0)1 33 777 401 Oracle Database 12c: Performance Management and Tuning Duration: 5 Days What you will learn In the Oracle Database 12c: Performance Management and Tuning
More informationDB2 for z/os: Programmer Essentials for Designing, Building and Tuning
Brett Elam bjelam@us.ibm.com - DB2 for z/os: Programmer Essentials for Designing, Building and Tuning April 4, 2013 DB2 for z/os: Programmer Essentials for Designing, Building and Tuning Information Management
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 informationOrri Erling (Program Manager, OpenLink Virtuoso), Ivan Mikhailov (Lead Developer, OpenLink Virtuoso).
Orri Erling (Program Manager, OpenLink Virtuoso), Ivan Mikhailov (Lead Developer, OpenLink Virtuoso). Business Intelligence Extensions for SPARQL Orri Erling and Ivan Mikhailov OpenLink Software, 10 Burlington
More informationEvaluation of Relational Operations: Other Techniques. Chapter 14 Sayyed Nezhadi
Evaluation of Relational Operations: Other Techniques Chapter 14 Sayyed Nezhadi Schema for Examples Sailors (sid: integer, sname: string, rating: integer, age: real) Reserves (sid: integer, bid: integer,
More informationQuery Optimization Overview
Query Optimization Overview parsing, syntax checking semantic checking check existence of referenced relations and attributes disambiguation of overloaded operators check user authorization query rewrites
More informationIBM DB2 Query Patroller. Administration Guide. Version 7 SC
IBM DB2 Query Patroller Administration Guide Version 7 SC09-2958-00 IBM DB2 Query Patroller Administration Guide Version 7 SC09-2958-00 Before using this information and the product it supports, be sure
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 informationLesson 14 Transcript: Triggers
Lesson 14 Transcript: Triggers Slide 1: Cover Welcome to Lesson 14 of DB2 on Campus Lecture Series. Today, we are going to talk about Triggers. My name is Raul Chong, and I'm the DB2 on Campus Program
More informationSQL PerformanceExpert (SPX) in an IBM RATIONAL world. DB2 for z/os SQL Performance Plug-in for Rational Developers. Roy Boxwell,
DB2 for z/os SQL Performance Plug-in for Developers Roy Boxwell, 2012-03-20 2012 SOFTWARE ENGINEERING GMBH and SEGUS Inc. 0 AGENDA Review of the current topology The BIG picture How a DBA works today Green
More informationReview. Relational Query Optimization. Query Optimization Overview (cont) Query Optimization Overview. Cost-based Query Sub-System
Review Relational Query Optimization R & G Chapter 12/15 Implementation of single Relational Operations Choices depend on indexes, memory, stats, Joins Blocked nested loops: simple, exploits extra memory
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 informationParallelism Strategies In The DB2 Optimizer
Session: A05 Parallelism Strategies In The DB2 Optimizer Calisto Zuzarte IBM Toronto Lab May 20, 2008 09:15 a.m. 10:15 a.m. Platform: DB2 on Linux, Unix and Windows The Database Partitioned Feature (DPF)
More informationOracle Database 11g: Performance Tuning DBA Release 2
Oracle University Contact Us: +65 6501 2328 Oracle Database 11g: Performance Tuning DBA Release 2 Duration: 5 Days What you will learn This Oracle Database 11g Performance Tuning training starts with an
More information6.830 Problem Set 2 (2017)
6.830 Problem Set 2 1 Assigned: Monday, Sep 25, 2017 6.830 Problem Set 2 (2017) Due: Monday, Oct 16, 2017, 11:59 PM Submit to Gradescope: https://gradescope.com/courses/10498 The purpose of this problem
More informationDB2 V8 Neat Enhancements that can Help You. Phil Gunning September 25, 2008
DB2 V8 Neat Enhancements that can Help You Phil Gunning September 25, 2008 DB2 V8 Not NEW! General Availability March 2004 DB2 V9.1 for z/os announced March 2007 Next release in the works and well along
More informationProduct Documentation. DB Optimizer. Evaluation Guide. Version Published November 27, 2009
Product Documentation DB Optimizer Evaluation Guide Version 2.0.1 Published November 27, 2009 Copyright 1994-2009 Embarcadero Technologies, Inc. Embarcadero Technologies, Inc. 100 California Street, 12th
More informationIBM DB2 LUW Performance Tuning and Monitoring for Single and Multiple Partition DBs
IBM DB2 LUW Performance Tuning and Monitoring for Single and Multiple Partition DBs Day(s): 5 Course Code: CL442G Overview Learn how to tune for optimum the IBM DB2 9 for Linux, UNIX, and Windows relational
More informationEmbarcadero DB Optimizer 1.5 Evaluation Guide. Published: March 16, 2009
Embarcadero DB Optimizer 1.5 Evaluation Guide Published: March 16, 2009 Contents INTRODUCTION TO DB OPTIMIZER... 4 Product Benefits... 4 ABOUT THIS EVALUATION GUIDE... 6 SESSION 1: GETTING STARTED WITH
More informationRevival of the SQL Tuner
Revival of the SQL Tuner Sheryl Larsen BMC Session code: F16 9:20 AM Thursday, May 3, 2018 Db2 for z/os Competing More Optimize Drowning Resources, What in Pressures Data You More Have! Problems Drowning
More informationPerformance Tuning for MDM Hub for IBM DB2
Performance Tuning for MDM Hub for IBM DB2 2012 Informatica Corporation. No part of this document may be reproduced or transmitted in any form, by any means (electronic, photocopying, recording or otherwise)
More informationQuery Evaluation Overview, cont.
Query Evaluation Overview, cont. Lecture 9 Slides based on Database Management Systems 3 rd ed, Ramakrishnan and Gehrke Architecture of a DBMS Query Compiler Execution Engine Index/File/Record Manager
More informationOracle Database 11g: SQL Tuning Workshop
Oracle University Contact Us: Local: 0845 777 7 711 Intl: +44 845 777 7 711 Oracle Database 11g: SQL Tuning Workshop Duration: 3 Days What you will learn This Oracle Database 11g: SQL Tuning Workshop Release
More informationOralogic Education Systems
Oralogic Education Systems Next Generation IT Education Systems Introduction: In the Oracle Database 12c: Performance Management and Tuning course, learn about the performance analysis and tuning tasks
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 informationWhen and How to Take Advantage of New Optimizer Features in MySQL 5.6. Øystein Grøvlen Senior Principal Software Engineer, MySQL Oracle
When and How to Take Advantage of New Optimizer Features in MySQL 5.6 Øystein Grøvlen Senior Principal Software Engineer, MySQL Oracle Program Agenda Improvements for disk-bound queries Subquery improvements
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 informationSQL Gone Wild: Taming Bad SQL the Easy Way (or the Hard Way) Sergey Koltakov Product Manager, Database Manageability
SQL Gone Wild: Taming Bad SQL the Easy Way (or the Hard Way) Sergey Koltakov Product Manager, Database Manageability Oracle Enterprise Manager Top-Down, Integrated Application Management Complete, Open,
More informationAnnouncement. Reading Material. Overview of Query Evaluation. Overview of Query Evaluation. Overview of Query Evaluation 9/26/17
Announcement CompSci 516 Database Systems Lecture 10 Query Evaluation and Join Algorithms Project proposal pdf due on sakai by 5 pm, tomorrow, Thursday 09/27 One per group by any member Instructor: Sudeepa
More informationCopyright 2016 Ramez Elmasri and Shamkant B. Navathe
CHAPTER 19 Query Optimization Introduction Query optimization Conducted by a query optimizer in a DBMS Goal: select best available strategy for executing query Based on information available Most RDBMSs
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 informationQuery Evaluation Overview, cont.
Query Evaluation Overview, cont. Lecture 9 Feb. 29, 2016 Slides based on Database Management Systems 3 rd ed, Ramakrishnan and Gehrke Architecture of a DBMS Query Compiler Execution Engine Index/File/Record
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 informationThis is the forth SAP MaxDB Expert Session and this session covers the topic database performance analysis.
1 This is the forth SAP MaxDB Expert Session and this session covers the topic database performance analysis. Analyzing database performance is a complex subject. This session gives an overview about the
More informationThe DB2Night Show Episode #89. InfoSphere Warehouse V10 Performance Enhancements
The DB2Night Show Episode #89 InfoSphere Warehouse V10 Performance Enhancements Pat Bates, WW Technical Sales for Big Data and Warehousing, jpbates@us.ibm.com June 27, 2012 June 27, 2012 Multi-Core Parallelism
More information<Insert Picture Here> DBA Best Practices: A Primer on Managing Oracle Databases
DBA Best Practices: A Primer on Managing Oracle Databases Mughees A. Minhas Sr. Director of Product Management Database and Systems Management The following is intended to outline
More informationWelcome to the presentation. Thank you for taking your time for being here.
Welcome to the presentation. Thank you for taking your time for being here. In this presentation, my goal is to share with you 10 practical points that a single partitioned DBA needs to know to get head
More informationPerformance Topics for DB2 Application Tuners
Platform: z/os Application Development Performance Topics for DB2 Application Tuners Sheryl M. Larsen Sheryl M. Larsen, Inc. September 10, 2008 MWDUG Chicago, IL DB2 is a Registered Trademark of IBM Corporation
More informationReal-World Performance Training Star Query Prescription
Real-World Performance Training Star Query Prescription Real-World Performance Team Dimensional Queries 1 2 3 4 The Dimensional Model and Star Queries Star Query Execution Star Query Prescription Edge
More informationPersistence Performance Tips
Persistence Performance Tips Dan Bunker Training Overview Persistence Performance Overview Database Performance Tips JPA Performance Tips Spring JDBC Performance Tips Other Tips Prerequisites Java 6+,
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 informationLazy Maintenance of Materialized Views
Lazy Maintenance of Materialized Views Jingren Zhou, Microsoft Research, USA Paul Larson, Microsoft Research, USA Hicham G. Elmongui, Purdue University, USA Introduction 2 Materialized views Speed up query
More information