Why the DNS cache would have entered negative when connecting?

Hello

Thanks in advance for reading this.

I have a problem when DNS cache contains negative entries to our Exchange Server, the file server / printing and even some among the domain controllers.  I tried to completely flush the cache by using the ipconfig/flushdns command, and then view the result with the ipconfig/displaydns command which will leave only the local host entries.  After that I have to reboot the machine, the negative entries are here once again and I cannot ping the servers exchange or print file.  Nslookup works fine however and resolves names without problem.  When I rinse again and then try clicking, it works for awhile but then the negative entries will appear again while I'm connected.  What makes it more interesting, is that it is not always the same negative records that appear.

Things that did not help I tried:

1. rebuilt laptop client using a different material.  This leads me to believe that this isn't related viruses/spyware since it happened immediately after setting a cell phone completely new with a new build of Windows XP.
2. added to ipconfig/flushdns to the logon script.

Info about my environment:

1. we have all our servers in one location on the desktop, and all branches are connected via the VPN site-to site.
2 the client machine is added to the domain and is running Windows XP SP3.
3. this question is not present on the main site, only in branches.
4. the branches using Sonicwall TZ 200 units for DHCP.
5. it may be a coincidence, but this problem seems to have happened since we went from Sonicwall TZ 170 s to TZ 200
but I do not see how it would affect the cache.
6 I emptied the cache, and then more minutes late the negative entries will appear again even if pings worked a few minutes earlier.  It doesn't seem to be a physical problem because my RDP session is never the problem while I'm troubleshooting.

If anyone has any idea as to why negative cache entries will appear when the physical network is fine, and when nslookup is no problem to find the servers, I would be very grateful for your input.

Hi ethorneloe,

Since your question involves the use of Exchange Server please join the TechNet community for assistance. They specialize in THIS type of environment Pro and will be better suited to help you.

TechNet Forum

http://social.technet.Microsoft.com/forums/en-us/category/ExchangeServer/

Tags: Windows

Similar Questions

  • Obsolete entry in the DNS Cache in name of VCHB with Remote Desktop connection

    We cannot use remote desktop to connect the virtual name of one of our vCenter Heartbeat.  When we connect we get a message that says "the connection can not be established because the remote computer that has been concluded is not one that you have specified.  This could be caused by an outdated entry in the DNS cache.  Try using the IP address of the computer instead of the name.  We are able to connect by IP address.

    Googling for this error comes up with ideas such as time synchronization check (it's good), and the deactivation of safety checks DRC (we cannot - political society).  Using nslookup all forward and reverses two server instances and the virtual name of good sound.  Three other bodies VCHB in our environment work very well as well, but we do know the difference between those and this problematic.

    Have anyone of you experience something like this before?  Any ideas?

    Thank you!

    RDC Error.jpg

    We had this same problem. It happened only on one of our VCHB, our handle other forums did not have this problem. After having much poking around, we noticed that the name of public virtual/VCHB problem had an entry of computer object in AD, while (most) others have not done. We wondered if it was somehow related to the problem. We checked with VMware support and finally said it would be OK to delete the computer object in AD for the name of virtual\public. We have removed the subject of the AD, waited about an hour, and (somewhat to our surprise) this actually solved the problem - we have DRC in the virtual/public name with no problems.

  • Not able to activate Windows 7 get "the product key you have entered does not seem to be a valid Windows 7 product key.

    Original title: the product under the asus laptop key

    Hello

    I have a problem to activate windows using the product under my laptop key. He says "the product key you have entered does not seem to be a valid Windows 7 product key. Help me solve this problem.

    0xC004F050 usually means that you have misinterpreted a character - or G/C/6 and 8/B or Y/V are the most common, an O/0 is almost always a Q

    Please note that the following characters cannot be used - A E I L N O S U Z 1 0 - so don't bother trying unless you like noise it does :)

  • "Windows 7 Home Premium SP1 64-bit, an error message indicates" the upgrade key you have entered is for an edition of windows that does not work with Windows Anytime Upgrade.

    Tried using Windows Anytime Upgrade. Bought at Staples have product key is entered correctly. "Following instructions, accepted USA get error message says ' the upgrade key you have entered is for an edition of windows that does not work with Windows Anytime Upgrade. Enter a different upgrade key. »

    Which edition of Windows 7 is installed on the machine?

    Which edition of Windows 7 you are trying to do an Express upgrade to?

    Please note that the Express upgrade does not support OEM, MSDN-Academic, Volume (the student faculty licenses) license. If you are in possession of all these brackets, you will need to save and do a custom clean install. If you want to do it, please backup your Windows 7 Home Premium or according to edition currently installed. Some licenses for Windows distributed to tertiary level students are not perpetual, which means that you cannot continue to use the software after a course or graduating.

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

    Windows 7 Anytime Upgrade fails:

    If your getting the following: error: Windows Anytime Upgrade failed
    This problem may occur if Windows 7 SP1 was downloaded by Windows Update, but has not yet been installed.
    See: http://support.microsoft.com/kb/2660811

    = Other reasons and possible corrections.

    Windows Anytime Upgrade fails with the error:
    "every time that the upgrade has failed. Go online to solve the problem.
    http://support.Microsoft.com/kb/2658652

    If Anytime Upgrade still does not work:

    Shut down and restart your computer.

    Make sure that the Windows updates have been installed.

    Download the hotfix that contains a tool called CheckSUR, this tool will look at the package and the maintenance of records and difficulty any data corrupted, the tool is listed under kb947821 he can be found at the following link http://support.microsoft.com/?kbid=947821

    If Anytime Upgrade still does not work, turn off the user account control:

    1. go in user accounts in Control Panel

    2 change user account control settings

    3. pull the slider to the level as low as possible

    4. restart the PC

    5. pass by the "Anytime Upgrade" as usual

    Try the following:

    1 disable any security software before attempting to upgrade

    2. make sure that your computer is updated (devices and applications)

    3. disconnect all external devices before installing.

    4. check your hard disk for errors:

    Click Start

    Type: CMD, according to the results, right-click CMD

    Click on "Run as Administrator"

    At the command prompt, type: chkdsk /f /r

    When you restart your system, your computer will be scanned for errors and will try to correct them.

    1. click on start, type msconfig in the search box and press ENTER.

    User account control permission

    If you are prompted for an administrator password or a confirmation, type the password, or click on continue.

    2. in the general tab, click Selective startup.

    3. under Selective startup, clear the check box load startup items.

    4. click on the Services tab, select the hide all Microsoft Services check box, and then click Disable all.

    5. click on OK.

    6. When you are prompted, click on restart.

    7. after the computer starts, check if the problem is resolved.

    Also run the Windows 7 Upgrade Advisor:

    http://www.Microsoft.com/Windows/Windows-7/Upgrade-Advisor.aspx

    Who should I contact if I have problems installing and / or activation of my product key card?

    Please contact to the: www.windows7.com/getkeysupport.

    If all above fails them, install Windows 7 Service Pack 1, and then try the Express Upgrade:

    Learn how to install Windows 7 Service Pack 1 (SP1)
    http://Windows.Microsoft.com/en-us/Windows7/learn-how-to-install-Windows-7-Service-Pack-1-SP1

    If your key is not valid and you will need to change the keys, you may need to Open regedit and remove first the ProductKey value in the following registry key:
     
    HKCU\Software\Microsoft\Windows\CurrentVersion\WindowsAnytimeUpgrade

  • Why the upgraded version would be the first option when buying a product? Oh is it cheaper...

    Just went out and bought a serial for my trial version of Lightroom 5. Clicked on buy series when I opened the trial version, created the site Web, connected and clicked on Lightroom and click purchase.

    Happy days. Received my serial number and he came!

    PROBLEM: The series that you have entered is an upgrade!

    In no time he put to me I bought a version upgrade. Contacting the customer service they informed me that the only way to solve this problem is to cancel the order and reorganize the full version. I explained that it is what, to my knowledge, that I bought it.

    So in the end, I had to cancel the order, but unfortunately do not have the funds in my account to purchase a second license because my refund will take about a week to process.

    So now I'm without software and a hole in my bank account. Now im thinking that when my dose of refund come through I probably used sentence buy this software after all these hassles. Bravo to lose a potential customer!

    PS.

    I went back to re to see what I had done wrong and it turns out that there is a small triangle that you must click before pressing on buy to say you really want to buy a full version. And if you click on that there is nothing to say that your do not buy a full version. Very confusing and im sure im not the first person to complain about this.

    If you click on buy a serial number when your trial period is exhausted, a series of upgrade should not be produced by default to that you are headed.

    That is my rant. Adobe sort!

    Thanks 11sunny11, I was able to verify that your refund is the treatment.  I you sent a private message separately on this issue.

  • Why the time display is set to 19 when I run the attached VI

    Why the time display is set to 19 when I run the attached VI?

    Thank you.

    Seconds function Date/time returned to 12/31/1903, as UTC is false.  Set the Boolean value TRUE (UTC)

  • Sat T135D: error message 'the user name or password is incorrect' when connecting

    Hello!

    I bought a PC laptop Toshiba T 135 d, and after a few days, I worked with it, I changed something in the users account and now it gives me this error "the user name or password is incorrect" when connecting. I mention that I have not introduced any password before.

    Can you help me?

    > I changed something in the users account
    And how to help? Who knows what you did there.

    I can tell you that it's really bad situation now. Without correct password, you will not be able to start the new installation of the operating system using the HDD recovery procedure.

  • I have some problems when connecting my hub USB for Windows 7.

    Original title: Windows 7 & PnP...

    I have some problems when connecting my USB hub (this is PnP)...  I don't know Don t what the issue with windows 7 and PnP´s, but I ´ve read some info about it on the net saying that peripheral soe Pnp will not work on windows 7... So, what can I do?

    Hello

    1. What is the brand and model of the computer/hub USB?

    2. what happens when you plug the USB hub to the computer?

    3 - is it is not detected?

    4. other USB devices work?

    Response with more information to help you further.

    The hardware which are not compatible with Windows 7 will not work with it. However, almost of hardware and software are compatible with Windows 7.

    Step 1:

    See if the USB hub is compatible with Windows 7.

    http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/default.aspx

    Step 2: Run the following fix - it:

    Hardware devices do not work or are not detected in Windows:

    http://support.Microsoft.com/mats/hardware_device_problems/en-us

  • Why the description changes in my Google search when I change in the properties of the Page? I have I

    I went into the properties of the Page and I have changed the description of metadata, but when I searched it in Google, my description was not changed!

    Any help would be appreciated!

    Google display their results being cached, and it will take time for them to update this information.

    Mylenium

  • EMERGENCY SITUATION! Please help me! Why the OFF button would not start me in the hp recovery partition?

    I bought a hp Pavilion dm4-2015dx for a little more than a week or two to Bestbuy.ca.

    When I tried to launch the recovery by pressing F11at the start this morning, the following is the display.

    Windows could not start. A recent hardware or software change might be the cause...

    file:\Boot\BCD

    Statue: 0cx0000225

    Info: an error occurred trying to read the boot configuration

    Note: I recently made a partition, I divided the C drives in A and B, I wonder if that has an effect on my computer?

    Help, please! Only, I bought the laptop for a little more than a week

    Greetings,

    If you insert the first disc in your DVD-rom and you start your computer, the screen HP press ESC until you get a menu. Select the start menu and select CD/DVD-ROM, then enter. When it tells you to press a key to boot from the CD, press a key any. This will load the recovery software. Select immediate assistance and a recovery of the system. This will install your computer as the day where you bought everything first.

    WARNING * you will lose all files and programs that you have installed and placed on your computer that you bought the device.

    Yes, this will allow you to use the F11 key again once the recovery complete. Typical HP for the device warranty is one year. We can find this information for you. If you look at your serial number label, it should give you a serial number and the identification code of the product. With this information, you should be able to trace accurate information by the auditor of warranty status if your product has a #ABA or something similar, don't forget that.

    To find your sticker:

    http://h10025.www1.HP.com/ewfrf/wc/findModel?cc=us & DLC = in & LC =

    The guarantee verification link HP is:

    http://h10025.www1.HP.com/ewfrf/wc/weInput?cc=us & DLC = in & LC = on & os = 4062 & Product = 3204464 & softwareitem = MP-74848-1 & sw_lang =

  • Why the police Cache Service Windows won't start?

    Cache of police service Windows will not start it is stuck at the start so I have to turn it off so that it does not use 25% cpu.

    Windows 7 Home Premium 64-bit

    I am aware that other users also have this problem.

    Hi bmxjumperc,

    Try running online virus scan and priority of service process in the Task Manager. To do this, try the following steps.
    Step 1: Virus scanner online
    a. visit http://onecare.live.com/site/en-us/center/whatsnew.htm
    b. click "full service scan.
    c. scan the computer and remove the infected files and check the result.

    Step 2: Change the priority of service process
    a. right click on the task bar, click Start Task Manager.
    b. click on the Services tab, right-click FontCache point and click on 'Go to address'
    c. click right tab process, right click on the process, click on set the priority and click down.
    d. click ok to apply the changes and check the result.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Error, "the upgrade key you have entered is for an edition of Windows that does not work with Windows Anytime Upgrade." Enter a different upgrade key. "When you try to upgrade to Windows 7 Ultimate

    I have Windows 7 Home Premium and bought a Windows Anytime Upgrade to Windows 7 Ultimate. After extraction in the online store, I got a download link and product key.

    However, when I try to run the Express upgrade and enter the key that I got from the online store, the operation fails and the window says:
    "The upgrade key that you entered is for an edition of Windows that does not work with Windows Anytime Upgrade. Enter a different upgrade key. »

    What should I do?

    Windows 7 Anytime Upgrade fails:

    If your getting the following: error: Windows Anytime Upgrade failed
    This problem may occur if Windows 7 SP1 was downloaded by Windows Update, but has not yet been installed.
    See: http://support.microsoft.com/kb/2660811

    = Other reasons and possible corrections.

    Windows Anytime Upgrade fails with the error:
    "every time that the upgrade has failed. Go online to solve the problem.
    http://support.Microsoft.com/kb/2658652

    If Anytime Upgrade still does not work:

    Shut down and restart your computer.

    Make sure that the Windows updates have been installed.

    Download the hotfix that contains a tool called CheckSUR, this tool will look at the package and the maintenance of records and difficulty any data corrupted, the tool is listed under kb947821 he can be found at the following link http://support.microsoft.com/?kbid=947821

    If Anytime Upgrade still does not work, turn off the user account control:

    1. go in user accounts in Control Panel

    2 change user account control settings

    3. pull the slider to the level as low as possible

    4. restart the PC

    5. pass by the "Anytime Upgrade" as usual

    Try the following:

    1 disable any security software before attempting to upgrade

    2. make sure that your computer is updated (devices and applications)

    3. disconnect all external devices before installing.

    4. check your hard disk for errors:

    Click Start

    Type: CMD, according to the results, right-click CMD

    Click on "Run as Administrator"

    At the command prompt, type: chkdsk /f /r

    When you restart your system, your computer will be scanned for errors and will try to correct them.

    1. click on start, type msconfig in the search box and press ENTER.

    User account control permission

    If you are prompted for an administrator password or a confirmation, type the password, or click on continue.

    2. in the general tab, click Selective startup.

    3. under Selective startup, clear the check box load startup items.

    4. click on the Services tab, select the hide all Microsoft Services check box, and then click Disable all.

    5. click on OK.

    6. When you are prompted, click on restart.

    7. after the computer starts, check if the problem is resolved.

    Also run the Windows 7 Upgrade Advisor:

    http://www.Microsoft.com/Windows/Windows-7/Upgrade-Advisor.aspx

    Who should I contact if I have problems installing and / or activation of my product key card?

    Please contact to the: www.windows7.com/getkeysupport.

    If all above fails them, install Windows 7 Service Pack 1, and then try the Express Upgrade:

    Learn how to install Windows 7 Service Pack 1 (SP1)
    http://Windows.Microsoft.com/en-us/Windows7/learn-how-to-install-Windows-7-Service-Pack-1-SP1

    If your key is not valid and you will need to change the keys, you may need to Open regedit and remove first the ProductKey value in the following registry key:
     
    HKCU\Software\Microsoft\Windows\CurrentVersion\WindowsAnytimeUpgrade

  • Why the DR unit does not trigger schema when it is called remotely?

    Hi all

    I have a question about the triggers of oracle schema and I would be grateful if you could kindly give me a helping hand.

    Oracle version: 11 GR 2 (11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit)

    OS:                      Linux Fedora Core 17 (X86_64)

    I was reading the online documentation on schema triggers where oracle says:

    Assume that users user1 and user2 own schema triggers and user1 invokes a DR unit owned by user2. Inside the DR unit, User2 is the current user. Therefore, If the DR unit triggers the triggering event of a trigger schema that User2 owns, while the trigger is activated.

    I wanted to see this behavior in practice, so I made the following test case:

    -There are two schemas:

    • testuser where I create a procedure with AUTHID DEFINE (a unit of the Dr. therfore) named createTab. This procedure takes a table name as a parameter and if no table with this name exists already in the testuser schema, it will create a new table with the same name with a single column of type NUMBER (well, it's just an example to this issue, in practice I never create my tables this way)

    • training is therefore another scheme to which we grant the privilege EXECUTE on the above mentioned procedure createTab so that it may be possible to create tables on schema testuser by calling the remote procedure.

    The idea behind the test is to create a schema for testusertrigger, so that whenever he is, for example, a creation of the table, a message is inserted into a table of newspaper (just an example to show proof that trigger the diagram has been drawn on the table creation event). Now assuming I admit the EXECUTE privilege on the procedure of createTab for the trainingscheme, then any creation of the remote table must trigger the schema trigger, because according to the documentation inside the unit of the DR, the user is not considered appellant user (= training) but actually the owner (= testuser) that created the trigger and procedure.

    The problem is that I cannot see it in my test. Therefore I will write here my test case so that you can have a look at it and to indicate where I did wrong, and what I misunderstood in the documentation.

    So here's what I created on the schema testuser

    Code

    SET SQLBLANKLINES

    ALTER SESSION SET PLSQL_WARNINGS = ' ENABLE: ALL ';

    SET SERVEROUTPUT ON;

    -A table of newspaper in which the schema trigger inserts messages


    -indicating that the schema trigger was triggered (as proof)

    CREATE TABLE tablog (logMsg VARCHAR2 (100));

    -Here is the procedure that updates the above defined log table (tablog)

    -This procedure (autonomous transaction) is called by the schema trigger

    CREATE OR REPLACE PROCEDURE updateLog (p_logMsg IN tablog.logMsg%TYPE)

    DEFINE AUTHID

    IS

    PRAGMA AUTONOMOUS_TRANSACTION;

    BEGIN

    INSERT INTO tablog (logMsg) VALUES (p_logMsg);

    COMMIT;

    END updateLog;

    /

    DISPLAY ERRORS;

    -This is the procedure we use to create tables (which will be called so

    -remotely from another schema-> training)

    -As stated above, the procedure takes a table
    -name as a parameter and creates a table with a single column of type NUMBER

    -that if no table with this name exists already

    CREATE OR REPLACE PROCEDURE createTab

    (

    p_tabName IN user_tables.table_name%TYPE

    )

    AUTHID DEFINE - Therefore a unit DR that we explicitly specify AUTHID DEFINE

    IS

    BEGIN

    < < bk > >

    DECLARE

    tabName user_tables.table_name%TYPE;

    BEGIN

    -Check to see if a table with the name p_tabName
    -already exists

    T1.table_name SELECT INTO bk.tabName

    FROM user_tables t1

    WHERE t1.table_name = upper (p_tabName);

    EXCEPTION

    -No table with this name exists, so we create now

    WHEN NO_DATA_FOUND THEN

    IMMEDIATELY RUN 'CREATE TABLE ' |

    p_tabName | '(NUMÉRO n) ';

    END;

    END createTab;

    /

    DISPLAY ERRORS;

    - And finally it is the schema for the schema 'testuser '.

    -Any appeal of the above mentioned procedure createTab (if the procedure)
    -creates a new table) fires the following trigger

    CREATE OR REPLACE TRIGGER testuser_schema_tr

    Before you CREATE on testuser.schema

    BEGIN

    -Just insert a message into the table of the newspaper showing the evidence
    -that our schema trigger wiped of CREATE TABLE
    -statements

    updateLog

    (

    TO_CHAR (sysdate, ' ' MON-DD-YYYY HH24:Mi:ss) |

    ' ': Schema for testuser trigger pulled.

    );

    END testuser_schema_tr;

    /

    DISPLAY ERRORS;

    -I grant the privileges required for the formation of the user/schema
    -may also be able to remotely run my procedure

    GRANT EXECUTE ON createTab to training;

    GRANT SELECT ON tablog to training;

    First, I tested the procedure createTab locally (so be etre connecte connected as drawing testuser , in other words, the owner of the procedure and the relaxation). Everything worked pretty well and created table, that table the journal has been updated by the trigger which showed that in fact after each CREATE TABLE statement, the trigger was activated.

    However, when I opened a new SQL * Plus term, this time in being connected as a training scheme, I have observed that, once again, it was possible to create tables on schema testuser remotely, but the log table has been updated no more, which means that the trigger has not wiped CREATE TABLE statements that were issued remotely (by remote createTab procedure call).

    Code

    SQL > EXECUTE testuser.createTab ('tmptab');

    PL/SQL procedure successfully completed.

    SQL > SELECT * FROM testuser.tablog;

    no selected line

    SQL > USER to see THE

    The USER is 'TRAINING'


    SQL >

    Any idea? Why unity DR (createTab procedure) does not have the schema trigger, unlike what documents said, when it is called remotely?

    Thanks in advance,

    Dariyoosh

    It works for me on Oracle 11.2.0.3

    August 21, 2013 18:10:12: trigger pulled schema

    But not on 11.2.0.1

    It looks like a bug.

  • Why the optimizer ignores Index Fast full Scan when much lower cost?

    Summary (tracking details below) - to improve the performance of a query on more than one table, I created an index on a table that included all the columns referenced in the query. With the new index in place the optimizer is still choosing a full Table Scan on an Index fast full scan. However, by removing the one query tables I reach the point where the optimizer suddenly use the Index Fast Full Scan on this table. And 'Yes', it's a lot cheaper than the full Table Scan it used before. By getting a test case, I was able to get the motion down to 4 tables with the optimizer still ignoring the index and table of 3, it will use the index.

    So why the optimizer not chooses the Index Fast Full Scan, if it is obvious that it is so much cheaper than a full Table Scan? And why the deletion of a table changes how the optimizer - I don't think that there is a problem with the number of join permutations (see below). The application is so simple that I can do, while remaining true to the original SQL application, and it still shows this reversal in the choice of access path. I can run the queries one after another, and he always uses a full Table Scan for the original query and Index fast full scan for the query that is modified with a table less.

    Watching trace 10053 output for the two motions, I can see that for the original query 4 table costs alone way of ACCESS of TABLE UNIQUE section a full Table Scan. But for the modified query with a table less, the table now has a cost for an Index fast full scan also. And the end of the join cost 10053 does not end with a message about exceeding the maximum number of permutations. So why the optimizer does not cost the IFFS for the first query, when it does for the second, nearly identical query?

    This is potentially a problem to do with OUTER joins, but why? The joins between the tables do not change when the single extra table is deleted.

    It's on 10.2.0.5 on Linux (Oracle Enterprise Linux). I did not define special settings I know. I see the same behavior on 10.2.0.4 32-bit on Windows (XP).

    Thank you
    John
    Blog of database Performance

    DETAILS
    I've reproduced the entire scenario via SQL scripts to create and populate the tables against which I can then run the queries. I've deliberately padded table so that the length of the average line of data generated is similar to that of the actual data. In this way the statistics should be similar on the number of blocks and so forth.

    System - uname - a
    Linux mysystem.localdomain 2.6.32-300.25.1.el5uek #1 SMP Tue May 15 19:55:52 EDT 2012 i686 i686 i386 GNU/Linux
    Database - v$ version
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - Prod
    PL/SQL Release 10.2.0.5.0 - Production
    CORE    10.2.0.5.0      Production
    TNS for Linux: Version 10.2.0.5.0 - Production
    NLSRTL Version 10.2.0.5.0 - Production
    Original query (complete table below details):
    SELECT 
        episode.episode_id , episode.cross_ref_id , episode.date_required , 
        product.number_required , 
        request.site_id 
    FROM episode 
    LEFT JOIN REQUEST on episode.cross_ref_id = request.cross_ref_id 
         JOIN product ON episode.episode_id = product.episode_id 
    LEFT JOIN product_sub_type ON product.prod_sub_type_id = product_sub_type.prod_sub_type_id 
    WHERE (
            episode.department_id = 2
        and product.status = 'I'
          ) 
    ORDER BY episode.date_required
    ;
    Execution of display_cursor after the execution plan:
    SQL_ID  5ckbvabcmqzw7, child number 0
    -------------------------------------
    SELECT     episode.episode_id , episode.cross_ref_id , episode.date_required ,
    product.number_required ,     request.site_id FROM episode LEFT JOIN REQUEST on
    episode.cross_ref_id = request.cross_ref_id      JOIN product ON episode.episode_id =
    product.episode_id LEFT JOIN product_sub_type ON product.prod_sub_type_id =
    product_sub_type.prod_sub_type_id WHERE (         episode.department_id = 2 and
    product.status = 'I'       ) ORDER BY episode.date_required
    
    Plan hash value: 3976293091
    
    -----------------------------------------------------------------------------------------------------
    | Id  | Operation             | Name                | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     |
    -----------------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT      |                     |       |       |       | 35357 (100)|          |
    |   1 |  SORT ORDER BY        |                     | 33333 |  1920K|  2232K| 35357   (1)| 00:07:05 |
    |   2 |   NESTED LOOPS OUTER  |                     | 33333 |  1920K|       | 34879   (1)| 00:06:59 |
    |*  3 |    HASH JOIN OUTER    |                     | 33333 |  1822K|  1728K| 34878   (1)| 00:06:59 |
    |*  4 |     HASH JOIN         |                     | 33333 |  1334K|       |   894   (1)| 00:00:11 |
    |*  5 |      TABLE ACCESS FULL| PRODUCT             | 33333 |   423K|       |   103   (1)| 00:00:02 |
    |*  6 |      TABLE ACCESS FULL| EPISODE             |   299K|  8198K|       |   788   (1)| 00:00:10 |
    |   7 |     TABLE ACCESS FULL | REQUEST             |  3989K|    57M|       | 28772   (1)| 00:05:46 |
    |*  8 |    INDEX UNIQUE SCAN  | PK_PRODUCT_SUB_TYPE |     1 |     3 |       |  0   (0)|          |
    -----------------------------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
       3 - access("EPISODE"."CROSS_REF_ID"="REQUEST"."CROSS_REF_ID")
       4 - access("EPISODE"."EPISODE_ID"="PRODUCT"."EPISODE_ID")
       5 - filter("PRODUCT"."STATUS"='I')
       6 - filter("EPISODE"."DEPARTMENT_ID"=2)
       8 - access("PRODUCT"."PROD_SUB_TYPE_ID"="PRODUCT_SUB_TYPE"."PROD_SUB_TYPE_ID")
    Updated the Query:
    SELECT 
        episode.episode_id , episode.cross_ref_id , episode.date_required , 
        product.number_required , 
        request.site_id 
    FROM episode 
    LEFT JOIN REQUEST on episode.cross_ref_id = request.cross_ref_id 
         JOIN product ON episode.episode_id = product.episode_id 
    WHERE (
            episode.department_id = 2
        and product.status = 'I'
          ) 
    ORDER BY episode.date_required
    ;
    Execution of display_cursor after the execution plan:
    SQL_ID  gbs74rgupupxz, child number 0
    -------------------------------------
    SELECT     episode.episode_id , episode.cross_ref_id , episode.date_required ,
    product.number_required ,     request.site_id FROM episode LEFT JOIN REQUEST on
    episode.cross_ref_id = request.cross_ref_id      JOIN product ON episode.episode_id =
    product.episode_id WHERE (         episode.department_id = 2     and product.status =
    'I'       ) ORDER BY episode.date_required
    
    Plan hash value: 4250628916
    
    ----------------------------------------------------------------------------------------------
    | Id  | Operation              | Name        | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     |
    ----------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT       |             |       |       |       | 10515 (100)|          |
    |   1 |  SORT ORDER BY         |             | 33333 |  1725K|  2112K| 10515   (1)| 00:02:07 |
    |*  2 |   HASH JOIN OUTER      |             | 33333 |  1725K|  1632K| 10077   (1)| 00:02:01 |
    |*  3 |    HASH JOIN           |             | 33333 |  1236K|       |   894   (1)| 00:00:11 |
    |*  4 |     TABLE ACCESS FULL  | PRODUCT     | 33333 |   325K|       |   103   (1)| 00:00:02 |
    |*  5 |     TABLE ACCESS FULL  | EPISODE     |   299K|  8198K|       |   788   (1)| 00:00:10 |
    |   6 |    INDEX FAST FULL SCAN| IX4_REQUEST |  3989K|    57M|       |  3976   (1)| 00:00:48 |
    ----------------------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
       2 - access("EPISODE"."CROSS_REF_ID"="REQUEST"."CROSS_REF_ID")
       3 - access("EPISODE"."EPISODE_ID"="PRODUCT"."EPISODE_ID")
       4 - filter("PRODUCT"."STATUS"='I')
       5 - filter("EPISODE"."DEPARTMENT_ID"=2)
    Creating the table and Population:
    1 create tables
    2. load data
    3 create indexes
    4. collection of statistics
    --
    -- Main table
    --
    create table episode (
    episode_id number (*,0),
    department_id number (*,0),
    date_required date,
    cross_ref_id varchar2 (11),
    padding varchar2 (80),
    constraint pk_episode primary key (episode_id)
    ) ;
    --
    -- Product tables
    --
    create table product_type (
    prod_type_id number (*,0),
    code varchar2 (10),
    binary_field number (*,0),
    padding varchar2 (80),
    constraint pk_product_type primary key (prod_type_id)
    ) ;
    --
    create table product_sub_type (
    prod_sub_type_id number (*,0),
    sub_type_name varchar2 (20),
    units varchar2 (20),
    padding varchar2 (80),
    constraint pk_product_sub_type primary key (prod_sub_type_id)
    ) ;
    --
    create table product (
    product_id number (*,0),
    prod_type_id number (*,0),
    prod_sub_type_id number (*,0),
    episode_id number (*,0),
    status varchar2 (1),
    number_required number (*,0),
    padding varchar2 (80),
    constraint pk_product primary key (product_id),
    constraint nn_product_episode check (episode_id is not null) 
    ) ;
    alter table product add constraint fk_product 
    foreign key (episode_id) references episode (episode_id) ;
    alter table product add constraint fk_product_type 
    foreign key (prod_type_id) references product_type (prod_type_id) ;
    alter table product add constraint fk_prod_sub_type
    foreign key (prod_sub_type_id) references product_sub_type (prod_sub_type_id) ;
    --
    -- Requests
    --
    create table request (
    request_id number (*,0),
    department_id number (*,0),
    site_id number (*,0),
    cross_ref_id varchar2 (11),
    padding varchar2 (80),
    padding2 varchar2 (80),
    constraint pk_request primary key (request_id),
    constraint nn_request_department check (department_id is not null),
    constraint nn_request_site_id check (site_id is not null)
    ) ;
    --
    -- Activity & Users
    --
    create table activity (
    activity_id number (*,0),
    user_id number (*,0),
    episode_id number (*,0),
    request_id number (*,0), -- always NULL!
    padding varchar2 (80),
    constraint pk_activity primary key (activity_id)
    ) ;
    alter table activity add constraint fk_activity_episode
    foreign key (episode_id) references episode (episode_id) ;
    alter table activity add constraint fk_activity_request
    foreign key (request_id) references request (request_id) ;
    --
    create table app_users (
    user_id number (*,0),
    user_name varchar2 (20),
    start_date date,
    padding varchar2 (80),
    constraint pk_users primary key (user_id)
    ) ;
    
    prompt Loading episode ...
    --
    insert into episode
    with generator as 
    (select rownum r
              from (select rownum r from dual connect by rownum <= 1000) a,
                   (select rownum r from dual connect by rownum <= 1000) b,
                   (select rownum r from dual connect by rownum <= 1000) c
             where rownum <= 1000000
           ) 
    select r, 2,
        sysdate + mod (r, 14),
        to_char (r, '0000000000'),
        'ABCDEFGHIJKLMNOPQRSTUVWXYZ' || to_char (r, '000000')
      from generator g
    where g.r <= 300000
    /
    commit ;
    --
    prompt Loading product_type ...
    --
    insert into product_type
    with generator as 
    (select rownum r
              from (select rownum r from dual connect by rownum <= 1000) a,
                   (select rownum r from dual connect by rownum <= 1000) b,
                   (select rownum r from dual connect by rownum <= 1000) c
             where rownum <= 1000000
           ) 
    select r, 
           to_char (r, '000000000'),
           mod (r, 2),
           'ABCDEFGHIJKLMNOPQRST' || to_char (r, '000000')
      from generator g
    where g.r <= 12
    /
    commit ;
    --
    prompt Loading product_sub_type ...
    --
    insert into product_sub_type
    with generator as 
    (select rownum r
              from (select rownum r from dual connect by rownum <= 1000) a,
                   (select rownum r from dual connect by rownum <= 1000) b,
                   (select rownum r from dual connect by rownum <= 1000) c
             where rownum <= 1000000
           ) 
    select r, 
           to_char (r, '000000'),
           to_char (mod (r, 3), '000000'),
           'ABCDE' || to_char (r, '000000')
      from generator g
    where g.r <= 15
    /
    commit ;
    --
    prompt Loading product ...
    --
    -- product_id prod_type_id prod_sub_type_id episode_id padding 
    insert into product
    with generator as 
    (select rownum r
              from (select rownum r from dual connect by rownum <= 1000) a,
                   (select rownum r from dual connect by rownum <= 1000) b,
                   (select rownum r from dual connect by rownum <= 1000) c
             where rownum <= 1000000
           ) 
    select r, mod (r, 12) + 1, mod (r, 15) + 1, mod (r, 300000) + 1,
           decode (mod (r, 3), 0, 'I', 1, 'C', 2, 'X', 'U'),
           dbms_random.value (1, 100), NULL
      from generator g
    where g.r <= 100000
    /
    commit ;
    --
    prompt Loading request ...
    --
    -- request_id department_id site_id cross_ref_id varchar2 (11) padding 
    insert into request
    with generator as 
    (select rownum r
              from (select rownum r from dual connect by rownum <= 1000) a,
                   (select rownum r from dual connect by rownum <= 1000) b,
                   (select rownum r from dual connect by rownum <= 1000) c
             where rownum <= 10000000
           ) 
    select r, mod (r, 4) + 1, 1, to_char (r, '0000000000'),
    'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz01234567890123456789' || to_char (r, '000000'),
    'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789012345678' || to_char (r, '000000')
      from generator g
    where g.r <= 4000000
    /
    commit ;
    --
    prompt Loading activity ...
    --
    -- activity activity_id user_id episode_id request_id (NULL) padding 
    insert into activity
    with generator as 
    (select rownum r
              from (select rownum r from dual connect by rownum <= 1000) a,
                   (select rownum r from dual connect by rownum <= 1000) b,
                   (select rownum r from dual connect by rownum <= 1000) c
             where rownum <= 10000000
           ) 
    select r, mod (r, 50) + 1, mod (r, 300000) + 1, NULL, NULL
      from generator g
    where g.r <= 100000
    /
    commit ;
    --
    prompt Loading app_users ...
    --
    -- app_users user_id user_name start_date padding 
    insert into app_users
    with generator as 
    (select rownum r
              from (select rownum r from dual connect by rownum <= 1000) a,
                   (select rownum r from dual connect by rownum <= 1000) b,
                   (select rownum r from dual connect by rownum <= 1000) c
             where rownum <= 10000000
           ) 
    select r, 
           'User_' || to_char (r, '000000'),
           sysdate - mod (r, 30),
           'ABCDEFGHIJKLMNOPQRSTUVWXYZ' || to_char (r, '000000')
      from generator g
    where g.r <= 1000
    /
    commit ;
    --
    
    prompt Episode (1)
    create index ix1_episode_cross_ref on episode (cross_ref_id) ;
    --
    prompt Product (2)
    create index ix1_product_episode on product (episode_id) ;
    create index ix2_product_type on product (prod_type_id) ;
    --
    prompt Request (4)
    create index ix1_request_site on request (site_id) ;
    create index ix2_request_dept on request (department_id) ;
    create index ix3_request_cross_ref on request (cross_ref_id) ;
    -- The extra index on the referenced columns!!
    create index ix4_request on request (cross_ref_id, site_id) ;
    --
    prompt Activity (2)
    create index ix1_activity_episode on activity (episode_id) ;
    create index ix2_activity_request on activity (request_id) ;
    --
    prompt Users (1)
    create unique index ix1_users_name on app_users (user_name) ;
    --
    prompt Gather statistics on schema ...
    --
    exec dbms_stats.gather_schema_stats ('JB')
    10053 sections - original query
    ***************************************
    SINGLE TABLE ACCESS PATH
      -----------------------------------------
      BEGIN Single Table Cardinality Estimation
      -----------------------------------------
      Table: REQUEST  Alias: REQUEST
        Card: Original: 3994236  Rounded: 3994236  Computed: 3994236.00  Non Adjusted: 3994236.00
      -----------------------------------------
      END   Single Table Cardinality Estimation
      -----------------------------------------
      Access Path: TableScan
        Cost:  28806.24  Resp: 28806.24  Degree: 0
          Cost_io: 28738.00  Cost_cpu: 1594402830
          Resp_io: 28738.00  Resp_cpu: 1594402830
    ******** Begin index join costing ********
      ****** trying bitmap/domain indexes ******
      Access Path: index (FullScan)
        Index: PK_REQUEST
        resc_io: 7865.00  resc_cpu: 855378926
        ix_sel: 1  ix_sel_with_filters: 1
        Cost: 7901.61  Resp: 7901.61  Degree: 0
      Access Path: index (FullScan)
        Index: PK_REQUEST
        resc_io: 7865.00  resc_cpu: 855378926
        ix_sel: 1  ix_sel_with_filters: 1
        Cost: 7901.61  Resp: 7901.61  Degree: 0
      ****** finished trying bitmap/domain indexes ******
    ******** End index join costing ********
      Best:: AccessPath: TableScan
             Cost: 28806.24  Degree: 1  Resp: 28806.24  Card: 3994236.00  Bytes: 0
    ***************************************
    10053 - updated the Query
    ***************************************
    SINGLE TABLE ACCESS PATH
      -----------------------------------------
      BEGIN Single Table Cardinality Estimation
      -----------------------------------------
      Table: REQUEST  Alias: REQUEST
        Card: Original: 3994236  Rounded: 3994236  Computed: 3994236.00  Non Adjusted: 3994236.00
      -----------------------------------------
      END   Single Table Cardinality Estimation
      -----------------------------------------
      Access Path: TableScan
        Cost:  28806.24  Resp: 28806.24  Degree: 0
          Cost_io: 28738.00  Cost_cpu: 1594402830
          Resp_io: 28738.00  Resp_cpu: 1594402830
      Access Path: index (index (FFS))
        Index: IX4_REQUEST
        resc_io: 3927.00  resc_cpu: 583211030
        ix_sel: 0.0000e+00  ix_sel_with_filters: 1
      Access Path: index (FFS)
        Cost:  3951.96  Resp: 3951.96  Degree: 1
          Cost_io: 3927.00  Cost_cpu: 583211030
          Resp_io: 3927.00  Resp_cpu: 583211030
      Access Path: index (FullScan)
        Index: IX4_REQUEST
        resc_io: 14495.00  resc_cpu: 903225273
        ix_sel: 1  ix_sel_with_filters: 1
        Cost: 14533.66  Resp: 14533.66  Degree: 1
    ******** Begin index join costing ********
      ****** trying bitmap/domain indexes ******
      Access Path: index (FullScan)
        Index: IX4_REQUEST
        resc_io: 14495.00  resc_cpu: 903225273
        ix_sel: 1  ix_sel_with_filters: 1
        Cost: 14533.66  Resp: 14533.66  Degree: 0
      Access Path: index (FullScan)
        Index: IX4_REQUEST
        resc_io: 14495.00  resc_cpu: 903225273
        ix_sel: 1  ix_sel_with_filters: 1
        Cost: 14533.66  Resp: 14533.66  Degree: 0
      ****** finished trying bitmap/domain indexes ******
    ******** End index join costing ********
      Best:: AccessPath: IndexFFS  Index: IX4_REQUEST
             Cost: 3951.96  Degree: 1  Resp: 3951.96  Card: 3994236.00  Bytes: 0
    ***************************************

    I mentioned that it is a bug related to the ANSI SQL standard and transformation probably.

    As suggested/asked in my first reply:
    1. If you use a no_query_transformation then you should find that you get the use of the index (although not in the plan you would expect)
    2. If you use the traditional Oracle syntax, then you should not have the same problem.

  • Why the source monitor and program goes black when you try to apply the lumetri effect in cc first Pro 2015

    Whenever I do any type of adjustment in the effect of lumetri, monitors go black

    Hi Jerry,

    You have a structure of AVCHD (MTS) files folder?

    Please try the steps below.

    Close Premiere Pro.

    Go to the Documents folder and folder rename Adobe at old_Adobe.

    Then click on Start button, type %appdata%\microsoft\windows\sendto in the box find and open the folder Roaming Roaming > Adobe rename the folder of Premiere Pro. Plese don't delete any folder just a change of name.

    Roaming > Adobe, open the common folder and delete all files in the media Cache folder and media Cache files.

    Launch of Premiere Pro, then try to apply the LUT.

    Vinay

Maybe you are looking for

  • NB100-11J - upgrade of the memory

    Hello I have a problem with my NB100-11J. Is it possible to update (change) is the Module of memory installed with 1 GB up to a new one with 2 GB. NB100-11j got only a single memory Slot. The Atom chip seem to handle up to 2 GB. I discovered, that Ki

  • Tecra 9100 + external keyboard

    HelloI have a problem with a Tecra 9100. I want to use with a docking station and external mouse & keyboard.The keyboard does not work, if I put it in the docking station, but the mouse is not serious.I've changed some options in the bios, the keyboa

  • Search file, return of the other excel column value

    I tried the Excel research and this pension, but have not found something that can help yet. I have an Excel file which contains three columns. I want to find the first column with a value (1-99), and then returns the value of this same line, but the

  • change the value of the button cluster

    Hi all I wrote a program that has 5 poles and all groups contain a STOP"" button. the program can stop when the button is pressed. When I press the button, the value of the button goes to False and else False. I want to come True. so I tried using th

  • Unbearable, the necessary alternative graphics card fan noise

    My GeForce GTX590 was replaced by the same. 2 weeks later he is buzzing/grinding. 2 years without problems, but recently 'improved' for win 7 Clearly, this card has had huge problems across the broad public updated all the drivers of HP and Nvidia, n