Oracle Database Performance Tuning

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

What is Real Application Testing?

Oracle Database 12c Performance Management and Tuning

Oracle 1Z Oracle Database 11g Performance Tuning.

Oracle Database 12c: Performance Management and Tuning

Oralogic Education Systems

Oracle Database 11g: SQL Tuning Workshop

Oracle Database 10g The Self-Managing Database

Oracle Performance Tuning. Overview of performance tuning strategies

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

PERFORMANCE TUNING TRAINING IN BANGALORE

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

Using Oracle STATSPACK to assist with Application Performance Tuning

Anthony AWR report INTERPRETATION PART I

In the Oracle Database 12c: Performance Management and

SQL Gone Wild: Taming Bad SQL the Easy Way (or the Hard Way) Sergey Koltakov Product Manager, Database Manageability

Oracle Database 11g : Performance Tuning DBA Release2

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

End-to-end Management with Grid Control. John Abrahams Technology Sales Consultant Oracle Nederland B.V.

Oracle Database 18c and Autonomous Database

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

Database Performance Analysis Techniques Using Metric Extensions and SPA

Oracle Database 11g: Performance Tuning DBA Release 2

Toad for Oracle Suite 2017 Functional Matrix

(10393) Database Performance Tuning Hands-On Lab

Real-World Performance Training Core Database Performance

Oracle Database 11g: Performance Tuning DBA Release 2

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

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

Performance Monitoring

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

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

Optimizing Database I/O

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

White Paper Oracle's Cursor Sharing for BMC Remedy Products

Oracle 10g Self-Management Framework Internals: Exploring the Automatic Workload Repository. Open World September 2005

Understanding and Leveraging the Oracle9i Advisories. Azeem Mohamed Product Marketing Manager Quest Software

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

Oracle Database 11g: Real Application Testing & Manageability Overview

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

OpenWorld 2018 SQL Tuning Tips for Cloud Administrators

<Insert Picture Here>

Performance Problems

Tosska SQL Tuning Expert Pro for Oracle

The Oracle SQLT Utility. By Kevin Gilpin, Rolta TUSC Wednesday March 14, 2012

Demystifying SQL Tuning: Tips and Techniques for SQL Experts

WELCOME. Unterstützung von Tuning- Maßnahmen mit Hilfe von Capacity Management. DOAG SIG Database

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

Exadata Implementation Strategy

Advanced Oracle SQL Tuning v3.0 by Tanel Poder

Top 7 Plan Stability Pitfalls & How to Avoid Them. Neil Chandler Chandler Systems Ltd UK

Exadata Implementation Strategy

Taming Banner 7 on Oracle 10g

MAXGAUGE for Oracle Web Version 5.3

[MS10987A]: Performance Tuning and Optimizing SQL Databases

Oracle Database 11g: SQL Tuning Workshop. Student Guide

Identify and Eliminate Oracle Database Bottlenecks

Tuning slow queries after an upgrade

Taming the AWR Tsunami

TECHNOLOGY: Testing Performing Through Changes

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

Course Contents of ORACLE 9i

Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12

exam.100q. Number: Passing Score: 800 Time Limit: 120 min Provisioning SQL Databases

davidklee.net heraflux.com linkedin.com/in/davidaklee

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

Course Outline. Performance Tuning and Optimizing SQL Databases Course 10987B: 4 days Instructor Led

CO Oracle Database 12c: Advanced PL/SQL

Here, we consider Database bottleneck as a problem and provide solution for some of common problems.

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

Performance Tuning & Optimizing SQL Databases Microsoft Official Curriculum (MOC 10987)

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

Full Throttle: SQL Tuning & Ressource Consumption Appr.

Load Testing and Monitoring Oracle Real Application Clusters (RAC)

Data Warehouse Tuning. Without SQL Modification

<Insert Picture Here> Exadata MAA Best Practices Series Session #4: Exadata and OLTP Applications

Monitoring & Tuning Azure SQL Database

Oracle Database 12c R2: Administration Workshop Ed 3 NEW

IT-Tage Dezember 2016 Frankfurt am Main Maritim Hotel

Oracle Database 11g for Experienced 9i Database Administrators

Oracle Database 12c R2: Administration Workshop Ed 3

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

SQL Tuning for Expert DBAs

Embarcadero DB Optimizer 1.5 SQL Profiler User Guide

Architettura Database Oracle

Oracle Database 11g: SQL Fundamentals I

Addressing a performance issue: the drilldown approach

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

SQL Server Administration 10987: Performance Tuning and Optimizing SQL Databases. Upcoming Dates. Course Description.

1z0-064.exam.57q. Number: 1z0-064 Passing Score: 800 Time Limit: 120 min File Version: 1. Oracle 1z0-064

Workload Insights Without a Trace - Introducing DB2 z/os SQL tracking SOFTWARE ENGINEERING GMBH and SEGUS Inc. 1

Using Active Session History for Performance Tuning: Advanced Topics in Performance Diagnostics

Exam Name: Oracle Database 11g: Performance Tuning

DB2 is a complex system, with a major impact upon your processing environment. There are substantial performance and instrumentation changes in

Managing Oracle Database 12c with Oracle Enterprise Manager 12c

ORACLE DIAGNOSTICS PACK

SQLSaturday Sioux Falls, SD Hosted by (605) SQL

Using Data Transfer Services

MyOra 6.0. SQL Tool for Oracle. User Guide

Infrastructure Tuning

Transcription:

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 with the world. TECHNOLOGIES USED: Database: Oracle 10.2.0.5 OS Platform: Windows OVERVIEW: Restaurants is a Largest chain of Fine dining and Casual Dining Restaurants and Confectionaries by 2016 with leading brands of Indian and most popular International Cuisines. It has India s largest fine dining chain of Chinese restaurants - Mainland China; India s most awarded cuisine, Oh! Calcutta, new and raring Sigree Global Grill and Café Mezzuna which have to their credit TOI Good Food Awards in their first year itself, Sweet Bengal as an award winner for the best mithai and Hoppipola besides a few other brands like Sigree, Machan, Flame & Grill, Haka. CHALLENGES: Mentioned below were the major database performance issues faced by the Client: Performance Bottleneck. Resource Intensive Queries. High CPU consumption. Excessive I/O utilization. Enqueue TX & TM INITIAL ANALYSIS PERFORMED: Studied AWR reports. Studied ASH reports. Monitored Logical and physical reads of the tables. Traced the time consuming queries. Analysis of SQL query plans. Planned for Index creation and SQL profiling.

ISSUES IDENTIFIED: Below were the issues identified on the databases which were affecting the performance: High CPU Utilization: During peak hours sudden spike of CPU utilization has been observed. Most of time CPU utilization reaches up to 75%. The main reason behind this is Resource Intensive Queries and Excessive Parsing. Excessive Hard Parsing: On average, around 15 to 30 per second, and on month-end, these are in the range of 45 to 50 per second hard query parsing was observed. These hard parses were contributing to the Shared Pool and Library Cache Latch contention thus consuming more CPU's. A hard parse applies to new cursors and cursors that are aged out and must be re-executed. These Excessive hard parses are due to application use SQL statements with literal values. A hard parse is a very expensive operation, and a child library cache latch must be held for the duration of the parse. During this phase most of the CPU gets utilized. Hard Parses are not only CPU Intensive, they also mean lack of Cursor Sharing, which makes Query diagnostic very difficult as each statement is parsed to its own SQL_ID, spreading database workload over thousands of statements which only differ by parameter values. Resource Intensive Queries: Most of the application queries are flagged as resource-intensive based on their I/O request. As mentioned earlier, due to high hard parses, it was very difficult to get into the critical statistics of the resource intensive queries.

STEPS PERFORMED FOR PERFORMANCE TUNING: Index creation: Below tasks were performed: 1) Table re-indexing for top and contention causing Queries 2) Index creations as per new optimizer plan and query filters/logic 3) Existing index modifications required for query tuning Table level Statistics gathering: Schema level stats gathering completed. And set auto stats with required sample size consider database size and transaction load. It helped us to stabilize Oracle SQL queries plan. Queries not using bind variables: Identified Problematic Queries which are not using bind variables and causing hard parses. Application team has to use bind variable instead of literals for efficient query parsing (i.e. for soft parsing). Tuned the resource intensive queries : Resource intensive queries were tuned by rewriting the code keeping the business needs in mind. DATABASE PERFORMANCE GAIN AFTER TUNING: Performance gain by DB Time and Executions Instance Efficiency Increased I/O bottleneck reduced after Performance Tuning Peak time load minimized (50% gain achieved)

Thank You!