Ensuring Optimal Performance. Vivek Sharma. 3 rd November 2012 Sangam 2012
|
|
- Caitlin Harvey
- 5 years ago
- Views:
Transcription
1 Ensuring Optimal Performance Vivek Sharma 3 rd November 2012 Sangam 2012
2 Who am I? Around 12 Years using Oracle Products Certified DBA versions 8i Specializes in Performance Optimization COE Lead with ACS India Regular Speaker for AIOUG A Technical Hands on Consultant vivek.s.sharma at oracle.com Blog : viveklsharma.wordpress.com
3 Scalability User Load Resources Available Resources > Total Work Done Linear 3
4 Scalability User Load Desired Problem Resources An Example of Available Resources < Total Work Done Linear Actual 4
5 Why this Session? Maintain Scalability Ensure High Availability Whose Responsibility? Development DBA Production DBA Developers Co-ordination between all of these is essential to meet the Objective 5
6 Agenda Architecture Operating System Statistics Production Architecture (An Example) Database Design Understanding CBO Selectivity Cardinality Indexing (Careful Consideration) Why is my SQL misbehaving? Application Design Inefficient Query Power of Scalar 6
7 Architecture Just Enough Diagram Shared Global Area - SGA User or App Server Shared Pool Network Or Local Log Buffer LGWR Redo Logs Oracle Server Process Commits / Rollbacks DBWR Disk Reads Buffer Cache 7
8 Life Cycle of a Cursor Syntax / Semantics Checks N Sharable Parent Cursor Available? Store Parent Cursor in Library Cache Y Sharable Child Cursor Available? Y N Query Transformation / Execution Plans Store child Cursor in Library Cache Execute 8
9 Agenda Architecture Operating System Statistics Production Architecture (An Example) Database Design Understanding CBO Selectivity Cardinality Indexing (Careful Consideration) Why is my SQL misbehaving? Application Design Inefficient Query Power of Scalar 9 9
10 Operating System Statistics CPU CPU Utilization SYS% = Time spent executing OS system calls (like file read, file write, allocate memory, etc) USR% = Time spent executing user code IDLE% = 100% - %USER - %SYS Run queue Run Q is the number of processes that can run and are waiting for CPU Thresholds to watch: %SYS < 20% overhead Total Run Queue > Total Number of CPUs 10
11 Operating System Statistics Memory Page Ins / Page Outs Memory being allocated due to a Demand Small, Incremental movement of Memory to the Swap Device Health of an Operating System is Key to Production Performance / Availability 11
12 Agenda Architecture Operating System Statistics Production Architecture (An Example) Database Design Understanding CBO Selectivity Cardinality Indexing (Careful Consideration) Why is my SQL misbehaving? Application Design Inefficient Query Power of Scalar 12
13 Production Architecture An Example 6. Summary Displayed 1. Client Connects Application Server 5. Summary Fetched 2. Authenticates 3. Validated 4. Fetch Summary Oracle Database Non-Oracle Database 7. Connections established in steps 2 & 4 are then Released for other requests 13
14 Production Architecture An Example Response Time Client to Application Server < ms Authentication & Validation < ms Fetch Summary < 5 ms The Challenge Client to Application Server < ms Authentication & Validation < ms What if Fetch Summary takes more time? A Profound Impact on the Entire Production System 14
15 Agenda Architecture Operating System Statistics Production Architecture (An Example) Database Design Understanding CBO Selectivity Cardinality Indexing (Careful Consideration) Why is my SQL misbehaving? Application Design Inefficient Query Power of Scalar 15
16 Database Design Number of Columns Table A with 300 Columns (A1..A300) In terms of performance Is there any difference between the three queries? select A1, A8 from A where rowid= some_value ; select A1, A50 from A where rowid= some_value ; select A1, A300 from A where rowid= some_value ; Additional LIO s due to Intra-Block Chaining ib.sql 16
17 Database Design Column Ordering Table A with 13 Columns (A1..A13) In terms of performance Is there any difference between the two queries? select A1 from A where rowid= some_value ; select A13 from A where rowid= some_value ; Additional CPU Cycles for Column Skipping CPU Cycles for Table Column Skip 20 CPU Cycles for Scanning Table Row
18 Database Design Number of Columns create table cpu_test as select * from all_objects where rownum<=50; explain plan for select owner from cpu_test; #Rows 50 #Blocks 4 CPU_Cost cpu_cost = x #blks + (130 x #Rows) + (20 x #Rows x Col#) select distinct cpu_cost from plan_table; cpu_costing.sql 18
19 Database Design Number of Columns CPU Cycles st Column 13th Column 19
20 Agenda Architecture Operating System Statistics Production Architecture (An Example) Database Design Understanding CBO Selectivity Cardinality Indexing (Careful Consideration) Why is my SQL misbehaving? Application Design Inefficient Query Power of Scalar 20
21 Cost Based Optimizer Object Statistics Query Transformation I/O v/s CPU Least Costly Plan 10g mandatory System Statistics (9i Onwards 10g mandatory) Optimizer Parameters 21
22 Understanding CBO Selectivity Selectivity of Predicate deptno = :b1 is 1/NDV = 1/3 = Selectivity of Predicate (deptno = :b1 and job = :b2) = (1/3) * (1/5) = Selectivity of Predicate (deptno = :b1 or job = :b2) = (1/3)+(1/5)-(1/3)*(1/5) = DEPTNO JOB SAL 10 MANAGER PRESIDENT CLERK MANAGER ANALYST CLERK CLERK ANALYST SALESMAN SALESMAN SALESMAN CLERK MANAGER SALESMAN 1250 NDV : # of Distinct Values 22
23 Understanding CBO Selectivity Lower the Selectivity, better the Predicates 1/Num_Distinct v/s Density Probability theory in calculating Selectivity of Predicates p(a and B) = p(a) x p(b) p(a or B) = p(a) + p(b) p(a) x p(b) 23
24 Understanding CBO Cardinality Estimated Number of Rows from a Row Source Next Step to calculation of Selectivity Cardinality = Selectivity x Number of Rows Very Crucial Affects Access Path / Join Orders Improper Calculation of Cardinality is a Root Cause to many of the Query Performance Issues 24
25 Understanding CBO Cardinality Cardinality of Predicate deptno = :b1 is (selectivity x #Rows) = x 14 = = 5 Cardinality Deptno = Estimated Actual Change = DEPTNO JOB SAL 10 MANAGER PRESIDENT CLERK MANAGER ANALYST CLERK CLERK ANALYST SALESMAN SALESMAN SALESMAN CLERK MANAGER SALESMAN 1250 NDV : # of Distinct Values 25
26 Agenda Architecture Operating System Statistics Production Architecture (An Example) Database Design Understanding CBO Selectivity Cardinality Indexing (Careful Consideration) Why is my SQL misbehaving? Application Design Inefficient Query Power of Scalar 26
27 Indexing Careful Consideration Query 1 - Where X=:b1 Query 2 Where X=:b1 and Y=:b2 There is an Index on X. Adding Column Y needs Careful Consideration cf.sql 27
28 Agenda Architecture Operating System Statistics Production Architecture (An Example) Database Design Understanding CBO Selectivity Cardinality Indexing (Careful Consideration) Why is my SQL misbehaving? Application Design Inefficient Query Power of Scalar 28
29 Why is my SQL misbehaving? Misleading Object Statistics Misleading Column Level Statistics Correlation Issues (extended_stats.sql) Non-Default Optimizer Parameters In efficient Application Queries Dynamic Sampling / Cardinality Feedback rescues to some extent cf.sql 29
30 Agenda Architecture Operating System Statistics Production Architecture (An Example) Database Design Understanding CBO Selectivity Cardinality Indexing (Careful Consideration) Why is my SQL misbehaving? Application Design Inefficient Query Power of Scalar 30
31 Application Design (Entry Screen) Mandatory Column Optional Column, Leave Blank for ALL Optional Column, Leave Blank for ALL Optional Column, Leave Blank for ALL 31
32 Application Design (Entry Screen) SYNONYM 32
33 Application Design (Inefficient Query) Select a.owner, a.object_name, b.data_object_id, a.last_ddl_time From vivek_test a, vivek_test1 b Where a.object_type = :v_object_type and and and and a.temporary = nvl(:v_temporary,a.temporary) a.owner = nvl(:v_owner,a.owner) a.last_ddl_time = nvl(:v_last_ddl_time,a.last_ddl_time) a.object_id = b.object_id; nvl_query.sql 33
34 Application Design (Inefficient Query) SELECT groupid,supergroupid,branchid, LOANID, NAME, AMTFIN, CLOSUREDATE, PRODUCTFLAG,BRANCHDESC,STATUS,lesseeid,AGREEMENTNO FROM( SELECT A.AGREEMENTID LOANID,A.BRANCHID,A.AMTFIN, B.BRANCHDESC, A.AGREEMENTNO, C.CUSTOMERNAME NAME, A.PRODUCTFLAG, A.STATUS, A.CLOSUREDATE, A.LESSEEID, C.GROUPID, DSUPERGROUPID FROM LAD A, NBM B, NCM C, LEM D WHERE A.BRANCHID=B.BRANCHID AND A.LESSEEID=C.CUSTOMERID AND A.EMPLOYERID=D.EMPLOYERID(+) AND (A."STATUS='A' OR A.STATUS='C')) WHERE STATUS IN (:B1) AND LOANID = :b2 ORDER BY NAME; View Unique Column Why do I need ORDER BY? 34
35 Application Design (Inefficient Query) ORDER BY sort SORT ressource Sort statistics Sort width: 6142 Area size: Max Area size: Degree: 1 Blocks to Sort: 1 Row size: 124 Total Rows: 1 Initial runs: 1 Merge passes: 1 IO Cost / pass: 934 Total IO sort cost: 468 Total CPU sort cost: 0 Total Temp space used: 0 Best:: JoinMethod: NestedLoop Cost: Degree: 1 Resp: Card: 0.22 Bytes: 103 *********************** Best so far: Table#: 0 cost: card: bytes: 41 Table#: 1 cost: card: bytes: 58 Table#: 2 cost: card: bytes: 76 Table#: 3 cost: card: bytes: 103 Cost of Sorting in Serial 35
36 Application Design (Inefficient Query) ****** Recost for parallel table scan ******* ORDER BY sort SORT ressource Sort statistics Sort width: 6142 Area size: Max Area size: Degree: 1 Blocks to Sort: 1 Row size: 124 Total Rows: 1 Initial runs: 1 Merge passes: 1 IO Cost / pass: 934 Total IO sort cost: 468 Total CPU sort cost: 0 Total Temp space used: 0 SORT response Sort statistics Sort width: 638 Area size: Max Area size: Degree: 192 Blocks to Sort: 1 Row size: 124 Total Rows: 1 Initial runs: 1 Merge passes: 1 IO Cost / pass: 2 Total IO sort cost: 3 Total CPU sort cost: 0 Total Temp space used: 0 Best:: JoinMethod: NestedLoop Cost: 9.00 Degree: 192 Resp: 8.33 Card: 0.22 Bytes: 103 *********************** Best so far: Table#: 0 cost: card: bytes: 41 Table#: 1 cost: card: bytes: 58 Table#: 2 cost: card: bytes: 76 Table#: 3 cost: card: bytes: 103 Cost of Sorting in Parallel is Cheaper 36
37 Application Design (Power of Scalar) Select fn_getbranch(branchid), column1, column2.. From emp Where deptno in (10,20); Statistics EMP 2000 Rows DEPTNO 10 Distinct Values Where Deptno in (10,20) Returns 200 Rows What would be the total no. of executions of function fn_getbranch? test_scalar.sql 37
38 11/12/ :21:01 AM 38
1-2 Copyright Ó Oracle Corporation, All rights reserved.
1-1 The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any
More informationData Organization and Processing I
Data Organization and Processing I Data Organization in Oracle Server 11g R2 (NDBI007) RNDr. Michal Kopecký, Ph.D. http://www.ms.mff.cuni.cz/~kopecky Database structure o Database structure o Database
More informationOracle Database 11gR2 Optimizer Insights
Oracle Database 11gR2 Optimizer Insights Marcus Bender Distinguished Sales Consultant Presales Fellow Strategic Technical Support (STU) ORACLE Deutschland GmbH, Geschäftsstelle Hamburg Parallel Execution
More informationExploring Best Practices and Guidelines for Tuning SQL Statements
Exploring Best Practices and Guidelines for Tuning SQL Statements Ami Aharonovich Oracle ACE & OCP Ami@DBAces.co.il Oracle ACE Who am I Oracle Certified Professional DBA (OCP) Founder and CEO, DBAces Oracle
More informationIT-Tage Dezember 2016 Frankfurt am Main Maritim Hotel
www.it-tage.org IT-Tage 2016 12.-15.Dezember 2016 Frankfurt am Main Maritim Hotel The Bad One Into Your Crop - SQL Tuning Analysis for DBAs Die Schlechten ins Kröpfchen - SQL Analyse für DBAs Martin Klier
More informationFull Throttle: SQL Tuning & Ressource Consumption Appr.
Full Throttle: Oracle SQL Tuning & the Ressource Consumption Approach Volle Kanne: Oracle SQL Tuning mit dem Ressourcenansatz Martin Klier Performing Databases GmbH Mitterteich / Germany 2/43 The Self-Driving
More informationEstimating Cardinality: Use of Jonathan Lewis CBO methodology
Estimating Cardinality: Use of Jonathan Lewis CBO methodology Dave Abercrombie Principal Database Architect, Convio NoCOUG Fall Conference 2010 1 2009 Convio, Inc. Cost-Based Oracle Fundamentals By Jonathan
More informationInterpreting Explain Plan Output. John Mullins
Interpreting Explain Plan Output John Mullins jmullins@themisinc.com www.themisinc.com www.themisinc.com/webinars Presenter John Mullins Themis Inc. (jmullins@themisinc.com) 30+ years of Oracle experience
More informationRNDr. Michal Kopecký, Ph.D. Department of Software Engineering, Faculty of Mathematics and Physics, Charles University in Prague
seminář: Administrace Oracle (NDBI013) LS2017/18 RNDr. Michal Kopecký, Ph.D. Department of Software Engineering, Faculty of Mathematics and Physics, Charles University in Prague Database structure Database
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 informationORACLE 8 OBJECT ORIENTED TECHNOLOGY ORACLE SOFTWARE STRUCTURES SERVER SIDE BACKGROUND PROCESSES DATABASE SERVER AND DATABASE INSTANCE
ORACLE 8 IS ORDBMS HANDLES VLDB - GIGABYTES/TERABYTES 10,000 CONCURRENT USERS PARTITIONED TABLES AND INDEXES SINGLE DATA BLOCK IS INACCESSSIBLE CAN ACCESS MULTIPLE PARTITION IN PARALLEL FOR CONCURRENT
More informationInfrastructure at your Service. In-Memory-Pläne für den 12.2-Optimizer: Teuer oder billig?
Infrastructure at your Service. In-Memory-Pläne für den 12.2-Optimizer: Teuer oder billig? About me Infrastructure at your Service. Clemens Bleile Senior Consultant Oracle Certified Professional DB 11g,
More informationOracle Architectural Components
Oracle Architectural Components Date: 14.10.2009 Instructor: Sl. Dr. Ing. Ciprian Dobre 1 Overview of Primary Components User process Shared Pool Instance SGA Server process PGA Library Cache Data Dictionary
More informationTop 5 Issues that Cannot be Resolved by DBAs (other than missed bind variables)
Top 5 Issues that Cannot be Resolved by DBAs (other than missed bind variables) March 12, 2013 Michael Rosenblum Dulcian, Inc. www.dulcian.com 1 of 43 Who Am I? Misha Oracle ACE Co-author of 2 books PL/SQL
More informationOracle DB-Tuning Essentials
Infrastructure at your Service. Oracle DB-Tuning Essentials Agenda 1. The DB server and the tuning environment 2. Objective, Tuning versus Troubleshooting, Cost Based Optimizer 3. Object statistics 4.
More informationTuning SQL without the Tuning Pack. John Larkin JP Morgan Chase
Tuning SQL without the Tuning Pack John Larkin JP Morgan Chase Who am I Originally a mainframe COBOL programmer DBA for the last 23 years, the last 15 with Oracle. UNIX (Solaris, Aix, Windows, Linux) Recently
More informationEternal Story on Temporary Objects
Eternal Story on Temporary Objects Dmitri V. Korotkevitch http://aboutsqlserver.com About Me 14+ years of experience working with Microsoft SQL Server Microsoft SQL Server MVP Microsoft Certified Master
More informationOracle Database 18c. Gentle introduction to Polymorphic Tables Functions with Common patterns and sample use cases
Oracle Database 18c Gentle introduction to Polymorphic Tables Functions with Common patterns and sample use cases About me. Keith Laker Product Manager for Analytic SQL and Autonomous DW Oracle Blog: oracle-big-data.blogspot.com
More informationInternals of Active Dataguard. Saibabu Devabhaktuni
Internals of Active Dataguard Saibabu Devabhaktuni PayPal DB Engineering team Sehmuz Bayhan Our visionary director Saibabu Devabhaktuni Sr manager of DB engineering team http://sai-oracle.blogspot.com
More information<Insert Picture Here> Looking at Performance - What s new in MySQL Workbench 6.2
Looking at Performance - What s new in MySQL Workbench 6.2 Mario Beck MySQL Sales Consulting Manager EMEA The following is intended to outline our general product direction. It is
More informationOracle 9i Application Development and Tuning
Index 2NF, NOT 3NF or BCNF... 2:17 A Anomalies Present in this Relation... 2:18 Anomalies (Specific) in this Relation... 2:4 Application Design... 1:28 Application Environment... 1:1 Application-Specific
More informationDumpsKing. Latest exam dumps & reliable dumps VCE & valid certification king
DumpsKing http://www.dumpsking.com Latest exam dumps & reliable dumps VCE & valid certification king Exam : 1z1-062 Title : Oracle Database 12c: Installation and Administration Vendor : Oracle Version
More informationCreating and Managing Tables Schedule: Timing Topic
9 Creating and Managing Tables Schedule: Timing Topic 30 minutes Lecture 20 minutes Practice 50 minutes Total Objectives After completing this lesson, you should be able to do the following: Describe the
More informationCourse Contents of ORACLE 9i
Overview of Oracle9i Server Architecture Course Contents of ORACLE 9i Responsibilities of a DBA Changing DBA Environments What is an Oracle Server? Oracle Versioning Server Architectural Overview Operating
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 informationMIS NETWORK ADMINISTRATOR PROGRAM
NH107-7475 SQL: Querying and Administering SQL Server 2012-2014 136 Total Hours 97 Theory Hours 39 Lab Hours COURSE TITLE: SQL: Querying and Administering SQL Server 2012-2014 PREREQUISITE: Before attending
More informationVijay Mahawar
Vijay Mahawar http://www.mahawar.net/blog Saturday, 2 February, 2013 I am Vijay Mahawar, an Oracle Technologist. I am a member of AIOUG, ODTUG and OTN. I am certified in Oracle and hold OCP in Oracle 11g
More informationOracle Tuning. Ashok Kapur Hawkeye Technology, Inc.
Oracle Tuning Ashok Kapur Hawkeye Technology, Inc. Agenda Oracle Database Structure Oracle Database Access Tuning Considerations Oracle Database Tuning Oracle Tuning Tools 06/14/2002 Hawkeye Technology,
More informationEMC Unisphere for VMAX Database Storage Analyzer
EMC Unisphere for VMAX Database Storage Analyzer Version 8.0.3 Online Help (PDF version) Copyright 2014-2015 EMC Corporation. All rights reserved. Published in USA. Published June, 2015 EMC believes the
More informationOracle Database Performance Tuning, Benchmarks & Replication
Oracle Database Performance Tuning, Benchmarks & Replication Kapil Malhotra kapil.malhotra@software.dell.com Solutions Architect, Information Management Dell Software 2 11/29/2013 Software Database Tuning
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 information20 Essential Oracle SQL and PL/SQL Tuning Tips. John Mullins
20 Essential Oracle SQL and PL/SQL Tuning Tips John Mullins jmullins@themisinc.com www.themisinc.com www.themisinc.com/webinars Presenter John Mullins Themis Inc. (jmullins@themisinc.com) 30+ years of
More informationScaling To Infinity: Making Star Transformations Sing. Thursday 15-November 2012 Tim Gorman
Scaling To Infinity: Making Star Transformations Sing Thursday 15-November 2012 Tim Gorman www.evdbt.com Speaker Qualifications Co-author 1. Oracle8 Data Warehousing, 1998 John Wiley & Sons 2. Essential
More informationUsing Oracle STATSPACK to assist with Application Performance Tuning
Using Oracle STATSPACK to assist with Application Performance Tuning Scenario You are experiencing periodic performance problems with an application that uses a back-end Oracle database. Solution Introduction
More informationCopyright 2012, Oracle and/or its affiliates. All rights reserved.
1 Oracle safe harbor statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not
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 informationData Warehouse Tuning. Without SQL Modification
Data Warehouse Tuning Without SQL Modification Agenda About Me Tuning Objectives Data Access Profile Data Access Analysis Performance Baseline Potential Model Changes Model Change Testing Testing Results
More informationOracle Database 10g : Administration Workshop II (Release 2) Course 36 Contact Hours
Oracle Database 10g : Administration Workshop II (Release 2) Course 36 Contact Hours What you will learn This course advances your success as an Oracle professional in the area of database administration.
More informationJoin Methods. Franck Pachot CERN
Join Methods Franck Pachot CERN Twitter: @FranckPachot E-mail: contact@pachot.net The session is a full demo. This manuscript shows only the commands used for the demo the explanations will be during the
More information20761 Querying Data with Transact SQL
Course Overview The main purpose of this course is to give students a good understanding of the Transact-SQL language which is used by all SQL Server-related disciplines; namely, Database Administration,
More informationOracle Database 11g: SQL Tuning Workshop. Student Guide
Oracle Database 11g: SQL Tuning Workshop Student Guide D52163GC10 Edition 1.0 June 2008 Author Jean-François Verrier Technical Contributors and Reviewers Muriel Fry (Special thanks) Joel Goodman Harald
More informationOracle database overview. OpenLab Student lecture 13 July 2006 Eric Grancher
Oracle database overview OpenLab Student lecture 13 July 2006 Eric Grancher Outline Who am I? What is a database server? Key characteristics of Oracle database server Instrumentation Clustering Optimiser
More informationLet s Tune Oracle8 for NT
Let s Tune Oracle8 for NT ECO March 20, 2000 Marlene Theriault Cahill Agenda Scope A Look at the Windows NT system About Oracle Services The NT Registry About CPUs, Memory, and Disks Configuring NT as
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 informationTable of Contents. Oracle SQL PL/SQL Training Courses
Table of Contents Overview... 7 About DBA University, Inc.... 7 Eligibility... 8 Pricing... 8 Course Topics... 8 Relational database design... 8 1.1. Computer Database Concepts... 9 1.2. Relational Database
More informationD B M G Data Base and Data Mining Group of Politecnico di Torino
Database Management Data Base and Data Mining Group of tania.cerquitelli@polito.it A.A. 2014-2015 Optimizer operations Operation Evaluation of expressions and conditions Statement transformation Description
More informationAdvanced Oracle Performance Troubleshooting. Query Transformations Randolf Geist
Advanced Oracle Performance Troubleshooting Query Transformations Randolf Geist http://oracle-randolf.blogspot.com/ http://www.sqltools-plusplus.org:7676/ info@sqltools-plusplus.org Independent Consultant
More informationEffect of Stats on Two Columns Optimizer Statistics on tables and indexes are vital. Arup Nanda
Stats with Intelligence Arup Nanda Longtime Oracle DBA Effect of Stats on Two Columns Optimizer Statistics on tables and indexes are vital for the optimizer to compute optimal execution plans If there
More informationLatches Demystified. What is a Latch. Longtime Oracle DBA. Arup Nanda. From Glossary in Oracle Manuals:
Latches Demystified Arup Nanda Longtime Oracle DBA What is a Latch From Glossary in Oracle Manuals: A low-level serialization control mechanism used to protect shared data structures Agenda What are latches
More informationQuery Optimizer, Who Influences & How it works ++ optimization techniques
Query Optimizer, Who Influences & How it works ++ optimization techniques AIOUG : ODevC Yatra 2018, India Chandan Tanwani Senior Application Engineer Oracle Financial Services Software Ltd. Copyright 2018
More informationOracle DB-Tuning Essentials
Infrastructure at your Service. Oracle DB-Tuning Essentials Agenda 1. The DB server and the tuning environment 2. Objective, Tuning versus Troubleshooting, Cost Based Optimizer 3. Object statistics 4.
More informationIT Best Practices Audit TCS offers a wide range of IT Best Practices Audit content covering 15 subjects and over 2200 topics, including:
IT Best Practices Audit TCS offers a wide range of IT Best Practices Audit content covering 15 subjects and over 2200 topics, including: 1. IT Cost Containment 84 topics 2. Cloud Computing Readiness 225
More informationWolfgang Breitling.
Wolfgang Breitling (breitliw@centrexcc.com) 2 a) cost card operation ------- -------- -------------------------------------------------------------- 2,979 446 SELECT STATEMENT 2,979 446 SORT ORDER BY FILTER
More informationOracle Sql Tuning- A Framework
Oracle Sql Tuning- A Framework Prepared by Saurabh Kumar Mishra Performance Engineering & Enhancement offerings (PE2) Infosys Technologies Limited (NASDAQ: INFY) saurabhkumar_mishra@infosys.com This paper
More informationCommon Performance Monitoring Mistakes
Common Performance Monitoring Mistakes Virag Saksena CEO Auptyma Corporation peakperformance@auptyma.com Tuning Approach BUS X SYS Identify slow business actions Correlate the two Find system bottlenecks
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 informationOptimizing Database I/O
High Performance Oracle Optimizing Database I/O Dave Pearson Quest Software Copyright 2006 Quest Software The Impact of Poor Performance Diagnostics and Optimization The Impact of Poor Performance Diagnostics
More informationDBPLUS Performance Monitor for Oracle
DBPLUS Performance Monitor for Oracle User s Manual February 2016 UM-ORA-EN-R01 Table of contents 1 Introduction... 4 1.1 DBPLUS Technical Support... 5 1.2 System architecture... 5 1.3 System requirements...
More informationOracle Database 11g: Administration Workshop II
Oracle Database 11g: Administration Workshop II Duration: 5 Days What you will learn In this course, the concepts and architecture that support backup and recovery, along with the steps of how to carry
More informationTriangle SQL Server User Group Adaptive Query Processing with Azure SQL DB and SQL Server 2017
Triangle SQL Server User Group Adaptive Query Processing with Azure SQL DB and SQL Server 2017 Joe Sack, Principal Program Manager, Microsoft Joe.Sack@Microsoft.com Adaptability Adapt based on customer
More informationRECO CKPT SMON ARCH PMON RMAN DBWR
Database Architecture t Architecture Topics Memory Structure Background Processes Database Accessing Database Information Starting the Database SMON PMON DBWR LGWR Parameter Database Architecture SNPn
More informationResolving Latch Contention
Arup Nanda Longtime Oracle DBA What is a Latch From Glossary in Oracle Manuals: A low-level serialization control mechanism used to protect shared data structures 2 1 Agenda What are latches the purpose
More informationProjects. Corporate Trainer s Profile. CMM (Capability Maturity Model) level Project Standard:- TECHNOLOGIES
Corporate Trainer s Profile Corporate Trainers are having the experience of 4 to 12 years in development, working with TOP CMM level 5 comapnies (Project Leader /Project Manager ) qualified from NIT/IIT/IIM
More informationOracle Notes Part-5. Two Types of Cursor : 1)Implicit Cursor
Oracle Notes Part-5 CURSOR: A cursor is a temporary work area created in the system memory when a SQL statement is executed. A cursor contains information on a select statement and the rows of data accessed
More informationORACLE DATABASE 12C INTRODUCTION
SECTOR / IT NON-TECHNICAL & CERTIFIED TRAINING COURSE In this training course, you gain the skills to unleash the power and flexibility of Oracle Database 12c, while gaining a solid foundation of database
More informationIntroduction. Assessment Test. Chapter 1 Introduction to Performance Tuning 1. Chapter 2 Sources of Tuning Information 33
Contents at a Glance Introduction Assessment Test xvii xxvii Chapter 1 Introduction to Performance Tuning 1 Chapter 2 Sources of Tuning Information 33 Chapter 3 SQL Application Tuning and Design 85 Chapter
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 information#1290. Oracle Core: InMemory Column Performing Databases GmbH Mitterteich / Germany
#1290 Oracle Core: InMemory Column Store Martin Klier Performing Databases GmbH Mitterteich / Germany 2/40 Speaker Martin Klier Solution Architect and Database Expert My focus Performance Optimization
More informationTuesday, April 6, Inside SQL Server
Inside SQL Server Thank you Goals What happens when a query runs? What each component does How to observe what s going on Delicious SQL Cake Delicious SQL Cake Delicious SQL Cake Delicious SQL Cake Delicious
More informationEMC Unisphere for VMAX Database Storage Analyzer
EMC Unisphere for VMAX Database Storage Analyzer Version 8.4.0 Online Help (PDF version) Copyright 2014-2017 EMC Corporation All rights reserved. Published May 2017 Dell believes the information in this
More informationCONFIGURING SQL SERVER FOR PERFORMANCE LIKE A MICROSOFT CERTIFIED MASTER
CONFIGURING SQL SERVER FOR PERFORMANCE LIKE A MICROSOFT CERTIFIED MASTER TIM CHAPMAN PREMIERE FIELD ENGINEER MICROSOFT THOMAS LAROCK HEAD GEEK SOLARWINDS A LITTLE ABOUT TIM Tim is a Microsoft Dedicated
More informationAdvanced indexing methods Usage and Abusage. Riyaj Shamsudeen Ora!nternals
Advanced indexing methods Usage and Abusage Riyaj Shamsudeen Ora!nternals Introduction Who am I? Various indexing features Use and abuse of index types Questions Riyaj Shamsudeen @Orainternals 2 Who am
More information5 Integrity Constraints and Triggers
5 Integrity Constraints and Triggers 5.1 Integrity Constraints In Section 1 we have discussed three types of integrity constraints: not null constraints, primary keys, and unique constraints. In this section
More informationOracle Performance Tuning. Overview of performance tuning strategies
Oracle Performance Tuning Overview of performance tuning strategies Allan Young June 2008 What is tuning? Group of activities used to optimize and homogenize the performance of a database Maximize use
More informationIT100: Oracle Administration
IT100: Oracle Administration IT100 Rev.001 CMCT COURSE OUTLINE Page 1 of 8 Training Description: Introduction to Oracle Administration and Management is a five-day course designed to provide Oracle professionals
More informationCourse Outline: Oracle Database 11g: Administration II. Learning Method: Instructor-led Classroom Learning. Duration: 5.
Course Outline: Oracle Database 11g: Administration II Learning Method: Instructor-led Classroom Learning Duration: 5.00 Day(s)/ 40 hrs Overview: In this course, the concepts and architecture that support
More informationTablespace Usage By Schema In Oracle 11g Query To Check Temp
Tablespace Usage By Schema In Oracle 11g Query To Check Temp The APPS schema has access to the complete Oracle E-Business Suite data model. E-Business Suite Release 12.2 requires an Oracle database block
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 information<Insert Picture Here> Exadata MAA Best Practices Series Session #4: Exadata and OLTP Applications
Exadata MAA Best Practices Series Session #4: Exadata and OLTP Applications Hector Pujol Hector Pujol Consulting Member of Technical Staff, Oracle X and MAA Teams Exadata MAA Best
More information1 Copyright 2011, Oracle and/or its affiliates. All rights reserved.
1 Copyright 2011, Oracle and/or its affiliates. All rights 2 Copyright 2011, Oracle and/or its affiliates. All rights Optimizer Statistics CPU & IO DATA DICTIONARY OPTIMIZER STATISTICS Index Table Column
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 informationOracle PL/SQL - 12c & 11g [Basic PL/SQL & Advanced PL/SQL]
Chapter Overview of PL/SQL Programs Control Statements Using Loops within PLSQL Oracle PL/SQL - 12c & 11g [Basic PL/SQL & Advanced PL/SQL] Table of Contents Describe a PL/SQL program construct List the
More informationApplication Containers an Introduction
Application Containers an Introduction Oracle Database 12c Release 2 Multitenancy for Applications Markus Flechtner BASLE BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE
More informationOracle Database: SQL and PL/SQL Fundamentals
Oracle University Contact Us: 001-855-844-3881 & 001-800-514-06-9 7 Oracle Database: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training
More informationRAC for Beginners. Arup Nanda Longtime Oracle DBA (and a beginner, always)
Arup Nanda Longtime Oracle DBA (and a beginner, always) This image cannot currently be displayed. Continue Your Education Communities Knowledge April 7-11, 2013 Saring Colorado Convention Center Education
More informationDatabases. Relational Model, Algebra and operations. How do we model and manipulate complex data structures inside a computer system? Until
Databases Relational Model, Algebra and operations How do we model and manipulate complex data structures inside a computer system? Until 1970.. Many different views or ways of doing this Could use tree
More informationRAC Performance Monitoring and Diagnosis using Oracle Enterprise Manager. Kai Yu Senior System Engineer Dell Oracle Solutions Engineering
RAC Performance Monitoring and Diagnosis using Oracle Enterprise Manager Kai Yu Senior System Engineer Dell Oracle Solutions Engineering About Author Kai Yu Senior System Engineer, Dell Oracle Solutions
More informationSeminar: Presenter: Oracle Database Objects Internals. Oren Nakdimon.
Seminar: Oracle Database Objects Internals Presenter: Oren Nakdimon www.db-oriented.com oren@db-oriented.com 054-4393763 @DBoriented 1 Oren Nakdimon Who Am I? Chronology by Oracle years When What Where
More informationThe Oracle DBMS Architecture: A Technical Introduction
BY DANIEL D. KITAY The Oracle DBMS Architecture: A Technical Introduction As more and more database and system administrators support multiple DBMSes, it s important to understand the architecture of the
More informationAnthony AWR report INTERPRETATION PART I
Anthony AWR report INTERPRETATION PART I What is AWR? AWR stands for Automatically workload repository, Though there could be many types of database performance issues, but when whole database is slow,
More informationCopyright 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Slide 17-1
Slide 17-1 Chapter 17 Introduction to Transaction Processing Concepts and Theory Multi-user processing and concurrency Simultaneous processing on a single processor is an illusion. When several users are
More informationThings to remember when working with Oracle... (for UDB specialists)
TRAINING & CONSULTING Things to remember when working with Oracle... (for UDB specialists) Kris Van Thillo, ABIS ABIS Training & Consulting www.abis.be training@abis.be 2013 Document number: DB2LUWUserMeeting2013Front.fm
More informationEMC Unisphere for VMAX Database Storage Analyzer
EMC Unisphere for VMAX Database Storage Analyzer Version 8.2.0 Online Help (PDF version) Copyright 2014-2016 EMC Corporation. All rights reserved. Published in the USA. Published March, 2016 EMC believes
More informationOracle BI 11g R1: Build Repositories Course OR102; 5 Days, Instructor-led
Oracle BI 11g R1: Build Repositories Course OR102; 5 Days, Instructor-led Course Description This Oracle BI 11g R1: Build Repositories training is based on OBI EE release 11.1.1.7. Expert Oracle Instructors
More informationM.C.A. (CBCS) Sem.-III Examination November-2013 CCA-3004 : Database Concepts and Tools. Faculty Code: 003 Subject Code:
003-007304 M.C.A. (CBCS) Sem.-III Examination November-2013 CCA-3004 : Database Concepts and Tools Faculty Code: 003 Subject Code: 007304 Time: 21/2 Hours] [Total Marks: 70 I. Answer the following multiple
More informationCourse Outline. SQL Server Performance & Tuning For Developers. Course Description: Pre-requisites: Course Content: Performance & Tuning.
SQL Server Performance & Tuning For Developers Course Description: The objective of this course is to provide senior database analysts and developers with a good understanding of SQL Server Architecture
More informationQuerying Microsoft SQL Server (MOC 20461C)
Querying Microsoft SQL Server 2012-2014 (MOC 20461C) Course 21461 40 Hours This 5-day instructor led course provides students with the technical skills required to write basic Transact-SQL queries for
More informationOracle Login Max Length Table Name 11g Column Varchar2
Oracle Login Max Length Table Name 11g Column Varchar2 Get max(length(column)) for all columns in an Oracle table tables you are looking at BEGIN -- loop through column names in all_tab_columns for a given
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 informationAdaptive Cursor Sharing: An Introduction
Adaptive Cursor Sharing: An Introduction Harald van Breederode Oracle University 17-NOV-2010 1-1 About Me Senior Principal DBA Trainer Oracle University 25 years Unix Experience 12 years Oracle DBA Experience
More information