Enter value for begin_time: 08/03 15:00:00 Report begin time specified: 08/03 15:00:00 Enter duration in minutes starting from begin time: Defaults to SYSDATE - begin_time Press Enter to analyze till current time Enter value for duration: 60 Report duration specified: 60 Using 03-Aug-12 15:00:00 as report begin time Using 03-Aug-12 16:00:00 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 WAIT_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_0803_1600.html. To use this name, press to continue, otherwise enter an alternative. Enter value for report_name: Using the report name ashrpt_1_0803_1600.html Summary of All User Input ------------------------- Format : HTML DB Id : 2127610945 Inst num : 1 Begin time : 03-Aug-12 15:00:00 End time : 03-Aug-12 16:00:00 Slot width : Default Report targets : 0 Report name : ashrpt_1_0803_1600.html ASH Report - From 03-Aug-12 15:00:00 To 03-Aug-12 16:00:00

ASH Report For PRODB/PRODB1

DB NameDB IdInstanceInst numReleaseRACHost
PRODB2127610945PRODB1111.2.0.1.0YESHPPRDDB1

CPUsSGA SizeBuffer CacheShared PoolASH Buffer Size
128417,456M (100%)144,384M (34.6%)47,918M (11.5%)M (%)

Sample TimeData Source
Analysis Begin Time:03-Aug-12 15:00:00DBA_HIST_ACTIVE_SESS_HISTORY
in AWR snapshot 18027
Analysis End Time:03-Aug-12 16:00:00DBA_HIST_ACTIVE_SESS_HISTORY
in AWR snapshot 18029
Elapsed Time: 60.0 (mins) Missing 114.0 mins (190%) of activity
Sample Count: 60,110 
Average Active Sessions: 166.97 
Avg. Active Session per CPU: 1.30 
Report Target:None specified 

ASH Report


Back to Top

Top Events

Back to Top

Top User Events

EventEvent Class% EventAvg Active Sessions
latch: parallel query alloc bufferOther30.4950.90
gc buffer busy acquireCluster28.5047.58
enq: SQ - contentionConfiguration22.6937.89
db file sequential readUser I/O8.7414.60
CPU + Wait for CPUCPU5.348.92

Back to Top Events
Back to Top

Top Background Events

No data exists for this section of the report.

Back to Top Events
Back to Top

Top Cluster Events

Event% EventRemote Instance#% Activity
gc buffer busy acquire28.50 28.47
gc current request1.25 1.25

Back to Top Events
Back to Top

Top Event P1/P2/P3 Values

Event% EventP1 Value, P2 Value, P3 Value% ActivityParameter 1Parameter 2Parameter 3
latch: parallel query alloc buffer30.63"13835058492516997072","378","0"9.50 addressnumbertries
  "13835058492516997336","378","0"9.31    
  "13835058492516996808","378","0"9.30    
gc buffer busy acquire28.50"34","3244260","1"6.26 file#block#class#
  "193","48279","1"4.95    
  "34","3244270","1"4.21    
enq: SQ - contention22.69"1397817350","98025","0"22.69 name|modeobject #0
db file sequential read8.75"1","83611","1"0.00 file#block#blocks
gc current request1.25"23","3063286","33554433"0.06 file#block#id#

Back to Top Events
Back to Top

Load Profile

Back to Top

Top Service/Module

ServiceModule% ActivityAction% Action
PRODBJDBC Thin Client61.78UNNAMED61.78
 PL/SQL Developer31.33SQL 窗口 - 新建30.85
SYS$USERSJDBC Thin Client5.46UNNAMED5.46

Back to Load Profile
Back to Top

Top Client IDs

No data exists for this section of the report.

Back to Load Profile
Back to Top

Top SQL Command Types

SQL Command TypeDistinct SQLIDs% ActivityAvg Active Sessions
SELECT2,93156.7594.76
UPDATE6226.2043.75

Back to Load Profile
Back to Top

Top Phases of Execution

Phase of Execution% ActivityAvg Active Sessions
SQL Execution84.54141.16
Sequence Load22.7537.99
Parse1.061.78

Back to Load Profile
Back to Top

Top Remote Instances

Wait Class% Wait ClassRemote Instance#% Activity
Cluster29.99 29.88

Back to Load Profile
Back to Top

Top SQL

Back to Top

Top SQL with Top Events

SQL IDPlanhashSampled # of Executions% ActivityEvent% EventTop Row Source% RwSrcSQL Text
5ay6kfp4h2g12239693087365525.87 gc buffer busy acquire25.07UPDATE25.07 UPDATE LDMAXNO SET MAXNO = MAX...
7xx90b6mb3mdp231048204658222.68 enq: SQ - contention22.62SEQUENCE22.62 select SEQ_LOGNO.nextval from ...
a6cw2bq138t6c2481148706117.72 latch: parallel query alloc buffer17.08PX COORDINATOR17.08 ** SQL Text Not Available **

Back to Top SQL
Back to Top

Top SQL with Top Row Sources

SQL IDPlanHashSampled # of Executions% ActivityRow Source% RwSrcTop Event% EventSQL Text
5ay6kfp4h2g12239693087365525.87 UPDATE25.87gc buffer busy acquire25.07 UPDATE LDMAXNO SET MAXNO = MAX...
7xx90b6mb3mdp231048204658222.68 SEQUENCE22.68enq: SQ - contention22.62 select SEQ_LOGNO.nextval from ...
a6cw2bq138t6c2481148706117.72 PX COORDINATOR17.72latch: parallel query alloc buffer17.08 ** SQL Text Not Available **

Back to Top SQL
Back to Top

Top SQL using literals

FORCE_MATCHING_SIGNATURE% Activity# of Sampled SQL VersionsExample SQL 1Example SQL TEXT 1Example SQL 2Example SQL TEXT 2
175483062863017606381.0716 00rw07rqm1c2q select n.prtno, m.contno , (se... gzagvg5r0qhps select n.prtno, m.contno , (se...
117617595789461317561.0538        

Back to Top SQL
Back to Top

Top Parsing Module/Action

ModuleAction% ActivityEvent% Event
JDBC Thin Client 1.05CPU + Wait for CPU0.89

Back to Top SQL
Back to Top

Complete List of SQL Text

SQL IdSQL Text
00rw07rqm1c2q select n.prtno, m.contno , (select appntname from lcappnt where contno= m.contno), m.amnt, m.PREM, (select count(distinct contno) from ljapayperson where ljapayperson.contno=n.contno), m.agentcode, (select name from laagent where agentcode = trim(m.agentcode)), (case when ((select codename from ldcode where codetype = 'agenttype' and code = n.selltype) is null or (select codename from ldcode where codetype = 'agenttype' and code = n.selltype) = '') then '团体直销' else (select co dename from ldcode where codetype = 'agenttype' and code = n.selltype) end), (select codename from ldcode where codetype = 'payintv' and code = m.payintv) from lcpol m, lccont n where m.riskcode='00358009' and m.contno=n.contno and n.cardflag='3' and n.managecom like '86270000%' and n.signdate between date'2012-06-05' and date'2012-06-06' union select n.prtno, m.contno, (select appntname from lcappnt where contno = m.contno), m.amnt, m.PREM, (select count(distinct contno) from ljapa yperson a where a.contno = n.contno and a.paycount = (select max(paycount) from ljapayperson where contno = a.contno and riskcode = a.riskcode)), m.agentcode, (select name from laagent where agentcode = trim(m.agentcode)), (select codename from ldcode where codetype = 'salechnl' and code = n.salechnl), (select codename from ldcode where codetype = 'payintv' and code = m.payintv) from lcpol m, lccont n where m.riskcode = '00358009' and m.contno = n.contno and n.cardflag = '3' and exists(selec t 1 from ljapay where othernotype = '24' and otherno = n.contno ) and m.appflag = '1' and n.managecom like '86270000%' and m.cvalidate between date '2012-06-05' and date '2012-06-06'
5ay6kfp4h2g12UPDATE LDMAXNO SET MAXNO = MAXNO+1 WHERE NOTYPE = :B2 AND NOLIMIT = :B1 RETURNING MAXNO INTO :O0
7xx90b6mb3mdpselect SEQ_LOGNO.nextval from dual
a6cw2bq138t6c** SQL Text Not Available **
gzagvg5r0qhps select n.prtno, m.contno , (select appntname from lcappnt where contno= m.contno), m.amnt, m.PREM, (select count(distinct contno) from ljapayperson where ljapayperson.contno=n.contno), m.agentcode, (select name from laagent where agentcode = trim(m.agentcode)), (case when ((select codename from ldcode where codetype = 'agenttype' and code = n.selltype) is null or (select codename from ldcode where codetype = 'agenttype' and code = n.selltype) = '') then '团体直销' else (select co dename from ldcode where codetype = 'agenttype' and code = n.selltype) end), (select codename from ldcode where codetype = 'payintv' and code = m.payintv) from lcpol m, lccont n where m.riskcode='00355009' and m.contno=n.contno and n.cardflag='3' and n.managecom like '862711%' and n.signdate between date'2012-08-01' and date'2012-08-31' union select n.prtno, m.contno, (select appntname from lcappnt where contno = m.contno), m.amnt, m.PREM, (select count(distinct contno) from ljapayp erson a where a.contno = n.contno and a.paycount = (select max(paycount) from ljapayperson where contno = a.contno and riskcode = a.riskcode)), m.agentcode, (select name from laagent where agentcode = trim(m.agentcode)), (select codename from ldcode where codetype = 'salechnl' and code = n.salechnl), (select codename from ldcode where codetype = 'payintv' and code = m.payintv) from lcpol m, lccont n where m.riskcode = '00355009' and m.contno = n.contno and n.cardflag = '3' and exists(select 1 fr om ljapay where othernotype = '24' and otherno = n.contno ) and m.appflag = '1' and n.managecom like '862711%' and m.cvalidate between date '2012-08-01' and date '2012-08-31'

Back to Top SQL
Back to Top

Top PL/SQL Procedures

PLSQL Entry Subprogram% ActivityPLSQL Current Subprogram% Current
LIS.CREATEMAXNO26.23 SQL26.23


Back to Top

Top Java Workload

No data exists for this section of the report.


Back to Top

Top Call Types

Call TypeCount% ActivityAvg Active Sessions
V8 Bundled Exec37,17661.85103.27
FAST UPI3,1515.248.75


Back to Top

Top Sessions

Back to Top

Top Sessions

No data exists for this section of the report.

Back to Top Sessions
Back to Top

Top Blocking Sessions

Blocking Sid (Inst)% ActivityEvent Caused% EventUserProgram# Samples ActiveXIDs
3064,20404( 1)22.69enq: SQ - contention22.69 LISJDBC Thin Client35/360 [ 10%]0
3103, 2873( 1)9.50latch: parallel query alloc buffer9.50 LISoracle@HPPRDDB1 (P338)91/360 [ 25%]0
4286,28679( 1)9.31latch: parallel query alloc buffer9.31 LISoracle@HPPRDDB1 (P371)91/360 [ 25%]0
908,21960( 1)9.30latch: parallel query alloc buffer9.30 LISoracle@HPPRDDB1 (P405)91/360 [ 25%]0
471,57463( 1)6.26gc buffer busy acquire6.26 LISJDBC Thin Client36/360 [ 10%]0

Back to Top Sessions
Back to Top

Top Sessions running PQs

Sid,Srl# (Inst)% ActivitySQL IDEvent% EventUserProgramSQL Text
1627,62240(1)30.80a6cw2bq138t6clatch: parallel query alloc buffer17.08 UserID:  ** SQL Text Not Available **
   latch: parallel query alloc buffer13.09 UserID:  ** SQL Text Not Available **

Back to Top Sessions
Back to Top

Top Objects/Files/Latches

Back to Top

Top DB Objects

Object ID% ActivityEvent% EventObject Name (Type)Tablespace
9708326.22gc buffer busy acquire25.41 LIS.LDMAXNO (TABLE)LIS
922662.27db file sequential read1.96 LIS.LCPOL (TABLE)LIS
923591.35db file sequential read1.31 LIS.LYRETURNFROMBANKB (TABLE)LIS
958001.26gc buffer busy acquire1.20 LIS.LWMISSION (TABLE)LIS
944941.22gc buffer busy acquire1.04 LIS.LPEDORITEM (TABLE)LIS

Back to Top Objects/Files/Latches
Back to Top

Top DB Files

File ID% ActivityEvent% EventFile NameTablespace
3417.82gc buffer busy acquire17.34 +DGDATA/lisdata027LIS
1935.07gc buffer busy acquire4.95 +DGDATA/lisdata084LIS
352.25gc buffer busy acquire1.93 +DGDATA/lisdata028LIS
2241.47gc buffer busy acquire1.26 +DGDATA/lisdata097LIS
1661.25gc buffer busy acquire1.13 +DGDATA/lisdata071LIS

Back to Top Objects/Files/Latches
Back to Top

Top Latches

Latch% LatchBlocking Sid(Inst)% ActivityMax Sampled Wait secs# Waits Sampled# Sampled Wts < 10ms# Sampled Wts 10ms - 100ms# Sampled Wts 100ms - 1s# Sampled Wts > 1s
latch: parallel query alloc buffer30.633103, 2873( 1)9.500.00 00000
  4286,28679( 1)9.310.00 00000
  908,21960( 1)9.300.00 00000

Back to Top Objects/Files/Latches
Back to Top

Activity Over Time

Slot Time (Duration)Slot CountEventEvent Count% Event
15:00:00 (5.0 min)1,036db file sequential read5991.00
  CPU + Wait for CPU4010.67
  gc cr grant 2-way160.03
15:05:00 (5.0 min)963db file sequential read5440.91
  CPU + Wait for CPU3710.62
  gc cr grant 2-way110.02
15:10:00 (5.0 min)1,006db file sequential read5720.95
  CPU + Wait for CPU3720.62
  gc cr grant 2-way200.03
15:15:00 (5.0 min)1,135db file sequential read6361.06
  CPU + Wait for CPU4270.71
  direct path read430.07
15:20:00 (5.0 min)1,297db file sequential read6871.14
  CPU + Wait for CPU4990.83
  direct path read360.06
15:25:00 (5.0 min)3,301latch: parallel query alloc buffer1,9583.26
  db file sequential read6991.16
  CPU + Wait for CPU4630.77
15:30:00 (5.0 min)5,099latch: parallel query alloc buffer3,5965.98
  db file sequential read6711.12
  CPU + Wait for CPU5350.89
15:35:00 (5.0 min)21,273latch: parallel query alloc buffer7,35612.24
  gc buffer busy acquire7,00311.65
  enq: SQ - contention5,1768.61
15:40:00 (5.0 min)25,000gc buffer busy acquire10,08916.78
  enq: SQ - contention8,46514.08
  latch: parallel query alloc buffer5,5049.16


Back to Top

End of Report Report written to ashrpt_1_0803_1600.html SQL> desc LDMAXNO ERROR: ORA-04043: object LDMAXNO does not exist SQL> desc lis. LDMAXNO Usage: DESCRIBE [schema.]object[@db_link] SQL> desc lis.ldmaxno SP2-0734: unknown command beginning "desc..." - rest of line ignored. SQL> desc lis.ldmaxno Name Null? Type ---------------------------------------- -------- --------------------------- NOTYPE NOT NULL CHAR(15) NOLIMIT NOT NULL CHAR(20) MAXNO NOT NULL NUMBER(38)