440 likes | 621 Views
Common Managed Targets: Database. Objectives. After completing this lesson, you should be able to: Discuss Grid Control’s advantage over Database Control Explain how Grid Control can be used to manage databases
E N D
Objectives • After completing this lesson, you should be able to: • Discuss Grid Control’s advantage over Database Control • Explain how Grid Control can be used to manage databases • Explain how Grid Control can manage older database versions (Oracle 8i and Oracle 9i) • Describe the Database Performance Monitoring features of Grid Control • Describe the Database Administration features of Grid Control • Describe the Database Maintenance features of Grid Control
Ways to Manage Your Database Grid Control Database Control Management Repository
Grid Control Versus Database Control Feature Grid Control Database Control Installation Separate DB 10g Management Repository Centralized In local DB 10g Management Agent One per host in separate home One per DB 10g Home Target Type Many Single DB 10g Number of DBs Many One EM job System Yes Yes Cluster DB (RAC) Yes Yes
Grid Control Versus Database Control Feature Grid Control Database Control Config. mgmt. Enterprisewide Local system Data Guard (Standby DB) Yes No
Accessing Grid Control Versus Database Control • Access to Enterprise Manager is different depending on whether you use Grid Control or Database Control. • Example: DB Host Grid Control URL Database Control URL dbhost1 http://<oms host>:7777/em http://dbhost1:1158/em dbhost2 http://<oms host>:7777/em http://dbhost2:1158/em dbhost3 http://<oms host>:7777/em http://dbhost3:1158/em http://dbhost3:1159/em
Managing Databases • With Grid Control, you can manage your databases by exception. • Alerts notify you about problems before users are affected. • Metric histories enable you to identify performance trends.
Managing Oracle 8iand Oracle 9i Databases • You can use Grid Control to centrally manage your Oracle 8i and Oracle 9i databases. Grid Control enables you to: • Perform day-to-day administration tasks • Monitor performance trends (from the Statspack data and dynamic performance views) • Find problem SQL • Perform real-time performance monitoring • View historical performance data • Set alerts and metric thresholds
Monitoring Database Performance • Comprehensive database monitoring through Grid Control enables you to: • Identify the problem areas • Improve performance through tuning tasks • Leverage data from Automatic Workload Repository (AWR) to show performance information and initiate alerts • View performance through several real-time performance charts with drilldown capabilities
Baseline Normalized Views • Spot the abnormal performance characteristics easily.
Using Advisors in Grid Control • From Advisor Central, there are several advisors available: • ADDM • Segment Advisor • Undo Management • Memory Advisor • SQL Access Advisor • SQL Tuning Advisor • MTTR Advisor
Diagnosing Problems Automatically • Use Automatic Database Diagnostic Monitor (ADDM) to automatically: • Investigate and diagnose performance problems • Determine the cause • Provide advice on how to resolve it
Real-Time Monitoring Links • These pages have real-time diagnostic capabilities: • Top Activity • Top Consumers • Instance Activity • Historical SQL
Diagnosing Problems Interactively • Investigate a problematic wait class. • Drill down to: • Session Details • SQL Details
Hang Analysis • Diagnose locking issues by using Hang Analysis.
Practice 9 Part 1 Overview: Common Managed Targets: Oracle Database • This practice covers the following topics: • Viewing the Database Home Page • Viewing Baseline Normalized Metrics • Monitoring Database Performance • Using the Hang Analysis Page
Database Administration Features • Grid Control provides features for managing: • Security administration • Schema administration • Storage administration • Instance management • Backup and recovery • Resource consumer groups and plans • Source types such as packages, procedures, functions, and Java classes
Database Auditing • You can use Grid Control to easily configure and monitor auditing. • Choose what to audit, based on: • Privileges • Objects • Statements • View audit trails: • Database audit trail • OS audit trail
Multitarget SQL • You can also use the Enterprise Manager Command Line Interface (EM CLI) to perform multitarget SQL: • emcli execute_sql • [ -targets="name1:type1;name2:type2;..."] • [ -sql="FILE"] • [-credential_set_name="DBCredsSYSDBA"] • [-input_file="FILE:/scratch/schema.sql"]
Database Maintenance Features • Grid Control provides features for maintenance tasks such as: • Backup and recovery • Import and export • Load data from user files • Clone a database • Transport a tablespace • Streams setup • Data Guard setup
Load Data from User Files • Intelligent file sampling: • Preview data:
Monitoring Real Application Clusters (RAC) • You can use Grid Control to manage the Real Application Cluster (RAC) database. Grid Control enables you to: • Manage clusters, cluster databases, and cluster database instances • Monitor performance statistics • Perform administration and maintenance tasks • Manage RAC features
Summary • In this lesson, you should have learned how to: • Discuss Grid Control’s advantage over Database Control • Explain how Grid Control can be used to manage databases • Explain how Grid Control can manage older database versions (Oracle 8i and Oracle 9i) • Describe the Database Performance Monitoring features of Grid Control • Describe the Database Administration features of Grid Control • Describe the Database Maintenance features of Grid Control
Practice 9 Part 2 Overview: Common Managed Targets: Oracle Database • This practice covers administering and maintaining Oracle Database.