How to force a sql_id to use a specific hash plan value

Hi,
in my 11.2 database i've seen that a sql_id change hash plan value.
The original was more faster than second, but optimizer use second.
How can i force the sql_id to use the first hash plan value?
Tnx

Hi,
i've a problem.
I've fixed the plan 3 days ago, but looking AWR (today), it use old hash plan.
Plan Hash           Total Elapsed                 1st Capture   Last Capture
#   Value                    Time(ms)    Executions       Snap ID        Snap ID
1   2658787094              3,592,228             0           334            334looking into dba_sql_plan_baselines i've 2 plan_name, and only one is fixed.
select *
from table(dbms_xplan.display_sql_plan_baseline(sql_handle => 'SQL_3d5572d6f5e8cdda', format => 'basic'));
Plan name: SQL_PLAN_3upbkuvuyjmfub082c0c4         Plan id: 2961359044
Enabled: YES     Fixed: NO      Accepted: YES     Origin: MANUAL-LOAD
Plan hash value: 2658787094
Plan name: SQL_PLAN_3upbkuvuyjmfu7ca80389         Plan id: 2091385737
Enabled: YES     Fixed: YES     Accepted: YES     Origin: MANUAL-LOAD
Plan hash value: 3534976400
id plan hash  last seen            elapsed (s)  origin          note                                                                                                                                 
   1 3534976400  2012-10-26/14:00:11      183.232 AWR             not reproducible                                                                                                                     
   2 2658787094  2012-10-29/12:00:24    23116.872 AWR             not reproducible Why i see old plan (2658787094)?
Thanks

Similar Messages

  • How to force web start to use a specific private JRE without searching reg

    I am trying to make webstart start using a private JRE independent of what JREs are installed on the System. I am installing a private JRE in the users home directory, eg
    C:\Documents and Settings\USER\Application Data\APP\jreThen starting webstart by calling:
    C:\Documents...APP\jre\bin\javaws.exe http://....jnlpThe problem is javaws.exe always scans the regsitry in builds its own list of installed JREs.
    I have tried to solve this by setting USER_JPI_PROFILE env var with my own custom cache location and building a custom "deployment.properties" file with just my private JRE in it, but web start always searchs the registry and find and uses a system JRE over mine.
    Any Ideas?
    Thanks, Jasper

    Did you also place a deployment.config file , to point to your deployment.properties file?
    In the deployment.properties, specify the location of your custom jre:
    deployment.javaws.jre.0.platform=1.5
    deployment.javaws.jre.0.registered=true
    deployment.javaws.jre.0.osname=Windows
    deployment.javaws.jre.0.path=jre\\bin\\javaw.exe
    deployment.javaws.jre.0.product=1.5.0_05
    deployment.javaws.jre.0.location=http\://myjre.download.location
    deployment.javaws.jre.0.enabled=true
    deployment.javaws.jre.0.osarch=x86The above properties tag your custom jre, as been downloaded from http://mrjre.download.loaction - This location doesnt have to exist.
    In your .jnlp file, specify this download location in the jre tag.

  • MX 925 - how to force the printer to use paper from lower tray

    Hi' there,
    Several people seems to have the problem, that the printer "wants" to print from the upper tray, - I assume it's because it want's photo paper. Is it possible to FORCE the printer to use paper from the lower tray, when e.g. you have no photo paper, receive the error message, and just want to see the print?
    :-) Sogge

    I found a methoid that while clumsy, works. I have defined another printer on my windows machine that points to the same
    printer as my original printer defination. I have named this printer "Legal" and has defined legal paper as it's default. When
    I print to this printer( DECTYPE, DECNAME) it now defaults to legal.

  • How to identify reports that are using a specific universe object?

    Any idea how to use BO Auditor or Metadata Manager to identify webi reports that are using a specific universe object or universe prompt in the report SQL?

    Hi Samuel,
    In case you are using BOXIR2 you can do this by editing the crystalenterprise.webi.xml file.
    Replace the CrystalEnterprise.Webi.xml file (Take a backup) with the edited one.                                                                               
    Path where you can find this file- Tomcat/webapps/businessobjects/enterprise115/desktoplaunch/WEB-INF/classes/META-INF/CrystalEnterprise.Webapps/ePortfolio/plugins                                                                               
    Paste the Custom Documentation folder in Tomcat\webapps\businessobjects\enterprise115\desktoplaunch\ 
    May I know your email Id so that I can send you the edited crystalenterprise.webi.xml file.
    Regards,
    Sarbhjeet Kaur

  • How to force OSX to connect to a specific Access Point i.e. manually choosing beetween different APs with the same SSID?

    My office room is near different APs with the same SSID, my Snow Leopard selects automatically to join the AP with stronger signal.
    But this AP isn't running well, so I want to force my mac to join a AP with weaker signal.
    (I've the same troubel as described in https://discussions.apple.com/message/6470508#6470508)
    Note that I'm a guest user and I hanen't access to APs, so I cannot change their SSID.
    Any idea how to force Mac to join a specific AP?
    Thanks,
    adso

    My office room is near different APs with the same SSID, my Snow Leopard selects automatically to join the AP with stronger signal.
    But this AP isn't running well, so I want to force my mac to join a AP with weaker signal.
    (I've the same troubel as described in https://discussions.apple.com/message/6470508#6470508)
    Note that I'm a guest user and I hanen't access to APs, so I cannot change their SSID.
    Any idea how to force Mac to join a specific AP?
    Thanks,
    adso

  • How do you identify all reports using a specific custom function?

    Is there a way to identify all Crystal reports that use a specific custom function?  When we make changes to the function we need to re-attach the function to the existing reports, but we need to know what and where they are.
    We are using CRS XI.
    Thanks.

    duplicate - please do not post multiple times

  • How to force Functional Module to use Batch-Process ?

    Hello all,
    I am calling a FM via synchronous RFC. No matter what I try the functional module is started
    in a dialog process in the remote system. This is inconvinient because sometimes the process takes too long and a timeout occurs. I also tried transactional RFC and asynchronos RFC but no  difference here.
    The FM will always be executed in a dialog process.
    How can I tell the functional module to use a batch process ?
    Thank you for your answers,
    Axel

    hi,
    use
      CALL FUNCTION 'HR_START_BATCHJOB_IN_OTHER_SYS'
        EXPORTING
          repid                = 'sy-repid'              "           "Program name
          variant              = 'VAR'
        JOBNAME =
        CALL_BACK_DEST =
        CALL_BACK_ID =
      IMPORTING
        JOBCOUNT =
        INDX_ID =
        TABLES
          valutab              = it_sel.
    you can set your program in batch mode using the above function module
    Yogesh N

  • How do I force an app to use a specific IP address if I have multiple IPs?

    MacBook Pro
    Retina, Mid 2012
    Processor  2.6 GHz Intel Core i7
    Memory  16 GB 1600 MHz DDR3
    Software  OS X 10.8.5 (12F45)
    I sometimes run simultaneously on Wifi through a wireless router and also connected to another router with an ethernet cable.  I have applications that need to connect to different pieces of studio hardware, sometimes on one router, sometimes the other.  The problem I have is sometimes the application that I am using will not look for the hardware on both routers.  It checks the router that doesn't have the hardware and then never checks the other router.  It indicates that It can't find my hardware.  Is there any way through OS X to force or limit an application to check on a specific IP?
    Thanks in advance.
    Eddy

    You can play with the 'route' command in an Applications -> Utilities -> Terminal session to specify which route a specific IP address should take.
    man 8 route
    Google can most likely give you examples you can use to specify routes.
    Routes must be setup after each reboot.

  • How to force a printer to use legal size paper.

    Oracle Reports has had a problem since the earliest versions. It doesn't handle different paper sizes well. We have a report
    written in the 2.5 version of reports. If you specify LEGAL in the page setup, everything prints great. If you call the report
    from a form it always prints using the default papersize for the printer. Selecting a paper tray is not an option because the
    printer in question has only one tray bay and if it requests legal, you have to put a different tray in (HP4V). I put in a tar about
    it and the response was setup a special PRT file to handle legal. The problem is that the PRT and the before and after printer
    codes are only used it you have a character report. If you have a bitmapped report they are ignored (not oracles finest moment).
    Does anyone have any ideas of functions that can help (are you listening Duncan Mills?)

    I found a methoid that while clumsy, works. I have defined another printer on my windows machine that points to the same
    printer as my original printer defination. I have named this printer "Legal" and has defined legal paper as it's default. When
    I print to this printer( DECTYPE, DECNAME) it now defaults to legal.

  • How to force apple mail to use my default address

    Hi,
    I have three email addresses set up in Mail.
    I want to switch to only one, and to continue to receive emails from the others.
    So I would like to be able to send all my emails from ONE address, without having the choice.
    Is there a way to set it up ?
    Thx

    I don't see any way to do this when replying to a message. The preference setting is only for composing new emails. I hadn't seen a preference to set for replying to messages.
    You may be able to do this by changing the outgoing server setting for the other accounts to use only the outgoing server for the account you want to send from. It depends on your provider whether it will work or not. If all your accounts are from the same provider, it probably won't work. But if they are different, the server may change and show the address from the account as the server is listed as, even though you didn't send from that account.
    I know when I would use my gmail server to send a message from my ATT account, the sender would receive it as showing sent from gmail instead of ATT.

  • How can I ask MBP to use a specific router in my office?

    Here is the situation. My office is using lot of access point to create a wireless network environment. I think all of the wireless router is connected by cable to the main server in office. Most of them are G mode by one of it is N mode.
    I would like to connect with the specific N mode router, but as all of the router is using the same SSID and password, so how can I ask my MBP to connect with that specific N mode router??
    Thank you very much.

    Unless each access point were to advertise a different network name, so you could differentiate each, the Airport card will pick the one with the strongest signal, so the solution would be to sit right next to it. Sorry, but that's the way the cookie crumbles...

  • How to force the Lync Client to a specific server in the pool

    I am troubleshooting an issue and need my client to connect to a specific server in my enterprise pool.
    I have tried a host fie, I have deleted the EndpointConfiguration.CACHE file and I still cannot get my client to connect to the specific front end.
    Can anyone tell me how to do this?

    Using a host file should definitely work and I do this all the time for testing. 
    Are you using manual or automatic configuration? If it's manual then make sure that the name you specified resolves to the correct IP address by using PING.
    If you are using automatic, use NSLOOKUP to determine what hostname it's trying to connect to and repeat the above.
    This could either be sip.domain.com (as Edwin mentioned) or it could be the name of your Front End pool, depending on how it's configured.
    The other thing you might want to try if everything looks correct and if you modified your HOSTS file while Lync was open, is just to Exit and re-open the Lync client.
    If this helped you please click "Vote As Helpful" if it answered your question please click "Mark As Answer"
    Georg Thomas | Lync MVP
    Blog www.lynced.com.au | Twitter
    @georgathomas
    Lync Edge Port Check (Beta)
    This forum post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • How do to create an expression using a specific month.

    I'm creating a numbers spreadsheet to keep track of work I'm doing and my pay.
    In one table I have the date the payment is due and the amount, and in another table I want to have the totals owed in each month.
    Can someone help me in creating a function that allowed me to calculate the total of all the amounts owed in one particlar month?
    Dates are written in DD/MM/YYYY format and in column H, and the amount owed is in column F.
    Any help would be greatly appricated!
    Thanks,
    Marc

    marc,
    the function you need is sumifs() something like this.  I used two tables:
    1) one for entering your data
    2) one for summarizing by month
    The table on the left is named "Hour Entry" and the table on the right "Summary".  the names should match for the formula to work.  If you change the names or use different names then adjust as needed.
    In the summary table the first column should be the month and year, the second column contains the formula.
    B2=SUMIFS(Hour Entry::B,Hour Entry::A,">= "&DATE(YEAR(A2),MONTH(A2),1),Hour Entry::A, "<="&EOMONTH(DATE(YEAR(A2),MONTH(A2),1),0))
    this is shorthand for select cell B2 then enter (or paste from this forum) the formula "=SUMIFS(Hour Entry::B,Hour Entry::A,">= "&DATE(YEAR(A2),MONTH(A2),1),Hour Entry::A, "<="&EOMONTH(DATE(YEAR(A2),MONTH(A2),1),0))"  WITHOUT the first and last double quotes.
    select B2, copy
    select the column by clicking the column header ("B"), the hold the command key and click B1 (to unselect), then paste
    Thats it.

  • How to determine whose user is using a specific transaction code?

    Hi to all!
    I have a simple problem.
    Stated at the title. For example, I want to know whose User makes OB52 locked. I am actually coding it in one of my report.
    Is there a table wherein I can check whose User uses T-code OB52?
    I have tried using BDC but the messages it gave me does not have the information that I need.
    Anybody here can help me?
    Thanks.

    Hi
    I've seen the abap code run by trx SM12 and it seems the main function module is ENQUEUE_READ: this returns the active lock.
    Try to test that fm by SM37:
    GNAME     = RSTABLE
    GARG       = T001B*
    GUNAME  = *
    Max

  • How to force my Wiki Page Title to get the same value as the wiki page Name

    I am working on an enterprise wiki site collection, and currently each wiki Page will have two properties that seems confusing; Name & Title.
    While the default edit form allow to edit the Wiki Page Name only , it does not provide a way to edit the Title.
    So my question is about how I can update the Wiki Page title to be always equal to the Wiki Page name that the user enters?
    For example when I first create a wiki page I miss-spell the word “Bookmark”, so I wrote the following for the wiki page name:-
    Add Bokkmarks Within a Wiki Page.
    Then I edit the page and I change the name to have a correct spelling, so currently I got the following , where the title is still having the wrong spelling:-
    So that why I am want to find a way to always update the page title to be equal to the page name? can anyone advice on this please?
    Thanks

    Hi
    You can add custom event handlers for doing the same
    The details can be referred in the links
    http://www.c-sharpcorner.com/uploadfile/Chandresh.P/implementing-event-handler-in-sharepoint/
    http://blogs.msdn.com/b/brianwilson/archive/2007/03/05/part-1-event-handlers-everything-you-need-to-know-about-microsoft-office-sharepoint-portal-server-moss-event-handlers.aspx
    Thanks
    Girish
    so is there an option in sharepoint that allow me to set the value of a site column to be equal to another value ,, without having to write code ?

Maybe you are looking for

  • Braid doesn't work

    I bought the humble bundle and installed braid using the package in the AUR.  Upon starting braid, the screen goes black and changes resolution, then after a few seconds it returns and displays the following: $ braid cgc: unknown profile "unknown". I

  • Is it possible to import 7D videos already in Aperture 3?

    I have many video clips that were imported from a 7D in Aperture.  I attempted to File --> Import  --> Files and point to those files stored in a folder and Final Cut Pro X will not import them.  Anyone know how to import those videos? Thanks...

  • Oracle 9i RAC implementation!!!!!

    I am trying to implement oracle 9i RAC on top of Sun cluster 3.1.I have the done following 1)Installed OS- 8 and patches 2) Installed sun cluster 3.1(two node cluster) 3)Installed vxvm on both nodes. According to RAC manual 1)rootdg (disk group) need

  • Complexity of PL/SQL in Discoverer Admin

    Hi, Read you can register PL/SQL in Discoverer Admin - how complex can this be? Something comparable to the stored procedures in SQL Server? I guess it returns only one value as the output? Thanks!

  • How does LR 1.3.1 support Nikon D300 Active D-Lighting?

    Is somebody able to explain in which way if at all LR 1.3.1 supports the ACTIVE D-Lighting facility of the new Nikon D300? The user manual explains that this function works directly on the RAW file and not on the jpeg like the normal D-Lighting of th