Interpretation of the predicate information and filter explain plan

If anyone can help understand how the effects of operation predicate and filter execution plan.or how can I complete the transaction descriptor or filter chosen by the optimizer is not optimized.

User445775,

Paraphrasing I provided in my previous post was on page 74 of "fundamental Oracle cost-based.

How the word explanation...

Suppose you have a database table that contains all phone numbers and addresses of individuals in a State. A query is run to find user445775 in the city named 'Redmond '. Assume that the query looks like this:

SELECT
  PHONE
FROM
  PHONE_NUMBERS
WHERE
  CITY = 'Redmond'
  AND FULL_NAME = 'user445775';

Suppose that there is no index on the table. The DBMS_XPLAN would show two predicates applied during a comprehensive analysis of the filter - this probably indicates an ineffective path, especially if there are a very small percentage of people that match the WHERE clause on the table restrictions.

Now, suppose that an index is created on the CITY column. The DBMS_XPLAN would show an access descriptor applied to the index on the CITY column and a predicate to filter on the table access by index for the FULL_NAME. We have eliminated a large number of possible lines by applying the predicate of access to directly access the rows with the city of interest and then filtered those names that were not "user445775". It is not terribly effective, especially if there are a large number of people to 'Redmond' which should be filtered.

Now, suppose that we drop the index on the CITY column and create an index on the FULL_NAME column. The DBMS_XPLAN would show an access descriptor applied to the index on the FULL_NAME column and a predicate to filter on the table access by index for the CITY column. This could be a quite effective plan if there is only a few lines in the table with 'user445775' FULL_NAME, as a few lines will be ignored after access to the index to find those with CITY = 'Redmond '.

Now, suppose that we drop the index on the FULL_NAME column and create a composite index over the CITY, FULL_NAME. The DBMS_XPLAN would show a predicate of access applied to the index on the columns of the CITY and FULL_NAME and it would not be a predicate to filter on the table access by index - in this case, it will reject all the lines once retrieved by index access.

Page 211 "Troubleshooting Oracle performance" also shows a clear explanation of the predicates access and filter.

Think of access predicates (on the index at least) as throwing the lines until they are retrieved from the disk (or memory) and filter predicates such as throwing the lines after they are retrieved from the disk (or memory).

Charles Hooper
IT Manager/Oracle DBA
K & M-making Machine, Inc.

Tags: Database

Similar Questions

  • "Sorry, your computer has encountered an error and needs to restart. We are only collecting the error information, and then we'll restart for you. "windows 8

    Hi so I recently bought a new computer and out of no where he worked in some really annoying errors. This has happened three times, I can't understand a reason yet, AFAIK, it occurs randomly. A few times I start up my computer and it starts just the windows icon, the loading circle is not displayed. If I let it run it will remain still frozen. After a few reboots, he says still 'preparation auto repair' is still frozen. This has happened 3 times.

    The first time I have not jumped into the recovery CD, no problem, used a system restore, it was all good.

    The second time, she actually had a cause, our power went out and my pc was used, then maybe he could have ruined a circuit. So I put the CD, it wouldn't recognize it and if he did, he would freeze just and nothing to do. I tried F8, F12 and F1: he didn't even recognize these keys or react at least based on them.
    After a few restarts I miraculously managed to do recognize the CD and this time I made a cooling system.
    This lead me to think it might be some of my files/programs, but I'm still working on acquiring them all back after the update so I think it is unlikely that. 3rd time: yet once, it happened when I turned it on after a normal closed. It would not recognize the cd or the keys. After maybe 15 attempts, but rather oddly, everything was OK? I also noticed that my Tablet Wacom Intuos 5 is connected it will not start, but if I unplug it, it starts very well. (Driver error?)

    All this is fine and dandy, I can deal with it, but not until recently that error in the title stood. I noticed, that it normally occurs when the computer is in "sleep" or the monitor turns off because it is inactive. If I move the mouse to bring on the monitor, it is just a bright blue solid then the following message: "sorry, your computer has encountered an error and needs to restart. We are only collecting the error information, and then we'll restart for you"appears and it stops. Whenever this happens, it starts up just fine, it is just annoying it encounters this error whenever I use it. I tried to do system recoveries, but it did not help. I can just do a reset or refreshment, but again once I do not want this effort and to lose files if the error is still going to happen. I'm not sure if this is a hardware error, heating, maybe? But I'm not all that experience in these things. As I said, this computer is fairly new, maybe 2 months, then maybe I could just put its warranty policy to use. But if you can think of anyway to help, it would be great thanks!

    My specs are:
    Avatar
    CPU: AMD FX Processor with Six cores (tm)-6100 3.30 GHz
    GPU: Geforce GT 640

    16.0 GB
    operating system 64-bit, x 64 processor
    Windows 8.1

    Hi Kaelie,

    This issue seems to be with the material. As you mentioned that your computer is under warranty. It would be better if you contact the manufacturer of your computer for help on this issue.

    Just reply to us if you are having problems with Windows in the future. We will be happy to help you.

  • Why do I get a blue screen that says your PC is encountered a problem and needs to restart. We are only collecting the error information and then it will reboot for you.

    Why do I get a blue screen that says your PC is encountered a problem and needs to restart. We are only collecting the error information and then it will reboot for you.

    https://www.dropbox.com/s/2dtm74f6ki7goa4/minidump.zip

    DAG

    These were related to your driver atheros wifi athw8x.sys I would like to re - install the latest driver available.

    If you continue to plant I remove Symantec and use the built in Defender

  • Printed troubleshooting information - where it says 'False' if I uninstalled all the false information and that most of the firefox bookmarks would stop crashing - I have

    I printed the five pages of ~ problems shooting information and the report of health of Firefox - safe you a fall - but you does not fall down so often as I / E-, I do not use that now
    815 problem Favorites and a great many Personae - if I remove those will only help - you see I'm chickening re-creation of Firefox, I wonder if I can do something at my little chicken self - what is it please - that "overload" Firefox - I like the browser - that and won't go back to / E also what else can I I seek to remove - for Firefox runs without problem I greeted convenience store now what is happening

    Oh yes, I've been exactly where you are, you go to uninstall something but then u think I have use and get all nostalgic, it's normal
    It of just a phase, when you realize u really don't use them, you will understand
    Bookmarks have far less to do with offset
    use bookmarks and xmarks called addon, it synchronizes all the stuff for his break so I then for 3 years and I like 2000 Favorites
    Reseting Firefox will not remove your plugin, addon, and themes
    All of your bookmarks, password, remnants of history
    Happy to help u

  • How do I connect on windows when I forgot the user information and password

    I forgot the login information to get me into windows; the user name and the password.  Is there a way to get back to windows.

    I forgot the login information to get me into windows; the user name and the password.  Is there a way to get back to windows.

    There are a lot of options built into Windows to help you out of this situation:
    • Restart the computer with your Windows repair CD, then use system restore to set Windows in a few days (only works if you have recently changed the password).
    • Log on to your account admin to spare, and then reset the password for your existing account (works only if you set up an alternative admin account).
    • Log in as administrator mode without failure, then reset the password for your existing account (the password is usually empty).
    • Insert your flash drive USB with the password key file (only works if you have taken the time to create such a key file).
    • Use the password indicator (works only if you have created a hint and if it's good enough to allow you to guess the password)
    • Check your paper files (works only if you threw down the password somewhere)
  • The performance information and tools

    Nice day
    Please help with the following problem. When I open the tools and information on the performance and then click on "View and print detailed performance and system."
    information"I get a"error - Impossible detail view Details page see."

    My operating system is Windows 7 Pro.
    Concerning
    Dave Rennie

    Hello
    Good news, the problem is resolved.
    I made the file association for the .hta HTML Appliucation of Microsoft (r) file
    host. Now I can open the details page and print.

    Thank you very much for your help with my problem
    Concerning
    Dave

  • Could someone tell me how I can I spend the sql_id/plan_hash_value and corresponding implementation plans?

    Hi experts,

    I want to know, how to get the past (like a week older) sql_id/plan_jash_values and corresponding implementation plans.

    I am aware that v$ session contains these last sql_id/hash_value, distinguished by a sql statement that is executed and we can get the plan_hash_value from v$ sql using the following query.

    Select sql_id, hash_value, plan_hash_value from v$ sql where sql_id = & sql_id;

    Once you leave this session, session $ v clears the session information, subsequently sql_id will be also deleted.

    I want to know,

    1 how long v$ sql holds the plan_hash_value, is there a retention period?

    2. when we issue ' select * table ((dbms_xplan.display_cursor ('& sql_id')) ", when the execution plan is read since?").

    3. I need to compare the implementation plans for a perticular query last week one, what are my options?

    Please help me with my questions, experts.

    Kind regards

    Ravi K

    Yes, the AWR repository is accessible by SQL queries on the DBA_HIST views.  (these are the same!)

    Thus, the AWR retention period applies to data in views DBA_HIST.

    A SQL query that is not reported by a snapshot of the CWA would not be in the views DBA_HIST.

    Hemant K Collette

  • G and P explain plan

    Hi Experts,

    Could you please explain what is the meaning of P and G in the execution plan. I had only spent 2 hours and I have found no reference in the documentation.
    Please throw some lights on it.

    Explain plan below show s the TempSpc 11 P to 11 p to REC_ALIAS and REC_DETAIL. what it means?

    Kind regards
    Richard

    ----------------------------------------------------------------------------------------------------------------------------
    | ID | Operation | Name | Lines | Bytes | TempSpc | Cost (% CPU). Time |
    ----------------------------------------------------------------------------------------------------------------------------| 61. TABLE ACCESS FULL | REC_MASTER | 1612K | 84 M | 7342 (3) | 00:01:29 |
    | * 62 | INDEX UNIQUE SCAN | PK_REC_ALIAS | 1 | | | 1 (0) | 00:00:01 |
    | 63. TABLE ACCESS BY INDEX ROWID | REC_ALIAS | 1. 21. 1 (0) | 00:00:01 |
    | * 64 | JOIN TYPE. 103 T | 4157T | 11 P | 35G (65) | 999:59:59 |
    | * 65 | VIEW | 103 T | 4157T | 3767M (70) | 999:59:59 |
    | 66. TABLE ACCESS FULL | SYS_TEMP_0FD9FCDF2_41B94B5A | 103 T | 4157T | 3767M (70) | 999:59:59 |
    | * 67. JOIN TYPE. 2. 50. 3 (34) | 00:00:01 |
    | * 68 | VIEW | 2. 50. 2 (0) | 00:00:01 |
    | 69. TABLE ACCESS FULL | SYS_TEMP_0FD9FCDF3_41B94B5A | 2. 48. 2 (0) | 00:00:01 |
    | * 70 | JOIN TYPE. 2. 50. 3 (34) | 00:00:01 |
    | * 71 | VIEW | 2. 50. 2 (0) | 00:00:01 |
    | 72. TABLE ACCESS FULL | SYS_TEMP_0FD9FCDF3_41B94B5A | 2. 48. 2 (0) | 00:00:01 |
    | * 73 | JOIN TYPE. 68. 2584 | 13522 (2) | 00:02:43 |
    | 74. VIEW | 68. 2584 | 13521 (2) | 00:02:43 |
    | * 75 | HASH JOIN | 68. 4828 | 7128K | 13521 (2) | 00:02:43 |
    | 76. VIEW | 221K | 4533K | 6889 (2) | 00:01:23 |
    | 77. HASH GROUP BY. 221K | 5397K | 12 M | 6889 (2) | 00:01:23 |
    | * 78 | HASH JOIN | 348K | 8508K | 4856K | 4949 (2) | 00:01:00 |
    | 79. VIEW | 275K | 1617K | 323 (3) | 00:00:04 |
    | 80. TABLE ACCESS FULL | SYS_TEMP_0FD9FCDF0_41B94B5A | 275K | 8355K | 323 (3) | 00:00:04 |
    | 81. TABLE ACCESS FULL | REC_DETAIL | 1279K | 23 M | 2486 (2) | 00:00:30 |
    | 82. TABLE ACCESS FULL | REC_DETAIL | 1279K | 60 M | 2508 (2) | 00:00:31 |
    | * 83 | JOIN TYPE. 103 T | 4157T | 11 P | 35G (65) | 999:59:59 |
    | * 84 | VIEW | 103 T | 4157T | 3767M (70) | 999:59:59 |
    | 85. TABLE ACCESS FULL | SYS_TEMP_0FD9FCDF2_41B94B5A | 103 T | 4157T | 3767M (70) | 999:59:59 |
    ----------------------------------------------------------------------------------------------------------------------------

    Sorry, the link in my last post was broken inadvertently. Which should be fixed now.

    Justin

  • Blue screen of death or :( Your PC has encountered a problem and needs to restart. We are only collecting the error information, and then we'll restart for you. Error on Windows 8

    I read my threads where people are facing this error blue screen dead on Windows 8, the cases are different but this error message is the same, I share picture of the error message, it looks like this.

    My case

    In my case when I turn the laptop for the first time it freezes, displays this error message and restarts normally. On the home screen, it shows me a message send this problem to Microsoft. Laptop works very well subsequently without any problem, even if I reboot later it loads fine, but if I stopped and starts from at the moment, it shows same error screen. When I look into the details, it shows me these details. draw the image.

    I did it as a result of things to understand the issue:

    • I thought it's a software problem, so I format my windows disk and reinstall Windows8 - the issue has not been resolved.
    • One of my friends suggested me for a complete format, I moved my data to external HARD disk, formatted my entire drive, deleted partitions, make new partitions and installed Windows 8 - the issue has not been resolved.
    • Someone suggested from material with my HDD to check it out, so I used a different HARD drive, formatted, deleted partitions, made new partitions and installed Windows 8 - the problem persists.
    • Restore all settings to the default BIOS - the problem persists.
    • I have connected HDD my friend with Windows 7 to check my machine and it worked fine.

    In my research, I can't understand what is really the cause of this accident, there would not be any software parameter or virus as on formatting windows that all this problem would have been solved. It is not the HARD drive for sure as I have done everything I know to see if it's the HARD drive that is causing the problem.

    Dear members and experts from Microsoft, this is the first time I participate on this forum and think that I explained everything concerning the problem I face and the research I did to solve this problem, I eventually failed, please guide me how I can solve it. My laptop is out of warranty and I don't want to pay for something that I do not know exactly.

    Waiting for your expert advice.

    Frébault

    These related to the amd_sata.sys AHCI Advanced Micro Devices 1.2 device driver. Update to win 8.1 should solve this problem.  If it isn't, you should check for motherboard update update BIOS and drivers.

  • Windows 8: "Your PC came across a problem and must restart, we are only collecting the error information, and then we'll restart for you."

    Hello world

    I am very frustrated of what will happen to my computer. I am a graduate nursing student and I need my computer to running back. I have tons of paperwork and projects more information do I need to access my computer. reboot to keep my computer and I couldn't even access my work. I use a samsung PC and I've upgraded to windows 8...

    Help, please... I need my computer works well.

    Thank you

    Conef

    Which works perfectly, thanks!

    All attached files of the DMP are the verification of bug DPC_WATCHDOG_VIOLATION (133) .

    This bug check indicates that the watchdog DPC executed, either because it has detected a call single lengthy proceedings deferred (DPC), the system spent an extended time at a level (IRQL) IRQ to DISPATCH_LEVEL or above.

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

    1. remove and replace AVG with built-in Windows Defender from Windows 8 for temporary troubleshooting purposes, as it is most likely cause conflicts:

    -AVG removal http://www.Avg.com/us-en/utilities

    Windows Defender (how put on after the withdrawal)- http://www.eightforums.com/tutorials/21962-Windows-Defender-turn-off-Windows-8-a.html

    2 uninstall ExpressCache as soon as possible.

    Kind regards

    Patrick

  • Can not see the payment information and change my card

    I need to continue to use the products but my monthly student of up. When go to a section of information payment it's empty. May I need to change card number? Please help!

    Manage your membership and your payment. Creative cloud

    https://helpx.Adobe.com/x-productkb/policy-pricing/membership-subscription-troubleshooting-creative-cloud.html

    To the link below, click on the still need help? option in the blue box below and choose the option to chat or by phone...
    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If it fails to connect, try to use another browser.

    Creative cloud support (all creative cloud customer service problems)
    http://helpx.Adobe.com/x-productkb/global/service-CCM.html ( http://adobe.ly/19llvMN )

  • How to reset the server information and the port in Windows Mail?

    Original title: I can't answer or before my incomming emails

    I have windows mail-how reset incomming server info and port info?

    Hello

    Are you aware of any changes made to the computer, before the show?

    I suggest you check out the following link.
    Solve problems with Windows Mail
    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-with-Windows-Mail

    See also,
    Messages may be stuck in the Outbox when you use Windows Mail on a computer that is running Windows Vista
    http://support.Microsoft.com/kb/941090

    I hope this helps.

  • My profile will not print a web page, it only shows the header information and footer on the preview before printing, but other profiles on my PC will display web pages

    I have print preview on my profile that nothing appears on the page to print, other profiles on my cpu it works and prints well.

    Hi lncunningham,

    ·         The question is limited to Web pages?

    ·         Can you print any other files\documents very well?

    ·         You use Internet Explorer to print Web pages?

    Method 1: You can follow the steps in the article and see if it helps.

    You cannot print or print preview Web pages in Internet Explorer on Windows Vista or Windows 7

    See also:

    Printer in Windows problems

    Method 2: If the problem persists then you can try to create a new user account for yourself as it might have corrupted.

    Create a user account

    Difficulty of a corrupted user profile

  • "Restart your pc on a problem and needs. We are only collecting the error information, and then we'll restart for you / / error DRIVER IRQL NOT LESS or EQUAL (Smb driver.sys)

    I bought a Dell XPS 14 with Windows 8, less than a month ago, and I get a blue screen with the error message above several times in the past two weeks. I'm not all that computer, I'm looking for all possible assistance. I found the next with the same error message thread, I followed the advice and attached my minidump.zip file.

    Any help you can give me would be most appreciated - thanks in advance!

    Hi dajoip,

    It seems to be an older version of Kaspersky installed which can be a problem because it may not be entirely compatible with Windows 8.

    One thing I might suggest is to uninstall Kaspersky and see if the blue screen errors to solve.

    Consider the alternative security such as firewall and antivirus integrated Windows 8 (Windows Defender) software.

    You can also take advantage of the update or uninstall Daemon Tools.

    If the error persists try the synaptic generic drivers for following a link as the Smb_driver_Intel.sys seems to be a synaptic driver (create a system beforehand Restore Point):

    http://www.Synaptics.com/resources/drivers

  • Your PC has encountered a problem and needs to restart. We are only collecting the error information, and then we'll restart...

    * This message shows in my laptop 4 days or 3 times...

    * I just buy my computer laptop sony vaio before 3 months.

    * my model number is SVE15127CNB, and there the bones of windows8 geninue just purchase the laptop computer sir...

    * Please help it's problem and fix tis problem my laptop...

    Your computer is almost brand new.  Support for Sony has the responsibility to guarantee completely, including the responsibility for the management of the windows software 8, really better know their computers and problems users have with them... and I hope that the easy solution for you.

    They will need a little more detail than anyone to even begin to help you with this.  So write any descriptions of error messages and error numbers that see you.  Try to be specific!

Maybe you are looking for