您的位置:首页 > 其它

ASH的信息通过视图v$active_session_history查看

2015-01-20 21:52 239 查看
[oracle@linux oracle]$ sqlplus / as sysdba @?/rdbms/admin/ashrpt.sql

SQL*Plus: Release 10.2.0.4.0 - Production on 星期二 11月 1 06:36:43 2011

Copyright (c) 1982, 2007, Oracle. All Rights Reserved.

连接到:

Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

Current Instance

~~~~~~~~~~~~~~~~

DB Id DB Name Inst Num Instance

----------- ------------ -------- ------------

1293815896 ORCL 1 orcl

Specify the Report Type

~~~~~~~~~~~~~~~~~~~~~~~

Enter 'html' for an HTML report, or 'text' for plain text

Defaults to 'html'

输入 report_type 的值: html --生成html格式的ash报告。

Type Specified: html

Instances in this Workload Repository schema

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

DB Id Inst Num DB Name Instance Host

------------ -------- ------------ ------------ ------------

* 1293815896 1 ORCL orcl linux

Defaults to current database

Using database id: 1293815896

Defaults to current instance

Using instance number: 1

ASH Samples in this Workload Repository schema

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Oldest ASH sample available: 01-11月-11 03:34:14 [ 183 mins in the past]

Latest ASH sample available: 01-11月-11 06:36:43 [ 0 mins in the past]

Specify the timeframe to generate the ASH report

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Enter begin time for report:

-- Valid input formats:

-- To specify absolute begin time:

-- [MM/DD[/YY]] HH24:MI[:SS]

-- Examples: 02/23/03 14:30:15

-- 02/23 14:30:15

-- 14:30:15

-- 14:30

-- To specify relative begin time: (start with '-' sign)

-- -[HH24:]MI

-- Examples: -1:15 (SYSDATE - 1 Hr 15 Mins)

-- -25 (SYSDATE - 25 Mins)

Defaults to -15 mins

输入 begin_time 的值: -30 --采集30分钟以前的数据。

Report begin time specified: -30

Enter duration in minutes starting from begin time:

Defaults to SYSDATE - begin_time

Press Enter to analyze till current time

输入 duration 的值: --这里默认是当前时间。

Report duration specified:

Using 01-11月-11 06:07:51 as report begin time

Using 01-11月-11 06:38:17 as report end time

Specify Slot Width (using ashrpti.sql) for 'Activity Over Time' section

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-- Explanation:

-- In the 'Activity Over Time' section of the ASH report,

-- the analysis period is divided into smaller slots

-- and top wait events are reported in each of those slots.

-- Default:

-- The analysis period will be automatically split upto 10 slots

-- complying to a minimum slot width of

-- 1 minute, if the source is V$ACTIVE_SESSION_HISTORY or

-- 5 minutes, if the source is DBA_HIST_ACTIVE_SESS_HISTORY.

Specify Slot Width in seconds to use in the 'Activity Over Time' section:

Defaults to a value as explained above:

Slot Width specified:

Specify Report Targets (using ashrpti.sql) to generate the ASH report

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-- Explanation:

-- ASH Report can accept "Report Targets",

-- like a particular SQL statement, or a particular SESSION,

-- to generate the report on. If one or more report targets are

-- specified, then the data used to generate the report will only be

-- the ASH samples that pertain to ALL the specified report targets.

-- Default:

-- If none of the report targets are specified,

-- then the target defaults to all activity in the database instance.

Specify SESSION_ID (eg: from V$SESSION.SID) report target:

Defaults to NULL:

SESSION report target specified:

Specify SQL_ID (eg: from V$SQL.SQL_ID) report target:

Defaults to NULL: (% and _ wildcards allowed)

SQL report target specified:

Specify WATI_CLASS name (eg: from V$EVENT_NAME.WAIT_CLASS) report target:

[Enter 'CPU' to investigate CPU usage]

Defaults to NULL: (% and _ wildcards allowed)

WAIT_CLASS report target specified:

Specify SERVICE_HASH (eg: from V$ACTIVE_SERVICES.NAME_HASH) report target:

Defaults to NULL:

SERVICE report target specified:

Specify MODULE name (eg: from V$SESSION.MODULE) report target:

Defaults to NULL: (% and _ wildcards allowed)

MODULE report target specified:

Specify ACTION name (eg: from V$SESSION.ACTION) report target:

Defaults to NULL: (% and _ wildcards allowed)

ACTION report target specified:

Specify CLIENT_ID (eg: from V$SESSION.CLIENT_IDENTIFIER) report target:

Defaults to NULL: (% and _ wildcards allowed)

CLIENT_ID report target specified:

Specify PLSQL_ENTRY name (eg: "SYS.DBMS_LOB.*") report target:

Defaults to NULL: (% and _ wildcards allowed)

PLSQL_ENTRY report target specified:

Specify the Report Name

~~~~~~~~~~~~~~~~~~~~~~~

The default report file name is ashrpt_1_1101_0638.html. To use this name,

press <return> to continue, otherwise enter an alternative.

输入 report_name 的值: /u01/app/oracle/ash.html --生成报告的路径。

... ...

... ...

... ...

Report written to /u01/app/oracle/ash.html

ASH可以在Session级别生产报告,使用sql_trace也有同样的功能,但是sql_trace使用必须是Session还处于Active状态,而ash则没有这个限制。

[oracle@linux ash]$ sqlplus / as sysdba @?/rdbms/admin/ashrpti.sql

SQL*Plus: Release 10.2.0.4.0 - Production on 星期五 11月 25 08:05:12 2011

Copyright (c) 1982, 2007, Oracle. All Rights Reserved.

连接到:

Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

Specify the Report Type

~~~~~~~~~~~~~~~~~~~~~~~

Enter 'html' for an HTML report, or 'text' for plain text

Defaults to 'html'

输入 report_type 的值: --这里使用默认值。

Type Specified: html

Instances in this Workload Repository schema

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

DB Id Inst Num DB Name Instance Host

------------ -------- ------------ ------------ ------------

* 1293815896 1 ORCL orcl linux

Defaults to current database

输入 dbid 的值: --这里使用默认值。

Using database id: 1293815896

Defaults to current instance

输入 inst_num 的值: --这里使用默认值。(这里提示输入dbid和instance id,从这里就可以指定其它的数据库。)

Using instance number: 1

ASH Samples in this Workload Repository schema

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Oldest ASH sample available: 17-11月-11 21:21:25 [ 10725 mins in the past]

Latest ASH sample available: 25-11月-11 08:05:46 [ 0 mins in the past]

Specify the timeframe to generate the ASH report

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Enter begin time for report:

-- Valid input formats:

-- To specify absolute begin time:

-- [MM/DD[/YY]] HH24:MI[:SS]

-- Examples: 02/23/03 14:30:15

-- 02/23 14:30:15

-- 14:30:15

-- 14:30

-- To specify relative begin time: (start with '-' sign)

-- -[HH24:]MI

-- Examples: -1:15 (SYSDATE - 1 Hr 15 Mins)

-- -25 (SYSDATE - 25 Mins)

Defaults to -15 mins

输入 begin_time 的值: -60 --这里输入60分钟。

Report begin time specified: -60

Enter duration in minutes starting from begin time:

Defaults to SYSDATE - begin_time

Press Enter to analyze till current time

输入 duration 的值: --这里使用默认值。

Report duration specified:

Using 25-11月-11 07:07:07 as report begin time

Using 25-11月-11 08:07:20 as report end time

Specify Slot Width (using ashrpti.sql) for 'Activity Over Time' section

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-- Explanation:

-- In the 'Activity Over Time' section of the ASH report,

-- the analysis period is divided into smaller slots

-- and top wait events are reported in each of those slots.

-- Default:

-- The analysis period will be automatically split upto 10 slots

-- complying to a minimum slot width of

-- 1 minute, if the source is V$ACTIVE_SESSION_HISTORY or

-- 5 minutes, if the source is DBA_HIST_ACTIVE_SESS_HISTORY.

Specify Slot Width in seconds to use in the 'Activity Over Time' section:

Defaults to a value as explained above:

输入 slot_width 的值: 300 --在这里指定300秒(5分钟)做一次性能数据汇总。

Slot Width specified: 300

Specify Report Targets (using ashrpti.sql) to generate the ASH report

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-- Explanation:

-- ASH Report can accept "Report Targets",

-- like a particular SQL statement, or a particular SESSION,

-- to generate the report on. If one or more report targets are

-- specified, then the data used to generate the report will only be

-- the ASH samples that pertain to ALL the specified report targets.

-- Default:

-- If none of the report targets are specified,

-- then the target defaults to all activity in the database instance.

Specify SESSION_ID (eg: from V$SESSION.SID) report target:

Defaults to NULL:

输入 target_session_id 的值: 166 --在这里指定一个sid来生产报告。

SESSION report target specified: 166

Specify SQL_ID (eg: from V$SQL.SQL_ID) report target:

Defaults to NULL: (% and _ wildcards allowed)

输入 target_sql_id 的值: --这里还可以指定sql_id。

SQL report target specified:

Specify WATI_CLASS name (eg: from V$EVENT_NAME.WAIT_CLASS) report target:

[Enter 'CPU' to investigate CPU usage]

Defaults to NULL: (% and _ wildcards allowed)

输入 target_wait_class 的值: --这里可以对某一类等待事件生产报告。

WAIT_CLASS report target specified:

Specify SERVICE_HASH (eg: from V$ACTIVE_SERVICES.NAME_HASH) report target:

Defaults to NULL:

输入 target_service_hash 的值: --这里可以指定某一个services

SERVICE report target specified:

Specify MODULE name (eg: from V$SESSION.MODULE) report target:

Defaults to NULL: (% and _ wildcards allowed)

输入 target_module_name 的值: --这里可以指定某个模块,通常指某个程序。

MODULE report target specified:

Specify ACTION name (eg: from V$SESSION.ACTION) report target:

Defaults to NULL: (% and _ wildcards allowed)

输入 target_action_name 的值: --这里可以对具体的某个会话的动作生产报告。

ACTION report target specified:

Specify CLIENT_ID (eg: from V$SESSION.CLIENT_IDENTIFIER) report target:

Defaults to NULL: (% and _ wildcards allowed)

输入 target_client_id 的值: --这里可以对具体的某个客户端生产报告。

CLIENT_ID report target specified:

Specify PLSQL_ENTRY name (eg: "SYS.DBMS_LOB.*") report target:

Defaults to NULL: (% and _ wildcards allowed)

输入 target_plsql_entry 的值: --默认值。

PLSQL_ENTRY report target specified:

Specify the Report Name

~~~~~~~~~~~~~~~~~~~~~~~

The default report file name is ashrpt_1_1125_0807.html. To use this name,

press <return> to continue, otherwise enter an alternative.

输入 report_name 的值: --默认值。

Using the report name ashrpt_1_1125_0807.html

Summary of All User Input

-------------------------

Format : HTML

DB Id : 1293815896

Inst num : 1

Begin time : 25-11月-11 07:07:07

End time : 25-11月-11 08:07:20

Slot width : 300 seconds

Report targets : 1

Report name : ashrpt_1_1125_0807.html

<HTML><HEAD><TITLE>ASH Report - From 25-11月-11 07:07:07 To 25-11月-11 08:07:20</TITLE><style type="text/css">body.awr {font:bold 10pt Arial,Helvetica,Geneva,sans-serif;color:black; background:White;}

pre.awr {font:8pt Courier;color:black; background:White;}h1.awr {font:bold 20pt Arial,Helvetica,Geneva,sans-serif;color:#336699;background-color:White;border-bottom:1px solid #cccc99;margin-top:0pt; margin-bottom:0pt;padding:0px 0px 0px 0px;}

h2.awr {font:bold 18pt Arial,Helvetica,Geneva,sans-serif;color:#336699;background-color:White;margin-top:4pt; margin-bottom:0pt;}

h3.awr {font:bold 16pt Arial,Helvetica,Geneva,sans-serif;color:#336699;background-color:White;margin-top:4pt; margin-bottom:0pt;}li.awr {font: 8pt Arial,Helvetica,Geneva,sans-serif; color:black; background:White;}

th.awrnobg {font:bold 8pt Arial,Helvetica,Geneva,sans-serif; color:black; background:White;padding-left:4px; padding-right:4px;padding-bottom:2px}th.awrbg {font:bold 8pt Arial,Helvetica,Geneva,sans-serif; color:White; background:#0066CC;padding-left:4px; padding-right:4px;padding-bottom:2px}

td.awrnc {font:8pt Arial,Helvetica,Geneva,sans-serif;color:black;background:White;vertical-align:top;}

td.awrc {font:8pt Arial,Helvetica,Geneva,sans-serif;color:black;background:#FFFFCC; vertical-align:top;}a.awr {font:bold 8pt Arial,Helvetica,sans-serif;color:#663300; vertical-align:top;margin-top:0pt; margin-bottom:0pt;}

</style></HEAD><BODY class='awr'>

<H1 class='awr'>

ASH Report For ORCL/orcl

<BR> <H3 class='awr'>

(1 Report Target Specified)

</H3>

</H1>

<P>

<TABLE BORDER=1 WIDTH=500>

<TR><TH class='awrbg'>DB Name</TH><TH class='awrbg'>DB Id</TH><TH class='awrbg'>Instance</TH><TH class='awrbg'>Inst num</TH><TH class='awrbg'>Release</TH><TH class='awrbg'>RAC</TH><TH class='awrbg'>Host</TH></TR>

<TR><TD class='awrnc'>ORCL</TD><TD ALIGN='right' class='awrnc'>1293815896</TD><TD class='awrnc'>orcl</TD><TD ALIGN='right' class='awrnc'>1</TD><TD class='awrnc'>10.2.0.4.0</TD><TD class='awrnc'>NO</TD><TD class='awrnc'>linux</TD></TR>

</TABLE>

<P>

<P>

<TABLE BORDER=1 WIDTH=500>

<TR><TH class='awrbg'>CPUs</TH><TH class='awrbg'>SGA Size</TH><TH class='awrbg'>Buffer Cache</TH><TH class='awrbg'>Shared Pool</TH><TH class='awrbg'>ASH Buffer Size</TH></TR>

<TR><TD ALIGN='right' class='awrnc'>1</TD><TD ALIGN='right' class='awrnc'>160M (100%)</TD><TD ALIGN='right' class='awrnc'>48M (30.0%)</TD><TD ALIGN='right' class='awrnc'>96M (60.0%)</TD><TD ALIGN='right' class='awrnc'>2.0M (1.3%)</TD></TR>

</TABLE>

<P>

<P>

<TABLE BORDER=1 WIDTH=500>

<TR><TH class='awrnobg'></TH><TH class='awrbg'>Sample Time</TH><TH class='awrbg'>Data Source</TH></TR>

<TR><TD class='awrc'>Analysis Begin Time:</TD><TD ALIGN='right' class='awrc'>25-11月-11 07:07:07</TD><TD ALIGN='center' class='awrc'>V$ACTIVE_SESSION_HISTORY</TD></TR>

<TR><TD class='awrnc'>Analysis End Time:</TD><TD ALIGN='right' class='awrnc'>25-11月-11 08:07:20</TD><TD ALIGN='center' class='awrnc'>V$ACTIVE_SESSION_HISTORY</TD></TR>

<TR><TD class='awrc'>Elapsed Time:</TD><TD ALIGN='right' class='awrc'> 60.2 (mins) </TD><TD ALIGN='center' class='awrc'> </TD></TR>

<TR><TD class='awrnc'>Sample Count:</TD><TD ALIGN='right' class='awrnc'> 5</TD><TD class='awrnc'> </TD></TR>

<TR><TD class='awrc'>Average Active Sessions:</TD><TD ALIGN='right' class='awrc'> 0.00</TD><TD class='awrc'> </TD></TR>

<TR><TD class='awrnc'>Avg. Active Session per CPU:</TD><TD ALIGN='right' class='awrnc'> 0.00</TD><TD class='awrnc'> </TD></TR>

<TR><TD class='awrnc'>Report Target:</TD><TD ALIGN='right' class='awrnc'>SESSION_ID = 166</TD><TD ALIGN='center' class='awrnc'>20% of total database activity</TD></TR>

</TABLE>

<P>

<A class='awr' NAME='top'></A>

<H2 class='awr'>

ASH Report

</H2>

<UL>

<LI class='awr'><A class='awr' HREF='#101'>Top Events</A>

<LI class='awr'><A class='awr' HREF='#102'>Load Profile</A>

<LI class='awr'><A class='awr' HREF='#104'>Top SQL</A>

<LI class='awr'><A class='awr' HREF='#10380'>Top PL/SQL</A>

<LI class='awr'><A class='awr' HREF='#105'>Top Sessions</A>

<LI class='awr'><A class='awr' HREF='#106'>Top Objects/Files/Latches</A>

<LI class='awr'><A class='awr' HREF='#10200'>Activity Over Time</A>

</UL>

<BR><A class='awr' HREF='#top'>Back to Top</A><HR><P>

<A class='awr' NAME='101'></A>

<H2 class='awr'>

Top Events

</H2>

<UL>

<LI class='awr'><A class='awr' HREF='#10010'>

Top User Events

</A>

<LI class='awr'><A class='awr' HREF='#10020'>

Top Background Events

</A>

<LI class='awr'><A class='awr' HREF='#10030'>

Top Event P1/P2/P3 Values

</A>

</UL>

<A class='awr' HREF='#top'>Back to Top</A><P>

<A class='awr' NAME='10010'></A>

</TABLE><P>

<H3 class='awr'>Top User Events</H3>

<P>

No data exists for this section of the report.

<P>

<A class='awr' HREF='#101'>Back to Top Events</A>

<BR><A class='awr' HREF='#top'>Back to Top</A><P>

<A class='awr' NAME='10020'></A>

<H3 class='awr'>Top Background Events</H3>

<UL>

</UL>

<TABLE BORDER=1><TR><TH class='awrbg'>Event</TH><TH class='awrbg'>Event Class</TH><TH class='awrbg'>% Activity</TH><TH class='awrbg'>Avg Active Sessions</TH></TR>

<TR><TD class='awrc'>log file parallel write</TD> <TD class='awrc'>System I/O</TD> <TD ALIGN='right' class='awrc'>100.00</TD> <TD ALIGN='right' class='awrc'>0.00</TD></TR>

</TABLE><P>

<A class='awr' HREF='#101'>Back to Top Events</A>

<BR><A class='awr' HREF='#top'>Back to Top</A><P>

<A class='awr' NAME='10030'></A>

<H3 class='awr'>Top Event P1/P2/P3 Values</H3>

<UL>

</UL>

<TABLE BORDER=1><TR><TH class='awrbg'>Event</TH><TH class='awrbg'>% Event</TH><TH class='awrbg'>P1 Value, P2 Value, P3 Value</TH><TH class='awrbg'>% Activity</TH><TH class='awrbg'>Parameter 1</TH><TH class='awrbg'>Parameter 2</TH><TH class='awrbg'>Parameter
3</TH></TR>

<TR><TD class='awrc'>log file parallel write</TD> <TD ALIGN='right' class='awrc'>100.00</TD> <TD ALIGN='right' class='awrc'>"1","6","1"</TD> <TD ALIGN='right' class='awrc'>40.00</TD>

<TD class='awrc'>files</TD> <TD class='awrc'>blocks</TD> <TD class='awrc'>requests</TD></TR>

<TR><TD class='awrnc'> </TD> <TD ALIGN='right' class='awrnc'> </TD> <TD ALIGN='right' class='awrnc'>"1","3","1"</TD> <TD ALIGN='right' class='awrnc'>20.00</TD>

<TD class='awrnc'> </TD> <TD class='awrnc'> </TD> <TD class='awrnc'> </TD></TR>

<TR><TD class='awrc'> </TD> <TD ALIGN='right' class='awrc'> </TD> <TD ALIGN='right' class='awrc'>"1","7","1"</TD> <TD ALIGN='right' class='awrc'>20.00</TD>

<TD class='awrc'> </TD> <TD class='awrc'> </TD> <TD class='awrc'> </TD></TR>

</TABLE><P>

<A class='awr' HREF='#101'>Back to Top Events</A>

<BR><A class='awr' HREF='#top'>Back to Top</A><P>

<P>

<A class='awr' NAME='102'></A>

<H2 class='awr'>

Load Profile

</H2>

<UL>

<LI class='awr'><A class='awr' HREF='#10100'>

Top Service/Module

</A>

<LI class='awr'><A class='awr' HREF='#10110'>

Top Client IDs

</A>

<LI class='awr'><A class='awr' HREF='#10120'>

Top SQL Command Types

</A>

</UL>

<A class='awr' HREF='#top'>Back to Top</A><P>

<A class='awr' NAME='10100'></A>

<H3 class='awr'>Top Service/Module</H3>

<UL>

</UL>

<TABLE BORDER=1><TR><TH class='awrbg'>Service</TH><TH class='awrbg'>Module</TH><TH class='awrbg'>% Activity</TH><TH class='awrbg'>Action</TH><TH class='awrbg'>% Action</TH></TR>

<TR><TD class='awrc'>SYS$BACKGROUND</TD> <TD class='awrc'>UNNAMED</TD> <TD ALIGN='right' class='awrc'>100.00</TD> <TD class='awrc'>UNNAMED</TD> <TD ALIGN='right' class='awrc'>100.00</TD></TR>

</TABLE><P>

<A class='awr' HREF='#102'>Back to Load Profile</A>

<BR><A class='awr' HREF='#top'>Back to Top</A><P>

<A class='awr' NAME='10110'></A>

</TABLE><P>

<H3 class='awr'>Top Client IDs</H3>

<P>

No data exists for this section of the report.

<P>

<A class='awr' HREF='#102'>Back to Load Profile</A>

<BR><A class='awr' HREF='#top'>Back to Top</A><P>

<A class='awr' NAME='10120'></A>

</TABLE><P>

<H3 class='awr'>Top SQL Command Types</H3>

<P>

No data exists for this section of the report.

<P>

<A class='awr' HREF='#102'>Back to Load Profile</A>

<BR><A class='awr' HREF='#top'>Back to Top</A><P>

<P>

<A class='awr' NAME='104'></A>

<H2 class='awr'>

Top SQL

</H2>

<UL>

<LI class='awr'><A class='awr' HREF='#10300'>

Top SQL Statements

</A>

<LI class='awr'><A class='awr' HREF='#10370'>

Top SQL using literals

</A>

<LI class='awr'><A class='awr' HREF='#99997'>

Complete List of SQL Text

</A>

</UL>

<A class='awr' HREF='#top'>Back to Top</A><P>

<A class='awr' NAME='10300'></A>

</TABLE><P>

<H3 class='awr'>Top SQL Statements</H3>

<P>

No data exists for this section of the report.

<P>

<A class='awr' HREF='#104'>Back to Top SQL</A>

<BR><A class='awr' HREF='#top'>Back to Top</A><P>

<A class='awr' NAME='10370'></A>

</TABLE><P>

<H3 class='awr'>Top SQL using literals</H3>

<P>

No data exists for this section of the report.

<P>

<A class='awr' HREF='#104'>Back to Top SQL</A>

<BR><A class='awr' HREF='#top'>Back to Top</A><P>

<A class='awr' NAME='99997'></A>

<P>

<H3 class='awr'>Complete List of SQL Text</H3><P>

<P>

No data exists for this section of the report.

<P>

<A class='awr' HREF='#104'>Back to Top SQL</A>

<BR><A class='awr' HREF='#top'>Back to Top</A><P>

<P>

<A class='awr' NAME='10380'></A>

</TABLE><P>

<H3 class='awr'>Top PL/SQL Procedures</H3>

<P>

No data exists for this section of the report.

<P>

<BR><A class='awr' HREF='#top'>Back to Top</A><P>

<P>

<A class='awr' NAME='105'></A>

<H2 class='awr'>

Top Sessions

</H2>

<UL>

<LI class='awr'><A class='awr' HREF='#10310'>

Top Sessions

</A>

<LI class='awr'><A class='awr' HREF='#10320'>

Top Blocking Sessions

</A>

<LI class='awr'><A class='awr' HREF='#10330'>

Top Sessions running PQs

</A>

</UL>

<A class='awr' HREF='#top'>Back to Top</A><P>

<A class='awr' NAME='10310'></A>

<H3 class='awr'>Top Sessions</H3>

<UL>

<LI class='awr'> '# Samples Active' shows the number of ASH samples in which the session

was found waiting for that particular event. The percentage shown

in this column is calculated with respect to wall clock time

and not total database activity.

<LI class='awr'> 'XIDs' shows the number of distinct transaction IDs sampled in ASH

when the session was waiting for that particular event

<LI class='awr'> For sessions running Parallel Queries, this section will NOT aggregate

the PQ slave activity into the session issuing the PQ. Refer to

the 'Top Sessions running PQs' section for such statistics.

</UL>

<TABLE BORDER=1><TR><TH class='awrbg'>Sid, Serial#</TH><TH class='awrbg'>% Activity</TH><TH class='awrbg'>Event</TH><TH class='awrbg'>% Event</TH><TH class='awrbg'>User</TH><TH class='awrbg'>Program</TH><TH class='awrbg'># Samples Active</TH><TH class='awrbg'>XIDs</TH></TR>

<TR><TD ALIGN='right' class='awrc'>166, 1</TD> <TD ALIGN='right' class='awrc'>100.00</TD> <TD class='awrc'>log file parallel write</TD> <TD ALIGN='right' class='awrc'>100.00</TD>

<TD class='awrc'>SYS</TD> <TD class='awrc'>oracle@linux (LGWR)</TD> <TD ALIGN='right' class='awrc'>5/3,613 [ 0%]</TD> <TD ALIGN='right' class='awrc'>0</TD></TR>

</TABLE><P>

<A class='awr' HREF='#105'>Back to Top Sessions</A>

<BR><A class='awr' HREF='#top'>Back to Top</A><P>

<A class='awr' NAME='10320'></A>

</TABLE><P>

<H3 class='awr'>Top Blocking Sessions</H3>

<P>

No data exists for this section of the report.

<P>

<A class='awr' HREF='#105'>Back to Top Sessions</A>

<BR><A class='awr' HREF='#top'>Back to Top</A><P>

<A class='awr' NAME='10330'></A>

</TABLE><P>

<H3 class='awr'>Top Sessions running PQs</H3>

<P>

No data exists for this section of the report.

<P>

<A class='awr' HREF='#105'>Back to Top Sessions</A>

<BR><A class='awr' HREF='#top'>Back to Top</A><P>

<P>

<A class='awr' NAME='106'></A>

<H2 class='awr'>

Top Objects/Files/Latches

</H2>

<UL>

<LI class='awr'><A class='awr' HREF='#10340'>

Top DB Objects

</A>

<LI class='awr'><A class='awr' HREF='#10350'>

Top DB Files

</A>

<LI class='awr'><A class='awr' HREF='#10360'>

Top Latches

</A>

</UL>

<A class='awr' HREF='#top'>Back to Top</A><P>

<A class='awr' NAME='10340'></A>

</TABLE><P>

<H3 class='awr'>Top DB Objects</H3>

<P>

No data exists for this section of the report.

<P>

<A class='awr' HREF='#106'>Back to Top Objects/Files/Latches</A>

<BR><A class='awr' HREF='#top'>Back to Top</A><P>

<A class='awr' NAME='10350'></A>

</TABLE><P>

<H3 class='awr'>Top DB Files</H3>

<P>

No data exists for this section of the report.

<P>

<A class='awr' HREF='#106'>Back to Top Objects/Files/Latches</A>

<BR><A class='awr' HREF='#top'>Back to Top</A><P>

<A class='awr' NAME='10360'></A>

</TABLE><P>

<H3 class='awr'>Top Latches</H3>

<P>

No data exists for this section of the report.

<P>

<A class='awr' HREF='#106'>Back to Top Objects/Files/Latches</A>

<BR><A class='awr' HREF='#top'>Back to Top</A><P>

<P>

<A class='awr' NAME='10200'></A>

<H3 class='awr'>Activity Over Time</H3>

<UL>

<LI class='awr'> Analysis period is divided into smaller time slots

<LI class='awr'> Top 3 events are reported in each of those slots

<LI class='awr'> 'Slot Count' shows the number of ASH samples in that slot

<LI class='awr'> 'Event Count' shows the number of ASH samples waiting for

that event in that slot

<LI class='awr'> '% Event' is 'Event Count' over all ASH samples in the analysis period

</UL>

<TABLE BORDER=1><TR><TH class='awrbg'>Slot Time (Duration)</TH><TH class='awrbg'>Slot Count</TH><TH class='awrbg'>Event</TH><TH class='awrbg'>Event Count</TH><TH class='awrbg'>% Event</TH></TR>

<TR><TD ALIGN='right' class='awrc'>07:10:00 (5.0 min)</TD> <TD ALIGN='right' class='awrc'>1</TD> <TD class='awrc'>log file parallel write</TD> <TD ALIGN='right' class='awrc'>1</TD> <TD ALIGN='right' class='awrc'>20.00</TD></TR>

<TR><TD ALIGN='right' class='awrnc'>07:20:00 (5.0 min)</TD> <TD ALIGN='right' class='awrnc'>1</TD> <TD class='awrnc'>log file parallel write</TD> <TD ALIGN='right' class='awrnc'>1</TD> <TD ALIGN='right' class='awrnc'>20.00</TD></TR>

<TR><TD ALIGN='right' class='awrc'>07:50:00 (5.0 min)</TD> <TD ALIGN='right' class='awrc'>1</TD> <TD class='awrc'>log file parallel write</TD> <TD ALIGN='right' class='awrc'>1</TD> <TD ALIGN='right' class='awrc'>20.00</TD></TR>

<TR><TD ALIGN='right' class='awrnc'>08:00:00 (5.0 min)</TD> <TD ALIGN='right' class='awrnc'>2</TD> <TD class='awrnc'>log file parallel write</TD> <TD ALIGN='right' class='awrnc'>2</TD> <TD ALIGN='right' class='awrnc'>40.00</TD></TR>

</TABLE><P>

<BR><A class='awr' HREF='#top'>Back to Top</A><P>

<P>

End of Report

</BODY></HTML>

Report written to ashrpt_1_0125_0807.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: