What execution plan has been used?

Hello

I'm looking for what execution plan has been used for a SQL when it was run as part of batch in the night? 10gr 2 on ASM, 5.8 RHEL 64 bit.

Best regards

You use the Enterprise edition?  Are you a license to use the AWR?  If so, assuming that the query ran long enough to be captured in a snapshot of the CWA (which seems likely, if you are asked this question), DBA_HIST_SQL_PLAN will be the information in the plan and DBA_HIST_SQLSTAT will tell you the plan_hash_value (or values) that have been used for a particular SQL_ID in a particular SNAP_ID.  DBA_HIST_SNAPSHOT will tell you what SNAP_ID (or a set of snap_id) matches any time period you are interested in.

Justin

Tags: Database

Similar Questions

  • How know what Apple ID has been used on my iPad mini? Stuck on "Activate iPad."

    My son got an iPad Mini for Christmas a few years ago and then got an iPad Air for his birthday and gave me his iPad Mini, and when I updated to iOS 9.3, he asked me to activate the iPad from the Apple that was used initially to set up ID, my son forget not what was this Apple ID , how would I go about fixing this?

    You can provide proof of purchase to Apple to have this deleted lock.  They will not tell you the full email address for privacy reasons.  Call 1-800-APL-CARE and they will help you understand this process.

  • How can I know if an external drive has been used for Time Machine and what computer it came with too?

    How can I know if an external drive has been used for Time Machine and what computer it came with too?

    I have several laptops and iMacs. I spent the relocation of the year and only used the MacBook Pro.

    Now I'm trying to figure out which drive goes with which computer

    I connected just a disk seagate 1.5 t and the first thing he did was to ask if I wanted to use it as a Time Machine drive.

    (1) if it is the TM disk accompanying this computer don't would not it have just started upward automatically?

    (2) what happens if I would have said yes?

    (3) I don't even know if it's been activated for TM. Is there a way to tell? It may hold just for iMovie files and other programs associated with a computer from my past.

    All readers of backup Time Machine contains a folder named: Backups.backupdb. If you open this folder, you'll find another folder with the name of the computer that has been saved. If several computers have been saved on the same disk, you will have several folders.

  • How can I find what version of iTunes has been used with my iPod.

    My computer with the installed iTunes died. I tried to load iTunes in my new computer, and then use it with my iPod and I get the error message that another version of iTunes has been used to record music on my iPod.  The new iTunes wants to erase everything on my iPod and start over.   Is the only place in all the songs I have on my iPod so I don't want to erase it and start over. I need to know what version of iTunes has been used with my iPod, the last time that I've updated so that I can download the version of iTunes and my iPod allows to recover all my songs in iTunes.   In turn if there is a way that I can download all my iPod songs in a folder on the computer and then reload them in iTunes.

    That is to say that a different library was used. The version is not really relevant. If your old computer and new were both running the same version you'd still see the same message unless you have migrated your library or restored a backup. See recover your iTunes from your iPod or an iOS device.

    TT2

  • I have a proof of purchase of my Adobe CC license, but according to the site and the app I'm in a free trial. I just got a new Mac and everything transferred and has been using the application on an old PC for a while so I'm not sure is this is what is ca

    I have a proof of purchase of my Adobe CC license, but according to the site and the app I'm in a free trial. I just got a new Mac and all transferred to an older Mac and has been using the application on an old PC for a while so I'm not sure is what is causing my problem. I have bank statements indicating payments of my subscription to Adobe for this product update.

    Hi Seth,

    First of all, disconnect, then back into creative cloud, using adobe id to pay for your subscription.

    https://helpx.Adobe.com/creative-cloud/help/sign-in-out-activate-apps.html

    Then, if you launch any product of CC 2015 and the pop up still shows a trial message window, please check this link for the resolution:

    https://helpx.Adobe.com/manage-account-membership/CC-reverts-to-trial.html

    Hope this helps!

  • I did my credit card has been removed and now I'm not a new card but now my membership has changed, as a free membership. So, I want to pay again. But now, I don't have a plan that has been used in the past. How can I do?

    I did my credit card has been removed, and now I make a new card.

    But now my membership has been changed as a free membership.

    So, I want to pay again.

    But now, I don't have a plan that has been used in the past.

    How can I do?

    I want a quick answer

    Hello

    You will need to contact support by calling/chat for this request.

    Contact the customer service

    * Be sure to stay connected with your Adobe ID before accessing the link above *.

    Kind regards

    Sheena

  • How to check if a key has been used

    Hi all

    Is there a way to determine whether a key has been used in a SQL statement?

    Example of
    I received a call from a developer said that their request was going very slow

    I checked what oracle was doing

    He was using an index with 5 distinct values on a table with a number of lines of 9.2 million

    Selectivity is very bad.

    Then I discovered after talking to the Director it was a hint to use the (silly) hints

    Once we had the suspicion that he did a scan of Table full and actually ran much faster.

    However, when I was watching the SQL text in v$ sql and v$ sqlarea he had no way of knowing if we used a hint

    IE, I saw: / * + RULE * / in the code.

    Does anyone know how to check (from the DB), if an indication is used in a sql statement?

    And if the indication is used, what is the indicator.

    Thank you

    G.

    You can use the following to see the execution plan with the outline and see advice

    Select * from table (dbms_xplan.display_cursor (null, null, 'schema'));

    select  /*+   rule  */  sum(id) from     t1 where     flag = 0
    
    Plan hash value: 2170464548
    
    ------------------------------------------------
    | Id  | Operation                    | Name    |
    ------------------------------------------------
    |   0 | SELECT STATEMENT             |         |
    |   1 |  SORT AGGREGATE              |         |
    |   2 |   TABLE ACCESS BY INDEX ROWID| T1      |
    |*  3 |    INDEX RANGE SCAN          | T1_FLAG |
    ------------------------------------------------
    
    Outline Data
    -------------
    
      /*+
          BEGIN_OUTLINE_DATA
          IGNORE_OPTIM_EMBEDDED_HINTS
          OPTIMIZER_FEATURES_ENABLE('10.2.0.1')
          RBO_OUTLINE
          OUTLINE_LEAF(@"SEL$1")
          INDEX(@"SEL$1" "T1"@"SEL$1" ("T1"."FLAG"))
          END_OUTLINE_DATA
      */
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       3 - access("FLAG"=0)
    
    Note
    -----
       - rule based optimizer used (consider using cbo)
    

    HTH

    Kind regards

    Jagdeep Seven

  • How to set the pressure necessary for the keys on the keyboard? I adjusted it 2 years when I had my Macbook Air, but I forgot how I did it. In my opinion, only a touch of F has been used.

    How to address the need to pressure for keys? I've adjusted it 2 years ago when I got my Macbook, but I forgot how. In my opinion, only a touch of F has been used.

    I don't know what you are referring. You can't 'adjust the need to pressure for the keys. The keyboard is what it is. The key must be pressed far enough for electric contact in key switches. The keys are not adjustable in this way.

  • Cannot delete folder: it has been used by another person or program

    Can you help me please.

    How can I delete my folder when its says "' cannot delete the _: it has been used by another person or program" "

    the problem is... it has been unused by another person. What should I do?

    If the news of PML this does not clear the indelible
    problem files... the following freeware can be worth a try:

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Unlocker
    http://www.filehippo.com/download_unlocker/

  • Is there a way to see how ADR has been used with ALS account generating processes?

    Hello

    We are in the process of upgrading to 11i to R12 and I'm kind new to SLA.  I wonder if there's a way/script/report for us to see which EIMS has been used to generate accounts in any module in Oracle EBS. By example, if I enter an invoice and create accounts for it, I would like to know what EIMS ALS system uses to generate accounts.

    Thank you

    Ning

    If you are familiar with tables, you can query the xla_distribution_links table to know what journal line definition and what type of journal line is used for a particular transaction of subledger. If you know these two values, you can query in the front, and know what ADR is used for which segment. Generally, you will pass the ae_header_id and ae_line_num to know what types of journal lines are used.

    Accounting_line_code = type of journal line

    line_definition_code = journal line definition

  • Saying that Preset has been used

    Seems simple, but have trouble finding what preset has been used in the past on a photo. I find the camera lens, etc., but not what preset has been applied. Wanted to get a similar look on a more recent photo, but figure it is a better way than to try each similar preset. Any help is appreciated.

    If you use a Preset to develop, it will appear under his name in the history panel.

    WW

  • My niece has been using my iPad. Now, when I go to send/share a link on Facebook, he calls his account automatically. How to delete his account?

    4th generation IPad. IOS 9.2.

    My niece has been using my iPad. Now when I go to send/share a link from a Web site on Facebook, he calls her Facebook account automatically. How to delete his account? There is not a way to open his account?

    How do you send this link?

    You use the Facebook app?  Or using the Facebook website and connect via Safari or another browser?

    Are you sure that you are not connected to his account?

  • Combining new music for iPhone library. My iPhone has been used on another computer

    I'm putting new music on my iPhone. My iPhone has been used on an old desktop computer and new music I'm trying to add on comes from a new computer. How can I do this?

    Always have access to the "old desktop computer" or have a backup of his songs?  Or these songs purchased on the iTunes Store?

  • Satellite L40 - 18Z: warnings of Tempo that 75% of the memory has been used

    My dad recently bought a satellite L40 - 18z.

    Tempo began to give warnings that 75% of the memory has been used.
    When I checked there a 74 GB HDD with 3 partitions top - 1.46 GB (which I assume is the recovery partition), GB 37.26 labeled 'Vista', containing the OS and all the rest, and finally Go 35.80 labeled 'Data' which is empty.

    The partition 'Data' is necessary?

    Or do I have to move all of the documents on this partition, and if so why not been put there by default?

    My father is not very computer and I find it strange that the hard drive is not that way. It could very easily write the Vista partition and thought it was! And ended up paying someone to put a bigger HDD in or sorting.

    It seems to be no mention of partition 'Data' in the documentation or advice on how to use it.

    > Is the partition 'Data' necessary?
    Well, you can use this partition for data storage.
    I mean you don t need to store files such as mp3, jpg, etc. on the system partition, but on this partition.

  • I have an Iomega external HD model MDHD320-T. It has been used on an older Mac OX9 Office running. Can I access data on this disc hard by downloading a software compatible with my current Mac OS Yosemite? Thank you! George

    I have an Iomega external HD model MDHD320-T.

    It has been used on an older Mac OX9 Office running.

    Can I access data on this disc hard by downloading a software compatible with my current Mac OS Yosemite?

    Also, I find no other than ads Iomega site.

    Are they still in business?

    Thank you!

    George

    Search Wikipedia for LenovaEMC.

    The chances of finding software are slim to none.

Maybe you are looking for