Você está na página 1de 4

Predictive Diagnostics ---------------------Predictive Diagnostics allows Spotlight to collect and analyze performance metri cs for: SQL statements as they

are executed on the database inst ance. ------> Sentencias SQL System bottlenecks as they affect database throughput an d response time. ------> Cuellos de Botella Database resources as they reach their full capacity and affect database throughput and concurrency. ------> Uso de los Recursos: Uti lizacin del CPU Uso de Memoria Sistema del I/O. Note: When you start using Predictive Diagnostics, Spotlight will take about 10 days to collect enough data to make valid predictions on the future performance of the database.

DTrace analysis (Solaris 10 and later) -------------------------------------DTrace is a dynamic analysis tool for Sun Microsystems operating systems. It was first introduced in the Solaris 10 -> Capturar la Interaccin entre operating system, and can be used ONLY on Sun platforms from Solaris 10 onwards . Spotlight on Oracle can use DTrace to Oracle y el Sistema Operativo. capture details of the interaction between Oracle and the operating system when Oracle uses the O/S services provided by Solaris. To use DTrace within Spotlight, you need to install and configur e a number of DTrace scripts on the server under investigation, and then enable the DTrace functionality within Spotlight itself. For detailed instructions on how to do this, see Installing and Using DTrace within Spotlight on page 27. To use DTrace within Spotlight, you need to: 1 Install and configure a number of DTrace scripts on the server under investiga tion. 2 Enable DTrace functionality within Spotlight. 3 Use the DTrace drilldown to view the DTrace analysis To install and configure DTrace scripts 1 Locate the SoO_DTrace_scripts.tar archive package in the Plug-ins\SoO sub folder of the Spotlight installation folder.

2 Unpack the contents of the archive to a directory on the database server. Ensure that the unpacked files have execute permission. 3 In the .profile of the account that will be used to run O/S commands from Sp otlight, define a QUEST_SOO_HOME variable that points to that directory on the server. 4 Provide that e following user with DTrace authority line to /etc/user_attr: by adding th

<<username>>::::defaultpriv=basic,dtrace_proc,dtrace_kernel To enable DTrace within Spotlight 1 From the View | Options menu, choose Spotlight on Oracle. 2 Click the DTrace button. 3 Select Show Solaris DTrace drilldowns. 4 Click OK. The DTrace icon will appear on the Spotlight toolbar, and a DTrace o ption will appear on the View??Go To menu. Panels A panel is a visual feature that groups related information and components on th e Spotlight home page. Components change color as alarms are raised for the metrics they contain. There are six main panels on the home page for Spotlight on Oracle. They are: The Sessions panel ---> This indica tes the status of the Oracle communications between client and server. The Host panel ---> This indicates CPU usage, Virtualization Overhead and free physical RAM inf ormation. The Server Processes panel. ---> This shows the status of Oracle ser ver processes. These processes perform database activities on behalf of end users, and mediate database connections. The SGA panel ---> This shows details of specific memory areas within the system global area ( SGA). The SGA is an area of shared or common process memory that is used to cache fre quently used data, SQL statements, procedures and other structures. The Background Processes panel. ---> This displays the following key Oracle back ground processes: Database Writer (DBWR), Redo Log Writer (LGWR), Recovery Writer (RVWR) and Archiver (ARCH).

It also contains a status indicator for Spotlight's Predictive Diagnostics capa bility (if available).

The Disk Storage panel. cle database and log files on disk.

---> This represents Ora

The Host panel ---------------The Sessions panel indicates the status of the Oracle communications between cli ent and server. Information displayed here includes: The time (in milliseconds) that it takes for the query select user from dual to b e submitted, executed and returned. The total number of users connected to the database. The number of users who are currently active. The sum of DB time over all sessions, divided by elapsed time. Note: The Average Active Sessions gauge is not available for Oracle 9i. The flows between the Sessions panel and the Server Processes panel represent th e rate of data transfer in both directions across the SQL*NET interface. Host panel ---------The Host panel shows metrics for the operating system. The information displayed here includes: The total amount of CPU being used. The number of tasks waiting for CPU resources. The percentage of CPU that is unavailable to the virtual machine (if applicable). The available physical RAM. The amount of memory that has been reclaimed from the virtual machine by ESX (if applicable).

Server Processes panel ---------------------The Server Processes panel indicates the status of Oracle server processes that perform database activities on behalf of end users, and mediate database connections. Information displayed here includes: Statistics for the PGA memory allocated by server processes. Dedicated server processes that perform work on behalf of a single client process . Shared or multi-threaded servers (MTS) that perform work on behalf of more than o ne client process. MTS dispatchers that coordinate the allocation of shared servers to client tasks. Server processes that support parallel execution of queries. The current length of the Parallel Execution Queue. Note: The Parallel Exec Queue gauge applies only to Oracle 11gR2. Job queue server processes that run PL/SQL commands submitted to the Oracle job q ueue via the DBMS_JOB package.

The state of the EM agent connection between Oracle Enterprise Manager (if instal led) and the database. The number of server processes that are currently active. The flow to the Server Processes panel from the Disk Storage panel represents th e rate of direct physical reads from disk. The flows between the Server Processes panel and the SGA panel represent the rat es of: Blocks reads from the SGA by all server processes. Block changes in the SGA by all server processes. Redo buffer entries made by all server processes. SQL parse requests per second by all server processes. SQL execution requests per second by all server processes. Permite: -------Observar la actividad de la Base de Datos -Detecta de forma automtica los problemas -Explorar la Base de Datoa y la Actividad del Sistema Operativo -Relizar analisis historicos -Identificar top SQL y Sesiones con mucho tiempo -Identificar bloqueos -Desempeo de la Base de Datos como un todo -Contencin -Predecir cuellos de botellas

Você também pode gostar