What type of monitoring/report will help me here? AWR/ASH/SQLTUNE?

Hi All,
Oracle v11.2.0.2 Linux 64 bit.
In our application there is a service which keeps running on a Wondows machine and runs few (3 to 4) SQLs repeatedly.
Yesterday evening between 22:50 and 23:15 we had a performance issue with the service i.e. normally these SQLs which take between 3-6 seconds, were taking 35, 40 seconds. AFter 23:15, there was no problem because there was no data (or very less data) to process for next 2-3 hours. Later on it was running fine (back to the original timings).
Now I want to investigate that specific issue I had yesterday (about 12 - 14 hours ago). I have the SQL Ids, session id.
I don't have access to Enterprice manager or Grid control, only SQL prompt. However I can ask the DBAs to generate a report, but with all required details.
Problem is, what report do I run? what to use?
1) AWR is set to 1 hour interval. And my problem window is split in 2 different snapshots. If I look at 2 AWR reports ( 22:00 - 23:00 and 23:00 - 00:00), the numbers don't show much of an issue, as all the numbers are averaged out for the whole 1 hour (i.e. a SQL performed well 15 times and did badly 5 times, the overall average won't look bad)
2) ASH report is a complete mistry to me. I am trying to generate the report with ashrpt.sql / ashrpti.sql. Most of the sections say "No data exists for this section of the report". When using ashrpti.sql do I need to enter all the values it ask? Is there a Oracle's recomended way to give values and run this report? Documentation does not show a sample/example call which will work.
3) DBMS_SQLTUNE reports are also not showing any data. Almost blank reports. How can I find out if the data required for DBMS_SQLTUNE is there? or how long that data is retained?
We always get such delays randomly, ask a DBA, they say, "No problem". Not their fault, but they are looking at averaged out numbers.
Thoughts please.

Hi,
your problem is that you are trying to resolve a problem related to a specific statement by using instance-wide tools. You should look at performance stats for that particular statement.
1) Identify sql_id of the offending statement (e.g. select sql_id from v$sql where sql_fulltext like '%part_of_statement_text_here%', if it doesn't return results check case or look in
dba_hist_sqlstat)
2) Look for records with this sql_id in DBA_HIST_ACTIVE_SESS_HISTORY (use filter on sample_time). Compare performance indicators for the timeframe of the incident and outside it
3) You can also find performance stats for this statement in DBA_HIST_SQLSTAT, but you will have aggregates over snapshot duration
Given your symptoms, the most logical explanation is a plan flip. Check plan_hash_value in DBA_HIST_SQLSTAT -- if it changed around the time of the incident, that will confirm your suspicion.
Use dbms_stats.display_awr to display both "good" and "bad" plan. Try to understand the key difference, look at predicates for any hint that could explain it. If it doesn't give you results,
use format=>'advanced' to generate outlines for both plans, then you can set STATISTICS_LEVEL=ALL and run the statement with both plan, producing extended plan statistics. Use
dbms_xplan.display_cursor(..,..,format=>'allstats last') to display it. If having difficulty interpreting it, post it here to get the help from community.
Best regards,
Nikolay

Similar Messages

  • What type odf sd reports u have done in  ur project?

    What type odf sd reports u have done in  ur project?

    Hi Srinivas,
    SD REPORTS
    Reports: Reports consist of data, which is expected to be reveiwed or checked the transaction taken in said period. Reports are useful for analysis of decision taking for future activities.
    Some of the standard reports for SD & its configuration guide is as under:
    Standard SAP SD Reports:=
    Statistic Group:
    Purpose – To capture data for Standard Reports, we require to activate Statistic Group as under:
    --> Item category (Configuration)
    --> Sales document type (Configuration)
    --> Customer (Maintain in Master data)
    --> Material (Maintain in Master data)
    When you generate statistics in the logistics information system, the system uses the combination of specified statistics groups to determine the appropriate update sequence. The update sequence in turn determines for exactly which fields the statistics are generated.
    Configuration:
    IMG --> Logistics Information System (LIS) --> Logistics Data Warehouse --> Updating --> Updating Control --> Settings: Sales --> Statistics Groups -->
    1. Maintain Statistics Groups for Customers
    2. Maintain Statistics Groups for Material
    3. Maintain Statistics Groups for Sales Documents
    4. Assign Statistics Groups for Each Sales Document Type
    5. Assign Statistics Groups for each Sales Document Item Type.....
    All Standard Reports which are available are as under:
    SAP Easy Access: Information Systems -> Logistics -> Sales and distribution ->
    1. Customer -> Incoming orders / Returns / Sales / Credit memos / Sales activities / Customer master / Conditions / Credit Master Sheet
    2. Material -> Incoming orders / Returns / Sales / Credit memos / Material master / ...
    3. Sales organization -> Sales organization / Sales office / Sales employee
    4. Shipping point -> Deliveries / Returns
    5. SD documents -> Orders / Deliveries / Billing documents ...
    & so on.
    Some of the Standard reports in SD are:
    Sales summary - VC/2
    Display Customer Hierarchy - VDH2
    Display Condition record report - V/I6
    Pricing Report - V/LD
    Create Net Price List - V_NL
    List customer material info - VD59
    List of sales order - VA05
    List of Billing documents - VF05
    Inquiries list - VA15
    Quotation List - VA25
    Incomplete Sales orders - V.02
    Backorders - V.15
    Outbound Delivery Monitor - VL06o
    Incomplete delivery - V_UC
    Customer Returns-Analysis - MC+A
    Customer Analysis- Sales - MC+E
    Customer Analysis- Cr. Memo - MC+I
    Deliveries-Due list - VL04
    Billing due list - VF04
    Incomplete Billing documents - MCV9
    Customer Analysis-Basic List - MCTA
    Material Analysis(SIS) - MCTC
    Sales org analysis - MCTE
    Sales org analysis-Invoiced sales - MC+2
    Material Analysis-Incoming orders - MC(E
    General- List of Outbound deliveries - VL06f
    Material Returns-Analysis - MC+M
    Material Analysis- Invoiced Sales - MC+Q
    Variant configuration Analysis - MC(B
    Sales org analysis-Incoming orders - MC(I
    Sales org analysis-Returns - MC+Y
    Sales office Analysis- Invoiced Sales - MC-E
    Sales office Analysis- Returns - MC-A
    Shipping point Analysis - MC(U
    Shipping point Analysis-Returns - MC-O
    Blocked orders - V.14
    Order Within time period - SD01
    Duplicate Sales orders in period - SDD1
    Display Delivery Changes - VL22
    Please Reward If Really Helpful,
    Thanks and Regards,
    Sateesh.Kandula

  • Windows has the following information about this file type. This page will help you find software needed to open your file. Cannot get SEO quale loaded please help

    I cannot download as I keep getting this when I try
    Windows has the following information about this file type. This page will help you find software needed to open your file.
    File Type: Firefox Browser Extension
    File Extension: .xpi
    Description: Compressed archive of primary file installation components – used by the Mozilla installer script to setup and install various applications. You may search the following Web site for related software and information:
    Please advise how I go about downloading

    despite the workaround, it doesn't fix the real problem. It shouldn't be a huge deal for adobe to add support for multiple svn versions. Dreamweaver is the first tool i've used that works with svn that doesn't support several types of svn meta data. If they're going to claim that Dreamweaver supports svn is should actually support svn, the current version, not a version several years old. This should have been among the first patches released, or at least after snow leopard came out (and packaged with it the current version of svn).
    does anyone know if the code that handles meta data formatting is something that is human readable, or where it might be, or is it in compiled code.
    i signed up for the forums, for the sole purpose of being able to vent about this very frustrating and disappointing situation.

  • What type of TV's will apple TV work on?

    I am learning about Apple TV.  I would like to know all of my options as I proceed with the purchase of this new device.  What type of TV will it work with when I am using my iPad?  Is there any chance a TV that is not a flat screen TV is usable?  I have both types of televisions available to test out this new device.

    Welcome to the Apple Community.
    The Apple TV is compatible with high-definition TVs with HDMI and capable of 1080p or 720p at 60/50Hz,2 including popular models from these manufacturers: Hitachi, JVC, LG, Mitsubishi, NEC, Panasonic, Philips, Pioneer, Samsung, Sharp, Sony, Toshiba, Vizio, Westinghouse.
    It won't make any difference to the TV you can use whether you use an iPad or not.

  • How do I go about cloning my MBP? What type of external HD will support this?

    I want to backup my MBP prior to installing Lion. Some suggest to clone my HD? Never done this and after reading some posts it sounds like some External HD's will not support Mac? What about 'CCC' - Carbon copy cloner? Any thoughts?
    Looking for some advice... Type, size, etc. I currently have a W/D
    Thanks in advance.
    FYI
    MBP
    Version 10.6.8
    2.66 GHz Intel Core 2 Duo
    4 GB 1067 MHz DDR3
    My HD info says "Used" 54.6 GB
    265.13 GB available

    It makes more sense to use Time Machine to back up your hard drive, because then the Lion software will transfer the right preferences, applications, and files back to your new Lion computer.
    Get a 500GB USB 2.0 external hard drive.  You can find them from around 50-100 if you look around.  Get a portable one, so that you can carry it with you.
    CCC has some specific purposes which doesn't make sense here since you're upgrading your operating system.  If you were going to swap out your internal hard drive, for example, CCC is an absolute requirement.  I use it frequently, but not for what you're doing.

  • What type of AVI files will IMAQ routines open/read?

    It's been recommended that to be able to use images from DV firewire
    cameras with IMAQ the way to do it is to capture an AVI file and then
    use the open/read AVI Vis to process the frames. When I capture a full
    DV file using Pinnacle studio, this captures to a type 2 AVI using the
    dvsd codec. Open AVI exits with an error when trying to open these
    files. Does it need to be a type 1 AVI or use a particular codec to be
    readable by IMAQ?

    Hi Russ,
    The only caveat on the avi read functions is that the file extension should be .avi
    I'm still looking into it but it would be helpful if you could tell me what functions you are trying to use and what error codes you are seeing.
    Thanx
    AdamB
    Applications Engineering Team Leader | National Instruments | UK & Ireland

  • What type of monitors can I use with the Mac Mini?

    Hello,
    I was thinking on purchasing a Mac Mini. I was not sure if the monitor I have at work with function with the Mac Mini. It is a: 20" ViewSonic Professional Series P815...
    Does anyone know if this monitor will work with any Mac Mini? Is there an adapter for it?
    Thanks.

    It would be fine for them all - all minis have come with DVI video connectors and adapters to convert that to VGA, so aside from the possibility that the Viewsonic might suffer the greyish or dull screen problem that affected a small(ish) proportion of displays with the first generation mini, it should connect up using the adapter just fine, and be correctly recognized by the system.

  • What's query or function will help me for this issus please ?

    Hi
    I attached here jpg which will show you there 3 table A , b And c
    And i needed know how i can make Function or any thing else for know which i add into cell question mark
    Pls look into this attached and advise me
    Take your time
    http://imageshack.us/f/853/examplees.jpg/
    Edited by: 964035 on Oct 9, 2012 1:09 AM
    Edited by: 964035 on Oct 9, 2012 2:26 AM

    Below the cods for create the table and insert some data as example
    I needed know how i can Booking The item from stock for each order and how i can know the status of item it's will be available or not so we should do the order purchase for item
    Create Table Color (                                   
         Order Number(5) Not Null ,                              
         Color Varchar2(8) Not Null ,                              
         Qty Number (8) Not Null )                              
    Create Table Recipe (                                   
         Color Varchar2(8) Not Null ,                              
         Item Varchar2(8) Not Null ,                              
         Recipe Number (8) Not Null )                              
    Create Table Stock (                                   
         Item Varchar2(8) Not Null Constraint Item_PK PRIMARY KEY,               
         Qty_Of_Stock Number (8) Not Null )               
    Insert into Color VALUES ( 1500 ,     Red'     ,10);
    Insert into Color VALUES ( 1500 ,     yellow'     ,15);
    Insert into Color VALUES ( 1500 ,     Green'     ,8);
    Insert into Color VALUES ( 1500 ,     Blue'     ,7);
    Insert into Color VALUES ( 1600 ,     yellow'     ,6);
    Insert into Color VALUES ( 1600 ,     Green'     ,7);
    Insert into Color VALUES ( 1600 ,     Blue'     ,8);
    Insert into Color VALUES ( 1700 ,     Red'     ,10);
    Insert into Color VALUES ( 1700 ,     Blue'     ,15);
    Insert into Color VALUES ( 1800 ,     Green'     ,16);
    Insert into Color VALUES ( 1800 ,     yellow'     ,9);
    Insert into Recipe VALUES ( 'Red','A',0.25);
    Insert into Recipe VALUES ( 'Red','B',0.3);
    Insert into Recipe VALUES ( 'Red','C',0.2);
    Insert into Recipe VALUES ( 'Red','D',0.25);
    Insert into Recipe VALUES ( 'Yellow','C',0.1);
    Insert into Recipe VALUES ( 'Yellow','D',0.3);
    Insert into Recipe VALUES ( 'Yellow','E',0.2);
    Insert into Recipe VALUES ( 'Yellow','F',0.4);
    Insert into Recipe VALUES ( 'Green','C',0.25);
    Insert into Recipe VALUES ( 'Green','D',0.35);
    Insert into Recipe VALUES ( 'Green','E',0.2);
    Insert into Recipe VALUES ( 'Green','G','0.1);
    Insert into Recipe VALUES ( 'Green','H',0.1);
    Insert into Recipe VALUES ( 'Blue','A',0.35);
    Insert into Recipe VALUES ( 'Blue','B',0.35);
    Insert into Recipe VALUES ( 'Blue','C',0.3);
    Insert into Stock VALUES ( 'A',50);               
    Insert into Stock VALUES ( 'B',60);               
    Insert into Stock VALUES ( 'C',40);               
    Insert into Stock VALUES ( 'D',30);               
    Insert into Stock VALUES ( 'E',20);               
    Insert into Stock VALUES ( 'F',10);               
    Insert into Stock VALUES ( 'H',25);               
    Insert into Stock VALUES ( 'G',15);               
    Take your time my dear ...

  • What type of questions they will ask for the delivery ,billing area ?

    hi gurus,could u pls. let me know the questions for the delivery and billing area?
    thanks all
    arun

    HI,
    this would cover all questions
    Billing
    http://help.sap.com/saphelp_47x200/helpdata/en/93/74345c546011d1a7020000e829fd11/content.htm
    delivery
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/560708545a11d1a7020000e829fd11/content.htm
    vrajesh

  • What type of camcorder/camera will work?

    Okay, I have a Mac OS X version 10.2.8, and I wanted to know, are there any cameras or digital camcorders that would still be compatible with my computer (and iMovie version 3.0.3)? I'm not sure, since I would think they would be more compatible with the more recent Mac OS X's, but I wanted to ask here, before I bought something that won't work.

    Perhaps I should restate my question, I don't want anyone to actually find a specific camera, i'm just wondering will there be ones around today that still work with a Jaguar, if anyone has any pointers or so, i'd be willing to know...

  • What screen protector and case will you be buying for your new ipad (3rd generation)?

    Hello!
    I'd like to know what types of cases people will be buying for their new ipad this coming Friday as well as what type of screen protector/body guard you'd recommend. 
    I've been looking online trying to find places that would be able to ship before Friday, but I'm not sure which one to go with, there's too many options!  I'm definitely interested in a leather folio case though.
    I've also been wondering what type of screen protector to put on.  I've seen the iVisor anti-glare, and I really like how it works, but seriously... anti-glare on a retina display?  I don't know... any thoughts on that or suggestions?  I'd greatly appreciate it!!
    Thanks!

    I had an anti-glare screen protector on my iPad 2 and it degraded the quality of the screen so much I removed it. I have a clear skin on the back, which I like. It prevents scratches to the aluminum back and provides a gripping surface to hold on to. The iPad itself was slippery so that extra grip factor helps me. I use a smart cover for the front, because I like the features it has and the quick removability when docking the iPad. I also like that it automatically sleeps and wakes the iPad thereby conserving power. I chose the polyurethane smart cover because I had heard many issues with the leather covers fading/losing color and I couldn't justify the $30.00 dollar difference in price. I dock my iPad into an iHome theater device regularly, so using a portfolio type case would be too cumbersome to deal with. I do think portfolio cases or the otter box cases provide more protection, but they add more bulk to the iPad than I care to deal with. In the end it comes down to personal preference based on your particular needs. The items I have listed and the reasons for them fit my needs, I'm sure others will have different configurations that are specific to their needs. Hope this helps,
    Bob

  • What type of file is required to copy a film to your ipad

    Trying to copy avi films to ipad and they won't copy across.  What type of film file will the ipad 2 take?  anyone know?

    Look under Audio Playback and TV and Video in the iPad tech specs:
    http://www.apple.com/ipad/specs/
    AVI videos are not natively supported on the iPad, through there may be a third-party player that would handle them; it depends on the codecs used (AVI is a container format, not an actual video or audio format).
    Regards.

  • Need Ram help, What type and whats the largest my ibook G3 will take?

    Hey Ronda Wilson,
    As you stated in my last post you were right the ram was incompatible with my 12" 800MHz iBook G3. What is the Largest Ram I can get for my iBook? What type is it so I know what to look for?
    Thanks,
    JRC

    It'll max out at 640 MB using a 144-pin 512 MB PC100 or PC133 SODIMM module.
    http://www.everymac.com/systems/apple/ibook/stats/ibook_800.html
    http://www.everymac.com/systems/apple/ibook/stats/ibook8002.html

  • My MacBook Pro is running very hot after lion install.  Are there any hardware changes that will help? What can I do to get it back to normal?

    My MacBook Pro is running very hot after lion install.  Are there any hardware changes that will help? What can I do to get it back to normal?

    I get the impression that most of the users on older hardware experiences similar temperature issues on Lion for a long time now. Awaiting for confirmation from the original poster.
    In the meantime I'm just cautious with regards to pushing the machine to such extreme temps, since something tells me such behaviour which includes monitor flickering and the likes is nothing but abnormal for any type of use...
    Any clues if 10.7.5 does anything on this? If not I'm afraid i see myself going back to SL for good...

  • My office just bought me an iMac and I absolutely need to hook up a second monitor but there is no DVI connection on it, just a Thunderbolt. What do I do? Please help ASAP!!!

    My office just bought me an iMac and I absolutely need to hook up a second monitor but there is no DVI connection on it, just a Thunderbolt. What do I do? Please help ASAP!!! The imac is a 21.5" and they also already bought an HD 21.5 ASUS LCD monitor to attach to it. I'm really trying to make this setup work but this is becoming a nightmare. Any suggestions? I looked up  different VGA adapters but the only options for this would be a usb-vga connection which doesn't work on macs. Can anyone tell me if this new Thunderbolt connection will work in some way? Thanks

    Using the Thunderbolt port attach a Mini-display to DVI so long as the Asus display is equipped and capable, otherwise Mini-display to VGA will also work. The Thunderbolt port is ahead devices  which are not yet available to take advantage of the increased capacity in speed. Until the devices and connection cables are available, just use the port as a Mini-display port.

Maybe you are looking for

  • BPM composer - issue project

    Hi Experts, We have problems with create projects in BPM composer. Our configuration is : Server Admin      weblogic Server 10.3.6.4 - Binaries      SOA Suite 11.1.1.7 - Binaries Server Managed      weblogic Server 10.3.6.4 - Binaries      SOA Suite

  • View Object change ok in Jdev but not in Apps

    Hi All, I have changed some of the attributes in my page to point to columns in a different view object (Which I have amended) . Both of the view object are available to my AM. The changes work when run in Jdeveloper but not in APPS. I have reimporte

  • Changing order of albums

    I have rearranged my albums in the source list manually and they will not stay where I put them. I am trying to label the albums with a date and a short title and then order them chronologically in the list. After I get them all where I want them, wh

  • Alternative to RFC connections - eCATT

    Hi Friends, I had created script1 with user1 and script2 with user2. I wanted to run both the scripts continuously using script1 with user1 and script2 with user2. The above case i am doing with RFC connections. I had created 2 RFC connections and i

  • Partner Function - Sales Employee & Employee as Customer

    Dear Gurus, My doubt is: 1.  Sales Employee- who brings the sales 2.  Employee as Customer- Employee in the same company and also purchases some products from the same company. In the above 2 cases what are the total settings required? HR module also