49
Oracle Administration Oracle Administration and Monitoring Tools and Monitoring Tools for Windows for Windows Administering and Monitoring Administering and Monitoring Oracle with Windows Tools Oracle with Windows Tools

Oracle Administration and Monitoring Tools for Windows Administering and Monitoring Oracle with Windows Tools

Embed Size (px)

Citation preview

Oracle Administration Oracle Administration and Monitoring Tools for and Monitoring Tools for WindowsWindows

Administering and Monitoring Administering and Monitoring Oracle with Windows ToolsOracle with Windows Tools

ObjectivesObjectivesAt the end of this module the student will understand At the end of this module the student will understand the following tasks and concepts.the following tasks and concepts.

Oracle GUI Administration ToolsOracle GUI Administration Tools Oracle Services ConfigurationOracle Services Configuration Event ViewerEvent Viewer Task ManagerTask Manager Oracle Administration Assistant for WindowsOracle Administration Assistant for Windows Windows Performance MonitorWindows Performance Monitor Oracle Counters for Windows Performance MonitorOracle Counters for Windows Performance Monitor

Oracle Command Line Administration ToolsOracle Command Line Administration Tools Using SQLPlus for AdministrationUsing SQLPlus for Administration The ORADIM utilityThe ORADIM utility Creating password files with orapwdCreating password files with orapwd The ORADEBUG UtilityThe ORADEBUG Utility STATSPACKSTATSPACK Automatic Workload Repository Reports (10g)Automatic Workload Repository Reports (10g)

Oracle Web ToolsOracle Web Tools Managing Oracle with Oracle 10g Grid ControlManaging Oracle with Oracle 10g Grid Control

Managing Oracle ServicesManaging Oracle Services Oracle Services can Oracle Services can

be accessed by be accessed by Control Panel -> Control Panel -> Administrative Administrative Tools -> ServicesTools -> Services

You can start, stop, You can start, stop, pause and restart pause and restart an Oracle Service.an Oracle Service.

Services can also Services can also be enabled or be enabled or disabled.disabled.

It is also possible to It is also possible to run a custom run a custom program upon a program upon a Service failure Service failure event.event.

Viewing Oracle EventsViewing Oracle Events Oracle Events can be Oracle Events can be

viewed through the viewed through the Application Event Application Event Viewer.Viewer.

The Event Viewer can The Event Viewer can be accessed by be accessed by Control Panel -> Control Panel -> Administrative Tools -Administrative Tools -> Event Viewer> Event Viewer

Choose Application Choose Application from the Log menu.from the Log menu.

Oracle 10g problems Oracle 10g problems and other significant and other significant events are recorded events are recorded here.here.

A “drill-down” A “drill-down” description of each description of each event is available by event is available by double-clicking an double-clicking an individual event.individual event.

The Task Manager ToolThe Task Manager Tool The Task Manager Tool displays:The Task Manager Tool displays:

High-level summary of the concurrent applications and High-level summary of the concurrent applications and processes runningprocesses running

Information about process stateInformation about process state Graphical summary of CPU usageGraphical summary of CPU usage Graphical summary of memory usageGraphical summary of memory usage Information about OS usersInformation about OS users

Task Manager can be used to change the priority of a Task Manager can be used to change the priority of a process.process.

The Task Manager can be launched two ways: The Task Manager can be launched two ways: Hit control-alt-escape Hit control-alt-escape Right-click on the task bar at the bottom of the screenRight-click on the task bar at the bottom of the screen

The Performance tab contains useful information that The Performance tab contains useful information that directly impacts Oracle performancedirectly impacts Oracle performance

The Task Manager Tool – Oracle The Task Manager Tool – Oracle PerformancePerformance CPU Usage, as well as CPU Usage, as well as

Memory and Page File Usage Memory and Page File Usage can be monitored with the can be monitored with the Performance tabPerformance tab

Both CPU Usage and Memory Both CPU Usage and Memory and Page File Usage are and Page File Usage are critical for Oracle critical for Oracle performanceperformance CPU Usage should be CPU Usage should be

consistently high, but not consistently high, but not maxed outmaxed out

You should not consistently You should not consistently see higher memory usage see higher memory usage than the physical RAMthan the physical RAM

Neither should you see high Neither should you see high Page File Usage or a steadily Page File Usage or a steadily climbing rate of Page File climbing rate of Page File UsageUsage

The System MonitorThe System Monitor

Launching PerfmonLaunching Perfmon Start Start Programs Programs Administrative Tools Administrative Tools

PerformancePerformance

System Performance System Performance MonitorMonitor Performance Performance

ObjectsObjects CountersCounters Explain TextExplain Text

Performance Logs and Performance Logs and AlertsAlerts

Right click on Right click on Counter Logs, Trace Counter Logs, Trace Logs, or alerts to set Logs, or alerts to set upup

Alerts require you to Alerts require you to set limits for counter set limits for counter valuesvalues

Creating a Creating a performance log file performance log file with System Monitorwith System Monitor Comma-separated Comma-separated

format or tab-format or tab-separated formatseparated format

Use meaningful Use meaningful collection intervals (> collection intervals (> 1 minute)1 minute)

Administration Assistant for Administration Assistant for WindowsWindows

Startup from Start -> Startup from Start -> Oracle -Orahome92 -> Oracle -Orahome92 -> Configuration and Configuration and Migration Tools -> Migration Tools -> Administration Administration Assistant for WindowsAssistant for Windows

Maneuver to the Maneuver to the Database objectDatabase object

Right click to loginRight click to login You can now startup You can now startup

and shutdown Oracle, and shutdown Oracle, as well as several as well as several other administrative other administrative functions.functions.

Right click and choose Right click and choose Process InformationProcess Information This gives you a way This gives you a way

to kill Oracle threads, to kill Oracle threads, if necessary.if necessary.

Oracle Counters for Oracle Counters for Windows Performance Windows Performance MonitorMonitor To initially configure To initially configure

the Oracle Counters the Oracle Counters for Windows for Windows Performance Monitor, Performance Monitor, open a command line open a command line windowwindow

Enter the following:Enter the following:OPerfCfg –U system –P OPerfCfg –U system –P {password} –D {SID}{password} –D {SID}

The registry entries for The registry entries for the Performance the Performance Monitor are now set.Monitor are now set.

Note: Oracle Counters Note: Oracle Counters for Performance for Performance Monitor is sensitive to Monitor is sensitive to Oracle Net settings, Oracle Net settings, which must be correctwhich must be correct

Oracle Counters for Oracle Counters for Windows Performance Windows Performance MonitorMonitor Oracle Counters for Oracle Counters for

Windows Performance Windows Performance Manager is available Manager is available as a stand-alone as a stand-alone application, or as add-application, or as add-in performance in performance counters to Perfmoncounters to Perfmon

Startup from Start -> Startup from Start -> Oracle -Orahome92 -> Oracle -Orahome92 -> Configuration and Configuration and Migration Tools -> Migration Tools -> Oracle Counters for Oracle Counters for Windows Performance Windows Performance MonitorMonitor

By default, two Oracle By default, two Oracle counters for Sorts are counters for Sorts are displayed.displayed.

Oracle Counters for Oracle Counters for Windows Performance Windows Performance MonitorMonitor To display alternate counters, To display alternate counters,

right-click in the window and right-click in the window and choose Propertieschoose Properties

Click on the Performance Click on the Performance Object menu. A list of Oracle Object menu. A list of Oracle counters is displayed.counters is displayed.

Use the Add and Remove Use the Add and Remove buttons to modify the display.buttons to modify the display.

For example, to monitor For example, to monitor database I/O, add the database I/O, add the following counters: following counters: physreads/secphysreads/sec physwrites/secphyswrites/sec

Managing Oracle with SQL Managing Oracle with SQL PlusPlus Startup SQL Plus from Startup SQL Plus from

Start -> Oracle -Start -> Oracle -Orahome92 -> Orahome92 -> Application Application Development -> SQL Development -> SQL PlusPlus

Log in as the SYSTEM Log in as the SYSTEM user.user.

You can then use You can then use

connect / as sysdbaconnect / as sysdba

to login with full to login with full privileges (on the privileges (on the console)console)

You can now startup You can now startup and shutdown Oracle, and shutdown Oracle, as well as any other as well as any other administrative administrative function.function.

The ORADIM UtilityThe ORADIM Utility

The ORADIM utility is a command line tool that The ORADIM utility is a command line tool that can be used to manually create, delete or modify can be used to manually create, delete or modify databasesdatabases

To get help, enterTo get help, enteroradim -? | -H | -HELP oradim -? | -H | -HELP

To create an instance called PROD, for example, To create an instance called PROD, for example, you could enter:you could enter:

C:\> oradim -NEW -SID prod -INTPWD mypassword1 -C:\> oradim -NEW -SID prod -INTPWD mypassword1 -STARTMODE auto -PFILE C:\oracle\admin\prod\pfile\STARTMODE auto -PFILE C:\oracle\admin\prod\pfile\init.orainit.ora

To start an instance called PROD, for example, To start an instance called PROD, for example, you could enter:you could enter:

C:\> oradim -STARTUP -SID prod -STARTTYPE inst -PFILE C:\> oradim -STARTUP -SID prod -STARTTYPE inst -PFILE C:\oracle\admin\prod\pfile\init.oraC:\oracle\admin\prod\pfile\init.ora

The ORADIM UtilityThe ORADIM Utility

To stop an instance called PROD, for example, To stop an instance called PROD, for example, you could enter:you could enter:

C:\> oradim -SHUTDOWN -SID prod -SHUTTYPE srvc, C:\> oradim -SHUTDOWN -SID prod -SHUTTYPE srvc, instinst

To change an instance name from prod to lynx, To change an instance name from prod to lynx, set a new instance password mycat123, and set a new instance password mycat123, and specify a new initialization parameter file, for specify a new initialization parameter file, for example, you could enter:example, you could enter:

C:\> oradim -EDIT -SID prod -NEWSID lynx -INTPWD C:\> oradim -EDIT -SID prod -NEWSID lynx -INTPWD mycat123 -STARTMODE a –PFILE C:\oracle\admin\lynx\mycat123 -STARTMODE a –PFILE C:\oracle\admin\lynx\pfile\init.orapfile\init.ora

To delete an instance called prod, for example, To delete an instance called prod, for example, you might enter:you might enter:

C:\> oradim -DELETE -SID prod C:\> oradim -DELETE -SID prod

Creating an Oracle Creating an Oracle Password FilePassword File To establish a secure local logon user and To establish a secure local logon user and

password, you need to create a password filepassword, you need to create a password file It can also be used for remote access to the It can also be used for remote access to the

database for selected usersdatabase for selected users To start, open a command line session and To start, open a command line session and

cd C:\oracle\ora92\dbscd C:\oracle\ora92\dbs Enter the following:Enter the following:

orapwd file=ORACLE_SIDpwd password={your orapwd file=ORACLE_SIDpwd password={your password} entries=5 (the maximum number of password} entries=5 (the maximum number of open admin connections)open admin connections)

A password file is now createdA password file is now created

The Oracle ORADEBUG The Oracle ORADEBUG UtilityUtility The ORADEBUG utility is a debugging tool The ORADEBUG utility is a debugging tool

that sends debug commands through that sends debug commands through SQL*Plus to an Oracle process. SQL*Plus to an Oracle process.

To start the ORADEBUG utility:To start the ORADEBUG utility: Start SQL*Plus from the command prompt:Start SQL*Plus from the command prompt:

C:\> sqlplus / NOLOG C:\> sqlplus / NOLOG Connect to Oracle9Connect to Oracle9ii database as SYSDBA: database as SYSDBA:

SQL> CONNECT / AS SYSDBA SQL> CONNECT / AS SYSDBA Enter the following at the SQL*Plus prompt:Enter the following at the SQL*Plus prompt:

SQL> ORADEBUG ORADEBUG SQL> ORADEBUG ORADEBUG The utility runs and prompts you for The utility runs and prompts you for

parameters.parameters.

The Oracle ORADEBUG The Oracle ORADEBUG UtilityUtility To obtain a list of ORADEBUG parameters, enter To obtain a list of ORADEBUG parameters, enter

the following:the following:SQL> ORADEBUG HELP SQL> ORADEBUG HELP

Output from most debug commands is written to Output from most debug commands is written to trace files in the BACKGROUND_DUMP_DEST and trace files in the BACKGROUND_DUMP_DEST and USER_DUMP_DEST directories.USER_DUMP_DEST directories.

To find the location of your trace file, enter the To find the location of your trace file, enter the following at the SQL*Plus prompt:following at the SQL*Plus prompt:

SQL> ORADEBUG TRACEFILE_NAME SQL> ORADEBUG TRACEFILE_NAME If output is more than one line, then the result is sent to If output is more than one line, then the result is sent to

a trace file. a trace file. If a debug command produces only one line of output, If a debug command produces only one line of output,

then the output is relayed directly to SQL*Plus.then the output is relayed directly to SQL*Plus.

StatspackStatspack Standard Performance PackageStandard Performance Package Similar to original BSTAT/ESTATSimilar to original BSTAT/ESTAT InstallInstall

@?\rdbms\admin\spcreate @?\rdbms\admin\spcreate RunRun

SQL> CONNECT perfstat/perfstatSQL> CONNECT perfstat/perfstatSQL> EXECUTE statspack.snap;SQL> EXECUTE statspack.snap;

Create the report withCreate the report with@spreport@spreport Tell it which snapshots to use.Tell it which snapshots to use. A report is created.A report is created.

Report contains a wealth of diagnostic Report contains a wealth of diagnostic information and predictive toolsinformation and predictive tools

Statspack Output Statspack Output SummarySummary Statspack is divided into several sections Statspack is divided into several sections

including:including: Summary informationSummary information RAC statistics (if applicable)RAC statistics (if applicable) Wait eventsWait events Top resource consumersTop resource consumers Instance activityInstance activity Cache statisticsCache statistics Rollback and Undo statisticsRollback and Undo statistics SGA and Shared Pool statisticsSGA and Shared Pool statistics Initialization parametersInitialization parameters

Automatic Workload Automatic Workload Repository FeaturesRepository Features Statspack on Steroids (10g only)Statspack on Steroids (10g only)

Collects stats every 60 minutesCollects stats every 60 minutes Kept for a week then purgedKept for a week then purged A collection of performance statsA collection of performance stats A new background process MMONA new background process MMON Resides in new sysaux tablespaceResides in new sysaux tablespace

Automatic Workload Automatic Workload Repository ReportsRepository Reports Two reports provided by OracleTwo reports provided by Oracle

awrrpt.sqlawrrpt.sql awrrpti.sqlawrrpti.sql

Similar to Statspack reportSimilar to Statspack report Reports can be generated with Reports can be generated with

scripts or through a GUI interfacescripts or through a GUI interface Optional HTML or plain text formatsOptional HTML or plain text formats

Administering Oracle and Administering Oracle and Monitoring Performance with Monitoring Performance with Oracle 10g Grid ControlOracle 10g Grid Control Oracle Grid Control is the Oracle Grid Control is the

enhanced version of OEM enhanced version of OEM that is installed with Oracle that is installed with Oracle 10g10g Requires a central Requires a central

Management Repository and Management Repository and Agents on each database Agents on each database serverserver

Enhancements for managing Enhancements for managing and deploying RAC nodes and deploying RAC nodes and application grid nodesand application grid nodes

Significant improvements in Significant improvements in automatic performance automatic performance monitoring and analysismonitoring and analysis

Central interface for Central interface for administering and administering and monitoring Oracle 10gmonitoring Oracle 10g Perform all Administration Perform all Administration

taskstasks Contains a variety of Contains a variety of

Advisors for improving Advisors for improving performanceperformance

Oracle Grid Control Performance Oracle Grid Control Performance PagePage The database The database

Performance Performance page gives a page gives a quick look at quick look at performance performance trendstrends Host CPUHost CPU Average Active Average Active

SessionsSessions Instance Disk I/OInstance Disk I/O Instance Instance

ThroughputThroughput

AWR ReportsAWR Reports To create an AWR report:To create an AWR report:

On the Database Administration page, select the On the Database Administration page, select the Automatic Workload Repository link under Statistics Automatic Workload Repository link under Statistics Management. The Automatic Workload Repository Management. The Automatic Workload Repository page appears.page appears.

Under Manage Snapshots and Preserved Snapshot Under Manage Snapshots and Preserved Snapshot Sets, click Snapshots link. The Snapshots page Sets, click Snapshots link. The Snapshots page appears.appears.

Under Select Beginning Snapshot, select the start Under Select Beginning Snapshot, select the start point for the range of snapshots that will be included point for the range of snapshots that will be included in the report.in the report.

From the Actions pull-down menu, select View Report From the Actions pull-down menu, select View Report and click Go. The View Report page appears.and click Go. The View Report page appears.

Under Select Ending Snapshot, select the end point Under Select Ending Snapshot, select the end point for the range of snapshots and click OK. The for the range of snapshots and click OK. The Processing: View Report page appears while the Processing: View Report page appears while the report is being generated. report is being generated.

Once completed, the Snapshot Details page Once completed, the Snapshot Details page appears and the report will be displayed. appears and the report will be displayed.

To save the report as an HTML file, click Save To save the report as an HTML file, click Save to File.to File.

AWR ReportsAWR Reports

Using the Segment Space Using the Segment Space AdvisorAdvisor The Oracle 10g Segment Advisor helps you The Oracle 10g Segment Advisor helps you

determine whether an object has space available determine whether an object has space available for reclamation. for reclamation.

Available in 10g OEM or Grid ControlAvailable in 10g OEM or Grid Control The Segment Advisor can generate advice at The Segment Advisor can generate advice at

three levels:three levels: Object level - advice is generated for the entire object, Object level - advice is generated for the entire object,

such as a table. Advice does not cascade to dependent such as a table. Advice does not cascade to dependent objects.objects.

Segment level, - advice is generated for a single Segment level, - advice is generated for a single segment, such as unpartitioned table, a partition or segment, such as unpartitioned table, a partition or subpartition of a partitioned table, or an index or LOB subpartition of a partitioned table, or an index or LOB column.column.

Tablespace level - advice is generated for every Tablespace level - advice is generated for every segment in the tablespace.segment in the tablespace.

Using the Segment Space Using the Segment Space AdvisorAdvisor

Using the Segment Space Using the Segment Space AdvisorAdvisor

SQL Tuning AdvisorSQL Tuning Advisor

10g Oracle Enterprise Manager (DB 10g Oracle Enterprise Manager (DB Console, Grid Control) offers the SQL Console, Grid Control) offers the SQL Tuning Advisor as a SQL statement tuning Tuning Advisor as a SQL statement tuning tool.tool.

Accessed from Advisor CentralAccessed from Advisor Central Select one or more SQL statements, or Select one or more SQL statements, or

generate an SQL Tuning Setgenerate an SQL Tuning Set View automatically generated View automatically generated

RecommendationsRecommendations View Explain Plan outputView Explain Plan output

SQL Tuning Advisor SQL Tuning Advisor RecommendationsRecommendations

SQL Tuning Advisor Explain SQL Tuning Advisor Explain PlanPlan

Using the SQLAccess Using the SQLAccess AdvisorAdvisor The SQLAccess Advisor provides an alternative The SQLAccess Advisor provides an alternative

to manually determining which indexes are to manually determining which indexes are required. required.

The SQLAccess advisor may be invoked from The SQLAccess advisor may be invoked from Advisor Central in OEM or run with the Advisor Central in OEM or run with the procedures in the DBMS_ADVISOR package. procedures in the DBMS_ADVISOR package.

For a chosen schema, the SQLAccess Advisor For a chosen schema, the SQLAccess Advisor either recommends using a workload or it can either recommends using a workload or it can generate a hypothetical workload. generate a hypothetical workload.

Given a workload, the SQLAccess Advisor Given a workload, the SQLAccess Advisor generates a set of recommendations from which generates a set of recommendations from which you can select indexes to be implemented. you can select indexes to be implemented.

SQLAccess Advisor generates an implementation SQLAccess Advisor generates an implementation script that can be executed manually or through script that can be executed manually or through OEM. OEM.

Using the SQLAccess Using the SQLAccess AdvisorAdvisor The SQLAccess Advisor provides an alternative The SQLAccess Advisor provides an alternative

to manually determining which indexes are to manually determining which indexes are required. required.

The SQLAccess advisor may be invoked from The SQLAccess advisor may be invoked from Advisor Central in OEM or run with the Advisor Central in OEM or run with the procedures in the DBMS_ADVISOR package. procedures in the DBMS_ADVISOR package.

For a chosen schema, the SQLAccess Advisor For a chosen schema, the SQLAccess Advisor either recommends using a workload or it can either recommends using a workload or it can generate a hypothetical workload. generate a hypothetical workload.

Given a workload, the SQLAccess Advisor Given a workload, the SQLAccess Advisor generates a set of recommendations from which generates a set of recommendations from which you can select indexes to be implemented. you can select indexes to be implemented.

SQLAccess Advisor generates an implementation SQLAccess Advisor generates an implementation script that can be executed manually or through script that can be executed manually or through OEM. OEM.

Using the SQLAccess Using the SQLAccess AdvisorAdvisor

Automatic Database Automatic Database Diagnostic MonitorDiagnostic Monitor ADDM considers the following to make ADDM considers the following to make

performance tuning recommendations:performance tuning recommendations: CPU bottlenecksCPU bottlenecks Undersized Memory StructuresUndersized Memory Structures I/O capacity issuesI/O capacity issues High load SQL statementsHigh load SQL statements High load PL/SQL execution and compilationHigh load PL/SQL execution and compilation High load Java usageHigh load Java usage RAC specific issues: RAC specific issues:

Global cache hot blocks and objectsGlobal cache hot blocks and objects Iinterconnect latency issuesIinterconnect latency issues

Automatic Database Diagnostic Automatic Database Diagnostic Monitor (cont.)Monitor (cont.) ADDM considers the following to make ADDM considers the following to make

recommendations:recommendations: Sub-optimal use of Oracle by the application: Sub-optimal use of Oracle by the application:

Poor connection managementPoor connection management Excessive parsingExcessive parsing Application level lock contentionApplication level lock contention

Database configuration issues:Database configuration issues: Incorrect sizing of log filesIncorrect sizing of log files Archiving issues, excessive checkpointsArchiving issues, excessive checkpoints Sub-optimal parameter settingsSub-optimal parameter settings

Concurrency issues - Are there buffer busy Concurrency issues - Are there buffer busy problems?problems?

Hot objects and top SQL for various problem Hot objects and top SQL for various problem areasareas

ADDM Recommended ADDM Recommended SolutionsSolutions Hardware changes Hardware changes

Adding CPUs Adding CPUs Changing the I/O subsystem configurationChanging the I/O subsystem configuration

Database configuration Database configuration Changing initialization parameter settingsChanging initialization parameter settings

Schema changes Schema changes Hash partitioning a table or index Hash partitioning a table or index Using automatic segment-space management (ASSM)Using automatic segment-space management (ASSM)

Application changes Application changes Using the cache option for sequences Using the cache option for sequences Using bind variablesUsing bind variables

Using other advisors Using other advisors Running the SQL Tuning Advisor on high load SQLRunning the SQL Tuning Advisor on high load SQL Running the Segment Advisor on hot objectsRunning the Segment Advisor on hot objects

Viewing Current ADDM Viewing Current ADDM FindingsFindings You can view ADDM findings based You can view ADDM findings based

on the latest analysis period within on the latest analysis period within OEMOEM Go to the Database Home pageGo to the Database Home page View the Diagnostic Summary to see a View the Diagnostic Summary to see a

list of ADDM findingslist of ADDM findings Click on a finding link to see detailsClick on a finding link to see details

ADDM Findings in OEMADDM Findings in OEM

Running ADDM ManuallyRunning ADDM Manually From the Database Home pageFrom the Database Home page

Under Related Links, click the Advisor Central Under Related Links, click the Advisor Central linklink

On the ADDM page, under Advisors, click the On the ADDM page, under Advisors, click the ADDM linkADDM link

Select Run ADDM to analyze past Select Run ADDM to analyze past instance performanceinstance performance Choose the Period Start Time (choose starting Choose the Period Start Time (choose starting

snapshot)snapshot) Choose the Period End Time (default is last Choose the Period End Time (default is last

snapshot)snapshot) Click OK to start analysisClick OK to start analysis

Running ADDM in OEMRunning ADDM in OEM

Scheduling Jobs in Oracle Scheduling Jobs in Oracle 10g10g

Oracle 10g contains a new Oracle 10g contains a new Scheduler for scheduling and Scheduler for scheduling and tracking jobs.tracking jobs.

One way to access the One way to access the Scheduler is through the Scheduler is through the Grid Control Job Activity Grid Control Job Activity page. From this page you page. From this page you can:can: Search for existing job runs Search for existing job runs

and job executionsand job executions Restrict the search by name, Restrict the search by name,

owner, status, scheduled owner, status, scheduled start, job type, target type, start, job type, target type, and target name.and target name.

Create a jobCreate a job View, edit, create like, View, edit, create like,

suspend, resume, stop, and suspend, resume, stop, and delete a rundelete a run

View, edit, create like, View, edit, create like, suspend, resume, retry, suspend, resume, retry, stop, and delete an stop, and delete an executionexecution

RAC Cluster Cache RAC Cluster Cache CoherencyCoherency

Heavy concurrent read Heavy concurrent read and write activity on and write activity on shared data in a shared data in a cluster can cause cluster can cause performance performance problems.problems.

The Cluster Cache The Cluster Cache Coherency page Coherency page enables you to enables you to View cache coherency View cache coherency

metrics for the entire metrics for the entire cluster databasecluster database

Identify processing Identify processing trendstrends

Optimize performance Optimize performance for your Real for your Real Application Clusters Application Clusters environment environment

Cluster InterconnectsCluster Interconnects

The Cluster Interconnects The Cluster Interconnects page enables you to view page enables you to view the current state of the current state of interfaces on hostsinterfaces on hosts

You can use this page to You can use this page to Monitor the interconnect Monitor the interconnect

interfacesinterfaces Determine configuration Determine configuration

issuesissues Identify transfer rate-Identify transfer rate-

related issues, such as related issues, such as excess traffic. excess traffic.

This page helps This page helps determine the load determine the load added by individual added by individual instances and databases instances and databases on the interconnect.on the interconnect. Sometimes, you can Sometimes, you can

immediately identify immediately identify interconnect delays due interconnect delays due to applications outside to applications outside the Oracle Database.the Oracle Database.

Oracle GUI Administration ToolsOracle GUI Administration Tools Oracle Services ConfigurationOracle Services Configuration Event ViewerEvent Viewer Oracle Administration Assistant for WindowsOracle Administration Assistant for Windows Windows Performance MonitorWindows Performance Monitor Oracle for Windows Performance MonitorOracle for Windows Performance Monitor

Oracle Command Line Administration ToolsOracle Command Line Administration Tools Using SQLPlus for AdministrationUsing SQLPlus for Administration The oradim utilityThe oradim utility Creating password files with orapwdCreating password files with orapwd The ORADEBUG UtilityThe ORADEBUG Utility StatspackStatspack AWRAWR

Oracle Web ToolsOracle Web Tools Managing Oracle with Oracle 10g Grid ControlManaging Oracle with Oracle 10g Grid Control

ConclusionsConclusions

ReviewReview

How could you customize an Oracle How could you customize an Oracle Service?Service?

What command is used to create an What command is used to create an Oracle password file?Oracle password file?

How must you log in to SQLPlus in order How must you log in to SQLPlus in order to stop and start the database?to stop and start the database?

Where can you go if you need to kill Where can you go if you need to kill Oracle threads?Oracle threads?

What Advisors can you launch from What Advisors can you launch from Oracle Grid Control to help monitor Oracle Grid Control to help monitor performance?performance?

SummarySummaryIn this training module the following tasks In this training module the following tasks

and concepts were covered:and concepts were covered: Managing Oracle Services on WindowsManaging Oracle Services on Windows Creating a password file with orapwdCreating a password file with orapwd Managing a database with SQLPlusManaging a database with SQLPlus Managing a database with Managing a database with

Administration Assistant for NTAdministration Assistant for NT Managing and Monitoring a database Managing and Monitoring a database

with Oracle Enterprise Managerwith Oracle Enterprise Manager