"One time" column in dbms_xplan.display_cursor is summed up?

Hello

I did some research on the internet before this announcement, but I could find enough information.

"One time" column in dbms_xplan.display_cursor is summed up?
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| Id  | Operation                                                    | Name                           | Starts | E-Rows | A-Rows |   A-Time   | Buffers | Reads  |  OMem |  1Mem | Used-Mem |
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|   0 | SELECT STATEMENT                                             |                                |      1 |        |    155 |00:06:36.28 |    4957K|  34952 |       |       |          |
|   1 |  SORT ORDER BY                                               |                                |      1 |      1 |    155 |00:06:36.28 |    4957K|  34952 | 55296 | 55296 |49152  (0)|
|   2 |   NESTED LOOPS                                               |                                |      1 |      1 |    155 |00:06:30.04 |    4957K|  34952 |       |       |          |
|   3 |    NESTED LOOPS                                              |                                |      1 |      1 |    155 |00:06:30.04 |    4957K|  34952 |       |       |          |
|   4 |     NESTED LOOPS                                             |                                |      1 |      1 |    155 |00:06:30.04 |    4957K|  34952 |       |       |          |
|   5 |      NESTED LOOPS                                            |                                |      1 |      1 |    155 |00:06:30.04 |    4956K|  34952 |       |       |          |
|   6 |       NESTED LOOPS                                           |                                |      1 |      1 |    155 |00:06:30.04 |    4956K|  34952 |       |       |          |
|   7 |        NESTED LOOPS                                          |                                |      1 |      1 |    155 |00:06:30.03 |    4956K|  34952 |       |       |          |
|   8 |         NESTED LOOPS                                         |                                |      1 |      1 |    155 |00:06:30.03 |    4956K|  34952 |       |       |          |
|   9 |          NESTED LOOPS                                        |                                |      1 |      1 |    155 |00:06:30.03 |    4956K|  34952 |       |       |          |
|  10 |           NESTED LOOPS                                       |                                |      1 |      1 |    155 |00:06:30.03 |    4955K|  34952 |       |       |          |
|  11 |            NESTED LOOPS                                      |                                |      1 |      1 |    155 |00:06:30.03 |    4955K|  34952 |       |       |          |
|  12 |             NESTED LOOPS                                     |                                |      1 |      1 |    155 |00:06:30.03 |    4955K|  34952 |       |       |          |
|  13 |              NESTED LOOPS                                    |                                |      1 |      1 |    155 |00:06:30.03 |    4954K|  34952 |       |       |          |
|* 14 |               HASH JOIN                                      |                                |      1 |      1 |    155 |00:06:30.03 |    4954K|  34952 |   872K|   872K|  927K (0)|
|  15 |                VIEW                                          |                                |      1 |     15 |      8 |00:06:28.63 |    1305K|  34883 |       |       |          |
|* 16 |                 FILTER                                       |                                |      1 |        |      8 |00:06:28.63 |    1305K|  34883 |       |       |          |
|  17 |                  HASH GROUP BY                               |                                |      1 |     15 |      8 |00:06:28.63 |    1305K|  34883 |   760K|   760K| 1077K (0)|
|  18 |                   VIEW                                       |                                |      1 |     15 |    341 |00:00:50.44 |    1305K|  34883 |       |       |          |
|  19 |                    UNION-ALL                                 |                                |      1 |        |    341 |00:00:50.44 |    1305K|  34883 |       |       |          |
|  20 |                     VIEW                                     | V_POSNR_2011000           |      1 |      7 |    303 |00:00:50.44 |     645K|  31282 |       |       |          |
|  21 |                      UNION-ALL                               |                                |      1 |        |    303 |00:00:50.44 |     645K|  31282 |       |       |          |
|  22 |                       VIEW                                   | V_POSNR_0200011           |      1 |      2 |     20 |00:00:50.42 |     429K|  31244 |       |       |          |
|  23 |                        UNION-ALL                             |                                |      1 |        |     20 |00:00:50.42 |     429K|  31244 |       |       |          |
|  24 |                         NESTED LOOPS                         |                                |      1 |      1 |     20 |00:00:50.42 |     376K|  28979 |       |       |          |
|* 25 |                          HASH JOIN                           |                                |      1 |      1 |     20 |00:00:50.42 |     376K|  28979 |  1096K|  1096K| 1348K (0)|
|* 26 |                           TABLE ACCESS BY INDEX ROWID        | PROPERTIES                     |      1 |      6 |   2651 |00:00:00.02 |    2131 |      0 |       |       |          |
|* 27 |                            INDEX RANGE SCAN                  | P_SETAALDATE_IDX               |      1 |      6 |   2651 |00:00:00.01 |      21 |      0 |       |       |          |
|  28 |                           VIEW                               | VW_JF_SET$7992605D             |      1 |      2 |    504 |00:02:30.85 |     374K|  28979 |       |       |          |
|  29 |                            UNION-ALL                         |                                |      1 |        |    504 |00:02:30.85 |     374K|  28979 |       |       |          |
(hope this execution plan is reasonably legible)

I thought that the columns A-time indicates the time of the operation in question (summarizing all time from the operation of the child)

but this seems different:
|* 25 |                          HASH JOIN                           |                                |      1 |      1 |     20 |00:00:50.42 |     376K|  28979 |  1096K|  1096K| 1348K (0)|
|* 26 |                           TABLE ACCESS BY INDEX ROWID        | PROPERTIES                     |      1 |      6 |   2651 |00:00:00.02 |    2131 |      0 |       |       |          |
|* 27 |                            INDEX RANGE SCAN                  | P_SETAALDATE_IDX               |      1 |      6 |   2651 |00:00:00.01 |      21 |      0 |       |       |          |
|  28 |                           VIEW                               | VW_JF_SET$7992605D             |      1 |      2 |    504 |00:02:30.85 |     374K|  28979 |       |       |          |
Line 25 is a JOIN hash including a tableTABLE (1) the ACCESS BY INDEX ROWID and (2) the result of a VIEW
The Timing of the HASH (line 25) JOIN is 00:00:50.42, but the timing of the VIEW is 00:02:30.85 who ought both to complete before you chop it can happen

So I thought the HASH JOIN would be (at least) a schedule of the 00:02:30.85 of the VIEW, plus the 00:00:00.02 of the TABLE ACCESS BY INDEX ROWID.

But it seems that it is a misconception, can anyone shed light on this?

Best regards

Published by: x45r32 on April 4, 2012 08:25

Published by: x45r32 on April 4, 2012 08:46

Hello

How do you collect statistical plan - via STATISTICS_LEVEL = ALL or gather_plan_statistics reference to the declaration?

The indicator is known for producing inaccurate schedules from time to time (has to do with the sampling frequency), STATISTICS_LEVEL = ALL should be more specific.

Best regards
Nikolai

Tags: Database

Similar Questions

  • a plan explain time column

    Hello
    I use Oracle version 10.2.0.3.0. I have 2 tables with 10 million documents each. The DOF is as follows.

    create the bigtable table (varchar2 (20) col1, col2 varchar2 (20))
    create table bigtablechild (varchar2 (20) col1, col2 varchar (20))

    bigtablechild.Col1 is a foreign key to bigtable.col1. Below is the request and explain the plan. During several executions, the query runs for about 20 seconds before returning the results. Could someone please explain what represents the time column? It does not at the same time it took return of results.
    SQL> set autotrace on
    SQL> 
    SQL> select b.col2
      2  from bigtable a, bigtablechild b
      3  where a.col1 = b.col1
      4  and a.col1 = 'ABC6554';
    
    COL2
    --------------------
    XYZ6554
    XYZ6554
    XYZ6554
    XYZ6554
    XYZ6554
    
    
    Execution Plan
    ----------------------------------------------------------
    Plan hash value: 4210396901
    
    ------------------------------------------------------------------------------------
    | Id  | Operation          | Name          | Rows  | Bytes | Cost (%CPU)| Time     |
    ------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT   |               |     5 |   150 | 21538   (4)| 00:04:19 |
    |*  1 |  HASH JOIN         |               |     5 |   150 | 21538   (4)| 00:04:19 |
    |*  2 |   TABLE ACCESS FULL| BIGTABLE      |     1 |    10 | 13124   (4)| 00:02:38 |
    |*  3 |   TABLE ACCESS FULL| BIGTABLECHILD |     5 |   100 |  8413   (5)| 00:01:41 |
    ------------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       1 - access("A"."COL1"="B"."COL1")
       2 - filter("A"."COL1"='ABC6554')
       3 - filter("B"."COL1"='ABC6554')
    
    
    Statistics
    ----------------------------------------------------------
              0  recursive calls
              0  db block gets
          93672  consistent gets
          91845  physical reads
              0  redo size
            463  bytes sent via SQL*Net to client
            396  bytes received via SQL*Net from client
              2  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
              5  rows processed

    Hello

    >

    Thanks, but how did you determine the 12 Member States based on my exit from the plan to explain?

    04:19 = 259 seconds = 259 000 milliseconds

    259 000 milliseconds / 21538 monobloc bed ~ = 12 milliseconds per read monobloc

    Note, however, that A time column, on the other hand, is extremely useful, but it is available only if content plan (RowSource) statistics have been populated.

    What is the A-time column, you are referring to? Could you please give an example?

    ALTER session set statistics_level = all;

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

    Best regards
    Nikolai

  • Convert date and time column column

    Hi all

    I want to convert the date column to date-time column in the place of time, should be set from 07:00

    example of

    26/10/12-07:00

    I have sysdate who only date and I added 1 to that date and now I must include part time and want to display as mentioned above.

    TO_CHAR (sysdate + 1) is the column that I already now for this column, I add time portion(07:00:00AM).


    Please help me with the same.

    Thanks in advance.

    When you insert the column date, then insert it using 07:00 in time, like the big ones showed you (trunc (the_date) + 7/24)

  • dbms_xplan.display_cursor problem

    Hello
    I connect as user sys. When I run the following query I got error. What could be the reason?

    ALTER SESSION SET statistics_level = all;
    Set serveroutput off

    Select / * + gather_plan_statistics * /.
    Count (T1. (Id1), count (t2.id1)
    Of
    T2, t1
    where
    T2. Id1 = 3 and t1.id1 = t2.id1
    ;

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

    NOTE: cannot fetch SQL_ID plan: 6862hjzuwb2b1, CHILD_NUMBER: 0
    Check the value of SQL_ID and CHILD_NUMBER;
    It could also be that the plan is no longer in the cursor cache (check v$ sql_plan)

    Please see the demo:

    SQL> SELECT /*+ GATHER_PLAN_STATISTICS */
      2  *
      3  from AX.P
      4  where 1=2;
    
    no rows selected
    
    PLAN_TABLE_OUTPUT
    --------------------------------------------------------------------------------------------------------------------------------
    SQL_ID  9babjv8yq8ru3, child number 0
    
    BEGIN DBMS_OUTPUT.GET_LINES(:LINES, :NUMLINES); END;
    
    NOTE: cannot fetch plan for SQL_ID: 9babjv8yq8ru3, CHILD_NUMBER: 0
          Please verify value of SQL_ID and CHILD_NUMBER;
          It could also be that the plan is no longer in cursor cache (check v$sql_plan)
    
    8 rows selected.
    
    SQL> set serveroutput off
    SQL> SET AUTOTRACE OFF
    SQL> SET TIMING OFF
    SQL> SET LINESIZE 150
    SQL> SET PAGESIZE 1000
    SQL> SET TRIMSPOOL ON
    
    SQL> SELECT /*+ GATHER_PLAN_STATISTICS */
      2  *
      3  from AX.P
      4  where 1=2;
    
    no rows selected
    
    SQL>  select * from table(dbms_xplan.display_cursor(null,null,'ALLSTATS LAST'));
    
    PLAN_TABLE_OUTPUT
    ----------------------------------------------------------------------------------------------------------------------------------
    SQL_ID  5bugzacju55gh, child number 0
    -------------------------------------
    SELECT /*+ GATHER_PLAN_STATISTICS */ * from AX.P where 1=2
    
    Plan hash value: 1790142019
    
    ----------------------------------------------------------------------------------
    | Id  | Operation             | Name     | Starts | E-Rows | A-Rows |   A-Time   |
    ----------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT      |          |      1 |        |      0 |00:00:00.01 |
    |*  1 |  PX COORDINATOR       |          |      1 |        |      0 |00:00:00.01 |
    |   2 |   PX SEND QC (RANDOM) | :TQ10000 |      0 |     50M|      0 |00:00:00.01 |
    |*  3 |    FILTER             |          |      0 |        |      0 |00:00:00.01 |
    |   4 |     PX BLOCK ITERATOR |          |      0 |     50M|      0 |00:00:00.01 |
    |*  5 |      TABLE ACCESS FULL| P      |      0 |     50M|      0 |00:00:00.01 |
    ----------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       1 - filter(NULL IS NOT NULL)
       3 - filter(NULL IS NOT NULL)
       5 - access(:Z>=:Z AND :Z<=:Z)
    
    24 rows selected.
    

    Kind regards
    S.K.

  • One-time permanent transfer and iPad sell

    Hi, I want to buy an iPad to the person who purchased the device to another person, so I'll be the third user for iPad. I have read the license agreement of the iOS software and there I found the point 3:

    However, you can perform the one-time permanent transfer all your license rights to the iOS Software to another party in connection with the transfer of ownership of your iOS Device.

    This sentence bothers me to 'make a one-time permanent transfer. This means that you can sell an iPad only once or it's okay? Is it legal to buy an iPad as a third user to the currency?

    Thank you!

    1. it is per person and not by the device; After that someone is selling an iPad specific, unless they there buy it back later, it is no longer sell them. The buyer is free to sell again.

    2. Yes.

    (141243)

  • Photoshop CS6 as a one-time purchase

    So, I bought Photoshop CS6. I am able to use Photoshop CS6 if I cancel all other monthly paid memberships? I only use Photoshop for your pleasure or as a "hobby", in which I'll use irregularly. Is it possible for me just pay one time for Photoshop and do not have to pay monthly fees or any other additional fees?

    If you have purchased a license cs6, you don't need to buy it again, and you don't need a subscription to use.

  • problem using dbms_xplan.display_cursor in SQL Developer 4

    In SQL Developer 3, I am able to do successfully the following:

    ALTER session set statistics_level = all;

    Select...

    Select * from table (dbms_xplan.display_cursor (null, null, 'ALLSTATS LAST ALIAS'));

    This shows the trace of the SQL I ran. However, developer 4, the same statements always show a trace of

    Select child_number from v$ sql where sql_id =: 1 order by child_number

    Y at - it a configuration option which fixes this?

    Thank you.

    Simply -.

    Select...

    Select * from table (dbms_xplan.display_cursor (null, null, 'ALLSTATS LAST ALIAS'));

    Run this set as a script.

    Otherwise if you run

    Select...

    We immediately then interrogate SD in the SQLID to this request so that we do the plan available.

  • I have a ONE TIME need to fill out a PDF form.

    I have a ONE TIME need to fill out a PDF form and send it by e-mail; What are my options?

    Adobe Reader is all you need to do this, which is a free application.

    Tuesday, December 30, 2014, at 5:01, seisen5561, [email protected]>

  • one time purchase

    The site is not clear on what you buy. Is the current sales price of $104 for first elements a once product has been purchased or is an annual subscription price? Also, how do the DVD/Rom for the product if I buy it. I don't see that as an option, but I would like to have the backup drive.

    comtnboarder

    Premiere Elements is not marketed as a subscription under the cloud of Adobe product.

    Using creative cloud | Install, update, or uninstall applications

    You buy a download of Adobe as a one time product was purchased.

    Premiere Elements is not in Adobe cloud applications that are purchased as subscriptions.

    Adobe does not sell the Premiere Elements packed box, which includes the installation of Windows/Mac disc. To do this, you need to purchase the product from an authorized reseller. You can always buy Adobe download and then save the installation files on your own drive as your backup.

    For any question or need clarification, please ask. This isn't Adobe. Instead of a user in forum.

    RTA

    Add on... Only there before posting I couldn't answer John. I saw him only after I posted my reply. Strange the spaced in time

    between his position and mine. Nevertheless, I hope that the suggestions are useful.

  • What is with the monthly subscription? Can I buy is only the program as a one-time fee?

    What is with the monthly subscription? Can I buy is only the program as a one-time fee?

    Yes you can, but they have been very confused about this option (try to get people to opt for the subscription - please let them know what you think of this policy). The link is to http://www.adobe.com/products/catalog/software._sl_id-contentfilter_sl_catalog_sl_software _sl_mostpopular.html. The default value is subscription, but if you click on the 'I want to buy' drop down list there is complete and updated versions to available level. It's so confusing if you don't know it's available, you would probably never have it find. I have not found it until some other MVPS made outside and many of us complained.

  • How to identify a one time customer Oracle Apps AR

    Hello

    How to identify a one time customer in Oracle APps AR?

    Is it possible to know how many number of transactions a customer made so that, if the number of transactions is 1, then the customer is a customer of time. Otherwise, it is not?

    Thank you
    Bob

    Hi Bob,

    to my knowledge, I can't recall a report seeded by oracle that could meet your requirement. You can try running the Transaction Register report date of your live Go far, so that the system generates a list of all bills and the name of the customer, then you could export to Excel and sort, filter and group by to get the desired result...
    However if you are a person with technical expertise, check table RA_CUSTOMER_TRX_ALL this option stores all the transaction information you can select TRX_NUMBER, BILL_TO_CUSTOMER_ID from this table and perform a count by customer... (I'm not sure about the syntax and use of sql functions) you can get the desired effect...

    Also in the future, while creating a new customer if you know in advance that this customer is going to be a ONE TIME CUSTOMER, you can enter this information in any unused field on the client configuration can allow a FDF and capture this information, so that it becomes very easy to identify these customers or have a report based on this is based...

    I guess there's an objecive behind trying to find a new subscribers or customers with a single transaction history... are you planning disable/end date / idle clients...?

    Kind regards
    Ivruksha

  • My copyright information are aligned in live mode view, but one time downloaded it goes to the extreme left of the Web page.

    I used stickyfoot for my footer right of copyright, which is aligned in live mode view, but one time downloaded it goes to the far left of the page.  I deleted several times, but he still goes to the extreme right.  If anyone has had the same problem and could you please let me know what was your solution as appropriate?

    I just checked your style.css of css file

    You have a few selectors in it with no clogged cavities} brackets, which will stop the css cascade. Sort this out and at least the footer should align in the Center like your other pages.

    top of the margin: 7px;

    }

    {#aboutdescription}

    Padding: 25px;

    height: 349px;

    Width: 250px;

    background-image: url (.. / images/aboutdescription.gif);

    background-repeat: no-repeat;

  • Webutil-problem (not usual 'PREFORM', ' one TIME-NEW-FORM-INSTANCE ' etc..)

    Hello

    We have an application with many modules, where we use webutil to create text files on the client for the export of data. Export is called in a trigger WHEN-BUTTON-PRESSED and usually works well, but we have the following problem:

    If two modules, where webutil is used, are open at the same time and a single module is closed, webutil does no more work in the other module. If we then try to create a text file after the closure of the module, we get the following error message:

    Bean Oracle.forms.webutil.file.FileFunctions not found.
    WEBUTIL. FILE. FILE_SELECTION_DIALOG_INT will not work.

    It is not only the FileFunctions bean, all other webutil functions do not work as more in the remaining module.

    It's not usual 'PREFORM', ' one TIME-NEW-FORM-INSTANCE ' etc. Webutil-problem.
    As I said before, webutil works, but when we close a module with webutil used, it does not work in another open module more.

    Any idea, why this happens and how to solve the problem?

    Kind regards
    Udo

    I tried what I understood to be what you do, but I'm confused and see at least two problems:

    1. you said that you use CALL_FORM to open subsequent forms and GO_FORM to move between them. You also said:

    -Module A calls Unit B (with attached webutil) and webutil works in module B

    -GO_FORM (module A) and webutil still works (while module B is always open) >

    If you "dial" form B, you will not be able to return to form A, until the B form is closed. So I guess I don't understand what you are doing or your explanation is not clear.

    2 assuming that what you do is a valid way to move from shape to shape, try adding the following to default.env

    DE_VARIABLESHARE = 1

  • How to find the status of the package (valid/invalid) was at one time

    How to find the status of the package (valid/invalid) was at one time?
    I want to find the status of an oracle package to 15:00 yesterday. Today, the status of this package is INVALID.
    I'm sure it was VALID yesterday. But no way to prove it. Can any one help please?
    I can generate AWR report for the last 7 days...

    Try to use a flashback, like this query:

    select object_name, object_type, status
    from dba_objects AS OF TIMESTAMP (SYSTIMESTAMP - INTERVAL '18' HOUR)  -- 18 hours ago
    where object_name = 'MY_OBJECT'
    ;
    

    If you have not granted privs FLASHBACK, you may connect as SYS to make a request flashback on a table data dictionary.
    But this should give you the info you need - if it's still in cancellation.

  • I converted my mp3 format.now music library, I want to delete all songs.what i, m mast mp3 this removes one time.there are 3500 songs.is it an easier way to remove the songs without losing my original library?

    change my mp3 music does, nt come out as I thought and I so do CD fashion old way and burn.when I have made a set of mp3 music library, they were all dated 06/01/16.

    now I want to know if there is an easier way to get rid of all the mp3 songs to the format of my library.i been ve music delete songs one by one. If there is a way to chat online would be helpful.some times that I don, t understand what you mean by changing the files and .i m worried that i, m going to lose all my music again.

    Yes, open itunes and right-click on the menu where the artist, Album, etc., and then scroll down the menu until you find 'Type' remember to widen the column, and then select the name until all MP3 files are grouped, then select all and delete them.

    This is the menu that I speak to you, do a right click on it and Type search

    f

Maybe you are looking for

  • You can swim or shower with the watch

    You can swim or shower with the watch?

  • Thunderbird slow to delete emails with attachments

    Using the version of TB 38.3.0Thunderbird so slow to delete emails with attachments. Did a comparison test with same jpg attachment in Windows Mail. Instant deletion. With the help of TB, takes 15 to 30 seconds or more. What I tried to solve this pro

  • Why am I Chinese - looking text on my web pages?

    Some web pages, I opened have Chinese - text search in places. It seems to be where advertisements maybe (after looking at the page in Safari), but sometimes it's the entire page.

  • Compact Daq or Rio measurement signal and datalog

    Hello I'm in a project to create a diagnostic for an offshore wind turbine generator system. So I have to choose a material acquisition and make the basic operations with the measured signals. The equipment has to work without being connected to a PC

  • Search for Explorer and menu Window 7 does not work

    The search feature in the start menu and in the search box in Windows Explorer menus does not work. I tried many things, including the solution involving the ef87b4cb-f2ce-4785-8658-4ca6c63e38c6 registry key, but this file is not in my registry under