Why index is being ignored

SQL> CREATE table t (a  VARCHAR2(10),b VARCHAR2(10))
  2  /
Table created.
SQL> BEGIN
  2    FOR i IN 1..10000
  3    LOOP
  4     INSERT INTO t VALUES (i,'A');
  5    END LOOP;
  6  END;
  7  .
SQL> /
PL/SQL procedure successfully completed.
SQL> COMMIT;
Commit complete.
SQL> CREATE INDEX t_a_idx ON t (a)
  2  /
Index created.
SQL> DESC emp
Name                                                  Null?    Type
EMPNO                                                 NOT NULL NUMBER(4)
ENAME                                                          VARCHAR2(10)
JOB                                                            VARCHAR2(9)
MGR                                                            NUMBER(4)
HIREDATE                                                       DATE
SAL                                                            NUMBER(7,2)
COMM                                                           NUMBER(7,2)
DEPTNO                                                         NUMBER(2)
GRADE                                                          NUMBER
SQL> SELECT * FROM emp WHERE empno>500
  2  /
Execution Plan
   0      SELECT STATEMENT Optimizer=ALL_ROWS (Cost=2 Card=14 Bytes=56
          0)
   1    0   TABLE ACCESS (BY INDEX ROWID) OF 'EMP' (TABLE) (Cost=2 Car
          d=14 Bytes=560)
   2    1     INDEX (RANGE SCAN) OF 'PK_EMP' (INDEX (UNIQUE)) (Cost=1
          Card=14)
Above query is not ignoring the possibility of using an index on empno column,while the same query with table t
ignoring the usage of index on 'a' column why??
SQL> SELECT *
  2    FROM t WHERE a>500
  3  /
Execution Plan
   0      SELECT STATEMENT Optimizer=ALL_ROWS (Cost=6 Card=9500 Bytes=
          133000)
   1    0   TABLE ACCESS (FULL) OF 'T' (TABLE) (Cost=6 Card=9500 Bytes
          =133000)
SQL> SELECT *
  2    FROM t WHERE a>'500'
  3  /
Execution Plan
   0      SELECT STATEMENT Optimizer=ALL_ROWS (Cost=6 Card=5552 Bytes=
          77728)
   1    0   TABLE ACCESS (FULL) OF 'T' (TABLE) (Cost=6 Card=5552 Bytes
          =77728)Khurram

Well, there are many issues with the test which you have posted here.
1. No statistics are collected after the table created, data inserted. Still, in your example it shows the cost, cardinality and bytes, unless you enable dynamic samplying parameter.
2. a VARCHAR2(10)
You have defined 'a' column as varchar datatype and ine one of your example you are using nubmber predicate value. Therefore, doing implicit conversion.
I have come across of this proble, like, why the hell my index ignored. Then understood the situation.
SQL> SELECT *
2 FROM t WHERE a>500
3 /
Lets take another example why index ignored,
SQL> SELECT *
2 FROM t WHERE a>'500'
3 /
column a has distinct values from 1 to 10000
formula for predicate selectity when there are no historgrams in place, as follows.
c1 > '4076' 1 - (High - Value / High - Low)
Apart from all, I dont believe in AUTOTRACE generated execution plan, it is not the real one, it is just predicated one.
If you are on >=9iR2, I strongly recommend you to use, DBMS_XPLAN.DISPLAY to get the execution plan.
Jaffar

Similar Messages

  • Why is 'background' being ignored in my JLabels?

    I am setting the background color on some JLabels to black, and not setting the 'text' attribute. Nevertheless, the JLabels always appear to have a background color of white. What gives?

    try label1.setOpaque(true)

  • Why I am being ignored? How does Bridge show if a file is associated TO an Adobe Premier project(s)?

    If a video file is linked to a premier project, how does bridge indicate that it is associated (linked) to the projects so i can be 100% sure that it must not be deleted?
    I put this threat for weeks and 1 response only. Is it someone out there who can give me a hand?
    I just finished a FEATURE-FILM in HD comprised of 40 + different Adobe Premier Projects; obviously many files (or clips) are associated to many projects at the same time, and some files are associated to none. So this is the thing: I need to delete 5,000 useless-not associated clips but I need to make sure that these files that I am deleting are not associated with any of my projects.
    I am sure that it has to be a way to allow me to ID them so I can sort them and massively delete the outtakes.
    Ideas?
    Thanks much
    Barro-THX
    Message was edited by: Barro-THX

    Bridge does not show where a file is open.  I have never used Premier, so unclear on what you are doing.
    Bridge will show the date file modified, if you have that option enabled in the metadata preferences.  In the filter panel you can sort the current screen by date file modified.  If you modified the clip and saved it you might be in luck.  See if you can locate a group of files with the same date as your project.

  • Hi Guys. Why are we in South Africa being ignored by Apply global when it comes to on-line services?

    Hi Guys, Why are we in South Africa being ignored by Apple global in terms of service?

    ?...what
    Also you are not speaking to Apple.  We are regular Users here to help with problems with your apple products

  • Being ignored

    My name is David and I've been a Verizon Wireless customer for the past few years. A couple of months ago, I began having issues with a brand new jetpack device. The device was using absurd amounts of data and I had no clue why. I contacted customer service and eventually got in touch with (removed) Smith, a supervisor. We talked about three times over the phone, on separate occasions, trying to figure out what was causing the problem. We reset the device, changed the password, etc., but nothing was fixing the problem. In the meantime, I had taken multiple steps to make sure nothing was using the data on my end. I set up a metered connection, which tracked exactly how much data went through my computer and it was not even close to what the jetpack was saying, despite being the only device connected to it. Ms Smith gave me her email address to stay in closer contact with her while we were trying all of the steps to fix the issue, so I could let her know exactly what I was seeing. The email address she gave me was (removed) Our contact first started in November and she sent me the first email on 12/1/13. The device began using even more data, now at a very alarming rate. In one night, it used 12.5 GBs of data. I spoke with her again on 12/14/13 when I first noticed how much data it had been using. She eventually sent me a new device, stating that the one I had was faulty and she wanted me to let her know when I got the new one so she could monitor the activity and see if it was following the same pattern or if it was acting normal. It ended up working 100% fine and not like the faulty device I had sent back in. She had told me over the phone that she would fix all of the overage charges from when I first got the device since it was messed up. She gave me credit for the total of overage from the first 3 months with the device, but she hadn't fixed the bill that had used 55 GBs of data, which was the last cycle in which I had that particular device.
    The last time I heard from Ms. Smith was on 12/31/13 when she had told me she was going to fix the charges. In the meantime, I was left waiting to hear that the fourth and final month had been taken care of, so the $460 worth of overages was still sitting on my bill. On 12/31/13, she emailed me asking for my number to reach me on so she could call me that day. I responded with my number, but never received a call. A week later on 1/6/14, I emailed her again with my number, telling her that I wasn't sure if she had received my email or not, but I was still waiting. As of 1/21/14, I had still not received a call, so I emailed her again telling her I needed to talk to her ASAP so we could get everything resolved and I could pay my bill. I also mentioned that I needed to have my data plan changed back to normal (16 GBs) rather than the 30 GB plan because it was too much. I had been bumped up to 30 GBs during that big month of overages, to try and prevent extra charges. A little less than a week later on 1/26/14, I emailed Ms. Smith once again, telling her I was worried about my service getting cut off and I needed to speak with her ASAP. I mentioned that I did not want to have to start from scratch with someone else.
    On 2/6/14, I woke up to discover that my service had indeed been turned off. I called and spoke with someone in customer service, explaining what had been going on. I was told by that representative that her supervisor would call me between 8-10 PM that night, but in the meantime my service would be temporarily restored. I never received a call. Around 10:30, I called back to try and speak with someone else. I was put through to another representative, once again having to explain what had been going on. This representative told me that I would have to wait for a call back from his supervisor, because he would be leaving at 11:00 PM. I explained to the representative that I was already promised a call back that night and didn't receive a call, so I had to have it taken care of because my service was shut off. His supervisor took my call and told me that there wasn't much they could do, because Ms. Smith had already started my case. He said they would send her an email, telling her she needs to contact me. He told me that he would have someone from his team call me back within 24-48 hours to see if she got in touch with me and if not, I would start from scratch with them.
    In the meantime, I sent Ms. Smith an email the next day on 2/7/14, telling her my service had been shut off and I tried calling the night before to speak with someone else, but they couldn't do much for me because she had already been working with me. Again, I never did get a response.
    Monday 2/10/14 had come along and once again my service was turned back off. I never did receive a call from the supervisor I spoke with on 2/6/14, who had promised me his team would call me back no later than 48 hours. So, again, I called to try and speak with someone else. I eventually got through to another supervisor, but after I explained to him what had been going on, the call was disconnected. I waited for about 30 minutes to see if he'd call back, but he didn't. Once again, I called to try and speak with someone else. I was directed towards the financial department and I explained to them that I was just talking with someone and was disconnected, so I was hoping to get back to them. I was told that there was no way to trace me back to the man I was speaking with. I then explained to that representative what was going on and she told me that if I paid the actual monthly access portion of my outstanding bill, my service would be restored and she would promise to put a note on my account to not turn it off again, because I was working to have the charges fixed. I paid the monthly access and she then transferred me to technical support to have someone in that department help me further. I then explained my story to the technical representative and she told me that her supervisor was not on-duty at the time, but she was preparing an email to send to her and she would definitely get back to me by the end of the week. That was two weeks ago from today and I've yet to receive a call from anyone.
    Once again, I woke up today to find that my service had again been shut off. I called in and spoke with financial services and explained to them what has been going on and she said if I went ahead and paid my bill that had just come due for last month, she could turn it on. So, that's what I did, but I'm still left in the dark as for the future.
    I am so beyond frustrated with this entire situation, that I have no clue what to do. I've told this story to at least ten people and I've gotten no where. To say that I feel like I'm being ignored, is an understatement. I can send y'all the entire transcript of emails with myself and Ms. Smith, proving that I've been trying to contact her for the past month and a half. This whole situation has gone further than the simple problem of the overage charges. It has now risen to a ridiculous level that I am being ignored by what seems like the entire company as a whole. How many times do I have to call to where I can finally work with one person who will help fix the problem? How many times can one customer be told that he will be contacted and he never receives a call? At this point, I am more than prepared to go over to Sprint and cancel my service with Verizon. The $460 that I am being raked trough the coals for will be nothing compared to not having my business for years to come. I am also prepared to contact and file complaints with the FCC or BBB for the fact that I have done absolutely everything in my power, including going in to a local store, to speak with someone about my issues. Like I said, I have the emails proving that I've been ignored and I can show them to y'all or to them. I don't know what to do anymore and I'm tired of calling and starting over with a new representative then being transferred around in loops where I have to re-tell the entire story again, so this is my last resort. If I don't get help by the end of the day, I'll be somewhere else tomorrow.
    Private info removed as required by the Terms of Service.
    Message was edited by: Admin Moderator

    Hi Barry,
    I am sorry about the mix up with the order, could you send me a PM of your contact details? Please include the email address you used to contact support.

  • I have replied to you three times now without reply. I DID NOT authorise a payment of £9.99 for NowTV. What is the solution to getting my money refunded. I think you assume I will go away after being Ignored. No I will not go away. I find now that you hav

    I have replied to you three times now without reply. I DID NOT authorise a payment of £9.99 for NowTV. What is the solution to getting my money refunded. I think you assume I will go away after being Ignored. No I will not go away. I find now that you have DISABLED MY APPLE ID. Is this a punishment you use to anyone who takes up a stand against charges being made unauthorised on their account?. Please tell me why you have disabled my account. When will my account be restored? If not when will you refund ALL my purchases made to APPLE/ITUNES? I can then move on to another brand and hopefully better customer service. After reading articles regarding APPLE ID DISABLED it appears common practice from your company to DISABLE anyone's account if they question unknown charges. Please reply with your intentions regarding  the unauthorised payment and the DISABLING of my account.
    David Forrester.
    Sent from my iPad
    On 18 Mar 2014, at 09:20, iTunes Store <[email protected]> wrote:
    Follow-Up: 319042795
    Hello again,
    I wanted to send a quick note to see if you are still experiencing any difficulties with the iTunes Store. Resolving your issue is important to me, so please don't hesitate to reply if you need any further assistance.
    Sincerely,
    iTunes Store Customer Support
    http://www.apple.com/support/itunes/ww/
    Dear David,
    Welcome to iTunes Store Customer support.
    I understand that you have been charged an additional 9.99 GBP for a purchase that not authorized. I know how eager you are to know more about this purchase and I am happy to look into this for you.
    David, the purchase worth 9.99 GBP was for a day pass from "NOW TV for Apple TV." To review your iTunes Store account's purchase history, please follow the steps in this article:
    iTunes Store &amp; Mac App Store: Seeing your purchase history and order numbers
    http://support.apple.com/kb/HT2727
    Please reply to this email and let me know if this purchase was unauthorized.
    Thank you for being an iTunes Store customer. Have a great day!
    Sincerely,
    iTunes Store Customer Support
    http://www.apple.com/support/itunes/ww/
    Lang_Country: en_gb
    User Storefront: UK
    Concern Type: Problem Not Listed
    Web Order #:
    Content Title: NOW TV Day Pass
    Provider Name: BSkyB
    Track IDs: []
    Purchase Date : 2014-03-16 12:33:48 Etc/GMT
    Purchase Device : Apple TV
    Comments : I am being charged for what is listed plus another _9.99 for Apple TV pass. Did not authorise this _9.99 charge and not sure what it is exactly.
    <Personal Information Edited by Host>

    This is a user-supported board. You are not addressing Apple here. Nor is it a good idea to post your private information to a public forum. You should edit your post immediately.
    Unfortunately no one here can access your support history. You must respond to the emails directly.

  • EjbPostCreate being ignored

    I have a CMP entity bean, and I am having problems creating it:
    I get :
    cannot insert NULL into ("BEAKER"."COMPANIES"."PROFILE_ID")
    ...which means that the ejbPostCreate is being ignored and nothing is being inserted for COMPANIES and PROFILE_ID
    My ejbCreate and ejbPostCreate have identical paramater headers so I am confused why it is not being called. I am using Sun One Application Server 7 which I think could be part of the problem.
    My two methods are as follows :
    * @ejb.create-method
    public LongIdentifier ejbCreate(Profile profile,
    String name,
    Country country,
    Currency currency,
    String userName) throws javax.ejb.CreateException
    try
    setKeyValue(new Long(getSequenceGenerator().getNextCompanyId()));
    catch (SQLException e)
    throw new CreateException(e.getMessage());
    catch (NamingException e)
    throw new CreateException(e.getMessage());
    this.setName(name);
    this.setUpdatedBy(userName);
    this.setUpdatedDate(new Date());
    this.setCreatedBy(userName);
    this.setCreatedDate(new Date());
    this.setActive(true);
    // EJB 2.0 spec says return null for CMP ejbCreate methods.
    return null;
    * Set all CMR fields for the CMP bean
    * @param profile
    * @param name
    * @param country
    * @param currency
    * @throws javax.ejb.CreateException
    public void ejbPostCreate(Profile profile,
    String name,
    Country country,
    Currency currency,
    String userName) throws javax.ejb.CreateException
    //the following print statements are not showing in the log trace
    System.out.println("in ejbPostCreate");
    System.out.println("profile = " + profile.getName());
    System.out.println("country = " + country.getName());
    System.out.println("currency = " + currency.getName());
    setProfile(profile);
    setCountry(country);
    setCurrency(currency);
    //setCreatedBy(user);
    }

    First of all CMP entity bean doesn't need
    this.setName(name);
    It is just
    setName(name);
    and ofcourse need to return null.
    and I can see that you are not set the ID for the Profile_ID
    that's while it is null value. If ID is not auto increasement then you need to set the ID there..

  • Pagination scheme settings being ignored in Theme15. Light Blue

    We are currently using version 3.0.1.00.08 of Oracle Application Express.
    I am experimenting with using a different theme for our next set of Apex developments to make them look different from the ones we have created in the past and I have found that when using the Theme Light Blue (theme 15), when I have a report region and set the pagination scheme and display position it is ignoring my settings and still printing the pagination on the right hand side at the bottom of the region.
    I have tried various pagination settings whilst in theeme 15 and they all appear to be ignored when using this theme, If you switch to other themes eg blue tan then the pagination settings which I have set work.
    Can anyone explain why pagination scheme and pagination display positions are being ignored in the light blue theme?
    Regards
    Kay

    Hi Kay,
    For the pagination to appear at the top etc, the template used needs to support it (essentially including the #TOP_PAGINATION# substitution string).
    If you take a look at the report template in both of those themes you will see a difference in the Pagination Subtemplate section.
    Everything to do (or at least a huge majority) with how the report is displayed is down to the template, so if particular substitutions aren't included in the template then it won't matter what options you choose...they simply won't be included.
    Hope this helps,
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

  • Why am i being charged dollars when i did not buy anything!

    why am i being charged ($1.05 on several occations ) when i did not buy anything, just downloaded free apps and sometimes i have updated few of those free apps.
    all i see is charges our of no where! it doesn't happen every time i do a free download (games. etc,,).. and am sure what i download is from 'top free
    i have a susption that it happens when i update some of my free apps, because some times the charges are more than $1.05,, but rather 3,4,5,6,7!!!
    please explain, i can't figure out whats happening !

    why am i being charged ($1.05 on several occations ) when i did not buy anything, just downloaded free apps and sometimes i have updated few of those free apps.
    Apple "veriifes" your Apple ID account information everytime you download media whether free or paid thus the authorization hold. Your account will be credited the amount of the holds usually within 24 to 48 hours.
    Read here >  iTunes Store & Mac App Store: About credit-card authorization holds

  • Why am I being charged for data when connected to wifi AND not using my phone?!

    WHY am I being charged for data that I'm not using? At times when I'm asleep AND my phone is connected to wifi?!  This happens at really specific, alternating times like 9:54 pm every day, or 12:01 am, 6:01 am and then 12:01pm and 6:01pm. When I called I was told  "maybe your wifi at home is disconnecting" or "maybe your phone is connecting to atnt or sprint". It's not possible that my phone is disconnecting from wifi every six hours on the dot and, at that exact time, I'm always using data. I find it hard to believe that I live in a HUGE city and my phone magically connects to other networks and I NEVER notice this. Verizon is full of LIARS (and maybe’s) and I'm not convinced that these data charges are a coincidence. I was told to turn off my cellular data to see if the problem resolves itself. Why should I alter my daily life when Verizon is clearly the one with the issue? I hope there's a class action lawsuit because Verizon is trying to get over on everyone! I need answers!

        Hello NotHappy101,
    I think it's quite odd that your data usage is at very specific times. We can certainly take a closer look. Please reply to my Direct Message, so we can get some additional details.
    Thanks,
    MichelleH_VZW
    Follow us on Twitter @VZWSupport

  • Why am I being told my email address has changed and need to change it for my apple id to work?

    Not just iTunes store, but every day or so, when I'm trying to check for updated apps in iTunes, or download something on iPhone or update OS X software via App Store, I'm told that my email address has changed and I need to update it before I can download tunes from iTunes.
    I then get redirected to a page where my apple id is shown (my email address), the address field is blank and a couple of password fields with ****** in them.
    I put my email address (apple id) back in and all is well.
    Why is it being reset all the time?
    I don't have another apple id with the same address, but I do have a lot of devices using my one apple id:
    A Mac (Lion latest)
    iPhone 4S (iOS5 latest)
    iPad 1 (iOS5 latest)
    iTunes on XP (latest iTunes)
    iPhone 3G (iPhone OS 3 - yea, really ancient)
    Apple TV 1 (latest)
    Wondering if one of these could be causing a reset.

    this can happen when the billing address in your appleid info is not EXACTLY the same as your bank details, depending of the bank (see if you right "st" instead "street" maybe)
    check out this article:
    support.apple.com/kb/TS1646

  • Why am i being charged twice for 11.04 and 11.46 when I did not purchase those songs, I used an itunes card 25$ and I still have 0.04 cents left?

    Why am i being charged twice for 11.04 and 11.46 when I did not purchase those songs, I used an itunes card 25$ and I still have 0.04 cents left?
    I couldnt redeem w/o an apple ID so when i did it asked for a credit card. And I want to discontinue and remove my account from itunes but it wont let me, there is no account discontinue or removal of account

    Because too much time has passed I can't edit this into the prior comment, but here is the info regarding reverting to iTunes 11.0.2 (assuming you do have a time machine backup) from https://discussions.apple.com/message/22057703#22057703
    W. Raider wrote:
    Repairing permissions doesn't fix it.
    I reverted to the previous version, 11.0.2.
    1. Quit the new crash-prone iTunes.
    2. Delete the app.
    3. Restore v. 11.0.2 with Time Machine.
    4. In your iTunes folder look for a folder called "Previous iTunes Libraries", find the latest one.
    5. In the iTunes folder itself you'll see "iTunes Library.itl", delete it (or compress it and save a copy for later just in case.
    6. Copy the newest .itl file in Previous iTunes Libraries to the iTunes folder and rename it "iTunes Library.itl".
    7. Launch the older version of iTunes.
    My crashing has seemed to have ceased with a revert to an older version. I noticed today that the newer crashing iTunes had been launched for hours but not playing anything, when I played internet radio it crashed within 5mins, fed up I reverted to an older version.
    Btw, a simpler way to do this is to revert to older iTunes app, then hold Option when it launches and choose an older library.

  • HT201364 Hi, If I do not have to pay for free installation, why am I being asked for billing details?

    Hi, If I do not have to pay for free installation, why am I being asked for billing details?
    Aaron

    iCloud backs up your iOS device (not your Mac) automatically. You can remove the backup:
    http://help.apple.com/icloud/#/mm122d3ef202
    and it will not back up again. This will not affect a backup made using iTunes. The notice you see refers to calendars, contacts, iWork documents and so on, which live on the server and are read from there by your Mac, and so will obviously disappear if you turn iCloud off altogether (which you don't need to do) or turn off Documents (which you don't need to do either).

  • In insert: Space after period and before carriage return is being ignored

    I am using Oracle 11.2.0.2.
    let say I create table temp(a varchar2(20);
    insert into temp values ('value.
    valuue2');
    I have put space after 'value. ' but it is being ignore when I run it from linux host in sqlplus.
    The space seems to be preserved when I insert it from TOAD/Windows xp.
    Any idea what might be causing it.

    hI,
    I have the same result in SQLPLUS.
    I would not rely on code with strings spread over multiple lines you should use the below code to add newlines:
    insert into temp values ('Yes.Space. ' || chr(10) || 'x');This makes it very clear there is and a space and a newline.
    This is much easier to maintain as well.
    Just to compair the two, see below:
    select
      LEVEL
      ,substr(a ,level,1)
      ,ASCII( substr(a ,level,1) )
    from
    SELECT
    'YES.Space.
    x' A
    FROM
      DUAL
    connect by --NOCYCLE
      level <= length(a)
    LEVEL SUBSTR(A,LEVEL,1) ASCII(SUBSTR(A,LEVEL,1))
        1 Y                                       89
        2 E                                       69
        3 S                                       83
        4 .                                       46
        5 S                                       83
        6 p                                      112
        7 a                                       97
        8 c                                       99
        9 e                                      101
       10 .                                       46
       11                                         32
       12                                          10
       13 x                                      120
    13 rows selected
    select
      LEVEL
      ,substr(a ,level,1)
      ,ASCII( substr(a ,level,1) )
    from
    SELECT
    'Yes.Space. ' || chr(10) || 'x' a
    FROM
      DUAL
    connect by --NOCYCLE
      level <= length(a)
    LEVEL SUBSTR(A,LEVEL,1) ASCII(SUBSTR(A,LEVEL,1))
        1 Y                                       89
        2 e                                      101
        3 s                                      115
        4 .                                       46
        5 S                                       83
        6 p                                      112
        7 a                                       97
        8 c                                       99
        9 e                                      101
       10 .                                       46
       11                                         32
       12                                          10
       13 x                                      120
    13 rows selected Regards,
    Peter
    Edited by: Peter vd Zwan on Apr 19, 2012 1:06 PM

  • Why index is not used by this table

    Dear all,
    Currently I'm facing problem with tuning one sql statement.
    It shows that full table scan in ZTLTBC_FILTER cost 15:19.
    But in table ZTLTBC_FILTER, it have index with field
    index 1    MANDT INT_NAME FNAME VALUE
    index 2    MANDT EXEC_ID COUNTER
    index 3    MANDT INT_NAME VALUE
    the last statistic date for these index is three months before
    Could you please help to find out the reason why index is not used?  statistics are old or small distinct value for field INT_NAME?
    How to solve this full table scan problem?
    Thanks & Regards,
    Chris
    sql statement
    SELECT T_00."MANDT",T_00."EXEC_ID",T_00."COUNTER",T_00."FNAME",T_00."INT_NAME",T_00."VALUE"
    FROM "ZTLTBC_FILTER" T_00
    WHERE T_00."MANDT"=:A0 AND T_00."INT_NAME"=:A1 AND EXISTS
    (SELECT T_100."INT_NAME"
    FROM "ZTLTBC_MIRR_BUFF" T_100
    WHERE T_100."MANDT"=:A2 AND T_100."INT_NAME"=:A3 AND T_100."EXEC_ID"=T_00."EXEC_ID" AND
    T_100."COUNTER"=T_00."COUNTER")
    | Id  | Operation            | Name               | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT     |                    |       |       |       |   176K(100)|          |
    |*  1 |  HASH JOIN RIGHT SEMI|                    |  9958K|  1111M|   598M|   176K  (2)| 00:17:53 |
    |*  2 |   INDEX RANGE SCAN   | ZTLTBC_MIRR_BUFF~0 |  9958K|   484M|       |  6265   (1)| 00:00:39 |
    |*  3 |   TABLE ACCESS FULL  | ZTLTBC_FILTER      |    13M|   822M|       |   150K  (2)| 00:15:19 |
       1 - access("T_100"."EXEC_ID"="T_00"."EXEC_ID" AND "T_100"."COUNTER"="T_00"."COUNTER")
       2 - access("T_100"."MANDT"=:A2 AND "T_100"."INT_NAME"=:A3)
       3 - filter(("T_00"."INT_NAME"=:A1 AND "T_00"."MANDT"=:A0))

    Hello Bret,
    I'm using oracle 11.2
    Thanks & Regards,
    Chris

Maybe you are looking for