Two tables have been targeted in sql but show only a single table top running pln

Dear all,

I captured in statspack following sql. There are two tables mentioned in the sql code. However, in the execution plan, it is alone. Grateful if you can help us with that. TQ.
                                                     CPU      Elapsd
  Buffer Gets    Executions  Gets per Exec  %Total Time (s)  Time (s) Hash Value
--------------- ------------ -------------- ------ -------- --------- ----------
    448,047,663        3,738      119,862.9   95.5  1208.81   1387.07  998768410
Module: java@myfabbus (TNS V1-V3)
SELECT  QID, MID, MSG_STATE, MSG_STATE_WHEN  FROM mybus.MYIQ_myb
us WHERE MID =   (SELECT MIN(Q.MID) FROM mybus.MYIQ_mybus Q, myb
us.MYIM_mybus M    WHERE M.MSG_NAME = :1 AND M.MSG_VERSION = :2
AND M.MID = Q.MID   AND Q.MSG_STATE = 0) AND MSG_STATE = 0
Here's the updated sql shaped for ease of reading
SELECT  QID, MID, MSG_STATE, MSG_STATE_WHEN  
FROM mybus.MYIQ_mybus 
WHERE MID =   (SELECT MIN(Q.MID) 
                  FROM mybus.MYIQ_mybus Q, 
                           mybus.MYIM_mybus M    
                      WHERE M.MSG_NAME = :1 
                      AND M.MSG_VERSION = :2
                      AND M.MID = Q.MID   
                      AND Q.MSG_STATE = 0) 
AND MSG_STATE = 0
Here's the sql for the query statspack report. Note that there is only one table (MYIQ_mybus) mentioned in the implementation plan.
STATSPACK SQL report for Hash Value: 998768410  Module: java@myfabbus (TNS V1-V3)

DB Name         DB Id    Instance     Inst Num Release     Cluster Host
------------ ----------- ------------ -------- ----------- ------- ------------
MYBUSPRD      2074549195 MYBUSPRD            1 9.2.0.5.0   NO      mydm01

 Start Id     Start Time         End Id      End Time       Duration(mins)
--------- ------------------- --------- ------------------- --------------
       41 13-Jan-10 08:32:14         42 13-Jan-10 09:02:15           30.02

SQL Statistics
~~~~~~~~~~~~~~
-> CPU and Elapsed Time are in seconds (s) for Statement Total and in
   milliseconds (ms) for Per Execute
                                                       % Snap
                     Statement Total      Per Execute   Total
                     ---------------  ---------------  ------
        Buffer Gets:     405,851,843        204,356.4   92.38
         Disk Reads:               0              0.0     .00
     Rows processed:           1,593              0.8
     CPU Time(s/ms):           1,069            538.4
 Elapsed Time(s/ms):           1,120            563.9
              Sorts:               0               .0
        Parse Calls:             121               .1
      Invalidations:               0
      Version count:               1
    Sharable Mem(K):              34
         Executions:           1,986

SQL Text
~~~~~~~~
SELECT  QID, MID, MSG_STATE, MSG_STATE_WHEN  FROM mybus.MYIQ_myb
us WHERE MID =   (SELECT MIN(Q.MID) FROM mybus.MYIQ_mybus Q, myb
us.MYIM_mybus M    WHERE M.MSG_NAME = :1 AND M.MSG_VERSION = :2
AND M.MID = Q.MID   AND Q.MSG_STATE = 0) AND MSG_STATE = 0

All Optimizer Plan(s) for this Hash Value
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Shows all known Optimizer Plans for this Hash value, and the Snap Id's they
were first found in the shared pool
-> ordered by Snap Id

    Plan
 Hash Value  Snap Id        Cost Optimizer
------------ -------- ---------- --------------------
  4280385364        3         2  CHOOSE

Plans in shared pool between Begin and End Snap Ids
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Shows the Execution Plans found in the shared pool between the begin and end
snapshots specified.  The values for Rows, Bytes and Cost shown below are those
which existed at the time the first-ever snapshot captured this plan - these
values often change over time, and so may not be indicative of current values
-> Rows indicates Cardinality, PHV is Plan Hash Value
-> ordered by Plan Hash Value

--------------------------------------------------------------------------------
| Operation                      | PHV/Object Name     |  Rows | Bytes|   Cost |
--------------------------------------------------------------------------------
|SELECT STATEMENT                |----- 4280385364 ----|       |      |      2 |
|TABLE ACCESS BY INDEX ROWID     |MYIQ_MYBUS           |     1 |   26 |      2 |
| INDEX UNIQUE SCAN              |MYIQ_MYBUS_I1        |     1 |      |      1 |
--------------------------------------------------------------------------------

End of Report
Rgds
Ung

Tags: Database

Similar Questions

  • How to restore pictures that have been deleted from Lightroom, but not removed from the 'drive '?

    How to restore pictures that have been deleted from Lightroom, but not removed from the 'drive '? Also, how can I restore photos after saving Lightroom. I started to remove some files and it removed ALL of them! I chose the option "cancel delete files" and them brought back, she says they are all "missing or offline. I tried to 'find' a different folder and it deleted the folder all together and now I don't know where he is. Help, please!

    How to restore pictures that have been deleted from Lightroom, but not removed from the 'drive '?

    You need a backup of your Lightroom catalog file before deleting the photos made. You have such a backup? If so, find the backup catalog, open it (double click on it) and then search for the photos you want and select them and then file-> export catalogue; Then go to your original catalog file, open it and select file-> import from another catalog and points to the catalog that you just exported.

    If you do not have a backup of your catalog file, then the only thing you can do is to import the photos again, and Lightroom will treat them as totally new photos with no editing and no metadata provided by the user.

    Moreover, the idea of importing photos into Lightroom and then later removing them to Lightroom should is limited to photos you will EVER want such a photos that are so overexposed or underexposed or blurred that they are essentially useless. The photos that you care enough to run a task on (including editing) should never be removed from Lightroom.

    Also, how can I restore photos after saving Lightroom.

    Is this the same problem as above, or another?

    I chose the option "cancel delete files" and them brought back, she says they are all "missing or offline.

    Is it possible that you actually deleted pictures from the hard disk, as well as from Lightroom? Anyway, Lightroom cannot find the photos and you first need to find photos on your hard drives and then direct Lightroom to the location of the photo on your hard drive, using these instructions Adobe Lightroom - find folders and files moved or missing

  • Hello, Photoshop and Lightroom have been installed in Portuguese, but I prefer English. How can I change the language?

    Hello, Photoshop and Lightroom have been installed in Portuguese, but I prefer English. How can I change the language?

    Change language http://helpx.adobe.com/creative-cloud/kb/change-installed-language.html cloud

  • Hello... just asked this, but not sure it sent... new laptop, no cd/dvd player, need to install my design cs6... standard have code # and product series, but the only download link, I found was a bit slow (14 days and count - up - when it expired,)

    Hello... just asked this, but not sure it sent... new laptop, no cd/dvd player, need to install my design cs6... standard have code # and product series, but the only download link, I found was a bit slow (14 days and count - up - when it expired, haha)... hoping someone can help, please and thank you

    You can try with below steps if you want:

    Folder Temp light 1).

    (2) close all running Applications.

    (3) close webistes all opened browser.

    (4)disable the firewall temporarily.

    (5) open only Adobe Web site as it is safe and secure site free of all kind of threats.

    (6) then try to download CS 6 Design Standard and check.

    Note: Though the firewall is disabled. do not open applications, files or even other Web sites.

    Or if you think it is still very slow and would not turn off the firewall , you can try with 3' rd party like download managers: IInternet Download Manager , which is more efficient than the browser built in downloader.

  • I can't save. Advance registration line but shows only a few peaks.

    I can't save. Advance registration line but shows only a few peaks.

    Hello

    1 did you do any change on the computer before this problem?
    2. which version of the Windows operating system is installed on your computer?

    If you are using Windows Vista I suggest you to consult the following Microsoft article.

    Troubleshoot audio recording : http://windows.microsoft.com/en-us/windows-vista/Troubleshoot-audio-recording-problems

    If you are using Windows 7 I suggest you to consult the following Microsoft article


    Open the troubleshooting of Audio recording open the troubleshooting of audio
    :http://windows.microsoft.com/en-US/windows7/Open-the-Recording-Audio-troubleshooter

    Also see the following Microsoft article:

    Record audio with Sound Recorder: http://windows.microsoft.com/en-US/windows7/Record-audio-with-Sound-Recorder

    Audio recording in sound recorder: frequently asked questions: http://windows.microsoft.com/en-US/windows7/Recording-audio-in-Sound-Recorder-frequently-asked-questions

    Record sound: http://windows.microsoft.com/en-US/windows-vista/Record-sound

  • In disk management, it shows only a single hard drive and it's C, but it lists the size than what my old drive was that I took out

    I got a new hard drive in my computer and the old a subscribed.  I then had to reinstall Windows XP Pro.  In disk management, it shows only a single hard drive and it's C, but it lists the size than what my old drive was that I took out.  The new shows of unallocated hard disk without a drive letter and has a black bar above it. How do I show my new hard drive that is 1 TB instead of one that was a 250 GB is not yet in my computer.

    Hi Reta,

    ·         The drive appears like 250 GB even if it's a terabyte?

    ·         Is the remaining 750Go showing as unallocated disk space?

    If this is the case, you can refer to this article on how to use disk management in Windows XP:

    How to use disk management to configure dynamic disks in Windows XP

    You can follow the directions to extend a Simple Volume so that your 250 GB turns into a single terabyte.

  • have been sent an email but we didn't come in my box of reception or any other file or folder

    have been sent an email on May 8, but it didn't in my box of reception or any other file or folder. I know with certainty that it was sent to me that I was on the mailing list, and got everyone but me... Please help as it is an important email

    Contact the sender and have the email sent again.

  • Some of my bookmark favicons have disappeared and have been replaced by those that show a blank page. I have read many articles on the problem, but nothing has helped.

    I read many articles about this problem and have found no solution yet. Some of my favicons, which was already good, have disappered. They have been replaced by images of 'white page' where the favocons should be on my favorite Firefox toolbar. Here is a short list of them: the BBC, The Washington Post, HebCal date converter, CapitalOne, FedLoan, US Bank, The Veterans Administartion and Google. I don't recognize a pattern in the types of Web sites and ALL these favicons appear in Internet Explorer and Google Chrome... very strange. This happened more than six months ago. I have read several articles online and tried as much as I can contact here. I picked up some nasty viruses along the way help that hurts and caused enough grief that I really don't need the hunting. So I ask you all to Firefox to help, please. Thank you.

    You can check these prefs on the topic: config page to make sure that they are always default.

    • Browser.chrome.favicons
    • Browser.chrome.site_icons

    You can open the topic: config page via the address bar. You can accept the warning and click on "I'll be careful" to continue.

  • I have an internet connection 100M but getting only 30 M wireless

    I have the internet connection of 100 M but getting only 30 M wireless.  How to increase the speed?

    Turning off time Capsule

    Turning your Mac off

    Locate your Mac... about 9-10 feet or 3 metres from the time Capsule to clear line of sight between the Mac and the Time Capsule

    Turn on the time Capsule and let it run for a minute

    Turn on the Mac and let it run for a minute

    Check the speed once again using a site like www.speedtest.net and report on your results.  (Do NOT use an iPhone or iPad to check wireless speeds.)

  • I have files mp4 with 4 audio channels, but when I import it into the first it shows only a single channel

    I have the mp4 with 4 channel audio file that is not in the audio channel. When I import in the first it shows only 1 channel. In the project window, I try to find other audio channels on option audio channel (Edit-> audio channels) but it shows other channels. How active other audio channels and retrieve audio sound?

    When you go to interpret, I chose multichannel, then specified 4 tracks.

  • Pls help: SQL Loader support only a single record

    Hello!!!

    I'm trying to insert data into a table using SQL Loader.

    I entered on the command line,

    > sqlldr userid = abc\abc control = "contrl_file_name.ctl."

    It does not perform any operation and simply crashes... table does no data... no data in the log file...

    It simply shows the SQL Loader Release... production... Copyright messages and do not stop.

    Am new on SQL loader... Kindly help

    *************************************************************

    Another problem:

    I have my file loading_data.dat with multiple entries as below which are records to be inserted for a single column in my table.

    233207332711 < EOFD > < EORD > 233208660745 < EOFD > < EORD > 233200767380 < EOFD > < EORD >...

    My control file is like this:

    data continue_load

    INFILE loading_data.dat '.

    Insert

    in table T1

    fields terminated by '< EOFD > < EORD >.

    (msisdn)

    When I execute the following statement of sqlldr, he inserts a single record and says loading completed - logical number of records 1.

    Why my other documents are not get inserted?

    Post edited by: 3cd7ad85-b56c-4a9c-ae91-83be047aac2c

    Continue_load can only be used with direct path, unconventional path.  You must specify the record terminator and terminator of field, which is the same when your data are only a single column.  Please see the example below.  As for your digital problem, as you can see, it does not reproduce below.  Your problem could be due to many things.  He might try to read something else that what you think, he tries to read, because of something else being wrong.  It is possible that you need to use:

    (msisdn "to_number (ltrim (rtrim (: msisdn)))")

    to remove the leading and trailing spaces and convert it to a number.  You must provide a copy and pasting a full example, as I did below.

    -loading_data.dat content:

    233207332711 233208660745 233200767380

    -control_file_name.ctl:

    load data

    INFILE loading_data.dat "str"".

    Insert

    in table T1

    fields terminated by ' '.

    (msisdn)

    Scott@orcl12c_11gR2 > create table t1 (msisdn number)

    2.

    Table created.

    Scott@orcl12c_11gR2 > host sqlldr scott/tiger control = control_file_name.ctl log = test.log

    Scott@orcl12c_11gR2 > numLargeur 20 the value

    Scott@orcl12c_11gR2 > select * from t1

    2.

    MSISDN

    --------------------

    233207332711

    233208660745

    233200767380

    3 selected lines.

  • My Mac Mini with 500 GB disk hard but shows only 276 available.

    I think that is is split using Bootcamp when I bought to load programs such as Word and Excel PC... I think there may be half the player I do not use. But it only shows the "Windows partition where you are supposed to choose the section you want. Where is the rest of the disc? Thank you

    You're not being very clear, but...

    Launch utility disk from the Applications > Utilities folder. It will show you how your disk is partitioned.

    If you want to see how your disk space is being used, select about this Mac from the Apple menu, then click the storage tab.

  • I tried to connect wifi with my laptop, including wireless I use for a month now, but shows only 2 blue screens without the world down on the right, and he said "unidentified network".

    "Unidentified network".

    Hello, today I tried to connect to my friends wifi with my laptop, including wireless I use it for a month now and its impossible! Down right it shows only 2 blue screens without the World Cup, and he said "unidentified network"! I tried several solutions, I found online as 'install the protocols Internet 4 and 6', make sure that I have the ip auto get same restore point system and safe mode with network! Nothing works... my friend connects with his laptop and I can connect with my smartphone, except my laptop! I have windows vista... Please help me thanks

    Go to: Control Panel, Manager of Devic, adapters to extend your network, click with the right button on your wireless network and click on uninstall.

    Do not put a check in the box: remove the software driver for this device.

    Restart your computer and Windows will install your wireless network.

    If the problem persists, see if your computer manufacturer has an updated driver.

    These articles may help:

    http://Windows.Microsoft.com/en-us/Windows/help/wired-and-wireless-network-connection-problems-in-Windows

    http://support.Microsoft.com/kb/313242

  • How can I remove the Apple one of the 5s 2 phones in order to separate the two that have been synchronized for 2 years, ID also pay 2 to 1 TB of space iCloud that is synchronized on both, how separate it so

    How to delete & recreate ID Apple on 2nd-5 used by my son? Separate lines, using the same Apple ID. Also, I pay for 1 to iCloud space used by two phones, can it be "assigned" or separate?

    Howdy Dereck,

    This looks like what you want to do, is to have your son to use his own Apple ID, rather than your own, because there is currently, on his iPhone. Is this fair?

    It is recommended that each user has their own Apple ID. This makes sure the property of purchased items, such as music and apps, goes to the person using them. It keeps your privacy, so that emails, messages, and passwords are available for the person who has to do. See this article for more information - use your own Apple for sharing the family ID. In particular.

    Avoid sharing an Apple ID

    If you share the same Apple ID with a member of the family to iTunes & App Store purchases, some services will treat you like the same person. You can see these and other questions:

    • Family membership Apple music: rather than receive your own membership with your own library, you will share a library and recommendations with the other Member of the family.
    • iTunes, iBooks, and App Store purchases: If the family sharing is already stopped, the owner of the common Apple ID will keep all purchases. You may lose access to everything in the account, including all purchases that you have launched.
    • IBooks and iTunes u Podcasts: Podcast episodes, bookmarks, and iTunes U course could synchronize according to the preferences of the other Member of the family or deleted accidentally.

    So, you will need to create an Apple ID for your son, if you don't have already done. If it is less than 13 years of age, this should be done by using the share of the family. See this article - family sharing and Apple ID for your child. Older children and adults can create an Apple by following the steps in this article - ID create and start using an Apple ID. IMPORTANT - If your son already has an Apple ID of hers, do not create one for him.

    Once the Apple ID for your son was created, he will want to enter important places on his iPhone. This article tells about all locations, you may need to change the ID in use on this phone Apple - where can I use my Apple ID?

    Your iCloud account is intended for an Apple ID.

    Thank you for using communities of Apple Support.

    Best for you.

  • MY TWO PRINTERS HAVE BEEN ERASED FROM MY SYSTEM (?). WHEN I HIT "ADD a PRINTER" TO RESTORE, I GET NONE CAN DO BECAUSE 'print SPOOLER IS NOT IN SERVICE. WHAT'S UP? HOW TO FIX?

    My computer froze and I had to do an emergency stop.  When I restarted the next morning, the software for my two printers had magically been UNINSTALLED.  A blank page.  When I tried to add a printer: without success because "PRINT SPOOLER does NOT WORK".

    How can I get my PRINT SPOOLER 'run' again?

    What is an emergency stop valve?

    Is this really what the message says, or does mean:

    Operation could not be performed.  The print spooler service is not running.

    To start the Print Spooler Service, click Start, run, and in the type box:
           
    services.msc
           
    Click OK to open the Services Applet.
           
    Locate the Print Spooler Service, right click and choose 'Properties' and then click on the 'Start' button to start the Print Spooler Service.

    If it does not start, what (exactly).
       
    The option "Startup Type" of Service properties print spooler is usually set to "Automatic" (which is now a good time to check it out).
       
    If the "Startup type" is not set to "Automatic", set the "Startup type" to "Automatic" If that is your desire (which now is the time to check it out).

Maybe you are looking for

  • Observed a different behavior between Firefox and all night (on Facebook)

    I love trolling Facebook as all with much too much time on their hands. I discovered something funny going on. I have 2 laptops. An an XP dinosaur Firefox running (x 86 plus recent 33.0?), the other running every night. I now use every night. When I'

  • Unable to update or buy apps, family message appears

    Rerecently when I tried to update an app, I got this message that says "there is a problem of billing with previous purchase a family member." Ask the family Organizer to update their billing information. We do not know what to do. My husband can dow

  • Cursor jumps on T61 even with disabled TouchPad

    The cursor on my T61 will suddenly jump to a new place on any page (Word, e-mail, VBA) I'm editing. Sometimes, it's as if an invisible gremlin has turned the wheel of scrolling the mouse, because (according to the application), the screen can jump by

  • Lost icon of audio, how can I get that back

    I had the sound on my computer and now it is gone and so is the icon, how do I get it back?

  • drive multimedia windowsws ceased to recognize mp3 players

    I have a windows Vista Edition basic family and windows media player sync on my mp3 player but has suddenly just stopped and does not recognize any other mp3 player. mp3 players and all connections are in perfect condition and my usb port recognizes