What is the meaning of this statement.

Of http://docs.oracle.com/cd/E11882_01/server.112/e16638/optimops.htm#autoId34, there is not that I can't understand.
If the path of the inner table is independent of the external table, then the same lines are retrieved for each iteration of the outer loop, significantly reduce the performance of the.
What is the meaning of this statement? You can take an example for me?

Thanks
Lonion

>
Of http://docs.oracle.com/cd/E11882_01/server.112/e16638/optimops.htm#autoId34, there is not that I can't understand.

If the inner table's access path is independent of the outer table, then the same rows are retrieved for every iteration of the outer loop, degrading performance considerably. 

What is the meaning of this statement? You can take an example for me?
>
Can you say: join Cartesian?

This quote is from the section explaining the nested loops. and note it gives you a clue:
>
See also:

"Cartesian joins.
>
The sentence BEFORE the one you quoted, it is what connects your quote with the MENTION:
>
It is important to ensure that the internal table is driven out of the external table (function).
>
This statement means that the lines of the internal table should DEPEND ON the external table.

In a Cartesian join the inner table will depend on the external table at all:

SELECT D.*, E.* FROM DEPT D, EMP E

There is no WHERE clause, so there is nothing saying Oracle tables are related as well. Oracle will perform a Cartesian join and if a nested loop is used then, as says your quote, "the same lines are retrieved for each iteration of the outer loop, performance degradation significantly."

All Oracle ranks visits to query external table lines will now be the inner table. But because there is no WHERE clause is no available information to EXCLUDE lines from the internal table "the same lines are extracted" (ALL) "for each iteration of the outer loop.

Here is the same query above using the USE_NL hint to force Oracle to use a nested loop

SQL> select /*+ use_nl (d e) */ d.*, e.* from dept d, emp e;

56 rows selected.

Execution Plan
----------------------------------------------------------
Plan hash value: 4192419542

---------------------------------------------------------------------------
| Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |
---------------------------------------------------------------------------
|   0 | SELECT STATEMENT   |      |    56 |  3248 |    10   (0)| 00:00:01 |
|   1 |  NESTED LOOPS      |      |    56 |  3248 |    10   (0)| 00:00:01 |
|   2 |   TABLE ACCESS FULL| DEPT |     4 |    80 |     3   (0)| 00:00:01 |
|   3 |   TABLE ACCESS FULL| EMP  |    14 |   532 |     2   (0)| 00:00:01 |
---------------------------------------------------------------------------

Statistics
----------------------------------------------------------
          1  recursive calls
          0  db block gets
         42  consistent gets
          0  physical reads
          0  redo size
       3897  bytes sent via SQL*Net to client
        452  bytes received via SQL*Net from client
          5  SQL*Net roundtrips to/from client
          0  sorts (memory)
          0  sorts (disk)
         56  rows processed

SQL>

Tags: Database

Similar Questions

  • What is the meaning of this notification icon?

    like the topic, what is the meaning of the icon not to mention that the wifi?

    Thank you

    Hello and welcome to the community! Since you are new, please make sure that you have checked our Forum.

    This is the icon for device hearing aid compatibility under settings-> settings of call-> hearing aids.

  • What is the meaning of this update? No JellyBean?

    Hello

    We see this new to the official Sony blog:

    http://blogs.sonymobile.com/products/2012/08/21/new-ice-cream-sandwich-software-version-for-2011-XPE...

    It is said: the new ICS updated upcoming Xperia 2011 phones.

    I am worried about this update. Because Sony can say after this update: Yes it is enough use ICS.

    So, what do you think about this?

    I agree, we need to keep the son, for other users are aware of this and solidarity we will prevail.

    Sony should stop trying to incorporate their UIX it creates a lot of problems and slows down updates

    Don't forget to mark the correct answers & useful answers

    Another issue, if you have time please check this thread

    http://talk.sonymobile.com/thread/44888

  • OfficeJet 6500 a, subject C2FE0122 error message. What is the meaning of this code?

    This printer a little over a year old demanded a replacement Printhead and printhead frequent cleaning. Is there a solution to this problem?

    Given that the error is not accompanied by the words 'Ink system failure' this alphanumeric code points to a problem overall impression material. Here a link to a document that deals with the alphanumeric codes for your printer model. It will show you how to reset the product. I hope this helps.  If you reach the end of this document and the issue is not fixed, sought to replace the product.

    If you are still in warranty, HP can replace the printer without cost to you. I'll link the information to get in touch with them below. The link takes you to a form to fill out. Once you fill it and she is treated, it will give you the printers warranty information, a file number and the phone number to call. Technical Support case HP formula call: https://h10025.www1.hp.com/ewfrf/wc/phoneInput?cc=us&dlc=en&lc=en&product=5061082

  • What is the meaning of this error

    Can Hi all, you explain me this error? When I'm conversion response I popup message float64 I get this error it will execute the error, if I continue I get a good return. Best regards Manasa M

    If you want to get the "number of iterations" entered the stage of Message Popup, better use the Val() function:

    Locals.numberOfIterations = Val (RunState.Sequence.Main ["number of iterations"]. Result.Response)

  • What is the problem with this statement

    < cfset oldisnam1 eq ' #left ("#trim (oldisnam1) #", ("#len (" #trim (oldisnam1) #")-notediff #") #) ">

    regarding;

    < cfset noteLength = "#len (noteline) #" >
    < cfset spacer = "" >
    < cfif noteLength lt 65 >
    < cfset noteDiff = 65 - noteLength >
    < cfloop index = "daLoop" from = "1" to = "#noteDiff #" >
    < cfset spacer spacer = & "' >" "
    < / cfloop >
    < cfset noteline2 = #DateFormat (Now (), 'yyyy-mm-dd') # & "" COURSE: "& #trim (oldisnam1) # &" "& #trim (oldcscity) # &" "& #trim (oldissta2) # & #spacer # &" "& #trim (iscmp2) # >"
    < cfelse >
    < cfset noteDiff = noteLength - 65 >
    < cfset oldisnam1 eq ' #left ("#trim (oldisnam1) #", ("#len (" #trim (oldisnam1) #")-notediff #") #) ">
    < cfset noteline2 = #DateFormat (Now (), 'yyyy-mm-dd') # & "" COURSE: "& #trim (oldisnam1) # &" "& #trim (oldcscity) # &" "& #trim (oldissta2) # & #spacer # &" "& #trim (iscmp2) # >"
    < / cfif >

    It's what worked;

    I really made a mess, I don't?

    Thanks for making me think.

  • What is the problem with this pl/sql code?

    What is the problem with this statement of the cursor? I am getting PLS-00341 error for her:
    CURSOR cur_rsource(p_sql_stmt IN VARCHAR2) IS
            SELECT plan_table_output FROM v$sql s, table(dbms_xplan.display_CURSOR(s.sql_id, s.child_number)) t WHERE sql_text LIKE '''%'||p_sql_stmt||'%''';
    How to solve this problem?

    Thank you

    Published by: PhoenixBai on December 14, 2009 14:05

    I don't have time right now to study exhaustively, but for me his vomit ORA-00942 table or view does not exist on this line:

        SELECT sql_id, child_number into tmp_sql_id, tmp_child_number
             from v$sql where sql_text like sql_statement||'%' and sql_text not like '%v$sql%';
    

    I am able to select from v$ sql in normal SQL as user I am compiling as, so don't know why it's complaing.

    Anyone know if there are certain restrictions on access to the views v$ through PL/SQL?

    EDIT: http://www.dbasupport.com/forums/showthread.php?t=22299

    Access to the views of $ v seems to be through a role - try giving explicit access to it.

    As SYS, you must grant select permissions on V_$ SQL (V$ SQL is synonymous with V_$ SQL) to your owner of the procedure. Just tested on my system and it allows him to compile.

    Published by: Cyn on December 14, 2009 10:30

  • What is the meaning of the error code 0 x 8007024 and how do I solve this problem?

    Can not turn on my Windows Firewall and everytime I try to do, it says error code 0 x 8007024. So, what is the meaning of the error code 0 x 8007024 and how do I solve this problem? Thanks for your concerns...

    See the following: http://support.microsoft.com/kb/968002

  • the color scheme has been changed to windows 7 Basic. What does that mean? This prevents me from using a program on my laptop. How can I fix?

    What does that mean? This prevents me from using a program on my laptop. How can I fix?

    Hi Justin_89,
    1. what changes have been made on the computer?

    Method 1
    I suggest you follow the steps in the following article and see if that helps.

    Change the colors on your computer
    http://Windows.Microsoft.com/en-us/Windows7/change-colors-on-your-computer

    Additional information:
    Change color management settings
    http://Windows.Microsoft.com/en-us/Windows7/change-color-management-settings

    Method 2
    If the steps above fail, I suggest you to run Aero troubleshooting.

    Open the Aero Troubleshooter
    http://Windows.Microsoft.com/en-GB/Windows7/open-the-Aero-Troubleshooter

    Guided Help: the problems of Aero in Windows 7
    http://support.Microsoft.com/kb/976170

    Method 3
    If the steps above fail, I suggest you to update your display adapter drivers. The following link will help you update the driver.
    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

  • What is the problem with this WHERE statement?

    What is the problem with this WHERE statement?

    < cfquery datasource = "manna_premier" name = "kit_report" >
    SELECT SaleDate,
    TerritoryManager,
    Distributor,
    DealerID,
    Variable,
    US_Dealers.ID,
    DealerName,
    DealerAddress,
    DealerCity,
    DealerState,
    DealerZIPCode
    Orders, US_Dealers
    WHERE US_Dealers.ID EQ DealerID AND SaleDate BETWEEN #CreateODBCDate (FORM. Implementation) # AND #CreateODBCDate (FORM. End) #.
    ORDER BY SaleDate
    < / cfquery >

    It's driving me crazy!

    Syntax error (missing operator) in query expression ' US_Dealers.ID EQ DealerID

    You accidentally use the CF equals operator: "EQ".

    Instead of MS Access: «=»

    [Macromedia] [SequeLink JDBC Driver] [ODBC Socket] [Microsoft] [ODBC Microsoft Access driver]...

    in a query expression. AND SaleDate BETWEEN #10/1/2009 #-October 18, 2009 #'.

    I don't see how CreateODBCDate() would produce these values.  But maybe it's just a quirk of the error message?

  • What is the meaning of the optimizer based on CSSTidy referring "A ORDERED USE_NL" Please?

    Hi all

    What is the meaning of the optimizer based on CSSTidy referring "A ORDERED USE_NL" Please?

    I searched the internet without great success (indicators of optimizer). Can you please enlighten me on this? Thank you.

    My problem is that it works well on a database and another data base, it is really slow.

    Kind regards

    Michael.

    Councils ORDERED to join the table in the order that they are put in the FROM clause. USE_NL oracle tips to use sweeping LOOP IMBRIQUEE.

    Here is an example. Find the order in which the tables are specified in the clause and the output of the execution plan.

    SQL> select /*+ ORDERED USE_NL(e d) */ d.dname, e.ename from emp e join dept d on e.deptno = d.deptno;
    ...
    ----------------------------------------------------------------------------------------
    | Id  | Operation                    | Name    | Rows  | Bytes | Cost (%CPU)| Time     |
    ----------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT             |         |       |       |     5 (100)|          |
    |   1 |  NESTED LOOPS                |         |    11 |   242 |     5   (0)| 00:00:01 |
    |   2 |   TABLE ACCESS FULL          | EMP     |    11 |    99 |     2   (0)| 00:00:01 |
    |   3 |   TABLE ACCESS BY INDEX ROWID| DEPT    |     1 |    13 |     1   (0)| 00:00:01 |
    |*  4 |    INDEX UNIQUE SCAN         | DEPT_PK |     1 |       |     1   (0)| 00:00:01 |
    ----------------------------------------------------------------------------------------
    Predicate Information (identified by operation id):
    ---------------------------------------------------
       4 - access("E"."DEPTNO"="D"."DEPTNO")
    
    SQL> select /*+ ORDERED USE_NL(e d) */ d.dname, e.ename from dept d join emp e on e.deptno = d.deptno;
    ...
    ---------------------------------------------------------------------------
    | Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    ---------------------------------------------------------------------------
    |   0 | SELECT STATEMENT   |      |       |       |     5 (100)|          |
    |   1 |  NESTED LOOPS      |      |    11 |   242 |     5   (0)| 00:00:01 |
    |   2 |   TABLE ACCESS FULL| DEPT |     4 |    52 |     2   (0)| 00:00:01 |
    |*  3 |   TABLE ACCESS FULL| EMP  |     3 |    27 |     1   (0)| 00:00:01 |
    ---------------------------------------------------------------------------
    Predicate Information (identified by operation id):
    ---------------------------------------------------
       3 - filter("E"."DEPTNO"="D"."DEPTNO")
    
  • No problem. What is the meaning of the spinner counterclockwise in tab, spinner clockwise vs? Transmission and reception?

    No problem, but a question: what is the meaning of the Pan anti-clockwise in the tab, vs the arrow to the right? Is it in the opposite direction when sending to the cloud and to the right at the reception of the Cloud?

    Thank you

    I think it's this way:

    needles: rising site in domain name registration and to establish a connection to the site.

    clockwise: actually receive information from a site and building Web page

  • Toshiba Canvio 1 TB HDD - what is the meaning of blue-white LED

    What is the meaning of light blue or white light flashing on this HARD drive?

    HARD drive seems to work OK whatever color is on.

    Thank you very much

    On my model (Canvio Connect II) the port of blue led lights if connected to a port USB3 and white if connected to a USB2 (and probably USB1). I think the same thing applies to your model too.

  • My computer makes a clicking noise at random - in the diagnosis of the Apple what is the meaning of error 4HDD/30 / 40000005:SATA (0,0) Please?

    My computer makes a clicking noise at random - in the diagnosis of the Apple what is the meaning of error 4HDD/30 / 40000005:SATA (0,0) Please?

    Several clues:

    1. HARD and SATA drive in the message... On the way SATA HARD drive
    2. Clicking noise, which is an early signal of imminent death for HARD drive (there are only two types of readers... those who died and those who will be)

    I would like to start keep good clones (CarbonCopyClone, bombich.com, $40) for external drives or backups Time Machine.  Any backup of the drive, not just your favorite parts.  Perform backups on a schedule without fail IMHO.

    You can also start to consider a SSD at macsales.com (their mercury collection is highly recommended) or a new HARD disk, at least start planning if the SSD cost is worth the benefit of speed on the HARD drive.  You can buy it later.

    Just my paranoid approach to this situation.

  • What is the meaning of the name of an iso file?

    For example,cn_windows_server_2008_datacenter_enterprise_standard_sp2_x86_dvd_342333.iso and SW_DVD5_Windows_Svr_2008w_SP2_ChnSimp__x86_DC_EE_SE_X15-41045,What's the difference between the two?
    
    For example,cn_windows_server_2008_datacenter_enterprise_standard_sp2_x86_dvd_342333.iso and SW_DVD5_Windows_Svr_2008w_SP2_ChnSimp__x86_DC_EE_SE_X15-41045,What's the difference between the two?
    

    Any ISO file name is just a name.  You can rename this one, for example, for "Windows Server 2008 Enterprise 32-bit Edition with SP2. ISO"and it means the same thing.
     
    If you want more precisely say Microsoft ISOs - well, can extrapolate you from the example?  ;-)

    My question is that why Microsoft name an iso file in different ways? And what is the meaning.

    x86_DC_EE_SE_X15-41045"?I have heard that the former can be downloaded from MSDN subscribtion and the latter is distributed in VOL channel.
    

    Why name a file ISO in different ways?  It's a different ISO file.  Don't forget: an ISO file is simply an image of a CD or DVD.
     
    Also - if you are the one doing the download from a legitimate source, you KNOW what you get no abridged way plain before arriving anyway. by the description.
     
    In any case – why reinvent the wheel:
    http://www.betaarchive.com/forum/viewtopic.php?t=26026
     
    The short of it: it is usually the name of the product in there, the architecture (32-bit or 64-bit), the language (like the comparison you wanted, is a simplified Chinese and other English, because there is no moniker language) and the product part number (which is something useful only to resellers and Microsoft in many ways).
     
    If you don't mind me asking, what is curiosity behind the naming scheme?

Maybe you are looking for

  • I can restore my phone I put in place with a new Apple ID from a backup who had an old Apple ID?

    I created a new Apple ID because my only previous has been compromised.  I went through the process of setting up my iPhone as a new iPhone with my new Apple ID.  However, when I plug it into my Mac and launch iTunes, I wonder if I want to set it up

  • Microsoft Works that shows maps, etc.

    Recently purchased new computer Windows Vista. When opening am a message appears asking you if I want to download Microsoft Works, since I didn't know what to do, he disappeared. I don't know what are the programs supplied with Vista, however, it wou

  • Purchases of BBM cannot restore after upgrading 10.9.5.19

    I can't restore purchases after update to 10.9.5.19. I have tried to disable the device, and then restore purchases again and still nothing. Can someone help me? I have classic BB with 10.3.1.1779.

  • Choirs

    HelloI want to know how I can do the chorus of the song to be heard, for example the rest of the music to be not heard the choirs to be most resonated. Ive tried to use the vocal remover defining and setting of karaoke, but this isn't what I want, I'

  • can I use the apps purchased on the other computer?

    I bought all the apps for 1 year usage.I have consulted successfully apps purchased on my first computer,but I can't download the apps on my other laptop.He said: I can only download 30-day trial.