Following SQL plan bad even after adding to the base at 11 GR 2

11.2.0.3, RHEL 6, 2 node RAC

I have a request app with 4 shots, and one of them is very well optimized plan. But a few reasons it was not used. I added this sql_id based yesterday.

{code}

sql_id: 38w0gp7u4vab

plan_hash_values - cost

(1) 1483922261-284

(2) 1549540093-354

3-11-3581836057

4-3875671801-347

(5) 3584469669-450

Here's the info from baslines:

PLAN_NAME cost VAC

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

SQL_PLAN_9m9pwxh4mpy73018854c3 11 YES

SQL_PLAN_9m9pwxh4mpy7334ba5abc YES 463

SQL_PLAN_9m9pwxh4mpy733a0debdd No. 118

SQL_PLAN_9m9pwxh4mpy73962cb03c YES 364

{code}

I see 3 plans are marked as "ACCEPTED" and a plan is not yet.  I hope that it must follow the plan at a lower cost.

Question:

========

When I check the execution plan for the sql_id always according to plan with cost (463) above.  I wish she must use a first with the lowest cost (11), but don't know why it's always the plan suite with higher cost.

Any idea on why this is the plan bad sequel yet, we have added to the sql database?

Thank you

Harry

The optimizer is free to choose any plan accepted. You can use dbms_spm.alter_sql_plan_baseline to turn off the plans that you don ' t like.

Tags: Database

Similar Questions

  • ButtonField is not visible in the Simulator after adding to the HorizontalFieldManager?

    Hi iam trying to view an EditField and and a 'go' button beside it in the same line.  So I added them to horizontal FieldManager but in sumulatro only the search is coming and button is not visible.  If I add the button to directly _mainscreen that it is displayed in the following line. So, how do I make visible button after adding to the HorizontalFieldManager?

    Please give your support. Thanks in advance.

    private BrowserFieldDemo()
    {
    EditField edit = new EditField("", "search",10, EditField.FILTER_DEFAULT);
    HorizontalFieldManager searchBar = new HorizontalFieldManager();
    searchBar.add(edit);
    searchBar.add(buttonField);
    _mainScreen.add(searchBar);
    pushScreen(_mainScreen);
    }
    

    You can also limit the size of your EditField to leave room for your BitmapField.  In theory, you need only substitute getPreferredWidth() for your EditField, but you may have to substitute layout() as well.

    You can see an example of the fact of a ButtonField in this thread.

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=7430

    You can also find this useful Thread If you want to go in the direction of Manager:

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=3745

    I found the code snippet according to who uses the layout to make sure you have 20 pixels to the right of the field:

    Protected Sub layout (int maxWidth, maxHeight int) {}
    Super.Layout (Display.getWidth () - 20, this.getHeight ());
    setExtent (Display.getWidth () - 20, this.getHeight ());
    }

  • Save and exit feature available in FF6, even after I adjusted the browser.showquitwarning

    Save and exit feature available in FF6, even after I adjusted the browser.showquitwarning

    Firefox 4 and later versions Save the previous session automatically, so it is no longer need for the dialog box asking if you want to save the current session.

    Use ' file > leave "or" Firefox > Exit "(Mac: ' Firefox > quit Firefox") If you want to restore multiple windows.

    You can use ' history > restore previous Session ' to get the previous session at any time.

    You may need to click the Firefox orange/gray button to see history.

    There is also a button 'Restore previous Session' on the default on: Home home page.

    Another possibility is to use:

  • Processor/fan continues to run even after turning off the laptop

    I'm using Inspiron 15 3542

    I've updated my OS to Windows 10, but sometimes will not stop the fan from the processor/even after discontinuation of the laptop (as well as the display goes off)! The fan continues and continues. And after this laptop won't turn on even! I have to open the battery, and then it lights up!

    I downloaded almost all the software required for my laptop dell for Windows 10 x 64 software download through bit.

    PS: I searched the forum google/checked, and the solution I found was to download Intel Management Engine. I did download and install it, but the problem seems to stay...

    Kindly help and thanks in advance!

    Sorry for the double post!

    Found a solution: https://www.dell.com/support/home/in/en/indhs1/Drivers/DriversDetails?driverId=NFY3D&fileId=3497768106&osCode=WT64A&productCode=inspiron-15-3542-laptop&languageCode=EN&categoryId=FW

    I have installed, be informed after several tests

  • Firefox blocks popups online even quickbooks after adding to the allowed list

    After the recent update of quickbooks online when using certain functions, a popup is apparently blocked by Firefox and I get a message from qb saying: ' uh - oh. " Please unblock us. We use pop-ups for things like adding new clients, showing alerts and more. It's simple. Here's what to do:
    Click Options or preferences in the top right of your browser.
    Select Allow pop ups for qbo.intuit.com. in fact, the blocked site address is lvdc.qbo.intuit.com. I have also that added to the allow list. The continuous pop-up windows to be blocked and this annoying message will not go away unless I close completely, re - open and perform tasks that have no customers. As soon an I need to do a task with a client, messages window pop-up demon reappear.

    The point is that Firefox stops pop up display after this limit of 20 has been reached. You can try to increase this maximum to a higher value and the pref dom.popup_maximum value of 100 or more (don't go too high) to see if it makes the popups reappear.

  • Workforce Planning - bad performance after customization


    Hi all

    I am relatively new to planning, but have many years of Essbase support under my belt. More architecture, ETL, and optimization of the base of experience. Calco scripting intermediaries.

    We recently deployed WFP to my company at a very fast pace. There were many 'unintended' customizations, as an additional dimension, rolling, forecasts, etc. which descended rapidly towards the end of the project.

    I am not satisfied with the performance. Aggregations are slow and unpredictable. A simple version to version datacopy takes more than an hour, sometimes two.  Fragmentation is a problem. I defragment before any group that is obviously not ideal and adding too much overhead.  Our business requires a full aggregation of the current forecast 3 x a day, including a roll forward of data and extract troops. Aggregation is my main problem. It has generated since 13 minutes until 87 randomly.

    I wrote custom Calc for rolling the data of the balance to the balance from one year to the other. The runtime is fair and consistent on these calculations.

    We use the standard rules for addition of TBH, the modification of the transfers and employee status. No problems with not running when you get there.

    The requirement was to use an existing cube of planning (built by an external consulting firm) and add the employee dimension - it's our structure. (Describe in detail below).

    I tried every trick I know to optimize. Performance is totally unpredictable, at best. I'm looking for any suggestions, as I've been through the basics, read by blogs, tried the hourglass, hourglass, hourglass on a stick, etc., modified etc...   My data loads are in hierarchical order, and the load line rules. I am not sure on the forms, no one here has too much experience on the formatting that it affects performance. We have designed forms to make data entry easier for the end user.

    Version 11.1.2.0, classical planning. Implementation of the PAM out of the box. Essbase is on Linux, planning on windows, services on windows.

    Members account 196 dense, 128 stored (mainly driving, dynamic form where I can, pretty flat)

    Dense time 19 members, 14 stored (all dynamic rollups)

    Version 9 rare members, 9 stored (aggregation of)

    Scattered exercise 18 members, 18 stored (aggregation of)

    Members of the sparse 190 entity, 177 stored (aggregation)

    Members-workers sparse 2053, 2053 stored (aggregation, two levels only - very flat)

    Cost center 13239 fragmented members 7621 stored (aggregation, 3 alternates)

    the block size ~ 14 kb

    existing block is around ~ 1 million with 8 scenarios currently populated.

    level 0 blocks is approximately 50,000

    I am happy to provide any additional information and thanks in advance for any idea or advice!

    Hi Lee,.

    I know the conventional wisdom is that aggregations sparse dimension must be stored, and in my experience, which has been the case. However, my current client has a sparse dimension whose upper levels are all dynamic (219 level 0 and 48 top level, with several levels of asymmetric in the hierarchy) and recovery performance is very good. They have nice Beefy servers, so I guess that makes the difference. You could try to do the higher levels of the dynamic entity, thus reducing your aggregations in two dimensions and see if that helps.

    Sabrina

  • SQL does not recharge after analysis of the table

    I run DBMS_STATS.gather_table_stats to scan the table but linked SQL does not charge, it still make a bad sql plan.
    When I do a grant on the table, the reloading SQL and make a good plan sql.
    Why not recharge after table SQL analyze?

    If you specify AUTO_INVALIDATE, you tell Oracle expire over time sliders (I think 30 minutes is the default window, but that might just be dependent on version). If you want the sliders to expire immediately, you will need to pass the FALSE value.

    Justin

  • Remove the Configuration after adding to the models?

    Hello

    I wore as a result of the market-

    1. using the base OS say win2k3 model I've deployed a new configuration (full Clone)

    2. I installed my software and other things on the deployment configuration, and then I want to use this Configuration of my Gold, so I added this to the models.

    3. now after adding (2) for models can I delete above configuration? Which will cause no problem in my model that was created in step 2?

    Kind regards

    esxvmuser

    You can remove anything in LM without worrying from clones of this element.  On the backend, Lab Manager removes only the files that have no dependencies.  So the deletion of your configuration will remove LM but not ruin your model because the files of this model depends on are not removed until all dependencies are removed.

    Dependence of follow-up and asynchronous operation garbage collection nodes are important elements of the LM system.

  • Why Airport Extreme disappeared from Airport utility, after adding to the mac feature?

    10.11 OS, with the version of the airport, 6.3.6.  I can see is no longer my Airport Extreme Airport utility after I activated to Mac. I have Airport Extreme base ME91899/A and two Airport Express units model A1392 bolt torque.  I set up the Airport Extreme unit and the network first.  I was able to see the Airport utility. I then added each airport express unit. They were also visible. Then I added back the ability of Mac to the Airport extreme unit, and now it is no longer visible in the Airport utility.  Why is this?

    Apple has problems much time with iCloud. Turn off Back to My Mac across your airport routers and then shut down and restart the entire network.

    We will have to wait for a fix from Apple.

  • Keep the edited video even after expiry of the trial FCPX?

    I'm in my trial period of FCPX.  Once I finish my video editing, can I download it from a site created by Google for viewing (even after the end of my trial period) on a computer (Mac or PC) that is not supported by FCPX?

    TYou would have been export from FCP before the end of the trial period. The file can be used on any machine that supports.

  • Why can I still not load the pdf files even after I installed the latest version or reader?

    I received an email, and I'm trying to simply open pdf files to view.  I went through the steps in the installation program Adobe Reader, I typed in my password of the computer and was taken to a page that says "Step 3 of 3", and he wanted me to buy another Adobe app.  So I Quit Safari, leave my email.  Tried to restart my email and then even tried to save the pdf file and then tried to open it to see and I got this message:

    To view all of the content of this document, you need a later version of the PDF Viewer. You can upgrade to the latest version of Adobe Reader www.adobe.com/products/acrobat/readstep2.html

    For support, go to www.adobe.com/support/products/acrreader.html


    I went to the two sites listed and have still found no answer.  I was wondering why I can't view these pdf files?  If someone a tips or advice to help solve the problems, I would be very happy!

    Thank you for your time!

    Lbbhx1

    Assuming that you get this message in Safari, Chrome, or FireFox, then Adobe Reader installation is not complete. You could try saving the file and open it on your computer or reinstall the drive. What he was trying to sell you? Be sure to download Adobe, not someone else.

  • Firefox blocks the pop-up Windows Gmail even after adding exception of Gmail

    Firefox Gmail blocks every time I try to open a new window/tab through my Inbox, asking me permission each time. It's a question of low but persistent. I entered the content settings and added Gmail as an exception to the rule of the pop-up and also checked the Info Page to make sure that pop-ups were allowed from Gmail. No solution seems to work. Are there patches? Beyond to allow all pop-ups?

    Oh, which explains it. Redirect block is a completely different framework.

    "3-bar" menu button (or tools) > Options > advanced

    Under the mini general tab in the accessibility section, uncheck the box for "warn me when websites try to redirect or reload the page.

    What is fix?

  • My computer will not go into the mode "sleep" more even after switching on the control panel. __

    I made all the necessary adjustments to get the computer automatically go to sleep after inactivity but now it not to do so. It is used to do. I have Windows 7.

    Hello

    Maybe this will help:

    Windows 7 is not going to sleep<-- check="" this="">
    http://support.Microsoft.com/kb/976877

    ----------

    Follow these steps to remove corruption and missing/damaged file system repair or replacement.

    Start - type in the search box - find command top - RIGHT CLICK – RUN AS ADMIN

    sfc/scannow

    How to fix the system files of Windows 7 with the System File Checker
    http://www.SevenForums.com/tutorials/1538-SFC-SCANNOW-Command-System-File-Checker.html

    Then run checkdisk (chkdsk).

    How to run check disk in Windows 7
    http://www.SevenForums.com/tutorials/433-disk-check.html

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

    More that might help.

    References to Vista also apply to Windows 7.

    Check your settings (BIOS/CMOS) - usually F2 as you start - Wake on Lan, Wake on
    Modem and so on.

    Windows 7 problem with sleep and Hibernate Options - see the troubleshooting section
    http://www.computerperformance.co.UK/Windows7/windows7_sleep_problem.htm

    Troubleshooting Windows Vista sleep and Hibernate (also Windows 7)
    http://www.computerperformance.co.UK/Vista/vista_hibernate.htm

    How to troubleshoot performance problems with sleep, hibernation and resume in Windows Vista
    (also Windows 7)
    http://support.Microsoft.com/kb/950686

    Sleep and extended: frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows7/sleep-and-hibernation-frequently-asked-questions

    May need to reset all to default power settings and then place back as you prefer.

    How to solve a problem of Standby Mode Vista and a solution (also Windows 7)
    http://www.Vistax64.com/tutorials/63567-power-options-sleep-mode-problems.html

    How to enable and disable Hibernation - you can try to disable and re-enable the it. http://www.Vistax64.com/tutorials/165508-hibernation-enable-disable.html

    How to disable and re-enable hibernation on a computer that is running Windows http://support.microsoft.com/kb/920730

    How to restore the default settings of the power Plan in Windows 7
    http://www.SevenForums.com/tutorials/950-power-plan-restore-default-settings.html


    How to change the power Plan settings in Windows 7
    http://www.SevenForums.com/tutorials/778-power-plan-settings-change.html

    How do I change the sleep settings in Windows 7
    http://www.brighthub.com/computing/Windows-platform/articles/60294.aspx


    How do I change the sleep settings in Windows 7 (including hybrid sleep)

    http://www.brighthub.com/computing/Windows-platform/articles/60294.aspx

    Panel configuration-Device Manager - look at the settings for the network card, WiFi, Modem power management.
    and other devices. (Double click on the device and the power management tab)

    May need to reset all to default power settings and then place back as you prefer.

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • Finder keep it open the file even after I change the default folder

    I have the problem with the default folder in the finder.

    A few months ago, I changed the default folder from the finder to a specific folder. Now, I want to change to the new folder. I already go to finder > Preferences > General > new poster finder window and change the folder, but whenever I click on the finder on the dock for the first time, keep the change back to the old folder. What should I do with this?

    Thank you for the help

    HI there Alia80,

    Looks like you set your Finder preferences to open a specific folder when you open a new window, but it seems to keep coming back to what it was previously set to. I would first start safe mode and if some system-level caches can be erased, and a check disk and repair is done automatically:

    Try safe mode if your Mac does not end commissioning

    Follow these steps to start in safe mode.

    1. Start or restart your Mac.
    2. As soon as you hear the startup tone, hold down the SHIFT key.
    3. Release the SHIFT key when you see the logo Apple appears on the screen.

    After the Apple logo appears, this may take longer than usual to reach the login screen or your office. This is because your Mac performs a check of directory of your drive to boot in safe mode.

    To leave safe mode, restart your computer without pressing any keys during startup.

    Once you log in safe mode, let him by making a normal restart and test the issue again.

    If it persists after this test this point in a new admin on your computerand user let me know what is happening there:

    OS X El Capitan: set up users on your Mac.

    Thank you for using communities of Apple Support.

  • The files are still in my list even after I deleted the

    I'm done with a large number of duplicate files after recovery of hard drive and external hard drive crash.

    I had been using various programs to remove duplicates, but now I'm at the stage of manually delete the duplicate files similar but not identical, for example a song where I had no title in 1 file and the details in another.

    I hit delete every time and the first duplicate is removed from the list and then goes to the trash. Fine.

    Then I go to delete the copy next, completely different, and it does not seem to be deleted. It remains in the list. Even if I go in the trash, there is the deleted file! So I empty the trash. It still shows in the library list, even if I close and reopen

    In desperation I restart the computer and guess what? Files are gone from the list.

    What has now happened 5 times!

    The risk is that I accidentally remove both versions of the file.

    Ideas greatly appreciated!

    It seems that the folder does not refresh.  Libraries are essentially views of search results, so it's maybe it shows results indexed instead of living folder views.  To work around this problem, I would suggest either by opening the folder without using libraries (such as navigating to C:\Users\Martin\Music) or try pressing F5 after removing to see if it refreshes.

Maybe you are looking for