Find fix and_validate
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,430
On Slideshare
1,426
From Embeds
4
Number of Embeds
2

Actions

Shares
Downloads
94
Comments
0
Likes
1

Embeds 4

http://www.slideee.com 3
https://www.linkedin.com 1

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Maximize your Database Performance Find, Fix and Validate Jesús Leonardo Robles DB & O Business Development Manager Valentín Leonard Tabacaru Presales Technology Consultant 1 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 2. Agenda  Database Performance Analysis – Challenges and Solutions   2.- Fix  3.- Validate  2 1.- Find Resources Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 3. Database Performance Analysis Challenges 4 2 •Reported by end users •Discovered by daily checks •Reactive to end-users Find? 1 3 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Fix? •Relate symptom to possible cause •Relate possible cause to probable metric •Implement change •Did it work? •End-user feedback? •Run reports on metric Validate? 3 Track? •Will it occur again? •Custom script to watch for the metric •Complex alerting and notification
  • 4. 1 – Find: Diagnostics • For problem diagnosis use ADDM, EM Performance • ADDM reveals significant problems including problematic SQL details and recommendations improve to performance • ADDM family – Compare Period, RealTime ADDM 4 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 5. Automatic Performance Diagnostics Maximize Performance With Self-Managing Database IO / CPU Issues Boost Administrator Productivity Eliminate Performance Bottlenecks High Load SQL Lower IT Management Costs RAC Issues Automatic Workload Repository Snapshots • • • • • • 5 Self-Diagnostic Engine Performance & Management Advisors Sustain maximum performance with self-managing database Top-down analysis using Automatic Workload Repository snapshots Real-time performance analysis with Automatic Database Diagnostic Monitor Resolve performance issues faster with drill-down root-cause analysis Classification tree based on Oracle performance tuning expertise Performance expert; now a RAC specialist too in Oracle Database 11g Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Deliver Higher Quality of Service
  • 6. Performance Issues Automatically Diagnosed by ADDM Top SQL I/O Issues Excessive Logon/Logoff Undersized Memory Hot Blocks and Objects Parsing Configuration Issues RAC Service Issues Locks & ITL contention Checkpoint causes Application Usage 6 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. PL/SQL, Java Time
  • 7. Real-Time ADDM—Architecture Top Issues Identified by Real-Time ADDM EM Agent Diagnostic Connection JDBC Connection Database ADDM Analysis Resource Constraints Hangs Memory Issues Resource Limits Reached Deadlocks • Makes a lightweight connection without acquiring additional locks and resources, bypassing the SQL layer through the agent • Also attempts to initiate standard JDBC connection • Data returned by either connection is analyzed by Real-Time ADDM 7 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 8. Real-Time ADDM 8 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 9. Compare Period ADDM SQL Commonality AWR Snapshot Period 1 Regressed SQL I/O Bound AWR Snapshot Period 2 Compare Period ADDM Analysis Report • Full ADDM analysis across two AWR snapshot periods • Detects causes, measure effects, then correlates them • Causes: workload changes, configuration changes • Effects: regressed SQL, reach resource limits (CPU, I/O, memory, interconnect) • Makes actionable recommendations along with quantified impact 9 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Undersized SGA
  • 10. Compare Period ADDM: Method • Identify what changed • DB configurations, workload changes Did the Buffer cache get smaller? Why is there 10% new SQL? • Quantify performance differences • Uses DB Time as basis for measuring performance Why Top SQL increased by 45%? Read I/O are up by 55%, why? • Identify root cause • Correlate performance differences with changes Did a buffer cache reduction cause a read I/O increase? 10 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 11. Compare Period – 3 Modes One snapshot offset System moving window Customized period 11 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 12. Compare Period: Report 12 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 13. Active Session History (ASH) All ‘Active’ sessions captured every second • Foregrounds and backgrounds are sampled • Active foregrounds contribute to DB Time In-memory: V$ACTIVE_SESSION_HISTORY • Sampling interval = 1 second On-disk: DBA_HIST_ACTIVE_SESS_HISTORY • Sampling interval = 10 seconds ASH is a system-wide record of database activity • A FACT table with multiple dimensions that help diagnose performance issues 13 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 14. Drilling into Logical Dimensions SQL PL/SQL Resources Identifiers Attributes SQL SQL ID ASH Session Identifiers Resource Usage Instance Cons. Group Plan Hash Top Level PL/SQL Wait Event Services Module Object User Session Action OpCode Blocking Session Parallel Process Client Program PL/SQL Wait Class Operation Session Attributes PL/SQL Trans. ID Session Type 14 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 15. ASH Analytics Flexible Time Picker Flexible Activity Chart Flexible Top Chart 15 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Flexible Top Chart
  • 16. 2 – Fix: Tuning • Seamless integration between Find and Fix • In-depth analysis and recommendation of the fix • Gather statistics for this example… • How would we validate this changes? 16 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 17. SQL Problems STATISTICS Optimizer Statistics Issues RESOURCES Resource & Contention Issues APPLICATIONS Application Issues CURSOR SHARING Cursor Sharing Issues PARALLELISM Parallelism Issues 17  Stale/Missing statistics  Upgraded Database: new optimizer  Incomplete statistics  Changing statistics  Improper optimizer configuration  Rapidly changing data  Hardware resource crunch  Contention (row lock contention, block update contention)  Data fragmentation  Missing access structures  Poorly written SQL statements  Bind-sensitive SQL with bind peeking  Literal usage  Not parallelized (no scaling to large data)  Improperly parallelized (partially parallelized, skews) Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 18. SQL Tuning Advisor Gather Missing or Stale Statistics Create a SQL Profile Add Missing Access Structures SQL Profiling Modify SQL Constructs Statistics Analysis Adopt Alternative Execution Plan Access Path Analysis SQL Restructure Analysis Create Parallel SQL Profile Administrator Alternative Plan Analysis Parallel Query Analysis Automatic Tuning Optimizer SQL Tuning Recommendations SQL Tuning Advisor SQL Tuning Advisor Identifies alternate execution plans using real-time and historical performance data 18 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Recommends parallel profile if it will improve SQL performance significantly (2x or more)
  • 19. Application Tuning Automatic SQL Tuning Tuned SQL Packaged Apps + SQL Profile High-Load Customizable Apps + SQL Advice Customizable Apps + Indexes & MVs + Partitions Applications Automatic Tuning Optimizer Automatic SQL Tuning •Captures high-load SQL •Tunes SQL using SQL Profiles •Implements improved SQL plans (optional) 19 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Performance benefit of advice provided SQL Profiling tunes execution plan without changing SQL text Enables transparent tuning for packaged applications
  • 20. SQL Access Advisor Indexes Materialized Views SQL Cache SQL Tuning sets Materialized Views Logs Partitioned Objects Automatic Tuning Optimizer SQL Access Advisor • Capture SQL Workload from multiple sources 20 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. SQL Access Advisor Set filters on the Workload SQL Access Recommendations
  • 21. Real-Time SQL Monitoring Looking Inside SQL Execution Automatically monitors long running SQL Enabled out-of-the-box with no performance impact 21 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Guides tuning efforts Monitors SQL execution Exposes monitoring statistics Global execution level Plan operation level Parallel Execution level
  • 22. SQL Monitoring Details Expensive Hash Join 22 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 23. Real-Time PL/SQL Monitoring PL/SQL execution no longer a “black box” •Answers questions like “why did my DBMS_STATS job take twice as long this time?” 23 Shows global (PL/SQL) and SQL level statistics Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Each SQL called by PL/SQL recursively monitored Drill-down to slow SQL for diagnosing unexpected PL/SQL behavior
  • 24. Performance Diagnostics Active Reports Interactive reports for off-line analysis 24 Drill-downs for detailed analysis Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Can be emailed for analysis Does not require Oracle Enterprise Manager installation
  • 25. D E M O N S T R A T I O N Automatic SQL Tuning 25 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 26. 26 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 27. 27 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 28. 28 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 29. 29 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 30. 30 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 31. 31 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 32. 32 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 33. 33 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 34. 34 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 35. 35 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 36. 36 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 37. 37 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 38. 38 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 39. 39 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 40. 40 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 41. 41 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 42. 42 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 43. 43 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 44. 44 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 45. 45 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 46. 46 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 47. 47 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 48. 48 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 49. 49 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 50. 50 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 51. 51 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 52. 52 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 53. 53 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 54. 54 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 55. 55 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 56. 56 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 57. 57 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 58. 58 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 59. 59 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 60. 60 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 61. 61 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 62. 62 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 63. 63 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 64. 64 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 65. 65 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 66. 66 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 67. 67 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 68. 68 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 69. 69 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 70. 70 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 71. 71 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 72. 72 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 73. 73 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 74. 74 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 75. 75 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 76. 76 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 77. 77 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 78. 78 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 79. 79 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 80. 80 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 81. 81 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 82. 82 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 83. 83 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 84. 84 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 85. 85 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 86. 86 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 87. 87 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 88. 88 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 89. 89 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 90. 90 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 91. 91 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 92. 92 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 93. 93 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 94. 94 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 95. 95 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 96. D E M O N S T R A T I O N Monitoring SQL Statements 96 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 97. 97 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 98. 98 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 99. 99 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 100. 100 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 101. 101 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 102. 102 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 103. 103 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 104. 104 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 105. 105 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 106. 106 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 107. 107 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 108. 108 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 109. 109 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 110. 110 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 111. 111 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 112. 112 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 113. 113 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 114. 114 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 115. 115 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 116. 116 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 117. 117 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 118. 118 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 119. 119 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 120. 120 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 121. 121 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 122. 122 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 123. 123 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 124. 124 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 125. 125 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 126. 126 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 127. 127 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 128. 128 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 129. 129 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 130. 130 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 131. 131 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 132. 132 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 133. 133 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 134. 134 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 135. 135 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 136. 136 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 137. 137 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 138. 138 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 139. 139 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 140. 140 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 141. 141 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 142. 142 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 143. 143 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 144. 144 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 145. 145 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 146. 146 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 147. 147 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 148. 148 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 149. 149 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 150. 150 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 151. 151 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 152. 152 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 153. 153 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 154. 154 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 155. 155 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 156. 156 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 157. 157 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 158. 158 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 159. 159 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 160. 160 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 161. 161 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 162. 162 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 163. 163 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 164. 164 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 165. 165 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 166. 166 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 167. 167 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 168. 168 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 169. 169 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 170. 170 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 171. 171 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 172. 172 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 173. 3 – Validate: SPA • End-to-end SPA workflow using Optimizer Statistics • Seamless integration from Find to Fix to Validate to Implement with confidence • No more guesswork 173 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 174. Real Application Testing SQL Performance Analyzer (SPA) SQL Plans + Run-time Stats Pre-Change Trial SQL Workload STS SQL Plans + Run-time Stats Post-Change Trial Compare SQL Performance • • Analyze performance changes for improvements and regressions • Comprehensive performance analysis and reporting • Re-execute SQL queries in the given environment • 174 Test and predict impact of system changes on SQL query performance End-to-end solution: STS, SQL Plan Baselines, and SQL Tuning Advisor Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Analysis Report
  • 175. SPA Analysis Report Example 3 2 5 1 4 175 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 176. SPA Report Regressed SQL Statements 176 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 177. Usage Scenario: Evaluating Changes On Production 177 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 178. Using SPA For Changes in Production: Example Prod +Add indexes Fix Regression thru SPM And so on… Parameter change was bad in this case +Parameter Change +Index Unusable +New Stats Change Fix Regression SQL Profile +Partitioning +Validate Tuning +SQL Profile 178 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. • Bubble following the arrow indicates the delta change on Production • SPA is used for testing every change
  • 179. When to use SPA? SPA Provides Broad Testing Coverage • • • • • • • • Optimizer Statistics Database parameter changes Database schema changes (e.g., add/drop indexes) Implementation of tuning recommendations I/O subsystem changes (e.g., ASM, Database Machine) For consolidation (schema, CDB/PDB) On test, standby, and production environments Extended to home-grown scripts, application specific database changes, third-party testing tools using STS compare analysis • Supports most applications - EBS, SAP, Siebel, home-grown, etc SPA Provides Testing in Various Database Releases • My Oracle Support (MOS) Note: 560977.1 • 9.2/10.1 10.2 or 11g or 12 releases • 10.2.0.x 10.2.0.y or 11g or 12 releases 179 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 180. D E M O N S T R A T I O N SQL Access Advisor & SQL Performance Analyzer 180 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 181. 181 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 182. 182 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 183. 183 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 184. 184 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 185. 185 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 186. 186 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 187. 187 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 188. 188 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 189. 189 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 190. 190 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 191. 191 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 192. 192 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 193. 193 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 194. 194 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 195. 195 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 196. 196 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 197. 197 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 198. 198 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 199. 199 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 200. 200 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 201. 201 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 202. 202 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 203. 203 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 204. 204 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 205. 205 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 206. 206 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 207. 207 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 208. 208 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 209. 209 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 210. 210 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 211. 211 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 212. 212 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 213. 213 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 214. 214 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 215. 215 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 216. 216 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 217. 217 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 218. 218 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 219. 219 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 220. 220 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 221. 221 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 222. 222 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 223. 223 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 224. 224 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 225. 225 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 226. 226 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 227. 227 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 228. 228 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 229. 229 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 230. 230 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 231. 231 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 232. 232 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 233. 233 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 234. 234 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 235. 235 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 236. 236 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 237. 237 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 238. 238 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 239. 239 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 240. 240 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 241. 241 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 242. 242 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 243. 243 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 244. 244 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 245. 245 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 246. 246 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 247. 247 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 248. 248 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 249. 249 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 250. 250 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 251. 251 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 252. 252 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 253. 253 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 254. 254 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 255. 255 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 256. 256 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 257. 257 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 258. 258 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 259. 259 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 260. 260 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 261. 261 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 262. 262 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 263. 263 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 264. 264 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 265. 265 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 266. 266 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 267. 267 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 268. 268 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 269. 269 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 270. 270 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 271. 271 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 272. 272 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 273. 273 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 274. Advanced Databases Performance Analysis Solution • Built-in, self-diagnostics engine: Automatic Database Diagnostics Monitor (ADDM) (Diagnostics Pack) Fix • Automates complex and time consuming task of application tuning • Validates tuning and “what-if” activities (Real Application Testing) Track • Extend EM out-of-box metrics - Can be defined for any target type, including applications (Tuning Pack) (Metric Extensions) Find 274 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Validate
  • 275. Resources  Oracle Enterprise Manager 12c: http://www.oracle.com/us/products/enterprise-manager  Oracle Enterprise Manager 12c Database Management http://www.oracle.com/technetwork/oem/db-mgmt  Database Manageability and Real Application Testing: http://www.oracle.com/technetwork/database/manageability  Oracle Enterprise Manager on Beehive Online Downloadable Technical Assets oracle12c_es@oracle.com mailing list for support 275 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 276. 276 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 277. 277 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.