Equivalent OPTIMIZE FOR UNKNOWN in Oracle

Hi,
Do Oracle have something like "optimize for unknow" from SQL Server?
Here is link which explain mechanism:
http://blogs.msdn.com/mssqlisv/archive/2008/11/26/optimize-for-unknown-a-little-known-sql-server-2008-feature.aspx
Best.

Yes. Oracle has much more cool algorithm in version >= 11g called [Adaptive Cursor Sharing|http://optimizermagic.blogspot.com/2007/12/why-are-there-more-cursors-in-11g-for.html].

Similar Messages

  • "for XML path "  Oracle equivalent of this SQL expression

    SELECT TheID,
    REPLACE(
    RTRIM(
    SELECT StudentID + ' '
    FROM StudentinSchoolLocation TL
    WHERE (LocationID = Results.LocationID)
    FOR XML PATH ('')
    ) AS StudentIDs,
    What is the equivalent of 'For XML path' used above
    The goal is to get a concatenated list of the group by columns. Like where ever the location is same , get the studentIds and make a comma seperated list of all ids for common location
    Works perfectly in SQL.
    Thank you

    Hi,
    user6287828 wrote:
    The goal is to get a concatenated list of the group by columns. Like where ever the location is same , get the studentIds and make a comma seperated list of all ids for common locationThat's called "String Aggregation"
    [AskTom.oracle.com|http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:2196162600402] shows several different ways to do it.
    I recommend the first one, the user-defined function STRAGG, which you can copy from that page.
    On Oracle 10 (and up) you may have a similar function, WM_CONCAT (owned by WMSYS), already installed.
    WM_CONCAT is not documented, so you may not want to use it in your Production applications.
    STRAGG is not so convenient if the order of items in the concatenated string is important.
    In that case, use XMLAGG or SYS_CONNECT_BY_PATH, as shown later in the asktom page.
    MODEL can also do ordered string aggregation.

  • Firefox crashes for unknown reason lately, so I removed it and reinstalled it. How can I put my Favorites (bookmarks) back into the newly installed FireFox???

    Firefox crashes a few times when I was on Facebook and with email, also watching dramas online. Most of the time due to Adobe Flash and I did submit crash report. Later it crashes for unknown reason while I have email and Facebook on different tabs -- when I was on the tab of email, it looks system hang and not responding. This happened to my laptop that uses Windows Vista as I noticed. I don't remember it ever happens to my desktop that uses Windows XP.
    It's pretty annoying of such known crash, but before removing Firefox, I did try to update all add-ons or plugins and it looks like doesn't work out. After updating for couple times and it still crashed like that, I removed Firefox and reinstall it.
    '''Now I want to know how to put the shortcuts from my Favorite folder into the newly installed FireFox's bookmarks.''' I didn't backup the bookmarks by using Firefox. I even went to Firefox help for instructions, but it only mentions how to merge/input the bookmarks from other browsers. Please note the version I've removed and inrestalled is the same -- 3.6.13.

    It is possible that there is a problem with the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
    Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox Profile Folder.
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    *http://kb.mozillazine.org/Multiple_profile_files_created
    You can use this button to go to the Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder

  • Acrobat 9.3.4 (or 9.3.3.177): Save As with Optimize for Fast Web View

    When I do a Save As with Optimize For Fast Web View checked, the saving stops and an Adobe Acrobat dialog displays:
         The document could not be saved. There was a problem reading this document (111).
    If I uncheck Optimize For Fast Web View, the Save As seems to work.
    Is there a way to have Fast Web View work with Save As?
    Acrobat.exe is version 9.3.4 (or 9.3.3.177 in the properties). The Acrobat.DLL version is 9.3.4.218.

    Thanks.  I did submit a report at the site.  I hope somebody reads it as this is a big problem for us.
    Thanks again.

  • Transaction failed for unknown reason (100) Unable to complete backup at this time. Does anyone know how to solve this issue?

    Transaction failed for unknown reason (100) Unable to complete backup at this time. Does anyone know how to solve this issue?
    Thanks.

    The system is set up to backup files to the iCloud at the end of the day. This has ot happen for sometime now and the mesaage I get is the back up error.

  • TS1363 while updating my IOS to IOS 6 the updating process couldn't be completed for unknown reason and my iphone has nothing but a black screen with an apple and a meter that shows no progess. it completely froze!

    When updating my IOS 5.1.1 to IOS 6 and after the download completed the updating of the iphone couldn't be completed for unknown error and the device froze and all i have now is a black screen with an apple and a meter that shows no progress I can't switch off my iphone or do anything!!!

    Hi,
    I had a similar problem last week with my nice shiny 3 week old iPhone 6. I noticed the Apple logo was on the screen, but it did not progress like a normal boot up. I restarted the phone, and it showed the Apple logo, then a red screen then cycled back to the logo and kept looping. I got the phone to the iTunes connection stage by keeping hold of the power button and the home button until the apple logo appeared then kept holding the home button. iTunes recognised the phone, and wanted to restore, but this was unsuccessful  because the phone would keep looping to the red screen and iTunes failed. After loads of Apple support, I was told it was a hardware failure, and like you I live more than an hour away from the store. None the less, I made an appointment with the Genius bods, and they replaced the phone. They said they had never heard of the problem, but really, take a look at these forums and you will see that it is a common problem and I suspect they are keeping it under wraps...
    My issue is that as a disappointed customer with faulty goods, why should i have to stick to an appointment to get it replaced? What other store would you have to do this?
    The "Genius" didn't even want to see the phone powered up before offering a replacement... Oh, and it turned out they didn't have the exact same model as a replacement so they were going to send me out of the store empty handed.... I kicked off BIG time, and they very reluctantly gave me a phone from the sales stock, rather than the repairs stock..
    Not a happy Apple customer anymore, and I feel the more people who know about the lack of service and customer care the better. They need to get off there high horse and join the real world!

  • For unknown reasons iTunes will no longer open.  I have an HP laptop running windows 7 with Kaspersky protection.  It worked fine before but now won't open.  I tried downloading the most recent up-date and it will still not open.  Any suggestions?

    For unknown reasons iTunes will no longer open.  I have an HP laptop running windows 7 with Kaspersky protection.  It worked fine before but now won't open.  I tried downloading the most recent up-date and it will still not open.  Any suggestions?

    thrillhousecody
    Thanks for the reply with additional information.
    Recent history for Premiere Elements points to the program having problems when more than 1 video card/graphics card is
    being used by the computer on which Premiere Elements is running. This observation may seem contra indicated by the fact
    that you say that the program did work well about 2 years ago in the same setup. But other factors may have set in with regard
    to drivers, drivers versions, and driver conflicts. But this factor, does need to be ruled in or out.
    Can you disable one or the other card to determine the impact of this on your problem?
    But, of prime concern with regard to video card/graphics card is the use of a NVIDIA GeForce card with Premiere Elements 10.
    Even if your NVIDIA GeForce were the only card, Premiere Elements 10 will not work properly unless the NVIDIA GeForce driver
    version is rolled back to about May 2013. This may be one of the major factors here.
    a. Device Manager/Display Adapters and find out Driver Version and Driver Date
    b. Read the background information for the Premiere Elements 10/NVIDIA GeForce issue
    ATR Premiere Elements Troubleshooting: PE10: NVIDIA Video Card Driver Roll Back
    Also see the Announcement at the top of this forum regarding the matter - also with full details of the situation and how to fix with the
    driver version roll back.
    Please review and consider and then we can decide what next.
    Thanks.
    ATR
    Add On...This NVIDIA GeForce situation is specific for Premiere Elements 10. You should not expect to see the problem for
    later versions of Premiere Elements.

  • My Time Machine will no longer back up to my external disk for unknown reasons.  It would not accept my password and said the disk is read-only and damaged.  How can I copy my files to my Mac so I can repair it?

    My Time Machine will no longer back up to my external drive for unknown reasons.  It began after a series of power outages (my equipment is protected by a surge protector with battery backup), and was shut down correctly.  Then it began by not recognizing my disk and my Time Machine password, although I am positive it was correct. I tried NUMEROUS times to get into it. It says the disk is damaged and needs to be erased and started over.  How can I back up my files on my Mac so I can do that? I have no other disk to back up to.  I found the files in a folder called "Backups.backupdb", and tried to copy them into a folder, but get the message "The volume has the wrong case sensitivity for a backup."  The "lost+found" folder did copy for me. Will I just have to lose 4 years of backups?

    Hi there,
    I have the same issue. Usually hangs after 10K od sometimes after 18MB of backup file.
    Config: iTunes 10.4., Win 7 64bit, iPhone 4 with iOS 4.3.3
    I tried all of these without success:
    - deleted backups via iTunes / Preferences
    - deleted backups from sync folder
    - created a new admin user and tried to sync
    - reinstalled iTunes
    - ran all Windows updates, restarted, reinstalled iTunes
    - ran iTunes / Diagnostics (says everything okay, only info which is strange: diag says I am not a admin user, which is not correct)
    Nothing helped. Who can help. I hope someone from Apple can take care, as I seem not to be the only one. Actually iTunes is the worst part about iPhone. Hope with iOS 5 and Cloud sync to get rid of iTunes.
    Any hints welcome,
    Cheers,
    Miguel-KA

  • Not able to optimize for You Tube

    So I have been using Adobe Premiere for almost a year and a half and the one thing that has bothered me is that no matter what I do I can't get full HD Video's (I am filming with a 720 camera) and it won't optimize for You Tube and will always look like this
    I have looked up several guides and no matter what I do it does not change any guides I might be missing or something wrong I would love to use the full potential that I can.

    AME has quite a number of YouTube presets ... one of 'em should pretty close to match expectations.
    Neil

  • Companion CDs for 64-bit Oracle HTTP Server for AIX5L(64 bit) required.

    I need Companion CDs for 64 bit Oracle HTTP Server for AIX5L(64 bit).
    I tried to install using
    as_ibm_aix_companion_101300_disk1.cpio & as_ibm_aix_companion_101300_disk2.cpio
    but when i checked the files present in <Oracle_Home>/ohs/lib , they are of 32-bit.
    Also i tried with Oracle 10.1.2.0.2 but still the server is installed as 32-bit.
    Is 64-bit Oracle HTTP Server supported on AIX5L(64 bit) ?
    If yes, then from where can i download the CDs?
    Any suggestions will be appreciated.

    Greetings,
    Try this link:
    http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201aixsoft.html
    Regards,
    Bill Chadbourne

  • Migrating Database from Oracle 8.0.5 for NT to Oracle 8.1.7 for Unix.

    Hello!
    Please help me in Migrating Database(Including Data,Stored
    Procdures, Views, Indexes,Forms, Triggers etc.) from Oracle 8.0.5 for NT to Oracle 8.1.7 for Unix.

    Check the installation option that you chose.
    Not all of the options will install a database.
    P.S.
    I have a similar problem on NT.
    Where I am able to access the database after the 8i Enterprise
    Install. I can not access the database from a Developer or
    Designer Installation. I am trying to run these tools locally.
    How do I configure NET8 to access the local 8i Database?
    Any ideas??
    Regards, Jim
    Emeka (guest) wrote:
    : I just installed the Oracle 8 Enterprise Edition for windows NT
    : and i can't find the Oracle database to support the tables.
    Also
    : the username and password of scott and tiger didn't work for
    the
    : SQL Plus.ERROR' ORA-12203: TNS: unable to connect to
    destination'
    : was the message when i try getting into SQL. Could someone
    please
    : tell me how to install the database and how to get the user
    name
    : and password for the SQL Plus.
    null

  • Problems using Quick Migrate in SQL Developer 1.5 for MySQL to Oracle 10g

    Hi all,
    I am trying to use SQL Developer 1.5 migration tools (Quick Migrate) to perform online capture and build source model to migrate from MySQL 5.x to Oracle 10g on Windows platform. I get these errors and the Quick Migrate process fails:
    oracle.dbtools.metadata.persistence.PersistableObject.doInsert(PersistableObject.java:238)
    I did a search and used the sqldeveloper.cmd script but still fails. Then I created a new database and truncated the repository. I now get the above error plus two new ones listed below:
    oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    Error loading nls:OALL8 is in an inconsistent state
    Error occurred during capture: Protocol violation
    It fails during the capture process for MySQL 5.1 database
    when it begins to capture the tables from MySQL.
    Does anyone know how to resolve these issues when migrating from MySQL to Oracle 10g using Quick Migrate with SQL Developer 1.5 release?
    Regards,
    Ben Prusinski
    Message was edited by:
    benprusinski
    Message was edited by:
    benprusinski

    Hi all,
    I put the following in my sqldeveloper.cmd file:
    SET ORACLE_HOME=%CD%
    What is very confusing is that with SQL Developer 1.5, there are several levels and several SQL Developer executables! I am really not sure which of these to use:
    I created the SQLDeveloper 1.5 directory called SQLDeveloper1_5 on Windows:
    1) cd C:\sqldeveloper1_5\sqldeveloper-5338
    there exists a sqldeveloper.exe
    2) cd c:\sqldeveloper1_5\sqldeveloper-5338\sqldeveloper\sqldeveloper.exe
    3) cd c:\sqldeveloper1_5\sqldeveloper-5338\sqldeveloper\sqldeveloer\bin\sqldeveloper.exe
    Which SQLDeveloper 1.5 executable should I be using and where should I place the
    sqldeveloper.cmd file?
    Also I did try to use a different database and schema for the repository with Quick Migrate but it appears a bug exists in SQL Developer 1.5 version that causes errors with Quick Migrate for MySQL to Oracle? Is this correct?
    As an update, I ran the following commands:
    cd to
    c:\sqldeveloper1_5\sqldeveloper-5338\sqldeveloper\sqldeveloper\bin
    sqldeveloper.cmd sqldeveloper.exe
    Start sqldeveloper.exe
    Perform standard capture for MySQL using the new mig2 schema as the new repository
    It starts the capture but fails on the errors below:
    Error loading nls:OALL8 is in an inconsistent state
    UPDATE
    ============================
    I tried this again and it worked with the exception of one error message listed below:
    Here are the steps that I followed:
    1. Create a Windows cmd script
    Put the following entries in the script:
    SET ORACLE_HOME=%CD%
    save the command windows script as sqldeveloper.cmd
    Copy this script to the base installation directory for SQLDeveloper
    Example:
    1. cd c:\SQLDeveloper1_5\sqldeveloper-5338\sqldeveloper
    2. Start SQLDeveloper with the command script that you created earlier
    Example:
    Open a Windows shell prompt window and execute the following scripts:
    a) sqldeveloper.cmd sqldeveloper.exe
    b) sqldeveloper.exe
    3) In SQL Developer 1.5
    From the Migrate menu,
    a) Delete current repository and create a new schema in Oracle target database call it mig2.
    b) Then create a new repository in SQL Developer 1.5
    c) Right mouse click on the MySQL 5.x database and choose capture
    It worked with the exception of one error message:
    o.jdbc.driver.OracleDriver     
    Error while registering Oracle JDBC Diagnosability MBean.
    So it looks like something is screwed up with my JDBC drivers and configuration for MySQL. How do I diagnose the JDBC driver issue for MySQL?
    Thanks!!!
    Ben
    Thanks
    Ben

  • What are the third party tools available for Encryption in Oracle database?

    Dear All,
    Can you please help me with the below question?
    What are the third party tools available for Encryption in Oracle database? Please let me know if you know their feedback and also licensing/cost information

    Why would you spend money to purchase a third-party tool that will be, almost by definition, less secure than the tools inside the product you already own and paid for?
    http://www.morganslibrary.org/reference/pkgs/dbms_crypto.html
    But were I to have any to recommend one I would not do so without knowing information you seem to consider unimportant such as:
    1. Operating system
    2. Database edition and version
    3. What type of data needs to be secured
    4. What level of security is required

  • Set "optimize for screen display" at runtime?

    Hi,
    is it possible to set the option "optimize for screen display" at runtime when using the CR2008/.NET 2.0 runtime?
    Best regards,
    Florian

    Ok, I'm a bit smarter now. If I open the new pdf with reader 7 the graphics are in normal size at 100%. If I open the same pdf in Acrobat 9 pro everything is a bit to big with the "original size" setting, so the graphics are blured, because they get streched. It is a problem of displaying, the pdf seems to be ok, cause it looks good printed and good in Reader 7. But how can I know how the result will look at the users screen and why is the same file different in two reader versions?
    and there is still the problem with the pattern / diffusion / noise whatever is the best word for it.

  • Error "No status object is available for Unknown Object " in Shopping Cart

    Hi all,
    We are getting error "No status object is available for <Unknown Object>" while creating shopping carts of any type .
    Please suggest if any configuration setting needs to be done.
    Thanks and Regards,
    Navdeep Malik

    Dear Navdeep
    The error is likely caused by one or more entries in table BBP_DOCUMENT_TAB that are without objkey or guid.
    did you delete some entries from SRM transaction tables?
    Check table BBP_DOCUMENT_TAB entries to see any GUID which is not present in the system.
    You can verify this by checking whether there is an entry in CRMD_ORDERADM_H (header) table
    with GUID = <guid stored in bbp_document_tab>
    Regards
    Lauren

Maybe you are looking for

  • Problem Submit Via Job in BADI

    Hello All I am using SUBMIT VIA JOB in BADI "work order update" and but no job is created....also sy-subrc is 0. Here is the code   call function 'JOB_OPEN'     exporting       jobname          = name     importing       jobcount         = number    

  • BAM Install Hangs whilst "Loading ADC Sample Data Objects"

    Hi Just wondering if anyone has had the above problem whilst installing BAM in Windows? I installed the Enterprise Link, loaded database schemas etc all fine and during the last 20% of the BAM install the installer just stops and nothing else happens

  • ITunes not recognizing duration tags & scrubbing

    Hello, I'm having two problems with my podcast on iTunes. First off here is my podcast on iTunes (http://itunes.apple.com/us/podcast/the-nba-tonight-podcast/id377667114) and feed (http://feeds.feedburner.com/nbatonightpodcast). 1 - I can't seem to ge

  • My Folios have disappeared from Folio Builder InDesign CC

    All my Folios have disappeared from Folio Builder. It's completely empty and I can't even create a new folio. I am using a fully updated version of InDesign CC. Any help would be reeeally appreciated.

  • Computer is slow on startup and opening of apps?

    Hello, Recently I have been having problems with my Mac being slow when I start it. I have tried to find a solution on the apple support communities and have tried various suggestions on how to fix the issue, but I have not been able to find one. I d