TECHNOLOGY: Testing Performing Through Changes

Size: px
Start display at page:

Download "TECHNOLOGY: Testing Performing Through Changes"

Transcription

1 TECHNOLOGY: Testing Performing Through Changes By Arup Nanda Measure the impact of changes on SQL workload with SQL performance analyzer. Here is a not-so-uncommon scenario: a query is running slowly. Upon investigation, you determine the reason to be a full-table scan and a possible solution to be an index to help speed up the query. As part of this performance-improvement process, you may have to make several changes in the database, including using indexes and statistics, converting to different index types, changing optimizer compatibility, and modifying an initialization parameter. And although these changes may improve the original query, they bring with them a potential for other unforeseen issues, and you certainly want to understand the impact of the changes on all SQL statements the actual SQL statements issued by the applications. How? You could pull each and every query from the shared pool and manually check the impact of the changes you are about to make, but this task is probably not feasible in a database of any size. In Oracle Database 11g, however, there's a new tool SQL performance analyzer that enables you to replay all your SQL statements before and after any number of changes and compare the results to see the changes' impact. You can gauge the overall impact as well as that on individual SQL statements. This article demonstrates how to use SQL performance analyzer to gauge the overall impact of creating an index on the STORE_ID column in a table called TRANS and then refreshing the statistics on the table and the index. You can download the script to create the sample data for this article at otn.oracle.com/oramag/oracle/08-mar/o28sqlperf.zip. Using SQL Performance Analyzer SQL performance analyzer operates on the SQL statements captured in a SQL tuning set, which can be easily created via the Oracle Enterprise Manager Database Control. To create a SQL tuning set from the existing SQL statements in the shared pool, follow these steps: 1. Create and log in to a schema named ACME, and run most of the SQL script included in the otn.oracle.com/oramag/oracle/08-mar/o28sqlperf.zip download file to create the sample table and data as well as execute some SQL statements. (Do not run the code after "to gather stats" at this time.) 2. From the Database Home page (in Oracle Enterprise Manager Database Control), click the Performance tab and the Search SQL link, which displays a screen similar to Figure 1. i g u r e 1 Figure 1: SQL tuning set creation

2 3. Click Save to a new SQL Tuning Set, and enter ACME_STS1 as the tuning set. Search all the SQL statements issued by the ACME schema, by entering ACME as the parsing schema name and clicking the Search button. The SQL statements will be displayed in the lower part of the screen (as shown at the bottom of Figure 1). 4. Click Save. These statements will be saved to the SQL tuning set called ACME_STS1. (To capture additional SQL statements, click Save to an existing SQL Tuning Set, shown at the top of Figure 1.) Now run SQL performance analyzer: 1. From the Database Home page, click the Performance tab and then the SQL Performance Analyzer link. 2. SQL performance analyzer offers three ways to perform a replay. For this example, choose Guided Workflow. It shows the series of steps you must follow (see Figure 2). i g u r e 2 Figure 2: Guided workflow tasks 3. Click Step 1 to create a SQL performance analyzer task. Give the task a name ACME_SPA 1 and choose the SQL tuning set you created earlier, ACME_STS1. 4. Now click Step 2 (Replay SQL Tuning Set in Initial Environment), which replays the captured SQL statements in the SQL tuning set. You will be asked to give the replay a name. Because this is the initial, prechange replay, call it BASE. 5. After the BASE replay is completed, perform the change. For this example, create the index on the STORE_ID column in the TRANS table: create index in_trans_store_id on trans (store_id); 6. Now replay the SQL statements in the ACME_STS1 SQL tuning set, by clicking Step 3 (Replay SQL Tuning Set in Changed Environment) in the workflow. Give this replay the name AFTER_INDEX, to designate the SQL statement replay made after the creation of the index. 7. After the replay is finished, you will have two replay results: the initial one (BASE) and the one run after the change (AFTER_INDEX). Click Step 4 (Compare Step 2 and Step 3) to compare the outcomes of the two replays (before and after the change). By default, the basis of the comparison is the elapsed time, but you have the option to change the basis to Buffer Gets, CPU Time, and so on. 8. Finally, view the report comparing the BASE and AFTER_INDEX replays, by clicking Step 5 (View Trial Comparison Report). This brings up a report, shown in Figure 3, displaying the impact of the changes graphically.

3 i g u r e 3 Figure 3: Comparison report after adding index You can see that there was a 94 percent improvement between the BASE and AFTER_INDEX replays but also that there was a 3 percent regression (or degradation). The elapsed time (shown on the left) is significantly less for the AFTER_INDEX replay than for the BASE replay. On the right side, you can see how the plans of the SQL statements have improved, regressed, or remained unchanged in terms of elapsed execution time. Figure 3 makes clear that for most of the statements, the plan remained unchanged. The Top 10 SQL Statements... list shows how each SQL statement fared within the SQL tuning set. Each SQL ID is a hyperlink that enables you to see the SQL as well as the corresponding plans. Obviously, creating and using the index helped improve performance, as the overall impact (improvement) of 91 percent suggests, but you wonder if it would help even more to gather statistics again. Well, you don't have to speculate. You can perform another replay after another change. 1. First perform the change gather the stats on the table in the usual manner. The following block from the sample data and code download gathers statistics for this example: begin dbms_stats.gather_table_stats ( ownname => 'ACME', tabname => 'TRANS', estimate_percent => 100, method_opt => 'FOR ALL COLUMNS SIZE AUTO', cascade => true); end; 2. On the SQL Performance Analyzer main page, click the ACME_SPA1 task; this displays the task page, shown in Figure 4. Here you can add another replay by clicking the Create Replay Trial button. Provide the name AFTER_STATS. After the replay is completed, click the Run Replay Trial Comparison button to produce the comparison report. Click the eyeglass icon to bring up the report, shown in Figure 5. i g u r e 4 Figure 4: SQL performance analyzer task screen

4 i g u r e 5 Figure 5: Comparison report after gathering stats 3. Examine the report carefully: there is a 49 percent improvement but a 118 percent regression, meaning that the overall impact is negative. You may be tempted to think that gathering stats was not good overall, but that conclusion is far from definitive. The next step is to check what actually caused the regression. Note the Top 10 SQL Statements... list in Figure 5. The very first SQL statement caused most of the regression. 4. Examine the first SQL statement, by clicking the 95mag7mtvkqk5 SQL ID, which shows a percent regression. Figure 6 shows detailed information about the statement, including the fact that the statement was executed only four times (Execution Frequency). For difficult-to-understand problems, you can click the Schedule SQL Tuning Advisor button to get advice on how to reduce the elapsed time. SQL tuning advisor can tell you if the plan's regression is due to stale stats and if refreshing the stats will help. i g u r e 6 Figure 6: Details of SQL statement causing regression Note that in a situation in which only one statement has contributed all of the regression to a replay, you can look at that statement and its execution frequency and perhaps disregard that negative impact. Also, the bottom of the SQL statement screen displays the query plan before (the AFTER_INDEX replay) and after (the AFTER_STATS replay) the change, which will help in making a quick diagnosis. Next Steps READ more about Oracle Real Application Testing SQL Performance Analyzer DOWNLOAD Oracle Database Performance Tuning Guide sample data and code for this article Oracle Database 11g

5 Conclusion Remember that there are three options on the SQL Performance Analyzer main page, from which I chose Guided Workflow. I chose it because it provides the best control over tasks and will help you learn how to use the tool. For assessing the impact of two common changes to optimizer versions and initialization parameters the SQL performance analyzer tasks are even simpler, and you can accomplish them by using the other two options listed on the SQL Performance Analyzer main page optimizer upgrade simulation and parameter change. For an initialization parameter change such as changing db_file_multiblock_read_count from 16 to 32, you can put the two values on one screen and SQL performance analyzer will execute the replay for both values automatically and compare the output. With SQL performance analyzer, you can make a change and see its impact on all the SQL statements issued by the users in the database. The report shows you clearly how each statement fared under the change as well as the overall impact and whether the plans were changed. SQL performance analyzer replays the actual SQL statements not synthetic ones issued against the database, making the impact analysis as accurate as it can be. Arup Nanda ( arup@proligence.com ) has been an Oracle DBA for more than 12 years, handling all aspects of database administration, from performance tuning to security and disaster recovery. He was Oracle Magazine 's DBA of the Year in Send us your comments this page Printer View Hardware and Software, Engineered to Work Together

Oracle Database 12c Performance Management and Tuning

Oracle 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

What is Real Application Testing?

What is Real Application Testing? Real Application Testing Real Application Testing Enterprise Manager Management Packs Enhancements What is Real Application Testing? New database option available with EE only Includes two new features

More information

Configuration changes such as conversion from a single instance to RAC, ASM, etc.

Configuration changes such as conversion from a single instance to RAC, ASM, etc. Today, enterprises have to make sizeable investments in hardware and software to roll out infrastructure changes. For example, a data center may have an initiative to move databases to a low cost computing

More information

EZY Intellect Pte. Ltd., #1 Changi North Street 1, Singapore

EZY 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 information

Oracle 11g Optimizer Statistics Inderpal S. Johal. Inderpal S. Johal, Data Softech Inc.

Oracle 11g Optimizer Statistics   Inderpal S. Johal. Inderpal S. Johal, Data Softech Inc. ORACLE 11G DATABASE STATISTICS Inderpal S. Johal, Data Softech Inc. OVERVIEW Oracle 10g have made lots of significant change so as to provide good performance to Oracle database. The important changes

More information

Effect of Stats on Two Columns Optimizer Statistics on tables and indexes are vital. Arup Nanda

Effect 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 information

Oracle EXAM - 1Z Oracle Database 11g: Performance Tuning. Buy Full Product.

Oracle EXAM - 1Z Oracle Database 11g: Performance Tuning. Buy Full Product. Oracle EXAM - 1Z0-054 Oracle Database 11g: Performance Tuning Buy Full Product http://www.examskey.com/1z0-054.html Examskey Oracle 1Z0-054 exam demo product is here for you to test the quality of the

More information

Manage Change With Confidence: Upgrading to Oracle Database 11g with Oracle Real Application Testing

Manage Change With Confidence: Upgrading to Oracle Database 11g with Oracle Real Application Testing Manage Change With Confidence: Upgrading to Oracle Database 11g with Oracle Real Application Testing The following is intended to outline our general product direction. It is intended for information purposes

More information

Oracle Database 12c: Performance Management and Tuning

Oracle 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 information

Session id: The Self-Managing Database: Guided Application and SQL Tuning

Session 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 information

Oracle 1Z0-054 Exam Questions and Answers (PDF) Oracle 1Z0-054 Exam Questions 1Z0-054 BrainDumps

Oracle 1Z0-054 Exam Questions and Answers (PDF) Oracle 1Z0-054 Exam Questions 1Z0-054 BrainDumps Oracle 1Z0-054 Dumps with Valid 1Z0-054 Exam Questions PDF [2018] The Oracle 1Z0-054 Oracle Database 11g: Performance Tuning exam is an ultimate source for professionals to retain their credentials dynamic.

More information

Top 10 Features in Oracle 12C for Developers and DBA s Gary Bhandarkar Merck & Co., Inc., Rahway, NJ USA

Top 10 Features in Oracle 12C for Developers and DBA s Gary Bhandarkar Merck & Co., Inc., Rahway, NJ USA Top 10 Features in Oracle 12C for Developers and DBA s Gary Bhandarkar Merck & Co., Inc., Rahway, NJ USA Agenda Background ORACLE 12c FEATURES CONCLUSION 2 Top 10 Oracle 12c Features Feature 1: ADAPTIVE

More information

Oracle 1Z0-514 Exam Questions and Answers (PDF) Oracle 1Z0-514 Exam Questions 1Z0-514 BrainDumps

Oracle 1Z0-514 Exam Questions and Answers (PDF) Oracle 1Z0-514 Exam Questions 1Z0-514 BrainDumps Oracle 1Z0-514 Dumps with Valid 1Z0-514 Exam Questions PDF [2018] The Oracle 1Z0-514 Oracle Database 11g Essentials exam is an ultimate source for professionals to retain their credentials dynamic. And

More information

Real Application Testing Certified for SAP

Real Application Testing Certified for SAP Real Application Testing Certified for SAP Making a change to the SAP database can represent a significant risk to an organisation. The effects of an unexpected problem could be widely felt and have serious

More information

Cost Based Optimizer CBO: Configuration Roadmap

Cost Based Optimizer CBO: Configuration Roadmap Cost Based Optimizer CBO: Configuration Roadmap Christian Antognini Sandro Crepaldi DOAG Regionaltreffen Hamburg/Nord 13.09.05, Hamburg Disclaimer > The CBO changes from release to release > It s difficult

More information

TECHNOLOGY: Security Encrypting Tablespaces

TECHNOLOGY: Security Encrypting Tablespaces TECHNOLOGY: Security Encrypting Tablespaces By Arup Nanda Encrypt tablespaces transparently without affecting performance. In an era when data security is critical in almost every type of business, databases

More information

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

PASS4TEST. IT Certification Guaranteed, The Easy Way!  We offer free update service for one year PASS4TEST IT Certification Guaranteed, The Easy Way! \ http://www.pass4test.com We offer free update service for one year Exam : 1Z1-054 Title : Oracle Database 11g: Performance Tuning Vendors : Oracle

More information

KillTest *KIJGT 3WCNKV[ $GVVGT 5GTXKEG Q&A NZZV ]]] QORRZKYZ IUS =K ULLKX LXKK [VJGZK YKX\OIK LUX UTK _KGX

KillTest *KIJGT 3WCNKV[ $GVVGT 5GTXKEG Q&A NZZV ]]] QORRZKYZ IUS =K ULLKX LXKK [VJGZK YKX\OIK LUX UTK _KGX KillTest Q&A Exam : 1Z1-054 Title : Oracle Database 11g: Performance Tuning Version : DEMO 1 / 19 1. After running SQL Performance Analyzer (SPA), you observe a few regressed SQL statements in the SPA

More information

Oracle 10g Dbms Stats Gather Table Stats Examples

Oracle 10g Dbms Stats Gather Table Stats Examples Oracle 10g Dbms Stats Gather Table Stats Examples Summary of DBMS_COMPRESSION Subprograms Permissions for Managing and Querying Cube Materialized Views Example of SQL Aggregation Upgrading 10g Analytic

More information

Learning Objectives : This chapter provides an introduction to performance tuning scenarios and its tools.

Learning Objectives : This chapter provides an introduction to performance tuning scenarios and its tools. Oracle Performance Tuning Oracle Performance Tuning DB Oracle Wait Category Wait AWR Cloud Controller Share Pool Tuning 12C Feature RAC Server Pool.1 New Feature in 12c.2.3 Basic Tuning Tools Learning

More information

<Insert Picture Here> DBA Best Practices: A Primer on Managing Oracle Databases

<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 information

Oracle Database 11g: New Features for Oracle 9i DBAs

Oracle Database 11g: New Features for Oracle 9i DBAs Oracle University Contact Us: 1.800.529.0165 Oracle Database 11g: New Features for Oracle 9i DBAs Duration: 5 Days What you will learn This course introduces students to the new features of Oracle Database

More information

<Insert Picture Here> DBA s New Best Friend: Advanced SQL Tuning Features of Oracle Database 11g

<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 information

Oracle Database 11g : Performance Tuning DBA Release2

Oracle Database 11g : Performance Tuning DBA Release2 Oracle Database 11g : Performance Tuning DBA Release2 Target Audience : Technical Consultant/L2/L3 Support DBA/Developers Course Duration : 5 days Day 1: Basic Tuning Tools Monitoring tools overview Enterprise

More information

Oracle Enterprise Manager Oracle Database and Application Testing. Real Application Testing Lab. Session S318966

Oracle Enterprise Manager Oracle Database and Application Testing. Real Application Testing Lab. Session S318966 Oracle Enterprise Manager Oracle Database and Application Testing Real Application Testing Lab Session S318966 Oracle Enterprise Manager 11g Real Application Testing Hands on Lab Introduction to Enterprise

More information

Oracle Hyperion Profitability and Cost Management

Oracle Hyperion Profitability and Cost Management Oracle Hyperion Profitability and Cost Management Configuration Guidelines for Detailed Profitability Applications November 2015 Contents About these Guidelines... 1 Setup and Configuration Guidelines...

More information

OpenWorld 2018 SQL Tuning Tips for Cloud Administrators

OpenWorld 2018 SQL Tuning Tips for Cloud Administrators OpenWorld 2018 SQL Tuning Tips for Cloud Administrators GP (Prabhaker Gongloor) Senior Director of Product Management Bjorn Bolltoft Dr. Khaled Yagoub Systems and DB Manageability Development Oracle Corporation

More information

Managing Performance Through Versioning of Statistics

Managing Performance Through Versioning of Statistics Managing Performance Through Versioning of Statistics Claudia Fernandez Technical Services Manager claudia@leccotech.com LECCOTECH www.leccotech.com NoCOUG, August 2003 "Managing Performance Through Versioning

More information

Oralogic Education Systems

Oralogic 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 information

Exam Name: Oracle Database 11g: Performance Tuning

Exam Name: Oracle Database 11g: Performance Tuning Exam Code: 1z1-054 Exam Name: Oracle Database 11g: Performance Tuning Vendor: Oracle Version: DEMO Part: A 1: You are managing an online transaction processing (OLTP) system. Many users complain about

More information

Cache Fusion Demystified By Arup Nanda

Cache Fusion Demystified By Arup Nanda Cache Fusion Demystified By Arup Nanda Introduction Let me start by asking a question. Is it true that if the size of the database is only 100MB, then all I need is a 100MB buffer cache and the sessions

More information

Oracle Database 11g: Performance Tuning DBA Release 2

Oracle 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 information

Database Performance Analysis Techniques Using Metric Extensions and SPA

Database Performance Analysis Techniques Using Metric Extensions and SPA Database Performance Analysis Techniques Using Metric Extensions and SPA Kurt Engeleiter Oracle Corporation Redwood Shores, CA, USA Keywords: ADDM, SQL Tuning Advisor, SQL Performance Analyzer, Metric

More information

1z0-062.exam.215q 1z0-062 Oracle Database 12c: Installation and Administration

1z0-062.exam.215q 1z0-062 Oracle Database 12c: Installation and Administration 1z0-062.exam.215q Number: 1z0-062 Passing Score: 800 Time Limit: 120 min 1z0-062 Oracle Database 12c: Installation and Administration Exam A QUESTION 1 You notice a high number of waits for the db file

More information

Oracle 1Z Oracle Database 11g Release 2- SQL Tuning. Download Full Version :

Oracle 1Z Oracle Database 11g Release 2- SQL Tuning. Download Full Version : Oracle 1Z0-117 Oracle Database 11g Release 2- SQL Tuning Download Full Version : http://killexams.com/pass4sure/exam-detail/1z0-117 OracleDatabase Data Warehousing Guide,Star Transformation with a Bitmap

More information

Oracle Exam 1z0-054 Oracle Database 11g: Performance Tuning Version: 5.0 [ Total Questions: 192 ]

Oracle Exam 1z0-054 Oracle Database 11g: Performance Tuning Version: 5.0 [ Total Questions: 192 ] s@lm@n Oracle Exam 1z0-054 Oracle Database 11g: Performance Tuning Version: 5.0 [ Total Questions: 192 ] Question No : 1 You work for a small manufacturing company as a DBA. The company has various applications

More information

Oracle Database 11g: SQL Tuning Workshop

Oracle 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 information

(10393) Database Performance Tuning Hands-On Lab

(10393) Database Performance Tuning Hands-On Lab (10393) Database Performance Tuning Hands-On ASH Analytics Real-time ADDM SQL Performance Analyzer Objective: Database Performance Hands-on The objective of this lab to provide exercises designed to showcase

More information

Oracle Database 11g: Performance Tuning DBA Release 2

Oracle Database 11g: Performance Tuning DBA Release 2 Course Code: OC11PTDBAR2 Vendor: Oracle Course Overview Duration: 5 RRP: POA Oracle Database 11g: Performance Tuning DBA Release 2 Overview This course starts with an unknown database that requires tuning.

More information

In the Oracle Database 12c: Performance Management and

In the Oracle Database 12c: Performance Management and Oracle Uni Contact Us: 08 Oracle Database 12c: Performance Management a Durat5 Da What you will learn In the Oracle Database 12c: Performance Management and analysis and tuning tasks expected of a DBA:

More information

Enhanced Performance of Database by Automated Self-Tuned Systems

Enhanced Performance of Database by Automated Self-Tuned Systems 22 Enhanced Performance of Database by Automated Self-Tuned Systems Ankit Verma Department of Computer Science & Engineering, I.T.M. University, Gurgaon (122017) ankit.verma.aquarius@gmail.com Abstract

More information

Oracle Database 10g The Self-Managing Database

Oracle Database 10g The Self-Managing Database Oracle Database 10g The Self-Managing Database Benoit Dageville Oracle Corporation benoit.dageville@oracle.com Page 1 1 Agenda Oracle10g: Oracle s first generation of self-managing database Oracle s Approach

More information

Oracle Database 11g: Self-Managing Database - The Next Generation

Oracle Database 11g: Self-Managing Database - The Next Generation Oracle Database 11g: Self-Managing Database - The Next Generation Katharina Römer Principal Sales Consultant Agenda Introduction Manage Performance & Resources Manage Fault

More information

Trouble-free Upgrade to Oracle Database 12c with Real Application Testing

Trouble-free Upgrade to Oracle Database 12c with Real Application Testing Trouble-free Upgrade to Oracle Database 12c with Real Application Testing Kurt Engeleiter Principal Product Manager Safe Harbor Statement The following is intended to outline our general product direction.

More information

Oracle Database. Real Application Testing User s Guide 11g Release 2 (11.2) E

Oracle Database. Real Application Testing User s Guide 11g Release 2 (11.2) E Oracle Database Real Application Testing User s Guide 11g Release 2 (11.2) E41481-03 June 2014 Oracle Database Real Application Testing User's Guide, 11g Release 2 (11.2) E41481-03 Copyright 2008, 2014,

More information

<Insert Picture Here> Inside the Oracle Database 11g Optimizer Removing the black magic

<Insert Picture Here> Inside the Oracle Database 11g Optimizer Removing the black magic Inside the Oracle Database 11g Optimizer Removing the black magic Hermann Bär Data Warehousing Product Management, Server Technologies Goals of this session We will Provide a common

More information

Demystifying SQL Tuning: Tips and Techniques for SQL Experts

Demystifying SQL Tuning: Tips and Techniques for SQL Experts Demystifying SQL Tuning: Tips and Techniques for SQL Experts Mughees A. Minhas Director of Product Management, Database and Systems Management Sergey Koltakov Product Manager, Database Manageability Outline

More information

Oracle. Exam Questions 1Z Oracle Database 11g Release 2: SQL Tuning Exam. Version:Demo

Oracle. Exam Questions 1Z Oracle Database 11g Release 2: SQL Tuning Exam. Version:Demo Oracle Exam Questions 1Z0-117 Oracle Database 11g Release 2: SQL Tuning Exam Version:Demo 1.You ran a high load SQL statement that used an index through the SQL Tuning Advisor and accepted its recommendation

More information

COURSE 20462C: ADMINISTERING MICROSOFT SQL SERVER DATABASES

COURSE 20462C: ADMINISTERING MICROSOFT SQL SERVER DATABASES Page 1 of 11 ABOUT THIS COURSE This five-day instructor-led course provides students with the knowledge and skills to maintain a Microsoft SQL Server 2014 database. The course focuses on teaching individuals

More information

<Insert Picture Here> Managing Oracle Exadata Database Machine with Oracle Enterprise Manager 11g

<Insert Picture Here> Managing Oracle Exadata Database Machine with Oracle Enterprise Manager 11g Managing Oracle Exadata Database Machine with Oracle Enterprise Manager 11g Exadata Overview Oracle Exadata Database Machine Extreme ROI Platform Fast Predictable Performance Monitor

More information

MS-20462: Administering Microsoft SQL Server Databases

MS-20462: Administering Microsoft SQL Server Databases MS-20462: Administering Microsoft SQL Server Databases Description This five-day instructor-led course provides students with the knowledge and skills to maintain a Microsoft SQL Server 2014 database.

More information

Orange for Oracle DBA Edition

Orange for Oracle DBA Edition Orange for Oracle DBA Edition Wait Event Monitor Monitoring sessions assigning maximum 8 wait events concurrently Providing session lists occurring for assigned wait events Interfacing to Plan Tool for

More information

Best Practices for Upgrading to SQL Server By Haldong Alex Ji

Best Practices for Upgrading to SQL Server By Haldong Alex Ji Best Practices for Upgrading to SQL Server 2005 By Haldong Alex Ji Published: December 2007 Best Practices for Upgrading to SQL Server 2005 Contents Choose a 64-bit System When You Can... 1 Moving to SQL

More information

Oracle Database 11g: Manageability Overview. An Oracle White Paper August 2007

Oracle Database 11g: Manageability Overview. An Oracle White Paper August 2007 Oracle Database 11g: Manageability Overview An Oracle White Paper August 2007 Oracle Database 11g: Manageability Overview Introduction... 3 Manageability... 3 ADDM for RAC... 3 Automatic SQL Tuning...

More information

SQL 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 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 information

Oracle. Exam Questions 1Z Oracle Database 11g: Administration I. Version:Demo

Oracle. Exam Questions 1Z Oracle Database 11g: Administration I. Version:Demo Oracle Exam Questions 1Z0-052 Oracle Database 11g: Administration I Version:Demo 1. You notice that the performance of the database has degraded because of frequent checkpoints. Which two actions resolve

More information

Metalink Note: : Real Application Testing for Earlier Releases What is being announced?

Metalink Note: : Real Application Testing for Earlier Releases What is being announced? Metalink Note: 560977.1: Real Testing for Earlier Releases What is being announced? Oracle Database 11g introduced Database Replay and SQL Performance Analyzer as part of the Real Testing option to enable

More information

Using Perceptive Content with an Oracle Database

Using Perceptive Content with an Oracle Database Using Perceptive Content with an Oracle Database Best Practices Version: 7.2.x Written by: Product Knowledge, R&D Date: June 2017 2017 Lexmark. All rights reserved. Lexmark is a trademark of Lexmark International

More information

This presentation is for informational purposes only and may not be incorporated into a contract or agreement.

This presentation is for informational purposes only and may not be incorporated into a contract or agreement. This presentation is for informational purposes only and may not be incorporated into a contract or agreement. The following is intended to outline our general product direction. It is intended for information

More information

Moving Databases to Oracle Cloud: Performance Best Practices

Moving Databases to Oracle Cloud: Performance Best Practices Moving Databases to Oracle Cloud: Performance Best Practices Kurt Engeleiter Product Manager Oracle Safe Harbor Statement The following is intended to outline our general product direction. It is intended

More information

Exadata Implementation Strategy

Exadata Implementation Strategy BY UMAIR MANSOOB Who Am I Oracle Certified Administrator from Oracle 7 12c Exadata Certified Implementation Specialist since 2011 Oracle Database Performance Tuning Certified Expert Oracle Business Intelligence

More information

Oracle Database 11g: Administration I

Oracle Database 11g: Administration I Oracle 1z0-052 Oracle Database 11g: Administration I Version: 7.0 Topic 1, Volume A Oracle 1z0-052 Exam QUESTION NO: 1 You notice that the performance of the database has degraded because of frequent checkpoints.

More information

Oracle Database 11g: Real Application Testing & Manageability Overview. An Oracle White Paper June 2007

Oracle Database 11g: Real Application Testing & Manageability Overview. An Oracle White Paper June 2007 Oracle Database 11g: Real Application Testing & Manageability Overview An Oracle White Paper June 2007 Note: The following is intended to outline our general product direction. It is intended for information

More information

Anthony AWR report INTERPRETATION PART I

Anthony 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 information

Oracle Database 18c and Autonomous Database

Oracle Database 18c and Autonomous Database Oracle Database 18c and Autonomous Database Maria Colgan Oracle Database Product Management March 2018 @SQLMaria Safe Harbor Statement The following is intended to outline our general product direction.

More information

Die Wundertüte DBMS_STATS: Überraschungen in der Praxis

Die Wundertüte DBMS_STATS: Überraschungen in der Praxis Die Wundertüte DBMS_STATS: Überraschungen in der Praxis, 14. Mai 2018 Dani Schnider, Trivadis AG @dani_schnider danischnider.wordpress.com BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA

More information

Pitfalls & Surprises with DBMS_STATS: How to Solve Them

Pitfalls & Surprises with DBMS_STATS: How to Solve Them Pitfalls & Surprises with DBMS_STATS: How to Solve Them Dani Schnider, Trivadis AG @dani_schnider danischnider.wordpress.com BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN

More information

Oracle Sql Tuning- A Framework

Oracle 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 information

Tuning SQL without the Tuning Pack. John Larkin JP Morgan Chase

Tuning 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 information

DBPLUS Performance Monitor for Oracle

DBPLUS 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 information

1Z Oracle Database Performance and Tuning Essentials 2015 Exam Summary Syllabus Questions

1Z Oracle Database Performance and Tuning Essentials 2015 Exam Summary Syllabus Questions 1Z0-417 Oracle Database Performance and Tuning Essentials 2015 Exam Summary Syllabus Questions Table of Contents Introduction to 1Z0-417 Exam on Oracle Database Performance and Tuning Essentials 2015...

More information

Copyright 2018, Oracle and/or its affiliates. All rights reserved.

Copyright 2018, Oracle and/or its affiliates. All rights reserved. Beyond SQL Tuning: Insider's Guide to Maximizing SQL Performance Monday, Oct 22 10:30 a.m. - 11:15 a.m. Marriott Marquis (Golden Gate Level) - Golden Gate A Ashish Agrawal Group Product Manager Oracle

More information

Managing Oracle Real Application Clusters. An Oracle White Paper January 2002

Managing Oracle Real Application Clusters. An Oracle White Paper January 2002 Managing Oracle Real Application Clusters An Oracle White Paper January 2002 Managing Oracle Real Application Clusters Overview...3 Installation and Configuration...3 Oracle Software Installation on a

More information

Embarcadero DB Optimizer 1.5 New Features Guide. Published: March 16, 2009

Embarcadero DB Optimizer 1.5 New Features Guide. Published: March 16, 2009 Embarcadero DB Optimizer 1.5 New Features Guide Published: March 16, 2009 Copyright 1994-2009 Embarcadero Technologies, Inc. Embarcadero Technologies, Inc. 100 California Street, 12th Floor San Francisco,

More information

Gather Schema Statistics Oracle 10g Examples

Gather Schema Statistics Oracle 10g Examples Gather Schema Statistics Oracle 10g Examples Document 452011.1 * Restoring table statistics in 10G onwards Document 237901.1 Gathering Schema or Database Statistics Automatically - Examples gathering on

More information

Oracle12c Release 1 New Features for Administrators (5 Days)

Oracle12c Release 1 New Features for Administrators (5 Days) www.peaklearningllc.com Oracle12c Release 1 New Features for Administrators (5 Days) Course Description This course provides a complete, hands-on introduction to the newest release of Oracle Enterprise

More information

Manual Trigger Sql Server 2008 Examples Update

Manual Trigger Sql Server 2008 Examples Update Manual Trigger Sql Server 2008 Examples Update SQL Server has a pool of memory that is used to store both execution plans and data buffers. For example, the first of these SELECT statements is not matched

More information

Oracle 1Z Oracle Database 11g Performance Tuning.

Oracle 1Z Oracle Database 11g Performance Tuning. Oracle 1Z0-054 Oracle Database 11g Performance Tuning http://killexams.com/exam-detail/1z0-054 C. Query v$session to gather statistics of the individual sessions for the workload created by the jobs. D.

More information

Real Application Testing Never Get Caught By Change Again. Michael R. Messina, Management Consultant Rolta-TUSC, NYOUG 2011 (60 min)

Real Application Testing Never Get Caught By Change Again. Michael R. Messina, Management Consultant Rolta-TUSC, NYOUG 2011 (60 min) Real Application Testing Never Get Caught By Change Again Michael R. Messina, Management Consultant Rolta-TUSC, NYOUG 2011 (60 min) Copyright 2009 Rolta International, Inc., All Rights Reserved Introduction

More information

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved.

1 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 information

Exadata X3 in action: Measuring Smart Scan efficiency with AWR. Franck Pachot Senior Consultant

Exadata X3 in action: Measuring Smart Scan efficiency with AWR. Franck Pachot Senior Consultant Exadata X3 in action: Measuring Smart Scan efficiency with AWR Franck Pachot Senior Consultant 16 March 2013 1 Exadata X3 in action: Measuring Smart Scan efficiency with AWR Exadata comes with new statistics

More information

PERFORMANCE TUNING TRAINING IN BANGALORE

PERFORMANCE TUNING TRAINING IN BANGALORE PERFORMANCE TUNING TRAINING IN BANGALORE TIB ACADEMY #5/3 BEML LAYOUT, VARATHUR MAIN ROAD KUNDALAHALLI GATE, BANGALORE 560066 PH: +91-9513332301/2302 WWW.TRAINININGBANGALORE.COM Oracle Database 11g: Performance

More information

ORACLE 12C - M-IV - DBA - ADMINISTRADOR DE BANCO DE DADOS II

ORACLE 12C - M-IV - DBA - ADMINISTRADOR DE BANCO DE DADOS II ORACLE 12C - M-IV - DBA - ADMINISTRADOR DE BANCO DE DADOS II CONTEÚDO PROGRAMÁTICO Core Concepts and Tools of the Oracle Database The Oracle Database Architecture: Overview ASM Storage Concepts Connecting

More information

MILOŠ RADIVOJEVIĆ, PRINCIPAL DATABASE CONSULTANT, BWIN GVC, VIENNA, AUSTRIA

MILOŠ RADIVOJEVIĆ, PRINCIPAL DATABASE CONSULTANT, BWIN GVC, VIENNA, AUSTRIA MILOŠ RADIVOJEVIĆ, PRINCIPAL DATABASE CONSULTANT, BWIN GVC, VIENNA, AUSTRIA Performance Tuning with SQL Server 2017 Sponsors About Me Principal Database Consultant, bwin GVC, Vienna, Austria Data Platform

More information

Oracle Database 11g: New Features for Administrators DBA Release 2

Oracle Database 11g: New Features for Administrators DBA Release 2 Oracle Database 11g: New Features for Administrators DBA Release 2 Duration: 5 Days What you will learn This Oracle Database 11g: New Features for Administrators DBA Release 2 training explores new change

More information

Course Outline. [ORACLE PRESS] All-in-One Course for the OCA/OCP Oracle Database 12c Exams 1Z0-061, 1Z0-062, & 1Z

Course Outline. [ORACLE PRESS] All-in-One Course for the OCA/OCP Oracle Database 12c Exams 1Z0-061, 1Z0-062, & 1Z Course Outline [ORACLE PRESS] All-in-One Course for the OCA/OCP Oracle Database 12c Exams 1Z0-061, 1Z0-062, & 1Z0-063 18 Jun 2018 Contents 1. Course Objective 2. Pre-Assessment 3. Exercises, Quizzes, Flashcards

More information

Course Outline. [ORACLE PRESS] All-in-One Course for the OCA/OCP Oracle Database 12c Exams 1Z0-061, 1Z0-062, & 1Z

Course Outline. [ORACLE PRESS] All-in-One Course for the OCA/OCP Oracle Database 12c Exams 1Z0-061, 1Z0-062, & 1Z Course Outline [ORACLE PRESS] All-in-One Course for the OCA/OCP Oracle Database 12c Exams 1Z0-061, 1Z0-062, & 28 Apr 2018 Contents 1. Course Objective 2. Pre-Assessment 3. Exercises, Quizzes, Flashcards

More information

Session 1079: Using Real Application Testing to Successfully Migrate to Exadata - Best Practices and Customer Case Studies

Session 1079: Using Real Application Testing to Successfully Migrate to Exadata - Best Practices and Customer Case Studies Session 1079: Using Real Application Testing to Successfully Migrate to Exadata - Best Practices and Customer Case Studies Prabhaker Gongloor (GP) Product Management Director, Database Manageability, Oracle

More information

UNIVERSITY AUTHORISED EDUCATION PARTNER (WDP)

UNIVERSITY AUTHORISED EDUCATION PARTNER (WDP) Audience Data Warehouse Administrator Database Administrators Support Engineer Technical Administrator Technical Consultant Related Training Required Prerequisites Knowledge of Oracle Database 12c Knowledge

More information

Oracle FLEXCUBE Private Banking May 2011

Oracle FLEXCUBE Private Banking May 2011 Oracle FLEXCUBE Private Banking May 2011 Database configuration parameters and Recommended Schedule Maintenance Oracle Part Number E51529-01 Document Control Date Version Description Author 30 th November

More information

Manageability comparison: Oracle database 10g and Oracle 9i database

Manageability comparison: Oracle database 10g and Oracle 9i database MPRA Munich Personal RePEc Archive Manageability comparison: Oracle database 10g and Oracle 9i database Lungu, Ion and Vatuiu, Teodora Academy of Economic Studies Bucharest, Constantin Bracusi University

More information

Oracle Database 11g: Real Application Testing & Manageability Overview

Oracle Database 11g: Real Application Testing & Manageability Overview Oracle Database 11g: Real Application Testing & Manageability Overview Top 3 DBA Activities Performance Management Challenge: Sustain Optimal Performance Change Management Challenge: Preserve Order amid

More information

Leng Leng Tan Vice President Server Manageability and Diagnosability Oracle Corporation. Arvind Gidwani Kothandapani Subramaniyam

Leng Leng Tan Vice President Server Manageability and Diagnosability Oracle Corporation. Arvind Gidwani Kothandapani Subramaniyam Leng Leng Tan Vice President Server Manageability and Diagnosability Oracle Corporation Arvind Gidwani Kothandapani Subramaniyam CDMA Technologies Qualcomm The Self-Managing Database: Where Technology

More information

Oracle Database 12c R2: Backup and Recovery Workshop Ed 3

Oracle Database 12c R2: Backup and Recovery Workshop Ed 3 Oracle University Contact Us: Toll Free: 0008004401672 Oracle Database 12c R2: Backup and Recovery Workshop Ed 3 Duration: 5 Days What you will learn In this Oracle Database 12c R2: Backup and Recovery

More information

Oracle Database 12c: Backup and Recovery Workshop Ed 2 NEW

Oracle Database 12c: Backup and Recovery Workshop Ed 2 NEW Oracle University Contact Us: 0845 777 7711 Oracle Database 12c: Backup and Recovery Workshop Ed 2 NEW Duration: 5 Days What you will learn This Oracle Database 12c: Backup and Recovery Workshop will teach

More information

Real Application Testing: An Introduction Harald van Breederode Oracle University 8-JUN-2010

Real Application Testing: An Introduction Harald van Breederode Oracle University 8-JUN-2010 Real Application Testing: An Introduction Harald van Breederode Oracle University 8-JUN-2010 1 About Me Senior Principal DBA Trainer Oracle University 25 years Unix Experience 12 years Oracle DBA Experience

More information

EasyLobby Database Setup EasyLobby Family of Products Version 10.0

EasyLobby Database Setup EasyLobby Family of Products Version 10.0 EasyLobby Database Setup EasyLobby Family of Products Version 10.0 Introduction This document describes how to set up the EasyLobby 10.0 database on Microsoft SQL Server or Oracle, how to setup an ODBC

More information

Course 40045A: Microsoft SQL Server for Oracle DBAs

Course 40045A: Microsoft SQL Server for Oracle DBAs Skip to main content Course 40045A: Microsoft SQL Server for Oracle DBAs - Course details Course Outline Module 1: Database and Instance This module provides an understanding of the two major components

More information

ORACLE DIAGNOSTICS PACK

ORACLE DIAGNOSTICS PACK ORACLE DIAGNOSTICS PACK KEY FEATURES AND BENEFITS: Automatic Performance Diagnostic liberates administrators from this complex and time consuming task, and ensures quicker resolution of performance bottlenecks.

More information

Oracle Database Performance Tuning

Oracle Database Performance Tuning Oracle Database Performance Tuning For RESTAURANTS Case Study COMPANY CLIENT PROFILE: Restaurants is the name of a grand and passionate journey of flavours, unraveling authentic cuisines and sharing them

More information