1 / 66

EXADATA HEALTH AND RESOURCE USAGE MONITORING

EXADATA HEALTH AND RESOURCE USAGE MONITORING. Including the Benefits of Administration Tuning Methods. Kellyn Pot’Vin Consulting Member of Enterprise Manager Technical Team Strategic Customer Program Mike Chafin Principal Member of Technical Staff Maximum Availability Architecture

theo
Download Presentation

EXADATA HEALTH AND RESOURCE USAGE MONITORING

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. EXADATA HEALTH AND RESOURCE USAGE MONITORING Including the Benefits of Administration Tuning Methods Kellyn Pot’Vin Consulting Member of Enterprise Manager Technical Team Strategic Customer Program Mike Chafin Principal Member of Technical Staff Maximum Availability Architecture Oracle Open World 2014

  2. Program Agenda Oracle Tuning Methodologies Preparing for Tuning Working through Tuning Exercise Digging Deeper Miscellaneous Tips 1 2 3 4 5

  3. Program Agenda with Highlight Oracle Tuning Methodologies Preparing for Tuning Working through Tuning Exercise Digging Deeper Miscellaneous Tips 1 2 3 4 5

  4. Evolution of Methodologies Documented in the Oracle Documentation Set: Database 2 Day + Performance Tuning Guide Oracle Database Performance Tuning Guide Exadata Performance Tuning White Paper Each are similar, in that they offer a structural approach to problem solving using the latest tools and technologies.

  5. Tuning Level Legend What level is the Issue? Hardware Database Schema/Design SQL

  6. Important Tuning Concepts Tuning a database by “DBTime” DBTime is Oracle’s term for total time used by active CPU, IO and other foreground processes from the total time elapsed to calculate wait events that are performed within the database. “Tune for Time or You’re Wasting Time…”

  7. Program Agenda with Highlight Oracle Tuning Methodologies Preparing for Tuning Working through Tuning Exercise Digging Deeper Miscellaneous Tips 1 2 3 4 5

  8. Tuning Exercise Steps Prepare Compare Review (research, investigate) Rule out, Test Implement/Resolve

  9. Prepare • Collect hardware and software healthchecks • exachk, cluvfy, emdiag • Healthchecks • AWR Baseline • Verify and/or set AWR retention period • Copy configuration files • Automate collection and base-lining (EM jobs) • Create AWR, ASH and ADDM reports for research.

  10. Stopping the Insanity Flowchart

  11. The Value of Quick Check Lists Old School, but VALUABLE.

  12. Program Agenda with Highlight Oracle Tuning Methodologies Preparing for Tuning Working through Tuning Exercise Digging Deeper Miscellaneous Tips 1 2 3 4 5

  13. Review Errors in the system? EM Incident Manager Alert Log(s) Grid Infrastructure ASM Database OS logs / system logs

  14. AND Rule Out- Hardware Compute Node CPU I/O Bound / at known limits Exadata – Flash cache Mixed Workloads creating contention? ALL Components up!

  15. Exachk- See Oracle Support Document 1070954.1: “Oracle Exadata Database Machine Exachkor HealthCheck”

  16. Exachk and Healthcheck Utility Checks… Incorrect configurations Parameter Issues Recommendations, steps to correct, along with current value. See Oracle Support Document 1070954.1: “Oracle Exadata Database Machine Exachkor HealthCheck” and Exadatabest practices in Oracle Support Document 757552.1: “Oracle Exadata Best Practices”

  17. Automate Exachk via Enterprise Manager Automating will populate healthchecks to UI! Need to insert screenshot

  18. Storage Grid Overview Storage Cell monitoring and administration support Cell Home page and performance pages Actions supported: Start/stop Cell, verify connectivity, setup SSH Automatic discovery of Cells Management by Cell Group All cells used by a database automatically placed in a group Cell Group level administration operations (batch job monitoring)

  19. More Storage Grid Overview

  20. Max Cell Disk Limits

  21. Hardware- Cell Server View

  22. Hardware- DB Node View

  23. A Review of Hardware/Network troubleshooting steps HA can mask problems, reduced capacity even while meeting service levels Hardware Utilization Issues CPU is not what it may seem I/O Subsystem (Cell screens) Network Congestion (IB screens)

  24. Comparison Tools Incredible Power in Knowing What’s Changed.

  25. Compare If there is a problem what has changed? And who might know? Considerations Patch levels (everywhere!) Schema Tunable OS parameters Resource Management Plans Code Changes ADDM Comparison Report

  26. Compare Configurations- Exadata Level

  27. Compare Configuration- Database Level EM Job to compare one ‘reference’ database against one or more other databases Job can be scheduled on a repetitive basis, or run ad-hoc

  28. Compare Configurations- Schema Level Capture Schema baselines Compare schema’s With a baseline Between different databases Synchronize schema’s

  29. Compare ADDM AWR Snapshot Period 1 SQL Commonality Regressed SQL AWR Snapshot Period 2 Analysis Report I/O Bound Undersized SGA Compare Period ADDM • 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

  30. IO Issues What type of IO Issues are addressed with Exadata features? How can temp tablespace usage be an impact to performance in an Exadata? Identify IO Issues- ASH Analytics, ADDM Comparison Report Isolate IO Issues- Search SQL, ASH/ADDM Reports, Address IO Issues- IO Resource Manager, SQL Tuning Advisor,

  31. Exadata and SQL Monitor Offload Percent Efficiency Displayed in Report and UI. Automatically monitors long running SQL Enabled out-of-the-box with no performance overhead Monitors each SQL and PL/SQL execution Shows global PL/SQL and SQL level statistics Drill-down to slow SQL for diagnosing unexpected PL/SQL behavior Guides tuning efforts

  32. IO Bound Dashboard in ADDM Comparison • Base vs. comparison period • Temp reads/writes specified • Single block read latency

  33. Setting Thresholds Thresholds with incident rule sets to notify when growth in resource occurs and impacts the environment.

  34. IO Resource Manager IO Resource Manager, (IORM) offers ability to maintain consistent performance levels across an engineered system. Allocates and limits IO per settings configured Simple configuration access via Enterprise Manager

  35. IO Resource Management

  36. Enterprise Manager Exadata Resource Management Exadata plugin provides access to manage IO Resources for db and across cell nodes. What IO resources on Exadata are shared vs. on a non-Exadata RAC environment?

  37. Monitoring IORM Allows for throttling by service and IO type. Ensures that resources that require the IO, get the IO.

  38. Monitoring Disk Utilization Ability to monitor all disk usage. Broken up by type

  39. Why Setting Limits are Important No Hard Limits equate to IO being freely redistributed Setting limits ensures that resources are available for critical databases Less high priority databases aren’t able to allocate more than necessary

  40. Program Agenda with Highlight Oracle Tuning Methodologies Preparing for Tuning Working through Tuning Exercise Digging Deeper Miscellaneous Tips 1 2 3 4 5

  41. AWR Baselines Collection of snapshots used for performance comparisons. Baselines are retained within the AWR even after the retention time for the data has been reached. Exadata should have a moving and a static baseline in place to capture different workloads.

  42. AWR Baselines

  43. Details of Baseline Creation in EM Highlight a snapshot range to use for your static baseline or use a time range to base it from.

  44. Completing Baseline Creation in EM Schedule the job to run in a non-impacting schedule and choose not to purge.

  45. SQL Issues SQL Tuning – what kind of problem? Reactive Transient Long Running SQL Proactive Persistent Comparative

  46. Proactive SQL Tuning Choices SQL Performance Analyzer SQL Access advisor ASH and ADDM to prioritize further work Group operations (DB12) Create an SLA / baseline Use SQL Plan Baselines (SPM) Validate with SQL Performance Analyzer

  47. Reactive SQL Tuning Choices After all changes, including any environments are ruled out… Start with AWR, ADDM and ASH Identify outliers / worst performing (Pareto) Review top wait events SQL Tuning Advisor If resource constrained consider resource limiting strategies

  48. Database Performance Page in EM12c

More Related