Your SlideShare is downloading. ×
Get Proactive with DBA Task Automation
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Get Proactive with DBA Task Automation

2,467
views

Published on

In this presentation viewers will learn about Oracle best practices for dealing with some of the top database management challenges—plus tips for getting the work done quickly and efficiently.

In this presentation viewers will learn about Oracle best practices for dealing with some of the top database management challenges—plus tips for getting the work done quickly and efficiently.

Published in: Technology, Business

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,467
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
115
Comments
0
Likes
2
Embeds 0
No embeds

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. Business-DrivenIT ManagementOracle Enterprise Manager:Empowering IT to Drive Business Value Get Proactive with DBA Task Automation Jagan Athreya Scott McNeil Director of Product Management Senior Product Marketing Manager Oracle Corporation Oracle Corporation
  • 2. Managing the Rapid Rise in Database Growth 2011 IOUG Survey on Database Manageability Background: • 445 Independent Oracle Users Group (IOUG) members community took part • Respondents included; Oracle technologists, architects, developers, and DBAs • Purpose: find out the database management challenges administrators face© 2010 Oracle Corporation – Proprietary and Confidential 2
  • 3. Managing the Rapid Rise in Database Growth 2011 IOUG Survey on Database Manageability 33% 14% 33% Handle close to 100 Experienced 4 or more Report their data stores are database instances each episodes of unplanned down expanding by more than time per month 20% per year 60% 27% 90% Use SQL tuning to address Restrict user access to fix Experienced unplanned performance issues problems downtime resulting from DB changes not properly tested 20% 12% 31% Admit doing nothing to Can tell if a problem was Add more hardware to fix address performance issues caused by an unauthorized performance problems database change © 2010 Oracle Corporation – Rise in Database Growth:Source: Managing the Rapid Proprietary and Confidential 2011 IOUG Survey on Database Manageability 3
  • 4. Top DBA Challenges Keeping databases at current patch levels 45% Diagnosing database performance problems 42% Managing security threats 35% Managing more databases with same resources 33% Identifying resource-intensive SQL in real-time 33% Tracking configurations for compliance purposes 26% Promoting DB changes from dev/test to prod 21% Provisioning test or development systems 21% Dealing with rapidly growing database structures 17% Performing repetitive tasks and processes 13% © 2010 Oracle Corporation – Rise in Database Growth:Source: Managing the Rapid Proprietary and Confidential 2011 IOUG Survey on Database Manageability 4
  • 5. Polling QuestionWhat is your top database management challenge?1. Dealing with rapidly growing database structures2. Diagnosing database performance problems3. Identifying resource-intensive SQL statements in real-time4. Keeping databases at current patch levels5. Managing increasing security threats6. Managing larger number of databases with same resources
  • 6. 2011 IOUG Survey on Database Manageability ―Bottom line: The faster the data growth, the greater the inclination to adopt methodologies and proactive solutions that provide better database manageability.‖Source: Managing the Rapid Rise in Database Growth: 2011 IOUG Survey on Database Manageability
  • 7. Why Automation? For Better Database Manageability• Automation helps lower costs and improve IT efficiencies • Automate tasks for: • Deployment and provisioning • Monitoring • Day-to-day administration • Benefits: • Reduce manual tasks • Improve DBA productivity • Minimize human errors • Improve service quality • Maximize resource utilization
  • 8. Keys to Database Automation Know What Implement Manage Many You Have Standards as One• Discovery and • Use standard • Group IT assets in asset tracking processes order to perform• Real-time change • Deploy standard mass operations detection configurations and • Automate group monitor for operations compliance
  • 9. Keys to Database Automation Know What Implement Manage Many You Have Standards as One• Discovery and • Use standard • Group IT assets in asset tracking processes order to perform• Real-time change • Deploy standard mass operations detection Best-in-Class Databaseand configurations Management • Automate group Full support for Oraclemonitor for 11g with new features and Database operations compliance capabilities so you can: • Deploy systems with confidence • Proactively monitor and manage systems through 1 console • Manage and automate day-to-day DBA tasks
  • 10. Automating Database Management Tasks Deployment Deploy • Discovery and asset tracking • Database and RAC provisioning • Test system provisioning Monitoring • Implement monitoring standards • Corrective actions • Auto-clearing old alertsManage Day-to-Day Administration • Automated Backups Monitor • Job System • Automated Patching • Schema Change Detection
  • 11. Automating Database Management Tasks Deployment Deploy • Discovery and asset tracking • Database and RAC provisioning • Test system provisioning Monitoring • Implement monitoring standards • Corrective actions • Auto-clearing old alertsManage Day-to-Day Administration • Automated Backups Monitor • Job System • Automated Patching • Schema Change Detection
  • 12. Challenge: Controlling Configuration Drift ―Experience unplanned downtime 80% due to configuration drift, which results as changes are made.‖Source: Managing the Rapid Rise in Database Growth: 2011 IOUG Survey on Database Manageability
  • 13. Know What You Have Discovery & Asset Tracking• Effective use of your assets• Proactively identify and fix problems• Automated, daily collection of configuration data• Search & reports across enterprise• Compare configurations to ―gold‖ standards and baselines
  • 14. Automated Configuration Drift CheckingQuickly Identify Differences Impacting Operations Web Applications Mid Tiers Database Business Applications Features Benefits• Complex configuration • Compare entire application stacks comparison or technology layers• Compare one-to-one, one-to- • Compare all components of your many operation• Save comparisons and versions • Understand what has changed over time
  • 15. <Insert Picture Here> 2011 IOUG Survey on Database Manageability ―Most respondents do not have systematic means or practices to address surging business requirements. Most are unable to automatically bring new databases online fast enough to meet demand.‖Source: Managing the Rapid Rise in Database Growth: 2011 IOUG Survey on Database Manageability
  • 16. Database Provisioning Test QA Gold Images Development Mass Deployment Templates• Supports gold images, reference systems, or bandwidth optimized local stage location• Supports both cloning and fresh installation methods for software provisioning• Mass deployment—multiple database deployments across multiple servers• Template based database creation• Database cloning using RMAN• Several applications: test to production; production to test; EBS environment cloning
  • 17. 4 Steps to RAC ProvisioningCreate Reference Stage Gold Image Create Production Scale-Out RAC RAC System RAC System1 2 3 4 • Gold image based provisioning • Simplified RAC provisioning with automation • Single click RAC scale-out and scale-back • Automated migration to Oracle Grid • Provision full RAC and Clusterware systems • ASM Support
  • 18. Provisioning Test DatabasesIncrease Productivity—Automate Error Prone Manual TasksProduction Test Clone and Mask Data Database Database• Build new application environments more efficiently• Automate repetitive deployment tasks• Provision changes completely• Validate changes were made correctly
  • 19. Secure Test System Deployment Oracle Data Masking Production TestLAST_NAME SSN SALARY LAST_NAME SSN SALARYAGUILAR 203-33-3234 40,000 SMITH 111—23-1111 60,000BENSON 323-22-2943 60,000 MILLER 222-34-1345 40,000 • Deploy secure test system by masking sensitive data • Sensitive data never leaves the database • Extensible template library and policies for automation • Sophisticated masking: Condition-based, compound, deterministic • Integrated masking and cloning • Leverage masking templates for common data types • NEW: Command line (EMCLI) support for data masking actions
  • 20. Oracle Data Masking Comprehensive and Extensible Mask LibraryMask formats for common sensitive Accelerates solution deployment ofdata masking Enables customization of businessExtensible mask routines rules Ensures consistent enforcement ofDefine once, apply everywhere policies
  • 21. Time Savings with Provisioning Deployment of Pre-Patched Software Manual operation time 250Clusterware 45 minutesinstallation 200ASM installation 1 hour 150Database software 45 minutes Stepsinstallation Time (in minutes) 100Database creation 30 minutesClusterware patching 12 minutes 50ASM patching 12 minutes 0Database patching 20 minutes Without EM With EMReliably and repeatedly provision multiple databases in a singlechange window with 100% time saving. Skill agnostic processensure compliance to standards.s
  • 22. Reduce Operations Cost with Automation Forrester Total Economic Impact of Configuration and Provisioning Packs• Reduction in costs of managing IT• Increase staff productivity• Increased agility to business needs• Reduction on capital spending© 2010 Oracle
  • 23. Automating Database Management Tasks Deployment Deploy • Discovery and asset tracking • Database and RAC provisioning • Test system provisioning Monitoring • Implement monitoring standards • Corrective actions • Auto-clearing old alertsManage Day-to-Day Administration • Automated Backups Monitor • Job System • Automated Patching • Schema Change Detection
  • 24. Database Monitoring Implement Monitoring Standards Using Monitoring Templates EM CommandMetric Warn Crit Corr Line Utility ActionTable- 75 90 xxx 1100001110100space 010111010011Archive 70 80 yyy 10100110101 ApplyArea % Templates Monitoring Templates Production Grid Control Database Group Console• Custom metric settings containing your standards for monitoring• Monitoring templates for test, production, and supporting specific applications• Fully automated template deployment with target discovery via Default Templates• Deploy against many targets at a time using groups• Support for inclusion in scripted workflows via EMCLI apply template verb• Adhoc and scheduled template compliance reports
  • 25. Database Monitoring Automate Alert Resolution Using Corrective ActionsCritical Alert Corrective Action Automated Alert Resolution • Automates resolution for well-known, common problems • User-defined tasks that trigger in response to alerts • Defined on a per metric or per metric severity basis • Single task or multi-task with dependencies between tasks • Corrective Actions Library for code re-use • Notification support for corrective action success or failure
  • 26. Database Monitoring Automated Clearing of Old Alert Log Alerts Auto-Cleared Alert Log Issues Identified DBA Fixes Issues Alerts After N Days• Enforce operational policies to auto-clear old ‗Alert Log‘ alerts• Prevents unwanted accumulation of past alerts• Eliminates burden on DBA to manually clear alerts after issues are resolved• Automated, bulk clearing of old ‗alert log‘ alerts in 2 ways: • Notification Rule with duration condition (e.g. 30 days) on the alert log metrics and ‗Clear Alert‘ action. Applies to groups of databases • EMCLI script to clear stateless alerts for specified database
  • 27. Automating Database Management Tasks Deployment Deploy • Discovery and asset tracking • Database and RAC provisioning • Test system provisioning Monitoring • Implement monitoring standards • Corrective actions • Auto-clearing old alertsManage Day-to-Day Administration • Automated Backups Monitor • Job System • Automated Patching • Schema Change Detection
  • 28. Backup & Recovery FoundationComplete Oracle Solution From Disk-to-Tape File System Data Oracle Secure Backup Tape Backup UNIX Linux (OSB) Windows NAS Oracle Recovery Oracle Databases Fast Recovery Area Manager (RMAN) Oracle Secure Backup Cloud Storage (OSB) Cloud Module• Oracle backup and recovery for your entire IT environment• Multiple media options available to meet the most stringent SLAs• Local disk, remote Cloud storage, physical and virtual tape 28
  • 29. Automated Database Backup Using Oracle Enterprise Manager & RMAN • Automated, scheduled database Oracle Secure backup using RMAN & Grid Control Backup • Status tracking & notifications for backup success or failure • Leverage RMAN intrinsic knowledge of database file formats & recovery procedures Tape Drive • Block validation RMAN • Online block-level recovery • Tablespace/data file recovery Database • Online, multi-streamed backup • Unused block compression • Native encryption Fast Recovery • Label Security Area Cloud • Integrated disk, tape & cloud backup leveraging the Fast Recovery Area & Oracle Secure Backup29 Copyright © 2010, Oracle. All rights reserved
  • 30. Oracle Enterprise Manager Job System • Easy to use • Centralized console • Supports numerous job types & common use cases Benefits • Create new job types and define dependencies • Performs mass operations across multiple targets & systemsKey Capabilities: • Notifications on job states • Save pre-configured jobs in Job Library• Numerous out-of-box job types • Diverse scheduling options• • Extremely scalable Schedule and execute jobs • Automate bulk operations• View job output and status • Access control and integrated credential• Manage job lifecycle management• Create new job definitions and define • Notifications for various job states dependencies • Comprehensive reporting
  • 31. Challenge: Patch Management ―Number of DBAs who said 45% keeping databases at current patch levels was their top challenge.‖Source: Managing the Rapid Rise in Database Growth: 2011 IOUG Survey on Database Manageability
  • 32. Automating Patching Fully Integrated with My Oracle Support Stage Analyze Patch Test Stage Provision Report• Proactive advisories, recommendations, and analysis • One-off patches, patch set updates, and critical patch updates• Zero downtime patching for RAC• Integrated patch management & deployment automation• Patch intelligence and community• Streamlined conflicts and merge patch process
  • 33. Integrated FeaturesPatches & Updates
  • 34. Patch Management Features Community Driven Patch Information• Enhanced patch advise with comprehensive patch recommendations• Comprehensive patch information; new additions like patch popularity, downloads trend and community integration
  • 35. Patch Management Features Patch Plans and Patch Validation• Creating patch plans allows patches to be applied in single downtime• Automated validation for conflict checks• Single click simplified merge patch request process• Integrated with patch rollout procedure
  • 36. Patch Management Case Study: Bayer2000 Databases, 5 Full time DBAs, 1 Hour per patch, 4 Times a year 8,000 Before EM person hrs $160,000** 133 After EM person hrs $2,666** "We manage thousands of databases and application servers with Enterprise Manager, and we have been able to reduce the time for database upgrades from 4 hours down to 1 hour, as well as reduce patch application time from 1 hour down to 1 minute per database. Enterprise Manager Grid Control allows us to automate this process, which translates into huge savings in FTE cost at $100/hr **Assumes DBA time and money.― Andreas Stephan, Sr. DBA Consultant Bayer Business Services
  • 37. One Unified System @ Work Benefits of My Oracle Support and Enterprise Manager We have saved 25% of internal support timePersonalized across our DBA team. It took the initial 36 hours of trying to understandProactive what the configuration out of the equation completely. My Oracle Support Community now goes beyondCollaborative ‘customer satisfaction’ and even beyond ‘customer delight’. The new paradigm is… ‘customer ecstasy.’ Weve been able to reduce the amount of time toIntegrated apply critical patch updates by up to 80%.
  • 38. Challenge: Change Management ―Number of DBAs who said they 50% avoid making changes to production databases because of negatively impacting performance.‖Source: Managing the Rapid Rise in Database Growth: 2011 IOUG Survey on Database Manageability
  • 39. Automated Change Management Reduce Time and Effort of Database Change ManagementChange Automation • Automated process for capturing and propagating planned database schema changes from development to production environments • Eliminates manual error-prone processes • Accelerate application upgrades by tracking impact of upgrades on customizations • Reduce downtime and speeds up recovery by ensure compliance of production environments with established standards
  • 40. Schema Change Detection & Automation Capture & Compare Application Baselines / Workflows Baseline 1 Baseline 2 1100001110100HR 010111010011 10100110101 Baseline 3 EMP DEPTOrder 1100001110100 • Capture information on all schemaEntry 010111010011 10100110101 objects for an application: ORDERS SALES • Tables, Views, Indexes • Procedures, Packages, Triggers • Users, init.ora 1100001110100 010111010011CRM 10100110101 • Capture & Compare scope: PRODUCT PRICE • Database, Schema, Objects • Compare Modes • Baselines to Baselines • Baselines to Database • Database to Database
  • 41. Syncing Application Environments Oracle Change Management Production Reporting 1100001110100 010111010011 10100110101 Test Stage Training Disaster Recovery• Tracking changes to production databases• Promoting changes from testing to staging to production• Transferring schema & other database changes to DR, training, and reporting environments
  • 42. DBA Task Automation for Exadata DB Machine• Monitoring and Configuration Management • Entire stack from database to disk• Provisioning • Initial setup performed through ―onecommand‖ • Ongoing database provisioning performed through Enterprise Manager Grid Control• Patching • Ongoing database patching automated through Enterprise Manager Grid Control • Database nodes can be patched horizontally with other databases in the data center • Cell patching done through ―patchmgr‖
  • 43. Keys to Database Automation Benefits Know What Implement Manage Many You Have Standards as One• Simplify • Control • Improve scalability management configuration drift • Enhance service• Proactively identify • Enforce policies quality with self- and fix problems and compliance management
  • 44. Final Recommendations• Move away from separate or siloed administrative practices and methods• Look at the big picture, not just the database• Adopt or update change management practices• Testing is essential• Keep up to date with the techniques and technology
  • 45. Oracle Enterprise Manager Resource CenterAccess Videos, Webcasts, White Papers, and More Oracle.com/goto/enterprisemanager

×