How to identify Which table is hashed

DB : 10.2.0.3
OS : AIX 6.1
I have a query that is using hash join. Below is the query and execution plan.
SELECT  tj.jq_id jq_id        ,
        tj.ref_key1 ref_key1  ,
        tj.ref_key3 ref_key3  ,
        tj.ref_key2 ref_key2  ,
        tj.ref_key4 ref_key4  ,
        th.rcp_id rcp_id      ,
        th.tp_id tp_id        ,
        th.transmittal_no trno,
        status_flag           ,
        tj.ref_key5 ref_key5  ,
        TO_CHAR(tj.date_finished, 'DD-MM-YYYY HH:MI:SS PM') finished
FROM    transmittal_job_queues tj,
        transmittal_headers th
WHERE   tj.job_type_id          = :1
        AND tj.expiration_date IS NULL
        AND th.expiration_date IS NULL
        AND tj.ref_key1         = th.th_id
        AND ref_key2           IS NULL
        AND tj.status_flag     IN ('R', 'A')
ORDER BY status_flag,
        th.tp_id    ,
        tj.effective_date DESC
PLAN_TABLE_OUTPUT
Plan hash value: 1402657176
| Id  | Operation           | Name                   | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     |
|   0 | SELECT STATEMENT    |                        | 18734 |  1335K|       | 10347   (2)| 00:02:05 |
|   1 |  SORT ORDER BY      |                        | 18734 |  1335K|  3272K| 10347   (2)| 00:02:05 |
|*  2 |   HASH JOIN         |                        | 18734 |  1335K|  1184K| 10022   (2)| 00:02:01 |
|*  3 |    TABLE ACCESS FULL| TRANSMITTAL_JOB_QUEUES | 18570 |   961K|       |  1623   (2)| 00:00:20 |
|*  4 |    TABLE ACCESS FULL| TRANSMITTAL_HEADERS    |  1046K|    19M|       |  6739   (2)| 00:01:21 |
Query Block Name / Object Alias (identified by operation id):
   1 - SEL$1
   3 - SEL$1 / TJ@SEL$1
   4 - SEL$1 / TH@SEL$1
Predicate Information (identified by operation id):
   2 - access("TH"."TH_ID"=TO_NUMBER("TJ"."REF_KEY1"))
   3 - filter(("TJ"."STATUS_FLAG"='A' OR "TJ"."STATUS_FLAG"='R') AND
              "TJ"."JOB_TYPE_ID"=TO_NUMBER(:1) AND "REF_KEY2" IS NULL AND "TJ"."EXPIRATION_DATE" IS NULL)
   4 - filter("TH"."EXPIRATION_DATE" IS NULL)
Column Projection Information (identified by operation id):
   1 - (#keys=3) "STATUS_FLAG"[VARCHAR2,1], "TH"."TP_ID"[NUMBER,22],
       INTERNAL_FUNCTION("TJ"."EFFECTIVE_DATE")[7], "TJ"."JQ_ID"[NUMBER,22],
       "TJ"."REF_KEY1"[VARCHAR2,20], "TJ"."REF_KEY3"[VARCHAR2,20], "TJ"."REF_KEY2"[VARCHAR2,20],
       "TJ"."REF_KEY4"[VARCHAR2,90], "TH"."RCP_ID"[NUMBER,22], "TJ"."REF_KEY5"[VARCHAR2,20],
       "TH"."TRANSMITTAL_NO"[NUMBER,22], TO_CHAR(INTERNAL_FUNCTION("TJ"."DATE_FINISHED"),'DD-MM-YYYY
       HH:MI:SS AM')[22]
   2 - (#keys=1) "TJ"."JQ_ID"[NUMBER,22], "TJ"."REF_KEY1"[VARCHAR2,20],
       "REF_KEY2"[VARCHAR2,20], "TJ"."REF_KEY3"[VARCHAR2,20], "TJ"."REF_KEY4"[VARCHAR2,90],
       "TJ"."REF_KEY5"[VARCHAR2,20], "TJ"."STATUS_FLAG"[VARCHAR2,1], "TJ"."DATE_FINISHED"[DATE,7],
       "TJ"."EFFECTIVE_DATE"[DATE,7], "TH"."RCP_ID"[NUMBER,22], "TH"."TP_ID"[NUMBER,22],
       "TH"."TRANSMITTAL_NO"[NUMBER,22]
   3 - "TJ"."JQ_ID"[NUMBER,22], "TJ"."REF_KEY1"[VARCHAR2,20], "REF_KEY2"[VARCHAR2,20],
       "TJ"."REF_KEY3"[VARCHAR2,20], "TJ"."REF_KEY4"[VARCHAR2,90], "TJ"."REF_KEY5"[VARCHAR2,20],
       "TJ"."STATUS_FLAG"[VARCHAR2,1], "TJ"."DATE_FINISHED"[DATE,7], "TJ"."EFFECTIVE_DATE"[DATE,7]
   4 - "TH"."TH_ID"[NUMBER,22], "TH"."RCP_ID"[NUMBER,22], "TH"."TP_ID"[NUMBER,22],
       "TH"."TRANSMITTAL_NO"[NUMBER,22]
46 rows selected.
sys@TESTDB> select count(*) from TRANSMITTAL_JOB_QUEUES;
  COUNT(*)
    586928
sys@TESTDB> select count(*) from TRANSMITTAL_HEADERS;
  COUNT(*)
   1314095
sys@TESTDB> select sum(bytes)/1024/1024 from dba_segments where segment_name='TRANSMITTAL_JOB_QUEUES'
SUM(BYTES)/1024/1024
                65.5
sys@TESTDB> select sum(bytes)/1024/1024 from dba_segments where segment_name='TRANSMITTAL_HEADERS';
SUM(BYTES)/1024/1024
                 271I wanted to know, which table is hashed in memory among "TRANSMITTAL_JOB_QUEUES" & "'TRANSMITTAL_HEADERS" ?

Thanks, but is a thumb rule that smaller table will be hashed ?
Also, how can i be sure by seeing the executing plan that smaller table is hashed ?

Similar Messages

  • How to identify which key figure will the numeric pointer for deltas?

    Hi All,
    I have created a numeric pointer for generic extraction ? but how to identify which key figure will the numeric pointer will use for deltas ?
    how to identify the key figures which is suitable for numeric pointer. And the generic extraction is based upon the copa table?
    Can anyone suggest me how the numeric pointer works and how to identify deltas are carried out at numeric pointer?
    Thanks
    Pooja

    Pooja,
    If you are using a generic extractor which is based on COPA table, then numeric pointer may not be the suggested delta extraction mechanism. 
    A time stamp would be the better one to use.  In a time stamp, you can give a lower limit value of 300 seconds.. so that it will try to fetch the missed records.
    Moreover, a delta would be based on a character, preferably a time char.
    In your requirement, try to figure out the character on whichdeltas will be based.
    Sasi

  • How to identify which record(s) the user hasbeen checked

    i have a internal table in which first field is represented as check box in the output .
    like bellow
      loop at g_it_final into g_wa_final.
            write : 5 sy-tabix ,
                   20 g_wa_final-g_v_check as checkbox,
                   25 g_wa_final-TRKORR,
                   40 g_wa_final-AS4TEXT.
      endloop.
    now the user will select some records from the output checking the check box
    NOW the QUESTION is
    how to identify which record(s) the user hasbeen checked(selected) ?
    so that i can disply only the selected records in the secondary list.

    Hi,
    You will have to use the 'READ LINE' command within a loop to retrieve the data back into your program.
    You may want to use the HIDE command to ease the retrieval of the checkbox value.
    Check out the online help for both of these.
    Darren

  • How to identify which is rootsite/webapplication url and which are site collection url ?

    How to identify which is rootsite/webapplication url and which are site collection url underneath of web application using powershell script in following code?
    # Get site objects
    $webapplication = Get-SPWebApplication $siteUrl
    # Walk through each site in the site collection
    foreach($site in $webapplication.Sites)
    foreach($subWeb in $site.AllWebs)
    $_ = AddLevel123($subWeb.Url)

    Hi,
    Hope you wanted to know which API is Site collection (SPSite) and Sub site(SPWeb) 
    $webapplication.Sites = Site Collection (SPSite)
    and $site.AllWebs = Subsite (SPWeb)
    and see these links - to get webApplication URL
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/e223b607-ab35-454a-a050-1db3005687e5/spwebapplication-url?forum=sharepointdevelopmentlegacy
    SPSite Url - SPSite.Url (http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.spsite.url.aspx)
    SPweb URl - SPWeb.URL (http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.spweb.url.aspx)
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/b4dfb645-69f4-4abd-947c-64ca42af3a26/script-to-get-list-of-sites-and-subsites
    Hope this helps!
    MCITP: SharePoint 2010 Administrator
    MCTS - MOSS 2007 Configuring, .NET 2.0
    | SharePoint Architect | Evangelist |
    http://www.sharepointdeveloper.in/
    http://ramakrishnaraja.blogspot.com/

  • How to identify which videos

    I took a dozen or so short clips of an event. I know which three I want to combine and edit. But I can't figure out how to identify which they are in imovie in order to put those clips in my project. It shows them all as consecutive clips or frames, without file numbers or names.

    I'll try to explain better.
    A dozen clips or videos, 1 min to 5 min in length. In one case all along a mountain road.
    I want to produce a 5 min project or video with the best parts of 3 of those 12.
    All 12 have thumbnails almost identical (the dashboard across the bottom, roof line at the top)
    I only want to start editing the 3, not put all 12 in.
    How do I identify those 3?

  • How to identify Which function modules are used in the planning area?

    Hi all,
    there are couple of function module derviation is used to derive the calendar year, month, fiscal period etc.
    But how to identify which function module is used in which planning area?
    I cant find out from the where used list from function modules?
    Thanks
    pooja

    Hi Pooja,
    Go to characteristic relationship tab,click on detail icon on extreme left of the derivation,there you will get the name and the details of function module used for derivation.
    Regards,
    Indu

  • How to identify Which ports are using in RAC setup?

    Hi,
    how to identify Which ports are using in RAC setup?
    Thnaks,

    [Viewing Port Numbers and Access URLS|http://download.oracle.com/docs/cd/B19306_01/install.102/b14205/ports.htm#sthref1208]

  • How to know which table in the database a form is accessing

    Actually Im new to oracle applications,
    Im getting an error when i open a form from system administrator responsibility saying that table doesnot exist.
    My basic doubt is, how to know which table in the database a form is accessing.
    Any response is higly appreciated.
    Thanks,
    Praveen
    Edited by: user10239520 on Sep 10, 2008 7:07 AM

    Take a look at the following thread:
    Is there a query log in EBS?
    Re: Is there a query log in EBS?

  • How to identify which DC to modify?

    I need to change the iView u201CChange Own Datau201D in ESS.
    ESS -> Employee search -> Change Own Data
    How to identify which DCs to modify in development configuration?
    Greatly appreciated for any comment/suggestion!

    Hi,
           The purpose of each DC is modifying different Iviews (Ex:you need to modify Change Own data like that some other needs to change some other Iview may be this Iview will be present in another DC).
    based on our requirement we need to modify different different DCs.
    yes you need to modify in the DC as i mentioned..
    Regards,
    Anil.

  • How to identify which Internal order type is relevant for Budget manager

    Hi,
        How to identify which Internal order type is relevant for Budgeting i.e Budget Manager.
    regards,
    Rajesh

    controlling-internal orders-budegeting and availability control -define tolerance limits for availabilty control
       in which it is defined whether mail be sent to budget manager against the budget profile(budget profile is assigned to order type).
    controlling-internal orders-budegeting and availability control -define tolerance limits for availabilty control-maintain budget manager
    here budget manager is assigned to  order type
    assign me points if it is useful

  • How to identify which applicarion is using the DVD burner?

    How to identify which applicarion is using the DVD burner? Ot is not allow me to burn the DVDs genetrated in the Final Cut 7

    I think you'll find that the application is Final Cut Pro...  the message is bug.  I get a similar message when disconnecting external drives after using them with FCP (even when the project is no longer loaded.)
    As I mentioned above, the accepted workflow is to export the sequence to one of your hard drives using the Export>QuickTime Movie path with Settings:Current Settings and Make Movie Self-Contained checked like this:
    This gets you a high quality "master copy" which you open in Compressor for transcoding. You should use the DVD: Best Quality setting for the duration of your movie.
    this gets you the high quality MPEG-2 and AC-3 files for DVD Studio Pro authoring.
    If you've never used DVD Studio Pro before, you can use iDVD instead. For iDVD, you just drag and drop your "master" on iDVD and it takes it from there. Both make a very professional product.
    hope this helps.

  • How to identify which root certificate is used?

    How to identify which root certificate(on terminal) is used when a terminal is connecting to a https website?
    SecurityInfo.getServerCertificate() only returns the certificate send from the https server.
    But how could know the which local root certificate is used to verify the certificate send from the https server?
    Is there a method or class in MIDP 2.1?
    Thanks

    UP�Cthis question is urgent. Hope anyone can answer me!

  • How to identify which application is deployed wirelessly by BES?

    From BlackBerry Manager, can we identify which application is deployed wirelessly by BES, which is deployed by end user himself?  thanks.

    Thanks, but is a thumb rule that smaller table will be hashed ?
    Also, how can i be sure by seeing the executing plan that smaller table is hashed ?

  • How to Identify which Source Row is causing a slowdown in the Indexing?

    Every so often the Indexing seems to hit a wall and we gaet a huge backlog of text files that need to be indexed. We get about 2 to 3 million files per day. Most of the time the problem gets resolved when we increase the degree parallel. How can we identify which text file is causing the problem?
    Regards

    I wonder if the problem is becuse of some bug when the DR$PENDING gets to zero rows. Apparently this causes the query on CTX_USER_PENDING to take a long time. I use that view to determine the partitions to pass to SYNC_INDEX procedure.
    select
    pnd_partition_name
    ,count(*)
    from ctx_user_pending
    where pnd_index_name = '<index_name>'
    group by
    pnd_partition_name
    /This takes about 5 seconds for tow rows with 335 and 13 rows.
    Tables DR$INDEX, DR$INDEX_PARTITION and DR$PENDING have had Statistics gathered
    This query has taken over 45 minutes.

  • How to identify which server are connected in a switch?

    Hi,
    Many servers are connected to a switch?
    How to identify what server are connected to which port remotely?
    Thanks!
    Samuel

    Hi Sam,
    just issue the command show ip arp , it will display some thing like this for know the MAC address & the VLAN number.
    Protocol Address Age (min) Hardware Addr Type Interface
    Internet 10.2.1.18 9 0800.6913.710e ARPA Vlan2
    to know on which port it is connected, just issue the command as mentioned below
    sh mac-address-table address 0800.6913.710e
    Mac Address Table
    Vlan Mac Address Type Ports
    2 0800.6913.710e DYNAMIC Po1
    hpe this will help you to identify your servers.
    rate this post.

Maybe you are looking for

  • Need a program for  Y/Z report (extended report ) in START_REPORT

    Hi, Am trying to execute a Y transaction (report ) which is called by start_report transaction. Pls find the details below. D_SREPOVARI-REPORTTYPE= RE D_SREPOVARI-REPORT= D_SREPOVARI-EXTDREPORT= KP  01RPSCO_X                       Z12KST1D4 I want to

  • Item Category Control

    Hi Gurus, In IMG of Item category control  u2013 under transaction flow u2013 there is  check box i.e. create po automatic box ? can anybody explain what does it controls. Also give an example of scenario. Thanks, Savi

  • DR8-A2 not recognised following Live Update

    Hi, Having ruled out a motherboard problem (thank goodness), it seems that my DR8-A2 DVD drive is the cause of my system hanging at POST whilst detecting IDE drives. Whilst in Windows (XP Pro), reconnecting the power to this drive causes the system t

  • HT1218 what is an airport base station and how does it work?

    I received an iod touch for christmas and i am trying to figure it out.  i have never used an ipod ever and know nothing about how it operates and all the things that it can do.  i am having alot of trouble connecting to wi fi.  i can connect at my j

  • Navigating Through Groups of Radio Buttons

    Hi, I am having a problem navigating through groups of radio buttons. I have several groups of radio buttons, I tab to the first radio button and then press the down arrow to move to the next radio button in the list. When I press the down arrow the