Presentation is loading. Please wait.

Presentation is loading. Please wait.

Oracle Tuning Considerations. Agenda Why Tune ? Why Tune ? Ways to Improve Performance Ways to Improve Performance Hardware Hardware Software Software.

Similar presentations


Presentation on theme: "Oracle Tuning Considerations. Agenda Why Tune ? Why Tune ? Ways to Improve Performance Ways to Improve Performance Hardware Hardware Software Software."— Presentation transcript:

1 Oracle Tuning Considerations

2 Agenda Why Tune ? Why Tune ? Ways to Improve Performance Ways to Improve Performance Hardware Hardware Software Software Application Design Application Design Monitoring and Improving Performance Monitoring and Improving Performance Top 10 Mistakes of Oracle Systems Top 10 Mistakes of Oracle Systems

3 Why Tune ? The speed of computing might be wasting valuable human time (users waiting for response) The speed of computing might be wasting valuable human time (users waiting for response) Enable your system to keep-up with the speed business is conducted Enable your system to keep-up with the speed business is conducted Optimize hardware usage to save money (companies are spending millions on hardware) Optimize hardware usage to save money (companies are spending millions on hardware)

4 Ways to Improve Performance Hardware Component Hardware Component Software Component Software Component Application Design Application Design

5 Hardware CPU CPU Memory Memory I/O Subsystem I/O Subsystem Network Network

6 Software Managing the User Interface Managing the User Interface Implementing Business Logic Implementing Business Logic Managing User Requests and Resource Allocation Managing User Requests and Resource Allocation Managing Data and Transactions Managing Data and Transactions

7 Application Design Design decisions involved in building applications Design decisions involved in building applications Simplicity in Application Design Simplicity in Application Design Data Modeling Data Modeling Table and Index Design Table and Index Design Using Views Using Views SQL Execution Efficiency SQL Execution Efficiency Implementing the Application Implementing the Application Trends in Application Development Trends in Application Development

8 Deploying New Applications Rollout Strategies Rollout Strategies Big Bang Approach Big Bang Approach Trickle Approach Trickle Approach Performance Checklist Performance Checklist

9 Performance Checklist 1. Allow for growth 2. Block Size and Optimizer 3. Set minimal number of initialization parameters 4. Manage Block Contention 5. Optimal SQL Statements and Resource Usage

10 Performance Checklist 6. Connection Management (Middleware and Programs) 7. Efficient Cursors 8. Migrated Objects are Consistent 9. Establish a Baseline set of Stats from DB and OS (Statspack or OEM) 10. Anticipate the First Bottleneck – follow the Oracle Performance Improvement Method

11 Monitoring and Improving Performance Statistics Statistics OS OS Database Database Application Application Oracle Performance Improvement Method Oracle Performance Improvement Method

12 Statistics Importance of Statistics Importance of Statistics OS Stats OS Stats CPU CPU Virtual Memory Virtual Memory Disk Disk Network Network

13 Statistics Database Stats Database Stats Buffer Cache Buffer Cache Shared Pool Shared Pool Wait Events Wait Events Application Stats Application Stats

14 Statistics Gathering Tools OS OS UNIX CPU sar, vmstat, mpstat, iostat Memory sar, vmstat Disk sar, iostat Networknetstat

15 Statistics Gathering Tools Database Database Statspack Statspack Oracle Enterprise Manager (EM) Oracle Enterprise Manager (EM) Bstat/Estat Scripts Bstat/Estat Scripts

16 Oracle Performance Improvement Method 1. Feedback from Users 2. Full Set of Stats (OS, DB, Apps) 3. Sanity-Check the OS 4. Top 10 Most Common Mistakes 5. Conceptual Model on the System using Symptoms 6. Remedy Actions of the Anticipated Problem

17 Oracle Performance Improvement Method 7. Has the change had the desired effect ? 8. Repeat last 3 steps

18 Top 10 Mistakes of Oracle Systems 1. Bad Connection Management 2. Bad Use of Cursors and Shared Pool 3. Getting Database I/O Wrong 4. Redo Log Setup Problems 5. Serialization of Data Blocks in the Buffer Cache 6. Long Full Table Scans

19 Top 10 Mistakes of Oracle Systems 7. In Disk Sorting 8. High Amounts of Recursive (sys) SQL 9. Schema Errors and Optimizer Problems 10. Use Of Nonstandard Initialization Parameters


Download ppt "Oracle Tuning Considerations. Agenda Why Tune ? Why Tune ? Ways to Improve Performance Ways to Improve Performance Hardware Hardware Software Software."

Similar presentations


Ads by Google