Query does not get scanned with Explain plan index

Hello
I have a table with Index XXQP_SAMPLE_N1 in PROCESS_FLAG column. When I run the query below and see the plan to explain it, this table is to get access full table (with red color in Toad). It's not scan with the index. I also analyzed the table with command below. can anyone tell why he does not get scanned with index?

exec DBMS_STATS.gather_table_stats ('XXQP', 'XXQP_SAMPLE', estimate_percent = > 30, cascade = > true);

SELECT
*
Of
XXQP_SAMPLE
WHERE
process_flag = 1;

Thank you

the number of records in the table to satisfy the condition process_flag = 1

I wrote a little note on this topic. Reade case 1. It may be of your interest.

http://karthickarp.blogspot.com/2008/12/it-is-often-asked-why-SQL-is-going-for.html

Published by: Karthick_Arp on April 15, 2009 01:41

Tags: Database

Similar Questions

  • Service request not getting associated with the Contact

    Hello

    We have an interface between the Web site of our company and Siebel On demand application, visitors can come to our Web site and submit a request by filling out a form with their contact information and their request. In turn, this creates a folder 'Contact' and a 'Request for Service' in the Application folder,

    'Contact', we used WSDL and v2.0 "Request for Service" WSDL as the webservice interface, we find that the Contacts and requests for services are created as that individual records, service demand does not get associated with the contact record is created?

    We are capture the following information under the heading "Contact".
    First name:
    First name:
    E-mail:
    Phone:
    Address:

    and the following information under the 'Service request'
    Product information:
    Object:
    Description:
    Type:
    Status:

    Should the specify us anything else under the Service request in the interface that will associate the Contact and "demand for services.

    Is it because in version 2.0, each object exist as separate nodes that we are facing this problem?
    This will be solved by using v1.0, is there a limitation any using v1.0, please specify

    You can call me if you need additional information

    Thanks and greetings
    Satish Kumar
    + 1-857-869-0239

    Hello

    When you create the Service request, make sure that you set the field "ContactId" so that the created contact is associated with the SR created.

    -John CRMIT

  • Update of Firefox 4. Realize some websites does not yet work with FF4. How/where can I download the older version of FF?

    Update of Firefox 4. Realize some websites does not yet work with FF4. How/where can I download the older version of FF?

    ^ Why post if you don't have the answer to the question?

    You can get Firefox here 3.6.16.

    http://www.Mozilla.com/en-us/Firefox/all-older.html

  • computer HP laptop, 2000 does not recognize tv with a hdmi cable

    my computer hp laptop 2000 does not recognize tv with an hdmi cable.  I get the error "does not recognize any other monitor" when I try to "detect".

    I have recently upgraded to windows 8.1

    I have the graphics card AMD Radeon HD 6310

    The TV is a Phillips HD TV hotel.

    My game system works using VGA cable

    Any help would be greatly appreciated.

    Hi Ringerbell,

    Thank you for visiting the Forums HP's Support and welcome. I read your thread on your laptop HP 2000 and connect an external TV tuner. Here is a link to connection and external display. Here is a document onthe configuration ofyour laptop to use the monitor.

    Hope this helps you.

    Thank you.

  • Windows Vista does not start upward, with success since the closure complete

    Hello world

    I actually had this problem for a long time, but I'm just now to a point where I'm ready to take a lead in fixing it.

    I can't identify when it started, but Windows Vista does not start upward, with success of a full stop. He gets to the screen where, in general, the green bars will travel across the screen, but the green bars will not come. The screen looks dim and sits there, with the text of the copyright of Microsoft Corporation. So, after not having on the mound, I have to manually shut down the computer by holding down the power button. When I try to start again, told me to go through the Startup Repair tool. If I jump the repair, I just have to meet the same problem - a computer that will not go beyond the screen "green bar".

    So, I do the Startup Repair, and told me what I do for the restoration of the system. Windows starts normally after the restoration.

    Don't forget, this happens from a full stop. To remedy this, I just never completely shut down my computer. I left running and back just at the beginning of the day. The computer may start restart, it just may not start with a full stop.

    Given the start of repair takes, literally, around 4 or 5 hours of full stops complete, accidental or power outages are a nightmare, I am obliged to wait 5 hours to get access to the computer. Fortunately, I have my laptop.

    If someone has encountered this? I saw people talking about the loop of startup repair, but that's not the point, I have. I have yet to see any discussion of my specific problem.

    Thanks in advance!

    Hello

    4-5 hours to do a startup repair is too long.

    Often you get better results if you a using a DVD of Microsoft Vista startup repair.

    Jose how to do a startup repair, etc. using a DVD of Vista from Microsoft

    Manufacturers recovery disks normally do not have Service Options; they are normally a relocation to the factory only settings option.

    Here is the guide to repair Options using a Vista DVD from Microsoft.

    If a friend or a work acquantance of yours has one, you can borrow and use it for repairs.

    http://www.bleepingcomputer.com/tutorials/repair-Windows-with-Windows-Startup-Repair/

    Table of contents

    1. Overview of Windows Vista repair options
    2. How to perform an automatic repair of Windows Vista using Startup Repair
    3. Advanced Tools Overview
    4. Conclusion

    If you do not or can not borrow a Microsoft DVD there is a download of a file ISO of Vista Startup Repair available that you can put on a Bootable floppy to make the above startup repair and that the method is recommended by a large number of posters in these Forums.

    Unfortunately, you have to buy it.

    Here is a link to it:

    http://NeoSmart.net/blog/2011/Windows-Recovery-discs-updated-reinstated/

    See you soon.

  • Google chrome does not get updates

    my google chrome is not updating.after some time it says error3 and I don't know how to solve this problem, as EMI does not get the updates ive tried going by default on my settings for no result .hope could someone help me with this.

    Thank you stephanie, but in the meantime idid a system restore to see if I could fix it but now im, e get updates are disabled by the administrater ime so no further forward.

  • I have someone using PSCS4, and when she creates a pattern fill layer, it does not get a mask.

    I have someone using PSCS4, and when she creates a pattern fill layer, it does not get a mask.

    Any ideas on how it could have turned off and how we can re-enable default?

    I check its settings panel menu and "Add default mask" is checked.

    Thank you!

    She changed the Layer palette settings to not automatically create a mask with layers of filling.

    Is not an adjustment layer, so the adjustment layer setting does not apply (and two parameters should really be in the layers palette in order to reduce the confusion).

  • What are the causes of media error does not exist, even with the inserted disc

    I have a video project of 2 h I want to put on a DVD in NTSC format.  I get a msg of error 'Media does not exist', even with the DVD inserted in the drive.  I checked "Fit content to the space available.  Is the hr project 2 too long to compress the DVD, or are there other possible causes?  I have made a project of 1 1/2 hours without any problem.  I have a lot of hard disk space.

    Download orders

    What version of Premiere Elements and on what operating system works - it?

    The problem is the disc in the tray of the burner not recognised by Premiere Elements. Another frequent related issue is location of burner: burn dialog is empty when the Premiere Elements does not recognize the burner.

    In the problem that you have.

    have a. you tried other brands/types of DVD discs?

    b. If you start a new project and take the new timeline content DVD-video to DVD disc, the problem remains the same?

    B. have you tried to uninstall / free program ccleaner cross / reinstall with antivirus and firewall disabled?

    If you are in a time crunch, you should consider burning the chronology contained in the record and then taking the the VIDEO_TS folder

    recorded in a program like ImgBurn for DVD-VIDEO on DVD production.

    Please check and review and then provide you with the way to details. Looking forward to your results.

    Thank you.

    RTA

  • Payroll Run query does not appear on the payroll LOV

    Hi all

    Am on 12.1.3
    DB - 11 GR 1 material

    Wen, trying to run on PAYROLL:
    FACE below error:
    Payroll Run query does not appear on the payroll LOV


    Thank you

    Please post the exact name of the simultaneous program you want to submit as well as all the parameters.

    I understand that you get an error when you try to select the LOV to pass parameters, right?

    If the program has not yet been presented, then it is an expected behavior not to find any file of log/output.

    Please see if these MOS Docs Help.

    Simultaneous request for payroll, payroll name Lov for payroll run Erros: APP-FND-1436: the list of values can not find all the values for you to choose [333524.1 ID]
    Payroll run parameter list of values (LOV) in the process "Retry Payroll Run" does not display any values [1368390.1 ID]

    Thank you
    Hussein

  • burner does not get recognized

    The computer is HP pavilion 7955, XP home edition.

    There are two features of optical disc.

    The first is a HP cd-writer. This device does not get recognized and does not appear in my computer screen. When the button open the tray, there is no green light or the drawer opens.

    The second is a DVD-ROM HITACHI GD - 8000. This device is recognized and appears in my computer screen.

    A floppy drive A appears on the screen of my computer, although there is no floppy drive.

    Hello

    · The CD burner has been recognized before?

    · Do you remember any changes made on the computer?

    You can follow the steps in the link below and check if this can help: your CD-ROM drive or DVD drive is missing or is not recognized by Windows or other programs: http://support.microsoft.com/kb/982116

  • SA520W does not get an IP on the WAN option

    We use a SA520W as our main router and have a fiber attached to the interface default WAN connection. We would like to improve our availability using a secondary internet connection on the WAN interface option.

    We bought a router dovado tiny 4g for this another connection. It acts as a dhcp server, but the Cisco router does not get an IP address from the dovado router. The router works as expected when it is connected to a normal computer. But somehow the cisco router does not get an IP address.

    I also tried to put a static IP address for the Cisco router, but that did not help either. The dovado router is setup deliver ip in the range of 192.168.0.2 - 254

    Link is established, but State wide AREA network is down. Any ideas?

    Christian,

    Make sure that the port option is set to WAN and WAN mode = MODE of LOAD BALANCE. If not pull an ip address or to negotiate a connection.

    Jasbryan

  • Why lately company does not release smartphones with screens 4 inches?

    Good evening!

    Why lately company does not release smartphones with screens 4 inches? Me as a person with small hands, it is very difficult to work with models even 4.3 inches.

    Now, I have Sony Xperia P. Very comfortable: fit to display me size metal case. Everything is fine except for the inserts in plastic (lower part). Shabby paint with these pads. Now, the phone looks not very nice. So I thought to change towards a new model. Because the phone close to 3 years.

    Expected to soon release a smartphone with a diagonal of 4 inches? (And in a metal box).
    Thanks in advance for your answer.

    Hi Valeria! You can share your suggestions on the Sony Mobile community here. Thank you!

    If my post answered your question, please mark it as "accept as a Solution.

  • I'm not able to update my credit card. Change the payment does not appear next to my plan for

    I'm not able to update my credit card. Change the payment does not appear next to my plan for

    A few changes/Verify account https://forums.adobe.com/thread/1465499 links that can help

    -Credit card https://helpx.adobe.com/x-productkb/policy-pricing/membership-subscription-troubleshooting-cr creative - cloud.html

  • Custom scan box does not touch "scan" because of my 13 "screen.  Cannot reach it.  How can I fix it?  THX

    Custom scan box does not touch "scan" because of my 13 "screen.  Cannot reach it.  How can I fix it?  THX.

    Try increasing your screen resolution.

  • Adobe Reader does not automatically associate with PDF files in Xp Sp3

    I reinstalled drive (twice) and it does not automatically associate with PDF files.

    How can I solve this problem?

    Cheers, JH

    Problems with file associations? If so, right-click on

    a PDF icon, choose Properties, one

    d change the reader in the open with box.

    Additional line breeze kindly provided by the software of this site.

Maybe you are looking for

  • Animated gif

    Can I integrate a gif animated in Apple mail? If I can, I can't understand it. Thank you. Chip

  • Tecra M5 - shortcut to my chest is no longer works

    Hello My old faithful M5 was running a bit slow so I checked on the Toshiba website for any update (software) I have not found an upgrade for the my feature safe and decided to install it... Oops now my original shortcut to my chest no longer works a

  • HELP - no sound!

    I have a y550, and I have a problem with the sound. in fact, it is d lack of sound. -It has a red light in the input jack audio d -No sound with or without headphones - headphones actually works when I listen to music test but just don't play all son

  • VI requested broken in the executable

    I created a software that needs to run on a system of CFP in LV 8.2. The Vi is deployed OK when running in development mode. It also includes an executable without errors or warnings. Then the problem starts, the exe is not running on the goal of the

  • What can download the NMH Setup Wizard?

    Hello I bought a NMH405 used with CD drive and manual, and I couldn't find the NMH Setup Wizard. We know where to have the file of the NMH Setup Wizard? also, how can I reset password? or what is a default password?