Result Cache in oracle 11g release 2.0.2.0

All,
Few months back I was trying Result Cache feature of 11g release 2.0.1.0. That time oracle mentioned that they have 3 modes to use this feature by setting result_cache_mode paramter to AUTO, FORCE or MANUAL. With AUTO mode (result_cache_mode=AUTO) you can identify queries that may benefit from result cache. I would like to know whcih views or function I should see where it captures this information.
In 11.2.0.1.0 documentation it was referencing some views (I totally don't remember those views names) and said those will be available in 11.2.0.2.0.
Is anyone know about this?
Thanks in advance.

user2486753 wrote:
Though oracle doc doesn't say about AUTO it is still accepts that value and caches the result of the SQL query if you add /*+ result cache */ hint to the SQL.
I know that they did mentioned in 112010 some where that it will help users to find which SQL's are good candidates for caching by running the application for a while. I just couldn't fine it.If we are adding AUTO and still passing the hint, its the same behavior as like MANUAL. I am not sure that I have seen the value anywhere and neither its there in the docs too.
HTH
Aman....

Similar Messages

  • Function result Cache in oracle 11G

    Hi,
    i am reading the following article and trying to reproduce same set of statements to learn about function result cache.
    http://www.oracle.com/technology/oramag/oracle/07-sep/o57asktom.html
    Details about my output:
    SQL> create or replace
    function not_cached
    ( p_owner in varchar2 )
    return number
    as
    l_cnt number;
    begin
    select count(*)
    into l_cnt
    from t
    where owner = p_owner;
    sys.dbms_lock.sleep(1);
    return l_cnt;
    end;
    Function created.
    Elapsed: 00:00:00.13
    SQL> create or replace
    function cached
    ( p_owner in varchar2 )
    return number
    result_cache
    relies_on(T)
    as
    l_cnt number;
    begin
    select count(*)
    into l_cnt
    from t
    where owner = p_owner;
    dbms_lock.sleep(1);
    return l_cnt;
    end;
    Function created.
    Elapsed: 00:00:00.08
    SQL> exec dbms_output.put_line( not_cached( 'SCOTT' ) );
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:01.06
    SQL> exec dbms_output.put_line( not_cached( 'SCOTT' ) );
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:01.01
    SQL> SQL> exec dbms_output.put_line( not_cached( 'SCOTT' ) );
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:01.02
    SQL> SQL> set serveroutput on
    SQL> exec dbms_output.put_line( not_cached( 'SCOTT' ) );
    0
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:01.02
    SQL> SQL> exec dbms_output.put_line( cached( 'SCOTT' ) );
    0
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:01.02
    SQL> SQL> exec dbms_output.put_line( cached( 'SCOTT' ) );
    0
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:01.02
    SQL> SQL> exec dbms_output.put_line( cached( 'SCOTT' ) );
    0
    PL/SQL procedure successfully completed.
    SQL> exec dbms_output.put_line( cached( 'SCOTT' ) );
    0
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:01.01
    I am supposed to get the results quickly for "cached" call. However, i still dont see any change in the response time. May i know what i am missing here?
    Thank you
    Giridhar

    Try to play with
    RESULT_CACHE_MAX_SIZE
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28320/initparams206.htm#REFRN10272
    RESULT_CACHE_MAX_RESULT
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28320/initparams205.htm#REFRN10298

  • Installation of Oracle 11g Release 2 on Windows Server 2008 R2

    Hi:
    When I tried to install 64-bit Oracle 11g Release 2 on a system running 64-bit Windows Server 2008 R2.
    One of the system pre-requisites failed with the following error message:
    Checking operating system requirements ...
    Expected result: One of 5.0,5.1,5.2,6.0
    Actual Result: 6.1
    Check complete. The overall result of this check is: Failed <<<<
    Problem: Oracle Database 11g is not certified on the current operating system.
    Recommendation: Make sure you are installing the software on the correct platform.
    I presume 6.0 is Windows 2008 Server and 6.1 should be Release 2.
    Does this mean that this version is not compatible with Server 2008 Release 2?
    venki
    Edited by: thevenkat on Jan 20, 2010 9:37 PM

    Hans Forbrich wrote:
    [email protected] wrote:
    Does anyone know when we can expect 11g R2 for Windows?No one outside of Oracle officially knows (and they are under NDA)
    No one inside Oracle is permitted to say, or pre-announce release dates for legal reasons.
    Which is why I gave you the link - so you could monitor for yourself.OK, thanks...
    I was just hoping there was an official release date and I just couldn't find it.
    Is there any information about features in 11gR2 for Windows available yet?
    Or can you maybe tell me if it will be possible to mount the new "database filesystem" like we can do on linux?
    I remember oracle did something similar with Oracle ifs (Internet File System) back in Oracle 9i. (or was it 8i?)
    Regards
    Thomas

  • Problem in opening editor in Oracle 11g release 2

    Hii all
    I have Install Oracle 11g release 2 on my 32 bit windows OS.
    But I am having Little problem while opening editor
    1) when ever i am typing ed in sql prompt I am having error 
       Cannot create save file "afiedt.buf"
       How ever i have tried with the define editor command
       ie define_editor="Notepad"; the command is executing successfully but still i am having same error while typing ed
    2)My second problem is i am not able to select anything for copy and paste even
       right mouse click button is also not working for paste
    Please Suggest any solution soon...........

    Thank Mr.Sharma
    sir i have one more doubt
    suppose my select statement is resulting some 4000 rows but i am only able to see the last
    2500 to 4000 rows by scrolling up and down after the select has been made. I am facing this problem in 11g r2 only.
    In 10g there was no such problem
    so i want to know how to increase the size of sqlplus prompt so that i could see the entire
    selected rows by scrolling up and down
    Please reply sir..................
    Thank You

  • Unable to install Oracle 11g Release 2 in windows 7 64 bit OS

    Hi,
    Am trying to install the oracle 11g Release 2 database on my Laptop,
    I have downloaded the two zip files from Oracle Site
    http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
    After downloading I have unzipped started process, but after some process, am getting an error mentioning that, am missing a file in the below location
    C:\$Oracle_BASE$\product\11.2.0\dbhome_1\owb\external\oc4j_applications\applications
    but my unzip is successful for both the files, Please let me know why am getting this error when I have downloaded the files from Oracle site, Please let me know if I need to have
    any additional s/w installed on my machine before running the Oracle database installation
    Thanks

    973946 wrote:
    Thanks Srini,
    After checking the link, I was able to install it but there were some error messages.
    I have another problem log in the SQL PLUS. When I open the SQL PLUS window, it asked for Username and after I typed "sys" or "system" and hit Enter; it was prompted for password, however, it did not let me type in any word; and after I hit Enter again, the error message " ORA-12560: TNS:protocol adapter error" appeared
    Any hints would be apprecieted, thanks.
    SamIt wasn't preventing you from typing a password, it just wasn't echoing your keystrokes back to the screen. This is a security security feature common to most software, not just oracle. Either when asking for a password, either echo back a 'masking' character like '*' or don't echo anything. It's so common, I'm surprised you seem to have never seen it before.
    So after entering your password ... the 12560 probably comes from
    1- the fact you didn't have the environment variable ORACLE_SID set, so sqlplus didn' know the name of the instance/process you wanted to connect to, or
    2 - the windows service for the database was not started.
    Those two possibilities account for 99.99999 pct of ora-12560 on Windows installations.
    Edited by: EdStevens on Nov 29, 2012 6:41 PM

  • Oracle 11g Release 2 - installation how to

    Hi,
    i have summarized my current findings with Oracle 11g Release 2 in my new blog:
         http://ronnyegner.wordpress.com
    Ronny Egner
    Edited by: Ronny Egner on Sep 7, 2009 3:00 PM
    Edited by: Ronny Egner on Sep 11, 2009 2:35 PM

    John Hurley wrote:
    I probably should not be surprised but to recap some of what your presentation noted ... it sounds like 11.2 was pushed out quickly and the linux version is missing fixes that oracle knows should have been included in the base release?From my point of view this is fact. 11g Release 2 was released primary due to marketing reasons. The release of the final and public version took place only two weeks after beta 2 was released.
    Beta 2 was quite stable; altough the real productive testing starts now where many users test this release with lots of data. Because of this i stated to wait at least until the first patchset
    (which will raise the version to 11.2.0.2.0) before going productive. Until now it is for testing and preparing for migration. But thats my opinion. If anybody uses 11g Release 2 in production
    i would like to share experiences.
    Some of the postings that I saw on the web specifically noted 11.2.0.2 on some of the software versions ( maybe these were from beta's ? ) so it sounds like there is already perhaps a bunch of maintenance that should be on I have not seen 11.2.0.2.0 yet. My personal tip is the first patchset will be release beginning next year...
    Ronny Egner
    Edited by: Ronny Egner on Sep 8, 2009 7:41 AM

  • VS2010 with Oracle 11g Release 2 giving Package did not load correctly

    Hey ,
    I had a Oracle 11g Release 1 11.1.0 installed on my machine. I had a client and over that a installation for Visual Studio tools for VS2008 installed. So in the directory of 11.1.0 I had two folders of Client 1 and Client2 . I was able to use the tools in VS very well and everything was perfect.
    Recently my company has decided to shift to VS2010. Now when I installed Oracle Release 2 11.2 client, it worked perfect ( tested using toad ). But when I install the tools ODTwithODAC112012, it has an issue that when I fire up VS2010 and try to add connection, it gives an error popup saying : " The 'Oracle Developer Tools for Visual Studio .NET' package did not load correctly. It asks me load VS in log mode and see the Activity log. The Activity Log gives the following entry :
    <errorinfo>Could not load file or assembly 'Oracle.VsDevTools, Version=4.112.1.2, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The system cannot find the file specified.</errorinfo>
    </entry>
    The assembly Oracle.VsDevTools is loaded in GAC which I've checked . So, questions in my mind :
    a. Can we have both 11.1 and 11.2 in the same machine, is that the issue?
    b. Any solution to solve this issue. Both the setup's go smoothly without any errors. Also I am able to connect to oracle very easily using toad.
    Would appreciate any help.
    Thanks,
    Sumit

    You'll probably have better luck posting this over in the ODT forum, but be sure to check the Package Load Failure sticky at the top first..
    Oracle Developer Tools for Visual Studio
    Having multple versions of ODP installed at once generally isnt a problem but I haven't tried a situation where I've tried to have multiple ODT's at once.
    Greg

  • Is Oracle 11g released for NW04s and ECC6.0?

    Is Oracle 11g released for NW04s and ECC6.0?
    Please help. Thanks!

    Plain and simple: No, it isn't.
    Check the SAP on Oracle homepage [here|SAP on Oracle] in SDN and read the latest development news on this topic including a rough schedule.
    regards,
    Lars

  • Oracle 11g Release 2 "error in moving file"

    Hi there, right now I'm trying to install Oracle 11g release 2 64-bit on Windows 7 64 bit. about half-way through the installation i get an error message:
    "error in moving file C:\app\dlee14\product\11.2.0\dbhome_1\bin\oralbac11.dll to C:\app\dlee14\product\11.2.0\dbhome_1\bin\oralbac11.dll.dbl"
    what's going on and how do i fix it?

    1010200 wrote:
    Dear Team,
    we are getting error while installing RAT( workload features)
    Neither D:\oracle\app\product\11gRel2/bin/orarat11.dll.dbl nor D:\oracle\app\product\11gRel2/bin/orarat11.dll exist. 
    Therefore, the ORACLE_HOME is in an invalid state with respect to the option '
    Please suggest :I suggest that instead of hijacking a two year old thread that is only tangentially related to your problem, that you start your own thread with as many of your specific details as you can muster.

  • How to setup local loopback for "Oracle 11g Release 2" installtion

    Hi all,
    I was trying to install the Oracle 11g Release 2 on Red hat 6 using Local Loop back configuration, but not able to install..
    The contents of are:-
    /etc/resolv.conf
    # Generated by NetworkManager
    nameserver 59.179.243.70
    nameserver 203.94.243.70
    and of /etc/hosts are:
    127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
    ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
    and
    System eth0 is having setting given below:-
    IPV4 is set to " Automatic(DHCP)".
    IPV6 is set to "ignore".
    If i select system etho0 then host-name gets changed it becomes "dhcppc0".
    i checked it using command host-name. and if i try to install with this configuration then during installation gives error of networking as host-name has been changed to "dhcppc0".
    Please tell me what to do for local loopback configuration
    Am i doing some thing wrong?
    Thanks

    i am using "oracle Release 11.2.0.1.0" but same problem was there with oracle 10g on redhat 5.
    Please tell me how to setup local loopback configuration so that i can use internet as well as oracle on same machine. otherwise for internet use i have to change my system ipV4 to automatic(DHCP). if i change it to automatic(DHCP) then oracle stop its working please tell me solution for both case.
    I can not assign Static IP to IPv4, i earlier post i got recommendation to connfigure Local Loopback , but i am able to setup it.
    what ever the setting i have done are given below:--
    vi /etc/hosts
    127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
    ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
    vi .etc/resolv.conf
    # Generated by NetworkManager
    nameserver 59.179.243.70
    nameserver 203.94.243.70
    #ping localhost
    PING localhost.localdomain (127.0.0.1) 56(84) bytes of data.
    64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=64 time=0.048 ms
    64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=2 ttl=64 time=0.073 ms
    64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=3 ttl=64 time=0.037 ms
    ++++++++++++++++++++++++++++++++++++++++++++++++
    error is------
    [INS-06101]Ip address of localhost could not be determined
    are you sure you want to continue?
    Cause - The localhost is not mapped to a valid IP address in Hosts file (Eg. /etc/hosts in Unix).
    Action - Assign a valid IP address for the localhost or set it to loopback IP address (127.0.0.1 in IPv4 or ::1 in IPv6).
    Summary  - dhcppc0: dhcppc0
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    log file lines are:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Using paramFile: /database/install/oraparam.ini
    Checking Temp space: must be greater than 80 MB. Actual 7471 MB Passed
    Checking swap space: must be greater than 150 MB. Actual 3499 MB Passed
    Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
    The commandline for unzip:
    /database/install/unzip -qqqo ../stage/Components/oracle.jdk/1.5.0.17.0/1/DataFiles/\*.jar -d /tmp/OraInstall2012-05-29_05-13-01PM
    Using the umask value '022' available from oraparam.ini
    Execvp of the child jre : the cmdline is /tmp/OraInstall2012-05-29_05-13-01PM/jdk/jre/bin/java, and the argv is
    /tmp/OraInstall2012-05-29_05-13-01PM/jdk/jre/bin/java
    -Doracle.installer.library_loc=/tmp/OraInstall2012-05-29_05-13-01PM/oui/lib/linux
    -Doracle.installer.oui_loc=/tmp/OraInstall2012-05-29_05-13-01PM/oui
    -Doracle.installer.bootstrap=TRUE
    -Doracle.installer.startup_location=/database/install
    -Doracle.installer.jre_loc=/tmp/OraInstall2012-05-29_05-13-01PM/jdk/jre
    -Doracle.installer.nlsEnabled="TRUE"
    -Doracle.installer.prereqConfigLoc=
    -Doracle.installer.unixVersion=2.6.32-220.el6.i686
    -mx150m
    -cp
    /tmp/OraInstall2012-05-29_05-13-01PM::/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/OraPrereqChecks.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/jsch.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/instcommon.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/instdb.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/OraPrereq.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/ssh.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/prov_fixup.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/emocmutl.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/orai18n-utility.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/orai18n-mapping.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/installcommons_1.0.0b.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/cvu.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/remoteinterfaces.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/OraInstaller.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/oneclick.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/xmlparserv2.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/share.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/OraInstallerNet.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/emCfg.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/emocmutl.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/OraPrereq.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/jsch.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/ssh.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/remoteinterfaces.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/http_client.jar:../stage/Components/oracle.swd.opatch/11.2.0.1.0/1/DataFiles/jlib/opatch.jar:../stage/Components/oracle.swd.opatch/11.2.0.1.0/1/DataFiles/jlib/opatchactions.jar:../stage/Components/oracle.swd.opatch/11.2.0.1.0/1/DataFiles/jlib/opatchprereq.jar:../stage/Components/oracle.swd.opatch/11.2.0.1.0/1/DataFiles/jlib/opatchutil.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/OraCheckPoint.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstImages.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_de.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_es.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_fr.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_it.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_ja.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_ko.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_pt_BR.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_zh_CN.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_zh_TW.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/oracle_ice.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/help4.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/help4-nls.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/ewt3.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/ewt3-swingaccess.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/ewt3-nls.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/swingaccess.jar::/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/jewt4.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/jewt4-nls.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/orai18n-collation.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/orai18n-mapping.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/ojmisc.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/xml.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/srvm.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/srvmasm.jar
    oracle.install.ivw.db.driver.DBInstaller
    -scratchPath
    /tmp/OraInstall2012-05-29_05-13-01PM
    -sourceLoc
    /database/install/../stage/products.xml
    -sourceType
    network
    -timestamp
    2012-05-29_05-13-01PM
    INFO: Loading data from: jar:file:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigCommandMappings.xml
    INFO: Loading beanstore from jar:file:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigCommandMappings.xml
    INFO: Restoring class oracle.install.driver.oui.ConfigCmdMappings from jar:file:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigCommandMappings.xml
    INFO: Verifying target environment...
    INFO: Checking whether the IP address of the localhost could be determined...
    SEVERE: Unable to determine a valid IP for the localhost..
    Refer associated stacktrace #oracle.install.driver.oui.OUISetupDriver:13
    INFO: Completed verification of target environment.
    WARNING: Verification of target environment returned with errors.
    WARNING: [WARNING] [INS-06101] IP address of localhost could not be determined
    CAUSE: The localhost is not mapped to a valid IP address in Hosts file (Eg. /etc/hosts in Unix).
    ACTION: Assign a valid IP address for the localhost or set it to loopback IP address (127.0.0.1 in IPv4 or ::1 in IPv6).
    SUMMARY:
    - dhcppc0: dhcppc0.
    Refer associated stacktrace #oracle.install.commons.util.exception.DefaultErrorAdvisor:16
    INFO: Advice is WITHDRAW
    WARNING: Advised to shutdown the installer due to target environment verification errors.
    INFO: Adding ExitStatus PREREQ_FAILURE to the exit status set
    INFO: Finding the most appropriate exit status for the current application
    INFO: Exit Status is -3
    INFO: Shutdown Oracle Database 11g Release 2 Installer
    ---------------------------------------------------------------------------------------------

  • Query result caching on oracle 9 and 10 vs indexing

    I am trying to improve performance on oracle 9i and 10g.
    We use some queries that take up to 30 minutes to execute.
    I heard that there are some products to cache query results.
    Would this have any advantage over using indexes or materialized views?
    Does anyone know any products that I can use to cache the results of this queries on disk?
    Personally I think that by using the query result caching I would reduce the cpu time needed to process the query.
    Is this true?

    Your message post pushes all the wrong buttons starting with the fact that 9i and 10g are marketing labels not version numbers.
    You don't tune queries by spending money and throwing resources at them. You tune them by identifying the problem queries, running explain plans, visualizing their output using DBMS_XPLAN, and addressing the root cause.
    If you want help post full version numbers, the SQL statements, and the DBMS_XPLAN outputs.

  • Can't install Data Guard using DBCA in Oracle 11g Release 2

    I have installed Oracle database 11g Release 2 successfully. I have installed Label Security using DBCA, now when I am installing Database Vault using DBCA, it gives message "ORA-01017: invalid username/password; logon denied" and exists back to DBCA.
    What step I am missing? please suggest.
    Regards and thx,

    Hi,
    I had the same issue too. I installed it on my desktop (server class option). Everything else including EM is working fine. However I got around the issue to an extent by manually running the catalog scripts for database vault. It should be located under $ORACLE_HOME/rdbms/admin. You have to run the script catmac.sql. There is a catch though. You need to go through the contents of the script and execute the other scripts manually by supplying username and passwords (yes, it sucks!!) but I don't find any help on metalink for this issue.
    Currently I am trying to create the realms but I am denied permission due to lack of "OPERATOR TARGET" privileges.
    If someone can lead me to the correct place where I can look for what is missing, it would be great.
    Thank you
    Kumar Ramalingam

  • Does OCI client result cache and oracle UCP work together?

    I'm using Oracle 11.2.1.0. I've set up FCF and enabled OCI result cache on server side, so on client side, I'm using UCP for failover.
    this is my datasource configuration:
    <Resource name="jdbc/MyPool"
    auth="Container"
    factory="oracle.ucp.jdbc.PoolDataSourceImpl"
    type="oracle.ucp.jdbc.PoolDataSource"
    connectionFactoryClassName="oracle.jdbc.pool.OracleDataSource"
    url="jdbc:oracle:oci:@dbhost:1521/myDb"
    user="db_user"
    password="db_password"
    fastConnectionFailoverEnabled="true"
    onsConfiguration=""
    connectionPoolName="dbPool"
    initialPoolSize="5"
    minPoolSize="5"
    maxPoolSize="25"
    connectionWaitTimeout="10000"
    inactiveConnectionTimeout="120000"
    abandonConnectionTimeout="60"
    validateConnectionOnBorrow="true"
    sqlForValidateConnection="select user from dual"
    maxStatements="30"/>
    I've enabled OCI client result cache.
    I use /*+ result_cache */ in my query to take advantage of the result cache.
    so I execute the following scenario:
    i) select /*+ result_cache */ value from myTable where id=1; (this returns a result.)
    ii) update myTable to set a different value for id=1 record;
    iii) run select query again; (this should return a different result. oci result cache gets updated when table changes.)
    if I take out
    "sqlForValidateConnection" and/or "validateConnectionOnBorrow" (i.e. disable sql validation on borrow), the 2nd query after table update doesn't show the latest result. it's still showing the old query result.
    is this a bug? that UCP validation on borrow has an impact on OCI result cache function? this doesn't happen if using dbcp java connection pooling with OCI result cache.

    it turns out I ran the test against an oracle server that doesnt have FCF configured, nor ONS.
    once i switched to a correct oracle cluster, my test passed.

  • Instant Client Oracle 11g release note : Readme_IC

    Hello All
    I am looking for readme_ic.htm for oracle 11G instant client.
    http://www.oracle.com/technology/docs/tech/sql_plus/10103/readme_ic.htm
    link is there for oracle 10G instant client but I could not find for oracle 11g instant client.
    Please let me know if anybody has any idea
    Thanks

    Here, it comes with the software:
    http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.html
    regards

  • I am new to oracle 11g release 2 Please help

    When i run sql script in oracle 11g R 2 sql plus. It returns me with an error "missing right parenthesis" Error in last line. Simply its not accepting contraints in which i run them. Details as follows
    Thankful for the help
    create table courses (code varchar2(8) constraint S_PK primary key, description varchar2(30) constraint S_DESC_NN not null, category char(3) constraint C_CAT_NN not null, duration number(2) constraint C_DUR_NN not null, constraint C_CODE_CHK check (code = upper(code)), constraint C_CAT_CHK check (category in (`GEN', `BLD', `DSG')));
    If i run above sql script, it says missing right parenthesis in the last line i.e * constraint C_CAT_CHK check (category in (`GEN', `BLD', `DSG')))
    AGAIN:
    create table courses (code varchar2(8) constraint S_PK primary key, description varchar2(30) constraint S_DESC_NN not null, category char(3) constraint C_CAT_NN not null, duration number(2) constraint C_DUR_NN not null);
    Again If i run the above without checks, it gives the error of missing the right parenthesis in the last line i.e * constraint C_DUR_NN not null

    Hi
    it seems, quotes problem.
    pl.try this
    create table courses (code varchar2(8) constraint S_PK primary key, description varchar2(30) constraint S_DESC_NN not null,
    category char(3) constraint C_CAT_NN not null,
    duration number(2) constraint C_DUR_NN not null,
    constraint C_CODE_CHK check (code = upper(code)),
    constraint C_CAT_CHK check (category in ('GEN', 'BLD', 'DSG')));
    -- DJ

Maybe you are looking for