INTRODUCTION TO QUERY PERFORMANCE TUNING: A 12 STEP PROGRAM JANIS GRIFFIN SENIOR DBA / PERFORMANCE EVANGELIST
|
|
|
- Irene Cain
- 9 years ago
- Views:
Transcription
1 INTRODUCTION TO QUERY PERFORMANCE TUNING: A 12 STEP PROGRAM JANIS GRIFFIN SENIOR DBA / PERFORMANCE EVANGELIST
2 WHO AM I?» Senior DBA / Performance Evangelist for Solarwinds [email protected] Twitter Current 25+ Years in Oracle, Sybase, SQL Server DBA and Developer» Specialize in Performance Tuning» Review Database Performance for Customers and Prospects» Common Thread Paralyzed by Tuning 2
3 AGENDA» Challenges Of Tuning Who should tune Which SQLs to tune» Utilize Response Time Analysis (RTA) Wait Events / Wait Time» 12 Steps To Follow» Several Case Studies 3
4 CHALLENGES OF TUNING» SQL Tuning is Hard Who should tune DBA or Developer Which SQL to tune» Requires Expertise in Many Areas Technical Plan, Data Access, SQL Design Business What is the Purpose of SQL?» Tuning Takes Time Large Number of SQL Statements Each Statement is Different» Low Priority in Some Companies Vendor Applications Focus on Hardware or System Issues» Never Ending 4
5 Image courtesy of Gentle-Stress-Relief.com 5
6 1. FIND WHICH SQL TO TUNE Methods for Identifying» User / Batch Job Complaints Known Poorly Performing SQL Trace Session/Process» Queries Performing Most I/O (Buffer Gets, Disk Reads) Table or Index Scans» Queries Consuming CPU» Highest Response Times - DPA (formally Ignite) 6
7 RESPONSE TIME ANALYSIS (RTA) Focus on Response Time Understand the total time a Query spends in Database Measure time while Query executes Oracle helps by providing Wait Events 7
8 WHAT ARE WAIT EVENTS» Events have 0-3 parameters that provide more information Example: db file sequential read P1=file#, P2=block#, P3=blocks» Knowing what a query waits on - gives a starting place Locking issues may lead to a different solution Than if it were waiting on disk reads» Oracle 10g 800+ wait events» Oracle 11g wait events» Oracle 12c wait events» Good news: only need to know small (very small) subset of them If you know the top 10 or so, it will take you a long way
9 WAIT EVENT INFORMATION V$SESSION SID SERIAL# USERNAME USERNAME SQL_ID MACHINE PROGRAM PROGRAM MODULE MODULE ACTION ACTION PLAN_HASH_VALUE SQL_ID PLAN_HASH_VALUE EVENT P1TEXT P1 P2TEXT P2 P3TEXT P3 STATE (WAITING, WAITED) BLOCKING_SESSION V$SQL SQL_ID SQL_FULLTEXT V$SQL_PLAN SQL_ID PLAN_HASH_VALUE OPERATION OBJECT_NAME V$SQL_BIND_CAPTURE SQL_ID NAME DATATYPE_STRING VALUE_STRING V$SQLAREA SQL_ID EXECUTIONS PARSE_CALLS BUFFER_GETS DISK_READS DBA_OBJECTS OBJECT_ID OBJECT_NAME OBJECT_TYPE 9
10 BASE QUERY INSERT INTO rta_data SELECT sid, serial#, username, program, module, action, machine, osuser, sql_id, blocking_session, decode(state, WAITING, event, CPU ) event, p1, p1text, p2, p2text, etc, SYSDATE FROM V$SESSION s WHERE s.status = ACTIVE AND wait_class!= Idle AND username!= USER; 10
11 ACTIVE SESSION HISTORY (ASH)» V$ACTIVE_SESSION_HISTORY Data warehouse for session statistics Oracle 10g and higher Data is sampled every second Holds at least one hour of history Never bigger than: 2% of SGA_TARGET 5% of SHARED_POOL (if automatic sga sizing is turned off)» WRH$_ACTIVE_SESSION_HISTORY Above table gets flushed to this table 11
12 V$ACTIVE_SESSION_HISTORY» Details of what happened between 12:07 and 12:18 am SELECT --s.sql_id, sql.sql_text, s.session_id, s.user_id, s.machine, s.program, s.module, s.action, s.blocking_session, s.event, s.p1, s.p2, s.p3, s.wait_class FROM v$active_session_history s LEFT OUTER JOIN v$sql sql ON s.sql_id = sql.sql_id AND s.sql_child_number = sql.child_number WHERE s.session_type <> 'BACKGROUND' AND s.sample_time BETWEEN TO_DATE( 03/31/15 12:07', 'mm/dd/yy hh24:mi') AND TO_DATE( 03/31/15 12:18','mm/dd/yy hh24:mi')
13 RTA - WAIT TIME & EVENTS Top SQL Statements SPRD2_PROD2 January 20, :00AM to 9 :00AM 1 hr of time in database. 78% is spent on db file sequential read Over half of the time is spent on buffer waits 13
14 RTA BENEFITS 14
15 IDENTIFY END-TO-END TIME Accurate End-to-End Response Time Analysis 15
16 2. GET EXECUTION PLAN» First, what is an execution plan?» Shows the sequence of operations performed to run SQL Statement Order of the tables referenced in the statements Access method for each table in the statement INDEX INLIST ITERATOR TABLE ACCESS VIEW Join method in statement accessing multiple tables HASH JOIN MERGE JOIN NESTED LOOPS Data manipulations CONCATENATION COUNT FILTER SORT Statistic Collectors New in 12C 16
17 SIMPLE EXAMPLE» Optimizer s detailed steps to execute a SQL Statement SELECT e.empno EID, e.ename "Employee_name", d.dname "Department, e.hiredate "Hired_Date" FROM emp e, dept d WHERE d.deptno = '40' AND e.deptno = d.deptno; Index Scan Pk_Dept Access Access Emp Id Operation & Option SELECT STATEMENT Name 1 NESTED LOOPS 2 TABLE ACCESS BY INDEX ROWID DEPT 3 INDEX UNIQUE SCAN PK_DEPT 4 TABLE ACCESS FULL EMP Dept Nested Loops
18 HOW TO VIEW THE EXECUTION PLAN» EXPLAIN PLAN Estimated plan - can be wrong for many reasons Best Guess, Blind to Bind Variables or Data types Explain Plan For sql statement & DBMS_XPLAN.display Set autotrace (on trace exp stat off)» Tracing (all versions) / TKPROF Get all sorts of good information Works when you know a problem will occur» V$SQL_PLAN (Oracle 9i+) Actual execution plan Use DBMS_XPLAN.display_cursor for display» Historical Plans AWR, Solarwinds DPA Shows plan changes over time 18
19 DBMS_XPLAN» Functions in 12c» New format options for display_cursor select * from table (dbms_xplan.display_cursor(&sql_id,&child,format=>'+adaptive'))» Shorthand to get last statement run select * from table(dbms_xplan.display_cursor(format =>'+report +adaptive')) 19
20 3. EXAMINE THE EXECUTION PLAN» Find Expensive Operators Examine cost, row counts and time of each step Look for full table or index scans (expensive steps)» Review the Predicate Information Know how bind variables are being interpreted Review the data types Implicit conversions Know which step filtering predicate is applied» Check out the Notes Section 20
21 EXECUTION PLAN DETAILS (EXPLAIN PLAN) SELECT e.empno EID, e.ename "Employee_name, d.dname "Department, e.hiredate "Date_Hired" FROM emp e, dept d WHERE d.deptno = :P1 AND e.deptno = d.deptno; SET AUTOTRACE TRACEONLY: 21
22 EXECUTION PLAN DETAILS (ACTUAL) SELECT e.empno EID, e.ename "Employee_name", d.dname "Department", e.hiredate "Date_Hired" FROM emp e, dept d WHERE d.deptno = :P1 AND e.deptno = d.deptno; Actual Plan: V$SQL_PLAN using dbms_xplan.display_cursor 22
23 EXECUTION ACTUAL VS EXPLAIN PLAN Bind Variable Peeking Example / Adaptive Cursor Sharing Fix (11g) 23
24 4. KNOW THE OPTIMIZER FEATURES USED» Show parameter optimizer» What is supporting the Execution Plan SQL Plan Management (Baselines) / Profiles Dynamic Statistics or SQL Directives Adaptive Cursor Sharing Adaptive Plans» Notes Section gives you clues 24
25 IN THE BEGINNING» Rule Based Optimizer (Version < = 6) Rules based on 17 possible access paths Only one Execution Plan chosen based on ranking of rules Tricks were used to change the Optimizer s behavior Simple rewrites of OR to Union ALL» Cost Based Optimizer (Version > = 7.3) Multiple plans generated with estimated cost of IO/CPU Plan with lowest cost chosen Allowed for Hash joins, Histograms, Partitioning & Parallel queries More complex rewrites / transformations Required statistics gathering / Plans Changed 8.1.7, Stored Outlines to control plan changes 9.2, Dynamic sampling of Statistics 10g, SQL Profiles / Tuning Advisor DBMS_SQLTUNE Costs $$$ Oracle 11, Adaptive Cursor Sharing / SQL Plan Management Oracle 12c, Adaptive Optimizer 25
26 HOW THE OPTIMIZER WORKS Parsed Query (from Parser) Query Transformer rewrites query to be more efficient Transformed Query Estimator looks at selectivity, cardinality & cost Data Dictionary Schema Definition Statistics Query + Estimates Plan Generator creates multiple plans using different access paths & join types. Plan with lowest cost is chosen Init.ora parameter to control behavior: OPTIMIZER_FEATURES_ENABLED Default Plan sent to Row Source Generator 26
27 EXECUTION PLAN USING SPM (11G) Select * from dba_sql_plans_baselines; 27
28 12C ADAPTIVE QUERY OPTIMIZER» Allows for run-time adjustments to execution plans» Can discover additional information which can lead to better statistics & optimal plans Adaptive Query Optimizer Adaptive Plans Adaptive Statistics Join Methods Parallel Distribution Dynamic Statistics Automatic Reoptimization Sql Plan Directives 28
29 HOW TO VIEW ADAPTATIONS» Use DBMS_XPLAN.DISPLAY_CURSOR Explain Plan (dbms_xplan.display) may only show default or initial plan Be Careful! Use format parameter +report for testing Shows what the adaptive plan would be but doesn t use it select * from table(dbms_xplan.display_cursor ('&sql_id',&child,format=>'+report')); Use format parameter +adaptive to see all steps ( active / inactive) including optimizer statistics collectors select * from table(dbms_xplan.display_cursor('&sql_id',&child,format=>'+adaptive')); 29
30 REPORT MODE alter session set optimizer_adaptive_reporting_only=true; select * from table(dbms_xplan.display_cursor('8qpakg674n4mz',0,format=>'+report')); 30
31 REPORT MODE CONT. 31
32 ADAPTIVE PLANS (12C) SELECT sql_id, child_number, SUBSTR(sql_text, 1,30) sql_text, IS_RESOLVED_ADAPTIVE_PLAN, IS_REOPTIMIZABLE FROM v$sql WHERE sql_text like 'select /* jg */%' ORDER BY sql_id,child_number select /* jg */ p.product_name from order_items o, product p where o.unit_price = :b1 and o.quantity > :b2 and o.product_id = p.product_id; IS_REOPTIMIZABLE is for next execution Y - the next execution will trigger a reoptimization R has reoptimization info but won t trigger due to reporting mode N -the child cursor has no reoptimization info 32
33 ADAPTIVE PLAN EXAMPLE Adapted on first execution alter session set optimizer_adaptive_reporting_only=false; 33 33
34 WHAT CHANGED? After Reoptimization has occurred 34
35 5. GET TABLE & COLUMN INFO» Understand objects in execution plans Table Definitions & Segment sizes Is it a View get underlying definition Number of Rows / Partitioning Examine Columns in Where Clause Cardinality of columns / Data Skew / Histograms SELECT e.empno EID, etc FROM emp e, dept d WHERE d.deptno = :P1 AND e.deptno = d.deptno; Statistic Gathering Tip: Out-of-date statistics can impact performance» Use TuningStats.sql OracleTuningStats.sql» Run it for expensive data access targets 35
36 REVIEW TABLE & COLUMN STATISTICS SELECT column_name, num_distinct, num_nulls, num_buckets, density, sample_size FROM user_tab_columns WHERE table_name = EMP ORDER BY column_name; SELECT count(*) FROM EMP; COUNT(*) SELECT 6013/4 dist FROM DUAL; DIST SELECT DEPTNO, count(*) FROM EMP GROUP BY DEPTNO; Would an index on EMP.DEPTNO increase performance? DEPTNO COUNT(*)
37 HISTOGRAMS exec dbms_stats.gather_schema_stats(ownname => 'SCOTT', options => 'GATHER AUTO', estimate_percent => dbms_stats.auto_sample_size, method_opt => 'for all columns size auto') exec dbms_stats.gather_table_stats( ownname => 'SCOTT', tabname => 'EMP', method_opt=>'for COLUMNS deptno SIZE 2'); New in 12c Top Frequency / Hybrid (Height Balanced going away) 37
38 6. REVIEW INDEXES & CONSTRAINTS» Get Index definitions Know the order of columns and their selectivity» Review existing keys and constraints Know Multi-Table Relationships (ERD) Primary key and foreign definitions Check and not null constraints» Tip: Keys & constraints help the optimizer create better execution plans» Make sure the optimizer can use the index Functions on indexed columns can turn off index Consider a function index Look for implicit conversions Get sample bind variable values SELECT name, position, datatype_string, value_string FROM v$sql_bind_capture WHERE sql_id = '0zz5h1003f2dw ; 38
39 MORE ON INDEXES» If proper indexes exist but are ignored Is the index invisible? If so, the index won t be used Unless OPTIMIZER_USE_INVISIBLE_INDEXES parameter is true Check the VISIBILITY column in DBA_INDEXES for this. Are optimizer statistics up to date and correct for the table and column? Check the LAST_ANALYZED column in the DBA_INDEXES & DBA_TABLES Gives the most recent date when statistics were gathered. Review SAMPLE_SIZE column in these tables to ensure proper number of rows Does the criteria in WHERE clause match leading edge (1st column) of index? If not, a skip scan could be used, - better than no index but not as efficient Try to create index with a leading edge matching the criteria in the SQL statement
40 MORE ON INDEXES» Sometimes a full scan is necessary Due to the amount of data needed by the query Avoid indexing small tables where a full scan may be more efficient Make sure the columns in the index have good selectivity» If lots of data needs to be read, reduce wait times by: If the query is summarizing data from a detailed table: Consider creating a materialized view Note: may not get fresh data each time - based on the frequency of refreshes If many sessions running same SQL statement & data hardly changes Review if a RESULTS CACHE can be used Can be turned on with a hint or database parameter Consider caching at the application layer
41 Data Type Issues - db file scattered read SELECT company, attribute FROM data_out WHERE segment = :B1» Wait Time 100% on db file scattered read» Plan from EXPLAIN PLAN» Plan from V$SQL_PLAN using DBMS_XPLAN
42 7. CAN T CHANGE THE QUERY» If you can hint it, baseline it (per Tom Kyte)» Alternative to using hints 3 rd Party Software can t modify code Hints difficult to manage over time Once added, usually forgotten about» Example: SQL> var b1 number 2 var b2 number 3 var b3 number 4 exec :b1 := 3358; 5 exec :b2 :=1; 6* exec :b3 :=205; SQL> select /* jg */ p.product_name 2 from order_items o, product p 3 where o.unit_price = :b1 4 and o.quantity > :b2 5 and o.product_id = p.product_id 6* and p.product_id = :b3; PRODUCT_NAME L2H8Zq e D2ex9blrIcUXzF2q4j 42
43 CHANGE THE BASELINE 43
44 CHANGE THE BASELINE 44
45 CHANGE THE BASELINE 45
46 8. ENGINEER OUT THE STUPID» Look for Performance Inhibitors Cursor or row by row processing Parallel processing Hard-coded Hints Nested views that use db_links Abuse of Wild Cards (*) or No Where Clause Code-based SQL Generators (e.g. Hibernate) Non-SARG-able / Scalar Functions Select where upper(first_name) = JANIS 46
47 12C PARALLEL DISTRIBUTION Parallel execution needs to distribute data across all parallel processes For sorts, aggregation & join operations Chosen method depends on number of rows & Degree of Parallelism (DOP) Potential performance problem if few parallel processes distribute many rows Data skew could cause unequal distribution of rows New Hybrid Hash distribution technique Optimizer decides final data distribution method during execution time Statistic collectors are inserted in front of the parallel server processes On producer side of the operation. Chooses: Hash, if rows > than threshold Broadcast, if rows < than threshold Threshold defined as 2 X DOP 47
48 12C PARALLEL DISTRIBUTION Uses Hybrid Hash - 77,329 rows greater than threshold of 40 (2 x 20 DOP = 40) 48
49 12C PERFORMANCE FEEDBACK» Automatically improves the degree of parallelism Init.ora parameter, PARALLEL_DEGREE_POLICY = ADAPTIVE» On 1 st execution, the optimizer decides Whether to execute the statement in parallel The degree of parallelism based on estimates» After 1 st execution, optimizer compares Estimates with actual performance statistics e.g. CPU Time i.e. PARALLEL_MIN_TIME_THRESHOD If significantly different, the statement is marked for reparsing new execution statistics are stored as feedback» Following executions use the performance feedback to determine DOP» If PARALLEL_DEGREE_POLICY not set, statistics feedback may change DOP 49
50 PERFORMANCE FEEDBACK Alter session set PARALLEL_DEGREE_POLICY = ADAPTIVE ; 50
51 SQL PLAN DIRECTIVES» Are additional Instructions for missing column group statistics or histograms Dynamic sampling performed on directive Until statistics are gathered for the column group (e.g. City / State / Country)» Not tied to a specific sql statement defined on a query expression Can be used by similar queries» Are created in shared_pool & periodically written to SYSAUX tablespace DBA_SQL_PLAN_DIRECTIVES DBA_SQL_PLAN_DIR_OBJECTS» Use DBMS_STATS extended functions & procedures CREATE_EXTENDED_STATS SHOW_EXTENDED_STATS_NAME DROP_EXENTED_STATS 51
52 SQL PLAN DIRECTIVES SELECT TO_CHAR(d.directive_id) dir_id, o.owner, o.object_name, o.subobject_name col_name, o.object_type, d.type,d.state,d.reason FROM dba_sql_plan_directives d, dba_sql_plan_dir_objects o WHERE d.directive_id = o.directive_id AND o.owner IN ('SOE') ORDER BY 1,2,3,4,5; 52
53 SQL PLAN DIRECTIVES No Statistics on Employee table so Optimizer uses Directive 53
54 SQL PLAN DIRECTIVES With Bad Statistics on Employee table 54
55 EXTENDED STATISTICS 55
56 9. GATHER RUN-TIME DETAILS» Get baseline metrics How long does it take now What is acceptable (10 sec, 2 min, 1 hour) Get number of Buffer Gets Measurement to compare against while tuning» Collect Wait Event Information Locking / Blocking (enq) I/O problem (db file sequential read) Latch contention (latch) Network slowdown (SQL*Net) May be multiple issues All have different resolutions 56
57 10. TUNE THE QUERY» Focus on most expensive operations first Try to reduce high-cost steps Read less rows» Seeks vs scans which is more expensive» Review Join Methods Nested loop Merge Join Hash join» Use SQL Diagramming To get best Execution Plan 57
58 CASE STUDY 1» Who registered yesterday for SQL Tuning SELECT s.fname, s.lname, r.signup_date FROM student s INNER JOIN registration r ON s.student_id = r.student_id INNER JOIN class c ON r.class_id = c.class_id WHERE c.name = 'SQL TUNING' AND r.signup_date BETWEEN :beg_date AND :end_date AND r.cancelled = 'N'» Execution Stats 21,829 Buffer Gets» Execution Time 22 seconds to execute» Wait Events Waits 90% direct path read 58
59 EXECUTION PLAN 59
60 RELATIONSHIP DIAGRAM FREE - Oracle SQL Developer Data Modeler 60
61 TUNING ADVISOR Recommends 3 new indexes DECLARE l_sql_tune_task_id VARCHAR2(100); BEGIN l_sql_tune_task_id := DBMS_SQLTUNE.create_tuning_task ( sql_id => '&sql_id', scope => DBMS_SQLTUNE.scope_comprehensive, time_limit => 60, task_name => '&sql_id', description => 'Tuning task for class registration query'); DBMS_OUTPUT.put_line('l_sql_tune_task_id: ' l_sql_tune_task_id); END; / EXEC DBMS_SQLTUNE.execute_tuning_task(task_name => '&sql_id'); 61
62 SQL DIAGRAMMING» Great Book SQL Tuning by Dan Tow Great book that teaches SQL Diagramming registration student 1 class.001 select count(1) from registration where cancelled = 'N' and signup_date between ' :00' and ' :00' / = select count(1) from class where name = 'SQL TUNING' 2 / 1,267 =
63 11. RE-RUN THE QUERY» Make Small Changes Consider adjusting indexes Re-run & check run-time details Compare results with baseline metrics Use buffer gets as a key measurement Did you improve it? No? Rinse & Repeat 63
64 NEW EXECUTION PLAN Execution Stats 20,348 buffer gets Why is a full table scan still occurring on REGISTRATION? 64
65 REVIEW INDEX ORDER CLASS_ID not left leading in index Execution Stats 20,348 buffer gets Twice the work to use Primary Key Index on REGISTRATION 65
66 NEW EXECUTION PLAN» CREATE INDEX reg_alt ON registration(class_id);» Execution Stats 3000 Buffer Gets / Average Execs Secs 66
67 TUNING ADVISOR SUGGESTED INDEX» CREATE INDEX reg_cancel_signup ON registration(cancelled,signup_date); Execution Stats: 1107 Buffer Gets Avg Executions: 0.14 Secs 67
68 BETTER EXECUTION PLAN CREATE INDEX reg_alt ON registration(class_id,signup_date, cancelled); Execution Stats 445 Buffer Gets / Average Execs Secs 68
69 12. MONITOR YOUR TUNING RESULTS» Monitor the improvement Be able to prove that tuning made a difference Take new metric measurements Compare them to initial readings Brag about the improvements no one else will» Monitor for next tuning opportunity Tuning is iterative There is always room for improvement Make sure you tune things that make a difference» Shameless Product Pitch - DPA 69
70 PERFORMANCE IMPROVED? Average Wait Time per Execution for SQL Statement Class_Registration CECE_JGRIFFIN-2 January 27, 2015 Daily Time Range: 1:00 PM-10:00 PM reg_canceled_signup index 70
71 CASE STUDY 2» Current paychecks for specific employees SELECT e.first_name, e.last_name, l.region_name FROM emp e INNER JOIN dept d ON e.department_id = d.department_id INNER JOIN loc l on l.location_id = d.location_id WHERE (e.last_name like :b1) AND EXISTS ( SELECT 1 FROM wage_pmt w WHERE w.employee_id = e.employee_id AND w.pay_date>= sysdate-31);» Execution Stats - 3,890 Buffer Gets» Average Execution -.31 seconds» Resource - 99% CPU 71
72 EXECUTION PLAN 72
73 TUNING ADVISOR No recommendations? 73
74 SQL DIAGRAMMING wage_pmt emp dept loc select count(1) from wage_pmt where pay_date >= sysdate ,784 / 821,760 =.066 select max(cnt), min(cnt) from (select last_name, count(1) cnt from emp group by last_name) 1,024 / 54,784 =.018 max 512 / 54,784 =.009 min 74
75 NEW EXECUTION PLAN» CREATE INDEX ix_last_name ON emp(last_name);» Execution Stats 1105 Buffer Gets / Average Execs -.06 Secs 75
76 NEW EXECUTION PLAN» CREATE INDEX wp_pd_emp ON wage_pmt(employee_id,pay_date); Execution Stats 695 Buffer Gets / Average Execs -.03 Secs 76
77 IMPROVED PERFORMANCE? Average Wait Time per Execution for SQL Statement Current Paychecks by Name CECE_JGRIFFIN-2 January 31, 2015 Daily Time Range: 5:00 PM-12:00 PM Execution Stats 695 Buffer Gets / Average Execs -.03 Secs 77
78 CASE STUDY 3» Inventory lookup for New Orders by Customer SELECT c.cust_first_name, c.cust_last_name, o.order_date, o.order_status, o.order_mode, i.line_item_id, p.product_description, i.unit_price * i.quantity total_price, quantity quantity_ordered, ip.total_on_hand FROM orders o, order_items i, customers c, product p, (SELECT product_id, sum(quantity_on_hand) total_on_hand FROM inventories GROUP BY product_id) ip WHERE i.order_id = o.order_id AND c.customer_id = o.customer_id AND p.product_id = i.product_id AND p.product_id = ip.product_id AND c.cust_last_name = :B1 AND o.order_status = 0 AND o.order_date BETWEEN to_date(:beg_date,'mm/dd/yyyy') AND to_date(:end_date,'mm/dd/yyyy')» Execution Stats: 73,392 Buffer Gets 78
79 EXECUTION PLAN 79
80 SQL DIAGRAMMING.001 o oi p i.0004 c SELECT COUNT(1) FROM customer WHERE cust_last_name LIKE 'SMI%' 2054 / = SELECT COUNT(1) FROM orders WHERE order_status = 0 AND order_date BETWEEN TO_DATE(:BEG_DATE,'mm/dd/yyyy') AND TO_DATE(:END_DATE,'mm/dd/yyyy 8767 / =
81 NEW EXECUTION PLAN» CREATE INDEX ix_cust_last_name ON customers (cust_last_name); Execution Stats 11,182 Buffer Gets 81
82 BEST EXECUTION PLAN» CREATE INDEX ix_product ON inventories (product_id); Execution Stats 262 Buffer Gets 82
83 SUMMARY OF THE 12 STEP PROGRAM 1. Find Which SQL to Tune 2. Get Execution Plan Download Poster at: 12_Step_Tuning 3. Examine the Execution Plan 4. Know the Optimizer Features used 5. Get Table & Column Info 6. Review Indexes & Constraints 7. Can t Change the Query 8. Engineer out the Stupid 9. Gather Run-Time Details 10. Tune the Query 11. Re-Run the Query 12. Monitor to Check Tuning Results A 12 Step Program for Cats 54
84 RESOLVE PERFORMANCE ISSUES QUICKLY FREE TRIAL» Try Database Performance Analyzer FREE for 14 days» Improve root cause of slow performance Quickly identify root cause of issues that impact end-user response time See historical trends over days, months, and years Understand impact of VMware performance Agentless architecture with no dependence on Oracle Packs, installs in minutes
85 Q & A THANK YOU! The SOLARWINDS and SOLARWINDS & Design marks are the exclusive property of SolarWinds Worldwide, LLC, are registered with the U.S. Patent and Trademark Office, and may be registered or pending registration in other countries. All other SolarWinds trademarks, service marks, and logos may be common law marks, registered or pending registration in the United States or in other countries. All other trademarks mentioned herein are used for identification purposes only and may be or are trademarks or registered trademarks of their respective companies SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Oracle Database 11g: SQL Tuning Workshop
Oracle University Contact Us: + 38516306373 Oracle Database 11g: SQL Tuning Workshop Duration: 3 Days What you will learn This Oracle Database 11g: SQL Tuning Workshop Release 2 training assists database
SQL QUERY TUNING FOR ORACLE. Getting It Right the First Time
SQL QUERY TUNING FOR ORACLE Getting It Right the First Time INTRODUCTION As part of my job as a Senior DBA, I get to review Oracle database performance data with hundreds of customers a year. During the
Oracle Database 11g: SQL Tuning Workshop Release 2
Oracle University Contact Us: 1 800 005 453 Oracle Database 11g: SQL Tuning Workshop Release 2 Duration: 3 Days What you will learn This course assists database developers, DBAs, and SQL developers to
Keep It Simple - Common, Overlooked Performance Tuning Tips. Paul Jackson Hotsos
Keep It Simple - Common, Overlooked Performance Tuning Tips Paul Jackson Hotsos Who Am I? Senior Consultant at Hotsos Oracle Ace Co-Author of Oracle Applications DBA Field Guide Co-Author of Oracle R12
SQL Server Query Tuning
SQL Server Query Tuning A 12-Step Program By Thomas LaRock, Technical Evangelist and Head Geek Confio Software 4772 Walnut Street, Suite 100 Boulder, CO 80301 www.confio.com Introduction Query tuning is
SQL Tuning Proven Methodologies
SQL Tuning Proven Methodologies V.Hariharaputhran V.Hariharaputhran o Twelve years in Oracle Development / DBA / Big Data / Cloud Technologies o All India Oracle Users Group (AIOUG) Evangelist o Passion
Delivering Oracle Success. Automatic SQL Tuning in Oracle Database 10g and 11g. Lucy Feng. RMOUG Training Days February 15-17, 2011
Delivering Oracle Success Automatic SQL Tuning in Oracle Database 10g and 11g Lucy Feng RMOUG Training Days February 15-17, 2011 About DBAK Oracle solution provider Co-founded in 2005 Based in Englewood,
Response Time Analysis
Response Time Analysis A Pragmatic Approach for Tuning and Optimizing Database Performance By Dean Richards Confio Software 4772 Walnut Street, Suite 100 Boulder, CO 80301 866.CONFIO.1 www.confio.com Introduction
1Z0-117 Oracle Database 11g Release 2: SQL Tuning. Oracle
1Z0-117 Oracle Database 11g Release 2: SQL Tuning Oracle To purchase Full version of Practice exam click below; http://www.certshome.com/1z0-117-practice-test.html FOR Oracle 1Z0-117 Exam Candidates We
1. This lesson introduces the Performance Tuning course objectives and agenda
Oracle Database 11g: Performance Tuning The course starts with an unknown database that requires tuning. The lessons will proceed through the steps a DBA will perform to acquire the information needed
Oracle Database 11g: Performance Tuning DBA Release 2
Oracle University Contact Us: 1.800.529.0165 Oracle Database 11g: Performance Tuning DBA Release 2 Duration: 5 Days What you will learn This Oracle Database 11g Performance Tuning training starts with
Basic Tuning Tools Monitoring tools overview Enterprise Manager V$ Views, Statistics and Metrics Wait Events
Introducción Objetivos Objetivos del Curso Basic Tuning Tools Monitoring tools overview Enterprise Manager V$ Views, Statistics and Metrics Wait Events Using Automatic Workload Repository Managing the
Oracle EXAM - 1Z0-117. Oracle Database 11g Release 2: SQL Tuning. Buy Full Product. http://www.examskey.com/1z0-117.html
Oracle EXAM - 1Z0-117 Oracle Database 11g Release 2: SQL Tuning Buy Full Product http://www.examskey.com/1z0-117.html Examskey Oracle 1Z0-117 exam demo product is here for you to test the quality of the
Oracle White Paper June 2013. Optimizer with Oracle Database 12c
Oracle White Paper June 2013 Optimizer with Oracle Database 12c Disclaimer The following is intended to outline our general product direction. It is intended for information purposes only, and may not
Oracle 10g Performance Case Studies
Oracle 10g Performance Case Studies Martin Frauendorfer Technical Support Consultant, SAP AG [email protected] 1 Table of Contents. Overview Enqueue Analysis Runtime Analysis I/O Analysis Comparison
Objectif. Participant. Prérequis. Pédagogie. Oracle Database 11g - Performance Tuning DBA Release 2. 5 Jours [35 Heures]
Plan de cours disponible à l adresse http://www.adhara.fr/.aspx Objectif Use the Oracle Database tuning methodology appropriate to the available tools Utilize database advisors to proactively tune an Oracle
Response Time Analysis
Response Time Analysis A Pragmatic Approach for Tuning and Optimizing Oracle Database Performance By Dean Richards Confio Software, a member of the SolarWinds family 4772 Walnut Street, Suite 100 Boulder,
An Oracle White Paper May 2011. The Oracle Optimizer Explain the Explain Plan
An Oracle White Paper May 2011 The Oracle Optimizer Explain the Explain Plan Introduction... 1 The Execution Plan... 2 Displaying the Execution plan... 3 What is Cost... 8 Understanding the execution plan...
MyOra 3.0. User Guide. SQL Tool for Oracle. Jayam Systems, LLC
MyOra 3.0 SQL Tool for Oracle User Guide Jayam Systems, LLC Contents Features... 4 Connecting to the Database... 5 Login... 5 Login History... 6 Connection Indicator... 6 Closing the Connection... 7 SQL
Oracle DBA Course Contents
Oracle DBA Course Contents Overview of Oracle DBA tasks: Oracle as a flexible, complex & robust RDBMS The evolution of hardware and the relation to Oracle Different DBA job roles(vp of DBA, developer DBA,production
Oracle Database 11 g Performance Tuning. Recipes. Sam R. Alapati Darl Kuhn Bill Padfield. Apress*
Oracle Database 11 g Performance Tuning Recipes Sam R. Alapati Darl Kuhn Bill Padfield Apress* Contents About the Authors About the Technical Reviewer Acknowledgments xvi xvii xviii Chapter 1: Optimizing
Oracle Database 12c: Performance Management and Tuning NEW
Oracle University Contact Us: 1.800.529.0165 Oracle Database 12c: Performance Management and Tuning NEW Duration: 5 Days What you will learn In the Oracle Database 12c: Performance Management and Tuning
D B M G Data Base and Data Mining Group of Politecnico di Torino
Database Management Data Base and Data Mining Group of [email protected] A.A. 2014-2015 Optimizer objective A SQL statement can be executed in many different ways The query optimizer determines
Execution Plans: The Secret to Query Tuning Success. MagicPASS January 2015
Execution Plans: The Secret to Query Tuning Success MagicPASS January 2015 Jes Schultz Borland plan? The following steps are being taken Parsing Compiling Optimizing In the optimizing phase An execution
Top 25+ DB2 SQL Tuning Tips for Developers. Presented by Tony Andrews, Themis Inc. [email protected]
Top 25+ DB2 SQL Tuning Tips for Developers Presented by Tony Andrews, Themis Inc. [email protected] Objectives By the end of this presentation, developers should be able to: Understand what SQL Optimization
MyOra 3.5. User Guide. SQL Tool for Oracle. Kris Murthy
MyOra 3.5 SQL Tool for Oracle User Guide Kris Murthy Contents Features... 4 Connecting to the Database... 5 Login... 5 Login History... 6 Connection Indicator... 6 Closing the Connection... 7 SQL Editor...
Best Practices for DB2 on z/os Performance
Best Practices for DB2 on z/os Performance A Guideline to Achieving Best Performance with DB2 Susan Lawson and Dan Luksetich www.db2expert.com and BMC Software September 2008 www.bmc.com Contacting BMC
Programa de Actualización Profesional ACTI Oracle Database 11g: SQL Tuning Workshop
Programa de Actualización Profesional ACTI Oracle Database 11g: SQL Tuning Workshop What you will learn This Oracle Database 11g SQL Tuning Workshop training is a DBA-centric course that teaches you how
SQL QUERY TUNING FOR SQL SERVER. Getting It Right the First Time
SQL QUERY TUNING FOR SQL SERVER Getting It Right the First Time INTRODUCTION As a Senior DBA, I get to review SQL Server database performance data with hundreds of customers a year. During the review process
Upgrading to Oracle 11g
Upgrading to Oracle 11g whoami Kerry Osborne Senior Oracle Guy Worked with V2-11g My Oracle Blog: kerryosborne.oracle-guy.com An IT Services Firm that Only does Oracle - the obligatory marketing slide
An Oracle White Paper November 2010. SQL Plan Management in Oracle Database 11g
An Oracle White Paper November 2010 SQL Plan Management in Oracle Database 11g Introduction... 1 SQL Plan Management... 2 SQL plan baseline capture... 2 SQL Plan Baseline Selection... 10 Using and managing
DBA Best Practices: A Primer on Managing Oracle Databases. Leng Leng Tan Vice President, Systems and Applications Management
DBA Best Practices: A Primer on Managing Oracle Databases Leng Leng Tan Vice President, Systems and Applications Management The following is intended to outline our general product direction. It is intended
The Sins of SQL Programming that send the DB to Upgrade Purgatory Abel Macias. 1 Copyright 2011, Oracle and/or its affiliates. All rights reserved.
The Sins of SQL Programming that send the DB to Upgrade Purgatory Abel Macias 1 Copyright 2011, Oracle and/or its affiliates. All rights reserved. Who is Abel Macias? 1994 - Joined Oracle Support 2000
Guide to Performance and Tuning: Query Performance and Sampled Selectivity
Guide to Performance and Tuning: Query Performance and Sampled Selectivity A feature of Oracle Rdb By Claude Proteau Oracle Rdb Relational Technology Group Oracle Corporation 1 Oracle Rdb Journal Sampled
Advanced Oracle SQL Tuning
Advanced Oracle SQL Tuning Seminar content technical details 1) Understanding Execution Plans In this part you will learn how exactly Oracle executes SQL execution plans. Instead of describing on PowerPoint
Performance rule violations usually result in increased CPU or I/O, time to fix the mistake, and ultimately, a cost to the business unit.
Is your database application experiencing poor response time, scalability problems, and too many deadlocks or poor application performance? One or a combination of zparms, database design and application
SQL Optimization & Access Paths: What s Old & New Part 1
SQL Optimization & Access Paths: What s Old & New Part 1 David Simpson Themis Inc. [email protected] 2008 Themis, Inc. All rights reserved. David Simpson is currently a Senior Technical Advisor at
Response Time Analysis
Response Time Analysis A Pragmatic Approach for Tuning and Optimizing SQL Server Performance By Dean Richards Confio Software 4772 Walnut Street, Suite 100 Boulder, CO 80301 866.CONFIO.1 www.confio.com
Real-Time SQL Monitoring. December 2009
Real-Time SQL Monitoring December 2009 Real-Time SQL Monitoring INTRODUCTION Real-time SQL monitoring, introduced in Oracle Database 11g, provides a very effective way to identify run-time performance
The Database is Slow
The Database is Slow SQL Server Performance Tuning Starter Kit Calgary PASS Chapter, 19 August 2015 Randolph West, Born SQL Email: [email protected] Twitter: @rabryst Basic Internals Data File Transaction Log
Performance Tuning for the Teradata Database
Performance Tuning for the Teradata Database Matthew W Froemsdorf Teradata Partner Engineering and Technical Consulting - i - Document Changes Rev. Date Section Comment 1.0 2010-10-26 All Initial document
Oracle Database: SQL and PL/SQL Fundamentals NEW
Oracle University Contact Us: 001-855-844-3881 & 001-800-514-06-97 Oracle Database: SQL and PL/SQL Fundamentals NEW Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals
Oracle Database: SQL and PL/SQL Fundamentals
Oracle University Contact Us: 1.800.529.0165 Oracle Database: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn This course is designed to deliver the fundamentals of SQL and PL/SQL along
PARALLEL SQL. Chapter 13
Chapter 13 PARALLEL SQL Parallel SQL enables a SQL statement to be processed by multiple threads or processes simultaneously. Today s widespread use of dual and quad core processors means that even the
Contents at a Glance. Contents... v About the Authors... xiii About the Technical Reviewer... xiv Acknowledgments... xv
For your convenience Apress has placed some of the front matter material after the index. Please use the Bookmarks and Contents at a Glance links to access them. Contents at a Glance Contents... v About
Execution plans and tools
Execution plans and tools Dawid Wojcik Execution plans Execution plan Text or graphical representation of steps Oracle server takes to execute specific SQL Execution plan is a tree in which every node
Fallacies of the Cost Based Optimizer
Fallacies of the Cost Based Optimizer Wolfgang Breitling [email protected] Who am I Independent consultant since 1996 specializing in Oracle and Peoplesoft setup, administration, and performance tuning
Oracle RAC Tuning Tips
There is More to Know By Kathy Gibbs, Senior DBA Confio Software 4772 Walnut Street, Suite 100 Boulder, CO 80301 866.CONFIO.1 www.confio.com Introduction When I first started working with RAC 8 years ago,
Experiment 5.1 How to measure performance of database applications?
.1 CSCI315 Database Design and Implementation Experiment 5.1 How to measure performance of database applications? Experimented and described by Dr. Janusz R. Getta School of Computer Science and Software
D B M G Data Base and Data Mining Group of Politecnico di Torino
Politecnico di Torino Database Management System Oracle Hints Data Base and Data Mining Group of Politecnico di Torino Tania Cerquitelli Computer Engineering, 2014-2015, slides by Tania Cerquitelli and
Writing SQL. PegaRULES Process Commander
Writing SQL PegaRULES Process Commander Copyright 2007 Pegasystems Inc., Cambridge, MA All rights reserved. This document describes products and services of Pegasystems Inc. It may contain trade secrets
Oracle Database 10g: New Features for Administrators
Oracle Database 10g: New Features for Administrators Course ON10G 5 Day(s) 30:00 Hours Introduction This course introduces students to the new features in Oracle Database 10g Release 2 - the database for
Query Performance Tuning: Start to Finish. Grant Fritchey
Query Performance Tuning: Start to Finish Grant Fritchey Who? Product Evangelist for Red Gate Software Microsoft SQL Server MVP PASS Chapter President Author: SQL Server Execution Plans SQL Server 2008
In this session, we use the table ZZTELE with approx. 115,000 records for the examples. The primary key is defined on the columns NAME,VORNAME,STR
1 2 2 3 In this session, we use the table ZZTELE with approx. 115,000 records for the examples. The primary key is defined on the columns NAME,VORNAME,STR The uniqueness of the primary key ensures that
Topics Advanced PL/SQL, Integration with PROIV SuperLayer and use within Glovia
Topics Advanced PL/SQL, Integration with PROIV SuperLayer and use within Glovia 1. SQL Review Single Row Functions Character Functions Date Functions Numeric Function Conversion Functions General Functions
Instant SQL Programming
Instant SQL Programming Joe Celko Wrox Press Ltd. INSTANT Table of Contents Introduction 1 What Can SQL Do for Me? 2 Who Should Use This Book? 2 How To Use This Book 3 What You Should Know 3 Conventions
Oracle Database: SQL and PL/SQL Fundamentals
Oracle University Contact Us: +966 12 739 894 Oracle Database: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training is designed to
Who am I? Copyright 2014, Oracle and/or its affiliates. All rights reserved. 3
Oracle Database In-Memory Power the Real-Time Enterprise Saurabh K. Gupta Principal Technologist, Database Product Management Who am I? Principal Technologist, Database Product Management at Oracle Author
Oracle Database 10g. Page # The Self-Managing Database. Agenda. Benoit Dageville Oracle Corporation [email protected]
Oracle Database 10g The Self-Managing Database Benoit Dageville Oracle Corporation [email protected] Agenda Oracle10g: Oracle s first generation of self-managing database Oracle s Approach to
Optimizing Your Database Performance the Easy Way
Optimizing Your Database Performance the Easy Way by Diane Beeler, Consulting Product Marketing Manager, BMC Software and Igy Rodriguez, Technical Product Manager, BMC Software Customers and managers of
DB2 Developers Guide to Optimum SQL Performance
DB2 Developers Guide to Optimum SQL Performance Réunion du Guide DB2 pour z/os France Lundi 18 mars 2013 Tour Euro Plaza, Paris-La Défense Tom Beavin Silicon Valley Lab Email: [email protected] 2012 IBM
Duration Vendor Audience 5 Days Oracle End Users, Developers, Technical Consultants and Support Staff
D80198GC10 Oracle Database 12c SQL and Fundamentals Summary Duration Vendor Audience 5 Days Oracle End Users, Developers, Technical Consultants and Support Staff Level Professional Delivery Method Instructor-led
Managing Database Performance. Copyright 2009, Oracle. All rights reserved.
Managing Database Performance Objectives After completing this lesson, you should be able to: Monitor the performance of sessions and services Describe the benefits of Database Replay Oracle Database 11g:
Quick Start Guide. Ignite for SQL Server. www.confio.com. Confio Software 4772 Walnut Street, Suite 100 Boulder, CO 80301 866.CONFIO.
Quick Start Guide Ignite for SQL Server 4772 Walnut Street, Suite 100 Boulder, CO 80301 866.CONFIO.1 www.confio.com Introduction Confio Ignite gives DBAs the ability to quickly answer critical performance
Oracle Database: SQL and PL/SQL Fundamentals NEW
Oracle University Contact Us: + 38516306373 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
Oracle. Brief Course Content This course can be done in modular form as per the detail below. ORA-1 Oracle Database 10g: SQL 4 Weeks 4000/-
Oracle Objective: Oracle has many advantages and features that makes it popular and thereby makes it as the world's largest enterprise software company. Oracle is used for almost all large application
low-level storage structures e.g. partitions underpinning the warehouse logical table structures
DATA WAREHOUSE PHYSICAL DESIGN The physical design of a data warehouse specifies the: low-level storage structures e.g. partitions underpinning the warehouse logical table structures low-level structures
Optimizing Performance. Training Division New Delhi
Optimizing Performance Training Division New Delhi Performance tuning : Goals Minimize the response time for each query Maximize the throughput of the entire database server by minimizing network traffic,
SQL Performance for a Big Data 22 Billion row data warehouse
SQL Performance for a Big Data Billion row data warehouse Dave Beulke dave @ d a v e b e u l k e.com Dave Beulke & Associates Session: F19 Friday May 8, 15 8: 9: Platform: z/os D a v e @ d a v e b e u
DBMS / Business Intelligence, SQL Server
DBMS / Business Intelligence, SQL Server Orsys, with 30 years of experience, is providing high quality, independant State of the Art seminars and hands-on courses corresponding to the needs of IT professionals.
TUTORIAL WHITE PAPER. Application Performance Management. Investigating Oracle Wait Events With VERITAS Instance Watch
TUTORIAL WHITE PAPER Application Performance Management Investigating Oracle Wait Events With VERITAS Instance Watch TABLE OF CONTENTS INTRODUCTION...3 WAIT EVENT VIRTUAL TABLES AND VERITAS INSTANCE WATCH...4
Oracle Database 11g: New Features for Administrators 15-1
Oracle Database 11g: New Features for Administrators 15-1 Oracle Database 11g: New Features for Administrators 15-2 SQL Monitoring The real-time SQL monitoring feature on Oracle Database 11g enables you
Tips & Best Practices
IOUG Tips & Best Practices Booklet A Compilation of Technical Tips from the Independent Oracle Users Group www.ioug.org Eighth Edition Leveraging SQL Tuning Techniques for Active Data Guard Databases By
Performance Counters. Microsoft SQL. Technical Data Sheet. Overview:
Performance Counters Technical Data Sheet Microsoft SQL Overview: Key Features and Benefits: Key Definitions: Performance counters are used by the Operations Management Architecture (OMA) to collect data
Introduction. Part I: Finding Bottlenecks when Something s Wrong. Chapter 1: Performance Tuning 3
Wort ftoc.tex V3-12/17/2007 2:00pm Page ix Introduction xix Part I: Finding Bottlenecks when Something s Wrong Chapter 1: Performance Tuning 3 Art or Science? 3 The Science of Performance Tuning 4 The
Optimizing the Performance of the Oracle BI Applications using Oracle Datawarehousing Features and Oracle DAC 10.1.3.4.1
Optimizing the Performance of the Oracle BI Applications using Oracle Datawarehousing Features and Oracle DAC 10.1.3.4.1 Mark Rittman, Director, Rittman Mead Consulting for Collaborate 09, Florida, USA,
An Oracle White Paper February, 2015. Oracle Database In-Memory Advisor Best Practices
An Oracle White Paper February, 2015 Oracle Database In-Memory Advisor Best Practices Disclaimer The following is intended to outline our general product direction. It is intended for information purposes
Chapter 5 More SQL: Complex Queries, Triggers, Views, and Schema Modification
Chapter 5 More SQL: Complex Queries, Triggers, Views, and Schema Modification Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 5 Outline More Complex SQL Retrieval Queries
SQL Performance Hero and OMG Method vs the Anti-patterns. Jeff Jacobs Jeffrey Jacobs & Associates [email protected]
SQL Performance Hero and OMG Method vs the Anti-patterns Jeff Jacobs Jeffrey Jacobs & Associates [email protected] Survey Says DBAs Developers Architects Heavily non-oracle development shop Concerned
FHE DEFINITIVE GUIDE. ^phihri^^lv JEFFREY GARBUS. Joe Celko. Alvin Chang. PLAMEN ratchev JONES & BARTLETT LEARN IN G. y ti rvrrtuttnrr i t i r
: 1. FHE DEFINITIVE GUIDE fir y ti rvrrtuttnrr i t i r ^phihri^^lv ;\}'\^X$:^u^'! :: ^ : ',!.4 '. JEFFREY GARBUS PLAMEN ratchev Alvin Chang Joe Celko g JONES & BARTLETT LEARN IN G Contents About the Authors
SQL Query Performance Tuning: Tips and Best Practices
SQL Query Performance Tuning: Tips and Best Practices Pravasini Priyanka, Principal Test Engineer, Progress Software INTRODUCTION: In present day world, where dozens of complex queries are run on databases
EMC Unisphere for VMAX Database Storage Analyzer
EMC Unisphere for VMAX Database Storage Analyzer Version 8.1.0 Online Help (PDF version) Copyright 2014-2015 EMC Corporation. All rights reserved. Published in USA. Published September, 2015 EMC believes
SQL Server Performance Intelligence
WHITE PAPER SQL Server Performance Intelligence MARCH 2009 Confio Software www.confio.com +1-303-938-8282 By: Consortio Services & Confio Software Performance Intelligence is Confio Software s method of
Virtual Private Database Features in Oracle 10g.
Virtual Private Database Features in Oracle 10g. SAGE Computing Services Customised Oracle Training Workshops and Consulting. Christopher Muir Senior Systems Consultant Agenda Modern security requirements
Using TimesTen between your Application and Oracle. between your Application and Oracle. DOAG Conference 2011
DOAG Conference 2011 Using TimesTen between your Application and Oracle Jan Ott, Roland Stirnimann Senior Consultants Trivadis AG BASEL 1 BERN LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG
Maximizing Materialized Views
Maximizing Materialized Views John Jay King King Training Resources [email protected] Download this paper and code examples from: http://www.kingtraining.com 1 Session Objectives Learn how to create
Understanding Query Processing and Query Plans in SQL Server. Craig Freedman Software Design Engineer Microsoft SQL Server
Understanding Query Processing and Query Plans in SQL Server Craig Freedman Software Design Engineer Microsoft SQL Server Outline SQL Server engine architecture Query execution overview Showplan Common
<Insert Picture Here> Best Practices for Extreme Performance with Data Warehousing on Oracle Database
1 Best Practices for Extreme Performance with Data Warehousing on Oracle Database Rekha Balwada Principal Product Manager Agenda Parallel Execution Workload Management on Data Warehouse
SQL SELECT Query: Intermediate
SQL SELECT Query: Intermediate IT 4153 Advanced Database J.G. Zheng Spring 2012 Overview SQL Select Expression Alias revisit Aggregate functions - complete Table join - complete Sub-query in where Limiting
Enhancing SQL Server Performance
Enhancing SQL Server Performance Bradley Ball, Jason Strate and Roger Wolter In the ever-evolving data world, improving database performance is a constant challenge for administrators. End user satisfaction
Developing SQL and PL/SQL with JDeveloper
Seite 1 von 23 Developing SQL and PL/SQL with JDeveloper Oracle JDeveloper 10g Preview Technologies used: SQL, PL/SQL An Oracle JDeveloper Tutorial September 2003 Content This tutorial walks through the
Elena Baralis, Silvia Chiusano Politecnico di Torino. Pag. 1. Active database systems. Triggers. Triggers. Active database systems.
Active database systems Database Management Systems Traditional DBMS operation is passive Queries and updates are explicitly requested by users The knowledge of processes operating on data is typically
How To Improve Performance In A Database
1 PHIL FACTOR GRANT FRITCHEY K. BRIAN KELLEY MICKEY STUEWE IKE ELLIS JONATHAN ALLEN LOUIS DAVIDSON 2 Database Performance Tips for Developers As a developer, you may or may not need to go into the database
StreamServe Persuasion SP5 Oracle Database
StreamServe Persuasion SP5 Oracle Database Database Guidelines Rev A StreamServe Persuasion SP5 Oracle Database Database Guidelines Rev A 2001-2011 STREAMSERVE, INC. ALL RIGHTS RESERVED United States patent
March 9 th, 2010. Oracle Total Recall
March 9 th, 2010 Oracle Total Recall Agenda Flashback Data Archive Why we need Historical Data Pre-11g methods for Historical data Oracle Total Recall overview FDA Architecture Creating and Enabling FDA
Oracle Database 12c: Performance Management and Tuning NEW
Oracle University Contact Us: 1.800.529.0165 Oracle Database 12c: Performance Management and Tuning NEW Duration: 5 Days What you will learn In the Oracle Database 12c: Performance Management and Tuning
Oracle Enterprise Manager 12c New Capabilities for the DBA. Charlie Garry, Director, Product Management Oracle Server Technologies
Oracle Enterprise Manager 12c New Capabilities for the DBA Charlie Garry, Director, Product Management Oracle Server Technologies of DBAs admit doing nothing to address performance issues CHANGE AVOID
PERFORMANCE TIPS FOR BATCH JOBS
PERFORMANCE TIPS FOR BATCH JOBS Here is a list of effective ways to improve performance of batch jobs. This is probably the most common performance lapse I see. The point is to avoid looping through millions
