Understanding statspack report(CPU time in top time events)

Hi,
I am using oracle 9.2.0.8 RAC on SUN solaris platform.I am trying to understand my DB statistics using the below statspack report.Can you please coment on the below report
My quetions/thoughts are:
1) CPU time is in the top timed events,Is that eman some need to do with CPU increase.Was CPU bottleneck?
2) Parse CPU to Parse Elapsd %: 80.28 .Is this means I am hard parsing most of the time.How can identify which queries doing more hard parses.what is mean by% Non-Parse CPU: 98.76
3) Memory Usage %: 96.25 96.64.It seems to be there is too much memory usage.Can you elaborate this usage about what could be the reasons for this to happen
4) global cache cr request is coming in the top wait evetns and top timed events.Is there some issue with RAC?
5) can you please explain about 5 CR Blocks Served (RAC) and 5 CU Blocks Served (RAC) and Top 5 ITL Waits per
Your help is appreciated!!
Load Profile
~~~~~~~~~~~~ Per Second Per Transaction
Redo size: 2,101,521.49 18,932.15
Logical reads: 91,525.82 824.54
Block changes: 6,720.68 60.55
Physical reads: 5,644.92 50.85
Physical writes: 464.97 4.19
User calls: 922.79 8.31
Parses: 342.37 3.08
Hard parses: 1.52 0.01
Sorts: 324.18 2.92
Logons: 2.66 0.02
Executes: 2,131.75 19.20
Transactions: 111.00
% Blocks changed per Read: 7.34 Recursive Call %: 78.48
Rollback per transaction %: 22.43 Rows per Sort: 15.89
Instance Efficiency Percentages (Target 100%)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer Nowait %: 99.66 Redo NoWait %: 100.00
Buffer Hit %: 93.86 In-memory Sort %: 100.00
Library Hit %: 99.95 Soft Parse %: 99.56
Execute to Parse %: 83.94 Latch Hit %: 99.79
Parse CPU to Parse Elapsd %: 80.28 % Non-Parse CPU: 98.76
Shared Pool Statistics Begin End
Memory Usage %: 96.25 96.64
% SQL with executions>1: 34.19 32.67
% Memory for SQL w/exec>1: 39.87 40.47
Top 5 Timed Events
~~~~~~~~~~~~~~~~~~ % Total
Event Waits Time (s) Ela Time
CPU time 10,406 42.54
db file sequential read 1,707,372 4,282 17.51
global cache cr request 2,566,822 2,369 9.68
db file scattered read 1,109,892 1,719 7.03
SQL*Net break/reset to client 17,287 1,348 5.51
Wait Events for DB: Instance:
-> s - second
-> cs - centisecond - 100th of a second
-> ms - millisecond - 1000th of a second
-> us - microsecond - 1000000th of a second
-> ordered by wait time desc, waits desc (idle events last)
Avg
Total Wait wait Waits
Event Waits Timeouts Time (s) (ms) /txn
db file sequential read 1,707,372 0 4,282 3 8.5
global cache cr request 2,566,822 3,356 2,369 1 12.8
db file scattered read 1,109,892 0 1,719 2 5.5
SQL*Net break/reset to clien 17,287 0 1,348 78 0.1
buffer busy waits 312,198 11 1,082 3 1.6
Message was edited by:
user509266

This statspack taken for 30 minutes interval.We have 16 CPU's.We never got ORA-4031 errors.It means you have 16 * 30 * 60 = 28,800 seconds CPU available during the interval but you only used 10,406. So you don't have a CPU problem.
For Statspack documentation, you can have a look to <ORACLE_HOME>/rdbms/admin/spdoc.txt, Metalink note 228913.1, Jonathan Lewis Scratchpad, books commended by Rajesh Kumar Yogi and also to http://www.oracle.com/technology/deploy/performance/index.html

Similar Messages

  • Elapsed Time in Statspack report

    There is a java process that made updates to 1 millon rows in the oracle database table. A commit was issued after each update statement in the code. There were 10 java threads(processes) involved in updating the 1 million rows and the total time took 3 hours and 40 minutes. However, in the statspack report pulled for that time period, it indicates that the total elapsed time was 4 hours and 3 minutes. What may be the cause for this difference ?

    Thanks to all. I was also reading the same site. ALso what does these mean in case of session details.
    memory sorts, table scans, physical reads, logical reads, cursors.
    In some of the sessions I have these figures. What can I figure out from this.
    (giving the output in vertical way)
    ID 105
    Status - INACTIVE
    Machine- ebank_prd
    User Name - EVENT
    Elapsed Time- 16,237
    CPU Used     -645
    Memory Sorts-25
    Table Scans - 7866
    Physical Reads -134
    Logical Reads- 115249
    Commits     7981
    Cursor 104     
    Buffer Cache Hit Ratio 100
    Another one :
    26,INACTIVE,ebank_prd,CAIORA, 239,105, 31,093, 9,636, 67,032, 56,334 45,543, 860     0     8     100
    Here the epalsed time is 239,105,
    cpu used is 31,093
    memory sorts is 9,636
    table scans is 67,032
    physical read 56,334
    logical reads 45,543,860
    The figures are so high
    I performance is slow and what shall I do next to find out whats wrong by looking at the values.
    Waiting for your answer.
    Thanks again
    SL

  • CPU Time in Top 5 Timed Events

    Hi,
    We have a 2 node RAC database(10.2.0.3) on Solaris 10.
    There is performance issue with CMRO application R12.
    In database I see CPU time consistently as the top wait event in the Top 5 Timed Events.
    This is mostl followed by db file sequential read.
    For one of the days:
    Top 5 Timed Events
    Event Waits Time(s) Avg Wait(ms) % Total Call Time Wait Class
    CPU time 8,383 82.8
    db file sequential read 173,417 838 5 8.3 User I/O
    SQL*Net break/reset to client 26,015 651 25 6.4 Application
    enq: TX - row lock contention 1,063 356 335 3.5 Application
    gcs log flush sync 37,747 88 2 .9 Other
    For other day:
    Top 5 Timed Events
    Event Waits Time(s) Avg Wait(ms) % Total Call Time Wait Class
    CPU time 25,286 62.0
    db file sequential read 2,644,332 8,267 3 20.3 User I/O
    gc buffer busy 1,358,725 3,830 3 9.4 Cluster
    read by other session 438,494 1,169 3 2.9 User I/O
    SQL*Net more data to client 19,423 879 45 2.2 Network
    Any idea of the of the bottleneck?
    Thanks

    8 CPUs, load average 4, runqueue 0 and usage 30-35%
    Does this indicate any issue with system resourcesNO. Not at all.
    However a poor schema design or inefficient SQL execution can mean that a query that should do 100 'consistent gets' is doing 10,000 'consistent gets' -- in the buffer cache, consuming CPU and not waiting for I/O. This is a scenario where you have idle CPU but CPU usage is inefficient. (Thus, for example, adding more CPUs will not help your users at all).
    So you should look at the queries and see if queries can be improved.
    If, on the other hand, users are not complaining of performance and all response times are within expectations, than you have no issue at all.
    Hemant K Chitale

  • Db Time in Statspack report...

    Hi ,
    I generated a statspack report of 22 minutes duration.
    In the Instance Activity Stats DB/Inst portion of the report , there are the following figures , regarding the Db Time statistic:
    Total Per Second Per Transaction
    530,488 400.7 1,449.4
    whereas in the Time Model System Stats DB/Inst portion of the report , there is the following:
    Time (s)
    Db Time 94.2
    When the report was generated , there were a typical number of sessions that Oracle creates (sys , system , e.t.c.) and just one application user who has been runnning some forms -developed in Oracle Forms 10g.
    How the above figures can be explained..?????
    Thanks , a lot
    Simon
    Message was edited by:
    sgalaxy

    The figure 530,488 shows the total amount of time since the instance startup.
    The question is in which metric the Per Second Instance Activity Stats DB/Inst is calculated (i.e. the value of 400.7)- in seconds , milliseconds ...????
    Simon

  • StatsPack Report Top 5 Timed Events

    Here is my StatsPack report , The 1st one is base line, Performance looks nice here , but in 2nd and 3rd its not good. Need suggestion , what this reprot mean. and what should i do next.
    Cache Sizes (end)
    ~~~~~~~~~~~~~~~~~
    Buffer Cache: 1,920M Std Block Size: 16K
    Shared Pool Size: 304M Log Buffer: 20,480K
    Performance is good here
    Top 5 Timed Events
    ~~~~~~~~~~~~~~~~~~ % Total
    Event Waits Time (s) Ela Time
    enqueue 15,551 25,630 41.78
    db file sequential read 1,281,988 10,205 16.64
    CPU time 7,781 12.68
    log file sync 325,921 6,482 10.57
    buffer busy waits 199,959 2,591 4.22
    Performance is not good here
    Top 5 Timed Events
    ~~~~~~~~~~~~~~~~~~ % Total
    Event Waits Time (s) Ela Time
    db file sequential read 1,180,605 10,883 23.99
    CPU time 8,012 17.66
    log file sync 365,098 7,788 17.17
    enqueue 8,906 6,413 14.13
    db file scattered read 137,606 2,930 6.46
    Top 5 Timed Events
    ~~~~~~~~~~~~~~~~~~ % Total
    Event Waits Time (s) Ela Time
    enqueue 14,413 18,029 27.04
    db file sequential read 1,281,801 12,383 18.57
    CPU time 10,002 15.00
    log file sync 356,982 8,488 12.73
    row cache lock 1,765 3,510 5.27

    >
    Top 5 Timed Events
    ~~~~~~~~~~~~~~~~~~ % Total
    Event Waits Time (s) Ela Time
    > enqueue 14,413 18,029 27.04> db file sequential read 1,281,801 12,383 18.57
    CPU time 10,002 15.00
    log file sync 356,982 8,488 12.73
    > row cache lock 1,765 3,510 5.27
    buffer busy waits 199,959 2,591 4.22
    Look into these events, enqueue, row cache lock, buffer busy wait
    select * from V$ENQUEUE_STAT
    to find out which enqueue the database has been waiting on.
    The three events could be related.
    Most likely you have one/some hot objects that a lot queries updating on at the same time.
    also check
    v$session_wait
    when you have the performance issue to find out the hot objects.

  • Top Time Event "PX Deq Credit: send blkd"

    Hi,
    I have this event on TOP of my Wait Events Statspack Report. Anyone know how to minimize the time of this event?? Increase the number os parallel_max_servers will help me???
    Tks,
    Paulo.

    What's your Oracle version and OS ?
    Are you using 8i with OPS (Oracle Parallel Server) ?

  • Currency translation taking more time at first time in the report

    Hi All,
    Here is an issue regarding the currency translation in the report. when we click on the currency translation from the contaxt menu on the report, its taking more time for the first time to get the selection options. But it is fast from the second time onwards. It will be not user friendly if its takes more time for the first time. Is there any way to fast up the processing time for the first time when i go for the "currency translation" option at report level for the first time.
    let me know why it takes more time for the first time when we go for this option at report level.
    Thanks,
    Jack

    Once again from the top.
    This is undoubtedly not a database issue.
    I doubt you can fix it in the database.
    You can, however, spend a lot of hours asking questions and poking around if you are a consultant paid by the hour.
    But as long as you are looking for something to do here are some that won't fix the problem but may be worth a few minutes of your time.
    WHERE 1 = 1Are you kidding? Drop this nonsense. The Oracle optimizer is not brain dead. If it were my database I would also drop the parallel hint like a bad habit.
    /*+ parallel(rp1, 8) */Again the Oracle optimizer is not brain dead. Ask for parallel threads that don't exist and the database will just queue your SQL and let it sit there until sufficient resources become available.

  • Report Background Engine takes long time

    Hi all,
    I'm using Reports6i while the db is a 10gXE instance.
    When I click for the report, I see RBE starts but nothing happens for about 2-3 minutes; also in task manager I see RBE doesn't use CPU. After those minutes, ther parameter form appears. Even if the report doesn't require parameters, it still takes 2-3 minutes to show something.
    I also have other reports made with Reports6i and their behaviour is completely different: they take 2-3 seconds! The difference is these reports work on Oracle 8 instances.
    Maybe the problem is the Reports6i-Oracle10gXE interface?

    Formatting page 1 often means that the query is still executing, not that the page is formatting page 1.
    If the report is "Formating page 2" for a long while on a 3 page report (assuming page 2 is not another query in a different report section) it would seem that the query is passing bits of data back to the report a bit at a time.
    In this case try adding the ALL_ROWS hint which forces Oracle to retrieve all rows (you optimizer may be set to first_rows)

  • Reporting Sevices 2005 hangs every time after 3min running on Win 2008 R2

    Dear all,
    we installed Reporting Services 2005 Standard Edition running latest SP4 and Cumulative Update on Windows Server 2008 R2 x64 Enterprise Edition. The Server has 128 GB of RAM with 12 physical / 24 logical cores.
    So far the Reporting Services instance is starting, but the first access to the application takes very long. Warm up time is about 5 minutes. Then the application is working for about 3 minutes until it stops responding.
    A restart of IIS and Reporting Services Service had no effect on this issue. The logs do not contain any error message.
    The last entry of my log file is a normal info message:
    w3wp!library!8!07.08.2014-09:56:00:: i INFO: Cleaned 0 batch records, 0 policies, 0 sessions, 0 cache entries, 0 snapshots, 0 chunks, 0 running jobs, 0 persisted streams
    Is there anything we can do?
    I apprecieate any help.
    Thanks,
    Mark
    Mark Kuschel
    Blog
    Xing

    Hi Mark,
    If I understand correctly, you are render a report using a lot of time in report server. And we cannot find any error message in the log file.
    To troubleshoot this issue, we can use the report execution log to find out how often a report is requested, what formats are used the most, and how many milliseconds spent retrieving the data, processing the report, and rendering the report. Then refer
    to the time to take actions to improve the performance.
    Reference:
    ExecutionLog2 View - Analyzing and Optimizing Reports
    Troubleshooting Reports: Report Performance
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Why UPD processes execute report RSM13000 for very long time?

    Hi,
    When I use sm50 or sm51 to check my CRM system which version is 5.0, I found some UPD processes execute report RSM13000 for very long time. And some DIA processes are executing report SAPMSSY1 for verly long time too. They are occupy lot of processes of system. How does this happen? What's the reason and how to solve it? Thanks for your help!
    Many thanks and Best regards,
    Long

    Please check the configurtion of your system.As per your reply it seems that the work processes are not sufficient in the system.
    Hi wait time and response time  ,is  problem in the system.Either you have a lot of load on the system or you CPU's are over loaded.
    Please check the system status from st06 and look for the cpu utilisation /memory utilisation.
    SM66 to see the long running online and background jobs.
    St03n - look for the workload and wait times for all transactions.
    st02-may help in checking the memory paramaetrs.
    Hope it will help you in resolving the issue.
    Thanks
    Amit

  • TS1702 Hello I would like to report game loft order and chaos that's I but rune stones buy my visa around 300 usd and runes was on sale but thy don't add the rune stones it's 5700 Rune stones  I report to game loft 6 time and thy ignore me I'm here to Com

    Hello I would like to report game loft order and chaos that's I but rune stones buy my visa around 300 usd and runes was on sale but thy don't add the rune stones it's 5700 Rune stones  I report to game loft 6 time and thy ignore me I'm here to Complaint that to iTunes I wish you help me for this complaint cause this game loft always ignore people only take moony and no replay . Ty

    You are not addresing Apple here. Were are all just users like yourself. Contact Apple/iTunes by:
    How to report/refund an issue with your iTunes Store, App Store, Mac App Store, or iBooks Store purchase

  • How can we take backup of all the RDL'S existing at Report server dynamically at one time

    How can we take backup of all the RDL'S existing at Report server dynamically at one time ? I want to take backup of all the reports existing at the report server dynamically at one time only. currently I'm able to take backup of the reports folder wise
    using VBScript. and I have to pass the folder names again and again. I want this to be happened for all the reports of all the folders at single shot only using VBScript.

    Hi DineshRemash,
    Based on my research, we can store the following VB Script to a text file, then modify the file name extension from .txt to .rss.
    Dim rootPath As String = "C:\Reports"
    Sub Main()
    Dim items As CatalogItem() = _
    rs.ListChildren("/", true)
    For Each item As CatalogItem in items
    If item.Type = ItemTypeEnum.Folder Then
    CreateDirectory(item.Path)
    Else If item.Type = ItemTypeEnum.Report Then
    SaveReport(item.Path)
    End If
    Next
    End Sub
    Sub CreateDirectory(path As String)
    path = GetLocalPath(path)
    System.IO.Directory.CreateDirectory(path)
    End Sub
    Sub SaveReport(reportName As String)
    Dim reportDefinition As Byte()
    Dim document As New System.Xml.XmlDocument()
    reportDefinition = rs.GetReportDefinition(reportName)
    Dim stream As New MemoryStream(reportDefinition)
    document.Load(stream)
    document.Save(GetLocalPath(reportName) + ".rdl")
    End Sub
    Function GetLocalPath(rsPath As String) As String
    Return rootPath + rsPath.Replace("/", "\")
    End Function
    Then navigate to the folder contains the script, we can directly run the below command from the run menu:
    rs -s
    http://aa/ ReportServer -i download.rss
    We can modify the rootpath to point at whaterver fold you’d like to download the RDL files.
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • SSRS 2012 report integrated with SharePoint 2013 issue :Report refreshing after some idle time

    we have SSRS 2012 report integrated with SharePoint 2013  , when we click on any toggle item after some idle time of 60 secs and try again to expand
    another toggle item then  complete report is getting refreshed and  if we are in child report it is redirecting to parent report. . we didn’t set any refreshing property at report level. I hope there will be some idle time setting at sharepoint site
    level.
    what we observed.
    1. there is no problem when we expand toggle items without any idle time.
    2. when we open the report and expand few toggles and keep idle for 60 seconds and try
    again to expand another toggle item then  complete report is getting refreshed (all toggle items are collapsing).
    3. If you keep idle for 60 minutes and if you didn’t do any action like expanding toggle
    items it is not refreshing.
    why it is happening and how to stop that complete refresh.
    Surendra Thota

    Hi Surendra,
    I have tested on my local environment and the issue can be caused by the session time out ,the time out of the report precessing, database timeout,DataSet query execution timeout and so on.
    I would like to confirm that the refresh you have mentioned is the page refresh or the report reloading?
    Please reference to the setting below to don't limit the timeout values if you got the report reloading:
    Point to a report in the library.
    Click the down arrow, and select Manage processing options.
    In Processing Time-out, select Do not time out report processing or
    Limit report processing in seconds if you want to override that value with no time-out or different time-out values.
    If you got the session timeout that refresh the page, please reference to the setting in below article:
    http://msdn.microsoft.com/en-us/library/gg492284.aspx#bkmk_session_settings_section
    Details information in the article below about the timeout setting for your reference:
    Set Processing Options (Reporting Services in SharePoint Integrated Mode)
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu
    If you have any feedback on our support, please click
    here.
    Vicky Liu
    TechNet Community Support

  • How understand the statspack report

    Hi
    My question is any special method or technique for reading statspack report.or how can i understand which parameter should be change(increase or decrease) and peformance moniter.
    Thanks.

    If you have access to Metalink, refer to the following notes:
    - Note:94224.1 FAQ- Statspack Complete Reference
    - Note:228913.1 Systemwide Tuning using STATSPACK Reports

  • Urgent: Getting FRM-41211 when calling reports from forms for first time.

    Hi,
    We are running into the FRM-41211 error, when the users try to call a report from a form. The report is called from a form in SYNCHRONOUS mode. This is the only report that is being called. No other report is
    running at that time when the users get this error. This is happening only the first time when they try to call the report from the form. After getting this error, when they click on OK, and when they try to call this
    report again, the report works fine.
    Any ideas?? It's urgent...
    Thanks
    Vamshi.
    null

    Maybe try to use "run_report_product"?

Maybe you are looking for

  • Photoshop CC displays flat images

    Hi. I've been reading these forums for an hour. They all say the same thing, more or less: Edit> Color Settings> North America Standard> SRGB or AdobeRGB (which I have chosen)> Preserve all the settings> Check all the boxes. North America Standard be

  • TS3074 error 7 windows error 1114

    i followed all the support instructions but the error 7 windows error 1114 persists. I also have uninstalled and reinstalled iTunes and QuickTime but nothing changes. what should I do? I've installed microsoft.net 3.5 but windows tells me that micros

  • P.O. Delivery Complete Indicator

    Hi, We have purchase orders that are not getting the delivery complete indicator checked off when the GR comes in.  Does anyone know of a program that can go out and look for any PO's that should have the delivery complete indicator checked and autom

  • Contract creation in SRM 7.0

    Hi,      We are using SRM 7.0 as backend ECC EH4. I want to create Global Outline Agreement (GCTR) in SRM which will replicate on ECC but I donu2019t want to use PI so thatu2019s why I mentioned system type ERP_2.0 instead of ERP_4.0 in Define System

  • Change zoom menu presets in photoshop cs4

    is there a way to add more presets to the Zoom Preset Menu? by default it only has 25%, 50%, 100% and 200%. i would like to add a lot more so i could possibly get better zooming  experience with the wacom tablet wheel. as opposed to jsut scrolling th