10.2.0.5 - execution plan has changed because of the link stealthily

Hi guys,.

Our DB server has very heavy use of the CPU on some days.
After investigation, it is due to a particular change in SQL in the execution plan.

For example, this SQL has SQL_ID: 123, with execution plan 2 (hash value).
PLAN 1 - ABC [GOOD] - scan of systematic index
PLAN 2 - DEF [BAD] - full analysis

Problem SQL < not really sql, for example simplify >
SELECT *.
XX
WHERE CRITERIA =: B1;


I would like to identify the value he threw a look that caused the change in plan 1 plan 2 plan.
In any case, I know?
I also have the SQLT report. But can't really understand the part of connection overview of the report.

Please advise.
Thank you

Using DBMS_XPLAN. DISPLAY_CURSOR, you can use the format mask of '+ PEEKED_BINDS', for example

select * from table(dbms_xplan.display_cursor('','','+PEEKED_BINDS'));

Or you can watch V$ SQL. BIND_DATA or, possibly, V$ SQL_PLAN. OTHER_XML although I'm not sure which version the links peeked appear in the latter.
You can use DBMS_SQLTUNE. EXTRACT_BIND/S on the amount GROSS of V$ SQL. (BIND_DATA so) you a license for the tuning pack and b) there is in this version.

Published by: Dom Brooks on November 23, 2012 09:54

Tags: Database

Similar Questions

  • What execution plan has been used?

    Hello

    I'm looking for what execution plan has been used for a SQL when it was run as part of batch in the night? 10gr 2 on ASM, 5.8 RHEL 64 bit.

    Best regards

    You use the Enterprise edition?  Are you a license to use the AWR?  If so, assuming that the query ran long enough to be captured in a snapshot of the CWA (which seems likely, if you are asked this question), DBA_HIST_SQL_PLAN will be the information in the plan and DBA_HIST_SQLSTAT will tell you the plan_hash_value (or values) that have been used for a particular SQL_ID in a particular SNAP_ID.  DBA_HIST_SNAPSHOT will tell you what SNAP_ID (or a set of snap_id) matches any time period you are interested in.

    Justin

  • The appearance has changed, and even the Start button is no longer a circle but the former rectangle that says start after the installation of an update.

    I recently installed an update of Windows for Vista.  The appearance has changed and even the Start button is no longer a circle but the former rectangle that says start.  How can I get the old look back with on the uninstallation of the update?  Thank you

    Original title: updates

    Hello

    It seems that the update was for graphics, as it changed the appearance

    If the update is the problem, you will need to remove it or download and reinstall the graphics driver from your computer or the manufacturer of the graphical Web site map.

    _________________________________________

    Read this information about updates:

    Microsoft gives sometimes you updates for the 3rd party hardware: graphics, network cards, etc.

    You should only get the latest drivers for them to real hardware manufacturer's website, as Microsoft normally does nor those have the most recent drivers available as Microsoft relies of the 3rd party hardware Manufactuer to provide.

    But unfortunately, the only way to know which is the update of the problem is to install them one by one, until you find the 'wrong' for your installation.

    You can do a system restore to get back until it has been installed (which is NOT the best way to remove an update) or follow this method:

    'Remove an update'

    http://Windows.Microsoft.com/en-us/Windows-Vista/remove-an-update

    When you have found the issue of update of the list of updates which is presented > then right click on the update problem > select Hide update > and it will not be available to you once again

    "How to hide or show an update of Windows Vista"

    http://www.Vistax64.com/tutorials/72491-Windows-Update.html

    "How to hide or restore the updates of Windows hidden in Windows 7 and Windows 8"

    http://www.SevenForums.com/tutorials/24376-Windows-Update-hide-restore-hidden-updates.html

    _____________________________________________

    Here's how to chanage update settings, if you think it is necessary to:

    "Understanding Windows Update and Extras in Windows Vista and Windows 7.

    http://www.bleepingcomputer.com/tutorials/Windows-Vista-updates-and-extras/

    Or the other of these two update settings will give you the chance to see what you want to install through Windows updates;

    Download updates but let me choose whether to install them - if you select this option, Windows will download the updates on your computer, but not install them automatically. If you want to install updates, then you must install them manually. You should only select this option if you have a reason to not install updates automatically. Only advanced users should use this option.

    Check for updates but let me choose whether to download and install them - if you select this option, you'll be alerted when there are new updates available for download and install. You can then choose to download and install the updates that you want. This option should really be reserved for people who know exactly which updates they need, or those who have little access to the Internet.

    But remember you normally only have problems with hardware 3rd party drivers. Other updates are to improve the Performance and security of your system

    See you soon.

  • BlackBerry App your BlackBerry ID has changed but email is linked to another account.

    I've already sent the problem to [email protected]

    But received no response.

    Changed my BlackBerry ID, who has worked everywhere except in the BlackBerry BetaZone

    I am not able to use on my Z30 BetaZone or can connect
    https://beta.webapps.BlackBerry.com/login

    I get this error:

    Your BlackBerry ID has changed but email is linked to another account.
    Please contact [email protected].

    Did anyone in this forum who can help me?

    Welcome them

    Stefan

    Send me a message private to this forum (click on my name > send private message) and let me know you BetaZone old and new email and let me see if I can help.

  • I don't know if I did something to cause this; If I did, I don't know how to cancel it.  The format of my screen of the library has changed.  Across the entire screen is a group of 3 photos of my last import, with that that I chose was highlighted.  I can

    I don't know if I did something to cause this; If I did, I don't know how to cancel it.  The format of my screen of the library has changed.  Across the entire screen is a group of 3 photos of my last import, with that that I chose was highlighted.  I can still see the pictures on the bottom Strip.  If I scroll up and down, I see that all is there.  But no browser, list of files, import and export buttons, etc.  How do I return my screen normal library?

    Post a screenshot of what you see.

    Type the tab key.

  • Execution plan will change if I use the variable binding instead of the literal value?

    Hi guys,.

    Suppose I have a select "... Of... WHERE ID = 2 and... "if I go to use the variable binding instead of the literal value 2," SELECT... " Of... WHERE ID =: p_id and... ", the execution plan change?
    I test multiple statements, the plan does not change, but I don't know if it would even as well as in some other cases.
    Someone at - it ideas?

    Thank you very much.

    Anneso wrote:
    Hi, sorry for the unclear post, it's 11 GR 2.

    As Sybrand already mentioned, there are a lot of change that came in the implementation of the bind variable in some versions of Oracle db. Since you're on 112, it is still true with the introduction of Adaptive Cursor Sharing . Please have a read on it since the post below written by the development of Oracle optimizer group.
    http://blogs.Oracle.com/optimizer/entry/why_are_there_more_cursors_in_11g_for_my_query_containing_bind_variables_1

    Aman...

  • Windows Media Player 11 has changed color after the installation of Windows updates.

    Original title: Windows Media Player 11 has changed color.

    Since the last update from Microsoft, the media player iteself blushed and the color picker that is not responding. She still plays the videos, but they also have a red color that doesn't change when I adjust the video settings. Does anyone know how I can fix it.

    I use Windows XP Professional with SP3 and my graphics card is a NVIDIA GeForce2 MX/MX 400.

    Hi DanielDavey,

    Thanks for the reply.

    Glad to know that the problem has been resolved. If you have any further questions on your computer, thanks for posting your question, we will be happy to help you.

    Concerning
    Joel S
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Graphic resizing function has changed, now crops the image, why?

    I must, without knowing it, changed some settings. So far whenever I bring you in graphic, such as a png or jpg, I can resize using the selection tool (arrow) and in a corner of the image I click, hold down the shift/command (Mac) and then shrink or enlarge the size proportionally. What has changed, it is now, the image does not like that, but rather the same manoeuvre crops the image in the direction where, as in using a mask function, the image doesn't change size but the border of it changes and part of the left image not visible. I guess that there is a setting that I don't know who is doing this, but so far have not been able to understand. Anyone know?

    Any responses appreciated as very frustrating.

    Thank you

    -Richard

    Selection of content will resize itself the image but not the frame.

  • All links are open in new tabs. How can I change this so the links open in the same tab?

    It started with the upgrade to 10 FF. I tried to turn on the options tab, turn off, but all guard opening in new tabs rather than pass the link in the opened window. This led to many tabs I have to hunt for access the page I want to open.
    Thanks in advance for your advice.

    Maybe the extensions of a problem. I suggest that you try to use

    • Questions to troubleshoot Firefox in Safe Mode <-clikable link for instructions.
    • do NOT change in the first window, just click on continue
    • Use only the default firefox theme
    • If you continue to have problems; While still in safe mode, and then disable all plugins

    It is also worth trying to make sure that all extensions are uptodate

    You may try to use the reset option controls and toolbars of safe mode, BUT can lose the customizations that you have made.

  • DW/WordPress "an unknown error has occurred while discovering the linked files dynamically"

    I'm trying to configure Dreamweaver CC 2014 to work with my WordPress site 4.0 on the remote server where it is installed. Access to the server is fine, tested ok, all the files listed and sync without problem. But every time I try to dynamically discover files that I get "an unknown error has occurred" while discovering the dynamically related files. What is going on? (Permalinks are the default btw)

    Is easily fixed! I just discovered that under my server settings, I had both 'remote' and 'Testing' checked. I checked "Remote" and it works fine. Just check 'test '.

  • Why Firefox has changed to show the U.S. on search sites when I am based in the United Kingdom?

    Since the installation of her "forget the historical navigation button" Firefox automatically displays the American Web sites instead of the previous UK those.

    The forget button is build in Firefox, but in order to ensure that there has been no change, have you you initially download the American or British Firefox build? I do not think that the two are linked, but you can change the search location in some search preferences. This can also be triggered by you IP address.

  • The record has changed... the default form

    Hello
    I am facing a strange problem...
    Try to change the command prompt in the form of default menu for a single file, the message "registration has been changed. Ask to see the changes. "appears...!
    I saw this message on custom... Forms but on the default form which also insists even when I close the form and reopen it..., first time...
    What do you suggest me...?

    Note: I use eBS 11.5.10.2 and DB10g v.2
    Thank you
    SIM

    As indicated, it is most likely due to spaces in a column to the right. PL indicate what form you encounter this error in.

    See MOS Doc 784494.1 (form discreet (WIPDJMDF.fmb) jobs locked:'FRM-40654: record has been updated.) Re-Query block to see change ') for a script that might help

    HTH
    Srini

  • history has changed to reverse the order on its own; I'm trying to change back to more recent everything first, but he refuses to deliver

    I check AtoZ, but he won't change, and when I click on "views" once again its modified to return from Z to a... Why it does this in the first place? I don't like what he did.

    See:

    Alternatively, you can check for problems with the file localstore.rdf.

  • Format of the image has changed and now the missing links.

    Hello

    Sorry for the title, dark, but I didn't know how to explain the problem. I googled and found a way to solve my problem, but it requires a different software.

    So, I recently changed all the photos on my site to. PNG to .gif because the site was loading too slowly. I thought that all I have to do is replace the new with the old in the pictures folder and everything will be OK, as long as they have the same name. But it turns out that the extension is now different browser or Dreamweaver recognizes and I get a missing .img.

    Some of these images are on pages (icons, banners, etc) and it will be very long go through each of them and manually change the VCC.

    I guess what I'm asking is it a way to "Update" the Scr from one image to the new image everywhere where it is present on the site automatically?

    Make a backup of your site folder before attempting this.

    This assumes that you want to update all instances of .png in the totality of your site to .gif

    Use find and replace,

    Edit > find & replace

    Choose 'File' in the menu drop-down "search in" and navigate to the folder of your site and select it.

    In the "discovery" of the box type .png

    In the box 'Replace'.gif type

    Select "Replace all" from the buttons to the right

  • Chase activity page has only to load the links "I wish" when you use Mozilla Firefox, but will be with Internet Exployer

    Chase Bank is still making updates to their website. In their last update useful links on the activity page simply doesn't appear not under the heading "I want to". Even the title "I wish" does not appear. The side of the page is empty, but if you use Internet Explorer all the links to there. Does anyone else have this problem, use the Chase Bank?

    Found the cause of this problem, I had a program running called Ad Blocker. When I disabled this program, links have become visible. I'll use the other suggestions posted this message.

    Many issues of the site can be caused by corrupted cookies or cache. To try to solve these problems, the first step is to clear cookies and cache.
    Note: This will be you temporarily disconnect all sites, you're connected to.
    To clear the cache and cookies to do the following:

    1. Go to Firefox > history > clear recent history or (if no Firefox button is displayed) go to tools > clear recent history.
    2. Under "Time range to clear", select "all".
    3. Now, click the arrow next to details to toggle the active details list.
    4. In the list of details, see the Cache and Cookies and uncheck everything.
    5. Now click the clear now button.

    More information can be found in article to clear your cache, history, and other personal information in Firefox .

    This solve your problems? Please report to us!

Maybe you are looking for