How to get(select) slowest selects in the last week

Hi,
i had to find the slowest select statement in my dba. It's a 9i Database no Grid Control is installed :-(
thanks
Wolle

Yes, if you had taken the snap(statspack), then you can take statspack report for the snap ids and find out that.
Regards,
Jaggym

Similar Messages

  • How to get safari to open to the last page I was on and screens to enlarge automatically?

    Hello, I just upgraded to the latest iMac version from my 2010 model, and whenever I close and open up safari it opens to top siotes instead of the last page I was on, and every time I open it I have to enlarge it myself by clicking the arrows in the top right. Same happens with everything else, like the app store. How do I change this so whenever I go to safari it opens to the last page I was on and has safari, app store, etc. have large screens right away? I set up my old iMac 3 years ago, and I guess I must've done something to have it do this, but I forgetn what I did. Thank you in advance

    Hello there, Clumn.
    The following Knowledge Base article provides some general tips for Mavericks that may address your issue:
    OS X Mavericks: General preferences
    http://support.apple.com/kb/ph13803
    Particularly of note:
    Close windows when quitting an application
    If you quit apps with windows still open on your screen, selecting this checkbox prevents the windows from reopening automatically the next time you start their app.
    This feature when not selected will allow the application to reopen windows automatically when you open the app.
    Additionally, this article provides information on how to set windows Full Screen:
    OS X Mavericks: Take apps full screen
    http://support.apple.com/kb/PH14302
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • How to I get photos to show "in the last week" smart album

    The images will not show in this pre-set smart album. They do show in my son's library, but not in mine. As far as I can tell all the settings are the same. What am I doing wrong?

    Do you a filter set by any chance?  Clear the filter of the Browser by clicking the "x" at the right side of the Search Field.  The gray text in the field should say "Unrated or Better".
    If that doesn't do it, check the Smart Album settings.  Select the Smart Album, then click the magnifying glass.  Are the settings what you expect?

  • How to get grand total text  in the last column of reuse_alv_grid_display ?

    Hi,
    Experts,
    I am able to get the subtotal text but i am not able to get the grand total text please pass some code or idea on it.
    ex:
         2510    gopi       10
         2511   gopi        20
    subtotal                 30
         2521    anand    20
         2522    anand    10
        2523     anand    50
    subtotal                 80
         2512   vikram     30
    subtotal                 30
    (blank----)              140.
    Here i want to get text as 'COMPANY TOTAL'. by using REUSE_ALV_GRID_DISPLAY FM.
    Thanks,
    Shabeer ahmed.

    Hi,
      you can get the 'COMPANY TOTAL' by using the following code:
      LOOP AT i_main INTO w_main.*   Storing the Total text need to be displayed in
      ALV
        w_final-total      = 'COMPANY TOTAL'.
        w_final-field1   = w_main-field1.
        w_final-field2    = w_main-field2.   
        w_final-field3   = w_main-field3 .  
       APPEND w_final TO i_final.  ENDLOOP.
    Regards,
      Santosh

  • How to get a check box on the selection screen

    Hi all
    can any body tell me how to get a check box on the selection screen

    parameter: pa_check   as checkbox.
    To define the input field of a parameter as a checkbox, you use the following syntax:
    PARAMETERS <p> ...... AS CHECKBOX ......
    Parameter <p> is created with type C and length 1. In this case, you may not use the additions TYPE and LIKE. Valid values for <p> are ' ' and 'X'. These values are assigned to the parameter when the user clicks the checkbox on the selection screen.
    If you use the TYPE addition to refer to a data type in the ABAP Dictionary of type CHAR and length 1 for which 'X' and ' ' are defined as valid values in the domain, the parameter automatically appears as a checkbox on the selection screen.
    REPORT DEMO.
    PARAMETERS: A AS CHECKBOX,
    B AS CHECKBOX DEFAULT 'X'.

  • HT1719 My shuffle is not syncing all of the selected songs & I can't figure out how to get it to sync all the checked songs. Please help!

    My shuffle is not syncing all of the selected songs & I can't figure out how to get it to sync all the checked songs (syncs some, but not others). Please help!

    Perhaps this article can help.
    Syncing music to iPod shuffle
    B-rock

  • How to get id of selected Tab in WebDynpro abap

    HI,
        How to get id of selected Tab in WebDynpro for abap? THANKS!

    Hi,
    In the action method for onSelect try using,
      DATA:
        lv_select_tab type string.          "Selected tab value
      DATA:
        lt_events type WDR_EVENT_PARAMETER_LIST,
        ls_events type WDR_EVENT_PARAMETER.
      field-symbols: <fs_value> type any.   "Attribute value in events table
      lt_events = wdevent->parameters.
      read table  lt_events into ls_events with key name = 'TABSTRIPID'.
      if sy-subrc eq 0.
        assign ls_events-value->* to <fs_value>.        
        if sy-subrc eq 0.
          lv_select_tab = <fs_value>.                    "Tab selected
        endif.               
      endif.               
    Hope it helps!
    Regards,
    Radhika,

  • How to get values/data stored in the database into a list-item.

    how to get values/data stored in the database into a list-item.
    i tried to make a list item without any values assigned to it...but i got the below error.
    FRM-30191: No list items defined for required poplist.
    or
    FRM-32082: Invalid value for given item type.
    List EMPNO
    Item: EMPNO
    Block: EMP
    Form: MODULE5
    FRM-30085: Unable to adjust form for output.
    then according to some docs, i tried the the following for the trigger
    when-new-form-instance
    declare
         rg_name varchar2(40) := 'emp_rec';
         status number;
         groupid recordgroup;
         it_id item;
    begin
         it_id := Find_Item('empno');
         groupid := create_group_from_query(rg_name, 'select empno from emp');
         status := populate_group(groupid);
         populate_list(it_id, groupid);
    end;
    but yet didnt work... :(
    so how the heck do i get values fetched from the database table into the list item?

    for list items you need to values in the record group, one is the shown value and one is the returned value.
    Check out the online help for the populate_list built-in.
    You'll need something like select ename,ename from emp as the record group query.

  • Cannot select a Date in the 2nd week of any month from "Month View"

    Looking for some help with a strange problem that has started within the last day or 2. In Calendar, under the Month view, it will not allow me to select a date in the current week (or the second Week dates in ANY Month for that matter i.e. 6-8-08 thru 6-14-08, 8-3-08 thru 8-9-08, 4-6-08 thru 4-12-08). It skips from the 1st week of June (6-1-08 thru 6-7-08), to the 3rd and 4th weeks of June (6-15-08 thru the end of the month). It is like it is not recognizing where my finger is pointing. I can access the current week through the list view and day view, and it will allow me to post an event by choosing the current week in the add option, but will not let me pick that date to view it once it has been scheduled. The dot shows up, and it shows on list view, but cannot get to the date by selecting it in month view. That section of my phone screen will let me access other applications and recognize where I am touching, so I don't believe it is a sensor issue. I have tried rebooting, but it has not helped. Any ideas out there? Please let me know. Thank You! for any guidance.

    Clearwater Randy,
    If the screen is only not responding in that particular application, you may want to first do a reset. To reset, press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears.
    If that does not resolve your issue, try restoring in iTunes. To restore, connect your iPhone into iTunes and click Restore on the Summary page. Note: All of your information will be erased from the iPhone, so make sure to have a backup of important information on your computer before restoring.
    Hope this helps,
    Jennifer B.

  • Select a count using the last entry of a table

    I have a huge project for which I am trying to learn some PL/SQL.
    Context:
    Entry gets put into the Orders table. What I want to do is create a trigger( out of scope for this question) that takes the last entry's product ID number and performs a count of all the PID's that match it. Then I want to compare that number with a number in the ProductTransaction table.
    I.e.
    Orders ProductTransaction
    OID TID
    PID PurchaseCount
    o_TID Price
    etc.....
    Last entry that gets put in contains
    OID PID TID
    4 100 2
    ProductTransaction
    TID PurchaseCount Price
    2 10 100.00
    What I want to do is if the last entry into the Orders table was the OID 4 then I want to count all PID=100 and determine if the PurchaseCount has been reached yet.
    The only thing I can think of is the following, but it doesn't ensure that the last PID is what we are counting:
    declare
    v_countpid number;
    begin
    select
    count(pid) into v_countpid
    from
    orders
    where OID = (select last(oid) from orders);
    dc
    Im thinking something like the above which populates the v_countpid
    and then taking another variable which is a select into which takes the last TID entered and comparing them in an if statement of some sort
    Let me know your thoughts on this....

    They you both for your replies. I was pushing myself to stay up late last night and I guess I didn't included everything.
    Here it goes.
    The concept is to have someone buy a product lets say at 10 dollars and it will take 10 other people for you to finally get your product released to you.
    So when I purhcase PRODUCT A and put the entry into the orders table it will be something like this:
    OID = 1
    PID = 101
    TID = 2
    TIMEOFPURCHASE=<timestamp>
    etc........
    Now once that is entered into the table I am going to have a trigger as an after insert that will count the total PID's in the table that match what I just put into it, as in this case it was PID=101. The count of PID=101 will then be matched against the ProductTransaction PurchaseCount field to determine if that product should be released to the person with the lowest timestamp.
    So....
    ProductTransaction
    TID=2
    PRICE=$10
    PurchaseCount=10
    ORDERS
    OID PID TID TOP
    1 101 2 3 am
    2 101 2 5 am
    3 30 1 12 pm
    4 101 2 4 pm
    Example. The last entry was OID=4 so it will count up the number of PID=101 and then that number is compared against ProductTransaction purchase count. If hasn't exceeded then nothing happens. If the number is matched then OID=1 is moved into the shipping table for processing.
    Let me know if this still doesn't clarify, or if there is a better way to do this....

  • Although my ipod shows the number of steps, calories, and time, it no longer is saving it to the history. also when I open the history it takes me to May 2010 instead of the current date. Any ideas on how to get it to start recording the history again?

    Although my ipod shows the number of steps, calories, and time, it no longer is saving it to the history. Also when I open the history it takes me to May 2010 instead of the current date. Any ideas on how to get it to start recording the history again?

    Try:                                               
    - iOS: Not responding or does not turn on           
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable                     
    - Try on another computer                                                       
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar
    The missing apps could have been done by setting the Restrictions that can hid those apps. If the backup was made with those retrictions set the the Restrictions are also restored.
    Thus, if you get it to work restore to factory settings/new iPod, not from backup                               
    You can redownload most iTunes purchases by:        
      Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • I just need to know how you get an iTunes library off the original hard drive of a mac and onto an external hard drive and still have it work normally?

    I just need to know how you get an iTunes library off the original hard drive of an imac and onto an external hard drive and still have it work as it normally would?

    http://support.apple.com/kb/HT1449

  • My dad has itunes on his PC. I don't have my own but I recently have an iPad mini and an iPod. I don't know how to get songs onto itunes on the PC, using a different account or at least private/ separate..

    My dad has itunes on his PC. I don't have my own but I recently have an iPad mini and an iPod. I don't know how to get songs onto itunes on the PC, using a different account or at least private/ separate..
    So how do I create a separate I tunes on a PC which already has itunes... Or if not can I plug my iPad to the PC and use itunes on my iPad, and drag mp3s from a computer.
    I'm not sure what the equivalent of a desktop is on the iPad.. And I don't actually know how to use the icloud either...
    Can anyone start me off, given it have a iPad and use of a PC - not mine with existing iplayer
    I do have spotify soundcloud so I could potentially use these.. If there is a route of getting either mp3's etc to end up on my iPad or iPod.
    Kind Regards

    iTunes 11
    If you  have iTunes 11 turn on the Sidebar.  Go to iTunes>View and click on Show Sidebar. You can also do a Crtl+S to show the sidebar. The sidebar is where Devices appears. and Control+B to show the Menu bar
    To import music into your iTunes library on the computer go to iTunes>Help>iTunes Help>Add items to iTunes and follow the instructions
    To sync to your iPod go to iTunes>Help>iTunes Help>Sync your iPod....>Sync You Device and follow the instructions.

  • DATA TRANSFER - How to get a SINGLE SPACE in the downloaded file from UNIX?

    Hi Experts,
    Am sending data from SAP to UNIX/ Application server and text file on desk top as well.
    So, I am keeping a single character just SPACE at the END of each record.
    Then, When I see the downloaded text file, I found a SINGLE SPACE at the end of each record, fine.
    Then, by using CG3Y t code, I downloaded the UNIX file to my desk top.
    But, When I see this UNIX downloaded file from UNIX, I did NOT find any SPACE at the end of each record!!!
    Am doing every thing same in both cases.
    So,
    1 - Why its happening in case of UNIX file?
    2 - How to get a SINGLE SPACE  at the END in the downloaded file from UNIX?
    thanq

    Hi,
    I don't know if this works:
    perform SET_TRAIL_BLANKS(saplgrap) using 'X'.  
    perform SET_FIXLEN(saplgrap) using '0' '060'.   "put length of your line from-to
    ... download ...
    It will put space at the end of your line, according to the length.
    Hope it works,
    Chang

  • HT1222 My phone is telling me about a Software Update but for the first time it is asking me for a passcode, I have never set up a passcode and do not know how to get around this to do the upgrade?

    My phone is telling me about a Software Update 7.1.1 but for the first time it is asking me for a passcode, I have never set up a passcode and do not know how to get around this to do the upgrade?

    See if this helps:
    iOS: Forgotten passcode or device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212

  • How to get default values while using the transaction "BP"

    Hi Group,
    I have a query on how to get default values while using the transaction <b>BP</b>?
    The thing is:
    when I enter into the transaction "BP", I need to see some default values to some of the input fields in the screen.
    how can I achieve this?
    So please kindly let me know the procedure to achieve this.
    Thanks & Regards,
    Vishnu.

    Hi,
    The events of BDT can be used to default some fields on creating a partner.
    For this create a function module for ISDAT. attach that event in BUS7.
    In the ISDAT funtion modulethe following code should be used.
    For example to set the nationality:
    I_BUSDEFAULT-NATIO = 'DE.
    CALL FUNCTION 'BUP_BUPA_FIELDVALUES_SET'
    EXPORTING
    i_busdefault = I_BUSDEFAULT
    Regards, Smita.

Maybe you are looking for

  • Drop down function no longer works in firefox 19

    Firefox 19 installed. have uninstalled and reinstalled twice, have followed the trouble shooting suggestions and have had my IT department try and resolve this issue without success. If I type in an area that normally auto populates, with for example

  • Aperture Referenced Images and IWeb Media browser

    I'm new to Aperture, sorry if this is a stupid question, and have a Windows server full of photos which I am referencing into Aperture (rather than copying everything over)... When I switch to IWeb and use the media browser, it seems that only files

  • Classic BADi not being called

    Hello Experts... Your kind and expert advice is deeply appreciated... We had implemented a BADi in CRM4.0 and that is being called and working alright. We are now upgrading CRM4.0 to CRM7.0. With this change classic BADis is not being called. Differe

  • JIT with JavaCard?

    HI, Can anyone tell me if CAP file bytecode is simply interpreted on the card by the JCVM or are there optimization techniques such as JIT available on todays Java Card smart cards? Thanks in advance, Ann

  • HP 2000 BIOS Problem, Please help me

    When I turn on my system the message that comes up is that HP PC Hardware Diagnostic UEF, Version 1.6.0.0 BIOS Memory Test Hard Drive check Language Exit This is the message that I see when I on my HP 2000, then after existing I realised some keyboar