Result Cache in oracle 11g release 2.0.2.0

All,

A few months ago I tried function result Cache 11 g version 2.0.1.0. The oracle of time mentioned that they have 3 ways to use this feature by setting the parameter result_cache_mode AUTOMATIC, MANUAL or FORCE. With AUTO (result_cache_mode = AUTO) mode you can identify the queries that can benefit from the cache of the result. I would like to know what views or function I see where he captures this information.
In 11.2.0.1.0 documentation he was making reference to certain points of view (totally forgot the names of views) and said: those that will be available in 11.2.0.2.0.

Did anyone know about this?

Thanks in advance.

user2486753 wrote:
Although doc oracle didn't tell on AUTO it is still accepts this value and caches the result of the SQL query if you add / * + cache result * / allusion to the SQL.
I know that they mentioned in 112010 somewhere that will help users find what SQL is good candidates for caching by running the app for a while. I couldn't just fine there.

If we add AUTO and always passing the tip, this is the same behavior as MANUAL. I'm not sure I've seen the value of anywhere and neither its there in the docs too.

HTH
Aman...

Tags: Database

Similar Questions

  • Oracle 11g Release 2 assumption of raw devices to the CCR

    Hi I need one of my db migrate to 10.2.0.3 for 11g release 2
    now, I got to know that there are some problems with raw devices in oracle 11g R2 rac
    so I want the suggestions of experts
    Thanks in advance

    If you are upgrading a database in place (i.e. without reconstruction, without import-export), Oracle has no other choice than to support the application of raw device.
    However, when you install the Clusterware 11.2 it cannot be installed on raw devices - one is not supported!

    Oracle Support Document ID 578455.1 ' announcement of of-Support devices version 12 G GROSS ' announces support to 12 g.

    Hemant K Collette

  • Oracle 11g Release 2 "error in the move file".

    Here, at the moment I am trying to install Oracle 11 g release 2 64 bit on Windows 7 64 bit. about halfway through the installation, I get an error message:

    "error in the C:\app\dlee14\product\11.2.0\dbhome_1\bin\oralbac11.dll to the C:\app\dlee14\product\11.2.0\dbhome_1\bin\oralbac11.dll.dbl file.

    What is happening and how to fix it?

    Hi user;

    Please check below:
    Oracle 11g R2 install on Windows 7 64 bit setup.exe does not work.

    Respect of
    HELIOS

  • database Oracle 11g release 2 of windows server 2003 x 86

    Hello

    I want to install oracle database 11g release 2 on windows server 2003 (x 86).
    I'm not finding the software for the windows version. I want to know whether or not 11g release 2 is avialable fror windows.

    Please give me the number of patch to version 11g 2 if anything avialable in metalink.

    Kind regards
    Out straggler

    GR 11, 2 is not yet available for the Windows platform. It should be released soon.

  • Installing Oracle 11g Release 2 on Centos

    Hello

    I just bought a cloud computing system and wish to install oracle 11g. My OS is CentOS / 6.0 - 64 and minimal for the CCI. Can you please any good tutorial/doc to install it?

    Thank you in anticipation

    ChristyH. wrote:

    Is there someone who can install oracle for me?

    Best regards

    You will need to find consulting companies in your area to do it. If you always use CentOS, they recommend most likely you are using a supported operating system version

    HTH
    Srini

  • oracle 11g release 2 on solaris installation 5

    I have a requirement of installing oracle 11g R2 on solaris server 5. Can someone please tell how to get with it, or link to proceedings for documentation.

    sunnymoon wrote:
    I have a requirement of installing oracle 11g R2 on solaris server 5. Can someone please tell how to get with it, or link to proceedings for documentation.

    http://docs.Oracle.com/CD/E11882_01/install.112/e24346/TOC.htm

    Aman...

  • Oracle 11g released in pdf reports cause

    We are to modernize Oracle Forms and reports of 10g and 11g R2. After moving to 11g reports, the report layout is completely jammed/broken when it is shown in PDF format (open with adobe reader XI and previous versions).

    desformat = pdf
    destype = hide

    Output as HTML show properly.
    desformat = html appears: ok.

    Server: AIX 6.1
    WebLogic 10.3.6
    Java SDK: 1.6
    Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit Production
    PL/SQL Release 11.2.0.2.0 - Production

    Any help is greatly appreciated.

    Thank you.

    Thanks for the update. For AIX, the patch is available for the version 11.1.2.1.0 that the issue has not been reported in 11.1.2.0.0. For this reason, Oracle does not recommend to apply this fix to 11.1.2.0.0. PDFs come out in the same way that symptoms appear in Note 1522543.1support?

    If so, a recommendation would be to upgrade your installation of forms to 11.1.2.1.0 (this only fixes group contains other bug fixes) and then apply the patch that I mentioned earlier. Just a quick word with forms/States 11.1.2.1.0 upgrade, you have to implement a quick fix in rwservlet.properties in order to view reports without seeing the error "REP-52262: exit diagnostic is disabled." This would imply defining L2 in the file and restart WLS_REPORTS thereafter. NOTE: Always make a backup of any file of configuration you want to change before any change. More information found on this work around in this knowledge base article: http://pitss.com/us/2012/12/20/running-reports-in-formsreports-11-1-2-1-generates-rep-52262-with-default-settings/.

    If this is not the case, how the reports out as when you use a PDF file?

    Thank you
    Scott

  • Confusion in the Docs of Oracle for oracle 11G Release 2

    According to the Oracle Docs Library for Oracle 11 g Release 2 (11.2), in http://docs.oracle.com/cd/E11882_01/server.112/e25494/tspaces005.htm#ADMIN11375, "* when you specify NORMAL in offline mode, the database takes a control point for all data storage files, since need them offline." I tested it in my Studio to Test as shown below:--
    < > > > > > >

    SQL > select checkpoint_change # database v$.

    CHECKPOINT_CHANGE #.
    ------------------
    12915076

    SQL > ALTER TABLESPACE TEST_1 normal offline;

    SQL > select checkpoint_change # database v$.

    CHECKPOINT_CHANGE #.
    ------------------
    12915076
    SQL > alter tablespace TEST_1 online;

    Tablespace altered.


    SQL > select State from dba_tablespaces where nom_tablespace = 'TEST_1 ';

    STATUS
    ---------
    ONLINE

    SQL > select checkpoint_change # database v$.

    CHECKPOINT_CHANGE #.
    ------------------
    12915076


    In short, I took the 'TEST_1' tablespace offline normal mode and back again online, but the number unchanged checkpoint remains that violates the Oracle documentation. Posted below in my versions of Oracle database installed: -.

    SQL > select * from v version $;

    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE Production 11.2.0.2.0
    AMT for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production


    Any comments / entries from anyone here is going to be great!

    Published by: 918868 on July 27, 2012 03:22

    When a data file/tablespace is offline, begin to put in backup mode, only playback mode.

    Aman...

  • Passing parameters from one page to another in ADF Oracle 11g Release 2

    Hello
    I'm developing an Application of Web Java EE very simple, in this I am filling a grid (table) on the first screen and on the selection of a line in this screen, I have to display the records in a form, in the next page.
    I want to transmit the information of primary keys from the grid screen to the shape of the screen (2nd page) and use this information to render the data, eventually, I'll have to perform CRUD operations.
    Please let me know how to pass parameters from page 1 to page 2 and use this data in the page 2 to return the records, Oracle ADF 11 g R2.

    Thank you.
    Rajat
    http://rajatnigam1.blogspot.com

    Published by: RajatNigam on July 4, 2012 13:16

    Same page or another page - it's all the same technique.

  • TimesTen and Oracle 11 g result cache

    Oracle 11g introduces the concept of cache the result whereby the result set of frequently executed queries are stored in the cache and used later when other users ask the same query. This is different from the caching of the data blocks and exceuting the query over and over again.

    Tom Kyte calls this materialized view just-in-time, in which case the results are dynamically evaluated without DBA intervention

    http://www.Oracle.com/technology/oramag/Oracle/07-Sep/o57asktom.html

    My point is that, given utilities like result_cache and possibility to use Solid State Disks in Oracle to accelerate physics I/O etc. is necessary for a product like TimesTen? It seems to me he could asdd just another layer of complexity?

    Oracle cache there result a useful tool, but it is significantly different from TimesTen. My understanding of the Oracle result cache is caching the results for rarely changing data such as search (currencies/identification code) tables, data reference that do not change often (list of counterparties) etc. It would be pointless to cache the result set when the data changes frequently.

    There is also another argument for the cache of SQL result that if you hit high on your CPU usage and that you have enough memory, then you can cache some defined thus results save on your cycles CPU.

    In view of the arguments on the wired RDBMS and drives (SSD), we can talk all day, but with SSDS does not eliminate the consideration for physical i/o optimizer. A table scan is a table scan if the data resides on disk SCSI or SSD. SSD will be faster, but we are still running physical IOs.

    What about TimesTen, the positioning of the product is different. TimesTen is closer to average than Oracle. It is designed to work closely at the application layer, while Oracle aims much more wide. There is no way one can replace TimesTen with any RDBMS wired for volumes of moderate and real-time response. Demand for the result cache has been around for a while. In areas like trading program and data on the market when the underlying data changes quickly, TimesTen will come handy, because time real/provisional data and calculations must be made almost in real time, with fewer complications of the execution engine. I don't see how we can deploy the result cache in this scenario. Due to underlying data change, Oracle is obliged to calculate queries almost everytime and the cache of result will be just wasted.

    Hope this helps,

    Mich

  • Oracle result Cache problem

    Hello

    In our database, we have the following settings for caching the result:

    result_cache_max_result integer 5

    result_cache_max_size great whole 256256 K

    result_cache_mode chain MANUAL

    result_cache_remote_expiration integer 0

    But we use indicators no results hidden in questions, or tables that are enabled for result caching.

    So from my understanding, caching the result should not happen.

    But we met a performance problem, and when I checked the AWR report I found this:

    latchfree.PNG

    And also I found this activity latch:

    rclatch.PNG

    However, just set result_cache_max_size = 0 fixed to all our questions. Wait no more. Performance as expected.

    But how is that possible? I thought with result_cache_mode = manual and not using indicators of result cache or table modes,.

    There should be no result at all caching? Any max_size choose?

    Can someone help me understand what is happening here?

    Thank you and greet.

    Daniel

    tylerv wrote:

    The original poster was not to the point and they actually understand the docs.

    Sorry - I'm not okay. As I went to the docs are very EXPLICIT about how to disable the cache of result. If you turn it off, then it is enabled.

    The fact that they have tried to do is that when result_cache_mode is set to the default value of the MANUAL, because they showed, it is, while according to the docs 12 c only the results of queries that use the RESULT_CACHE indicator must be stored in the cache of result

    Maybe that's where you and OP have misunderstanding. on the RESULT_CACHE_MODE parameter and the parameter values. This seems to be a common misunderstanding.perhaps, because people are not read ALL the relevant articles of the RFSO and only looking at the section for this parameter.

    There is NOTHING in the doc of 12 c for this parameter that shows ANY correlation to determine whether the cache is enabled or not.

    Refer to the section "Setting the Mode of the result Cache"

    https://docs.Oracle.com/database/121/TGDBA/tune_result_cache.htm#CDEJCGJD

    As shown in table 15-3 there are ONLY two settings: MANUAL and FORCE. No adjustment said ANYTHING on toggle or if the cache is ENABLED or DISABLED.

    ... and they were not aware of all the queries that they had used this trick on.  When you're ready to values by default and don't use don't not result_cache indicator (as much), it's odd to find the cache of your result are so full.

    OK - the USER does not use the indicator result-cache to cache the results of the queries USERS. But if the cache is enabled (size not equal to zero) that according to the quote from the doc above has NO effect on the use of Oracle to cache for queries or non-deterministic function calls.

    I think a lot of people may be jumping on the server I mentioned first that article explicitly states that you must set the size to zero to disable hide and seek only to the section on setting the parameters.

    And that the "setting mode" section is confusing as it includes a paragraph that uses the expression "If you choose to activate the result cache.

    That subsection and the r-phrase likely cause people to think that the setting and the off/on State of the cache are one and the same.

    When the result cache is enabled, the database also highlights cache queries that call non-deterministic functions of PL/SQL. When caching SELECT statements that call functions, result cache dependencies of data for PL/SQL functions and titles of database objects. However, if the function uses the data that are not followed (such as sequences, SYSDATE , SYS_CONTEXT and package variables), uses the cache of result on queries that call this function can produce stale results. In this regard, the behavior of the cache of result is identical to the caching of PL/SQL functions. So always consider the accuracy of the data, as well as performance, if you choose to activate the result cache.

    But if all associated sections are interpreted in their context, it should clear up the misunderstanding.

    If you have a support contract, you can submit a request to have the documentation changed to update mode setting (table 15-3) article to explicitly declare the parameter mode does NOT determine if the cache is enabled or not.

    .

  • is Oracle Database Express Edition 11g Release 2 free?

    Hi all
    is Oracle Database Express Edition 11g Release 2 free?

    Thank you.

    Hello

    of the product page (http://www.oracle.com/technetwork/products/express-edition/overview/index.html):

    Oracle Database 11 g Express Edition (Oracle Database XE) is an entry-level database, small footprint, based on the database Oracle 11 g Release 2 code base. It is free to develop, deploy, and distribute; fast download; and simple to administer.

    Herald tiomela
    http://htendam.WordPress.com

  • Move to Oracle Database 11g Release 2 with Mike Dietrich

    Hi friend;

    Yesterday, I was in an Oracle in Istanbul.

    In the seminar; Author Mike Dietrich, who works in Germany-Oracle show us how to do the step of database Oracle 11 g Release 2. His presentation available on my blog.

    I highly suggest to check this pdf. It already has cover:

    -Support of politicians, patches, Documentation, upgrade paths
    -Database upgrade (DBUA, command line, after the upgrade, alternatives, Clusterware and ASM upgrade)
    -Diagnosis and Tuning
    -Performance evaluation

    You can find many useful tips, path of evolution, related notes metalink etc etc... in the pdf file.

    http://heliosguneserol.WordPress.com/2010/06/17/move-to-Oracle-database-11g-release-2-with-Mike-Dietrich/

    Respect of
    HELIOS

    Helios,

    Interesting paper! Thanks for sharing with us.

    Thank you
    Hussein

  • Consider the function result Cache

    Hello

    Have a question about the function result to cache.

    Follow this link: http://www.oracle.com/technetwork/articles/sql/11g-caching-pooling-088320.html

    I use the following version of oracle: Oracle Database 11g Express Edition Release 11.2.0.2.0

    I'm doing using the feature of function result cache.

    Please find the source code used, below:

    create or replace function fnresultcahceg (empid employees.employee_id%type)

    employees.salary%type result_cache relies_on (employees) is back

    l_salary employees.salary%type;

    Start

    Select the wage in l_salary of employees where employee_id = empid;

    DBMS_LOCK. Sleep (1);

    Return l_salary;

    end fnresultcahceg;

    Try to run the function created above with the following:

    SQL > select fnresultcahceg (200) double;

    FNRESULTCAHCEG (200)

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

    4400

    Elapsed time: 00:00:01.15

    SQL > select fnresultcahceg (201) twice;

    FNRESULTCAHCEG (201)

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

    13000

    Elapsed time: 00:00:01.01

    SQL > select fnresultcahceg (200) double;

    FNRESULTCAHCEG (200)

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

    4400

    Elapsed time: 00:00:01.00

    SQL > select fnresultcahceg (201) twice;

    FNRESULTCAHCEG (201)

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

    13000

    Elapsed time: 00:00:01.01

    SQL > select fnresultcahceg (201) twice;

    FNRESULTCAHCEG (201)

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

    13000

    Elapsed time: 00:00:01.00

    SQL > exec dbms_output.put_line (fnresultcahceg (200));

    4400

    PL/SQL procedure successfully completed.

    Elapsed time: 00:00:01.04

    SQL > exec dbms_output.put_line (fnresultcahceg (201)).

    13000

    PL/SQL procedure successfully completed.

    Elapsed time: 00:00:01.03

    SQL > exec dbms_output.put_line (fnresultcahceg (201)).

    13000

    PL/SQL procedure successfully completed.

    Elapsed time: 00:00:01.01

    SQL > exec dbms_output.put_line (fnresultcahceg (201)).

    13000

    PL/SQL procedure successfully completed.

    Elapsed time: 00:00:01.00

    SQL > exec dbms_output.put_line (fnresultcahceg (201)).

    13000

    PL/SQL procedure successfully completed.

    Elapsed time: 00:00:01.00

    SQL > exec dbms_output.put_line (fnresultcahceg (201)).

    13000

    PL/SQL procedure successfully completed.

    Elapsed time: 00:00:01.01

    SQL > spool off;

    We could see no improvement in time elapsed execution.

    Have a doubt on the am I missed something / do wrong to the result of the setting of the cache settings.

    Have you tried with the following result cache settings

    ALTER SYSTEM SET result_cache_max_size = 2M RANGE = MΘMOIRE

    ALTER SYSTEM SET result_cache_remote_expiration = 2;

    ALTER SYSTEM SET result_cache_mode = {MANUAL |} STRENGTH} - two similar agronomic results

    The wait was to reduce the execution time after its first execution if the data remains the same.

    Please guide me in this regard.

    Thanks in advance,

    Sandeep.S

    > I use the next version of oracle: Oracle Database 11g Express Edition Release 11.2.0.2.0.

    PL/SQL function result Cache is only available in Oracle Database Enterprise Edition (EE).

    Concerning

  • Using the Client result Cache

    Hi all

    I have a question about the use of the result of the client cache but first of all, here is the information on my database:

    SQL> SELECT * FROM v$version;
    
    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0    Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    
    

    I installed the Oracle Client Tools on my clientmachine. There a tnsnames.ora like this:

    ORCL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = FEA11-119SRV)(PORT = 1521))
        )
        (CONNECT_DATA =
          (SERVICE_NAME = orcl.local)
        )
      )
    
    

    The result of the Client Cache is configured in the sqlnet.ora.

    ADR_BASE = /u01/app/oracle
    OCI_RESULT_CACHE_MAX_SIZE= 2048000
    OCI_RESULT_CACHE_MAX_RSET_SIZE = 1024000
    NAMES.DIRECTORY_PATH = (EZCONNECT, TNSNAMES, HOSTNAME)
    
    

    The Databaseserver is configured like this:

    
    SQL> col name format a30
    SQL> col value format a30
    SQL> SELECT name, value
      2  FROM   v$system_parameter
      3  WHERE  name LIKE '%result_cache%';
    
    NAME                   VALUE
    ------------------------------ ------------------------------
    result_cache_mode           MANUAL
    result_cache_max_size           0
    result_cache_max_result        5
    result_cache_remote_expiration 0
    client_result_cache_size       1073741824
    client_result_cache_lag        3000
    
    

    After you set up a client's server, I try the SQL query on the clientmachine followign:

    sqlplus oracle/password@orcl
    
    set autotrace traceonly explain
    
    SELECT /*+ result_cache */ *
    FROM testtable;
    

    You cannot enable the customer with SQL result cache * more, no matter what you do with parameters. If you install the CD examples, you will find examples of code in cdemoqc.c and cdemoqc2.c that shows how with the OCI calls.

    You probably want to use the result of the server cache, there is a full demo of this here,

    Using the SQL Oracle 11g result Cache

    --

    John Watson

    Oracle Certified Master s/n

Maybe you are looking for

  • My Mac ran out of battery and now stands at Gray loading screen. Help, please

    Any help would be appreciated. Thank you in advance.

  • Use iPhoto or Photos for books?

    Hello. I have more than a dozen iPhoto libraries, one for each year. What I do is make albums and then the books for my trips or a book each year. I'm back doing the books. Now with the Photos app (and faster, etc.), I wonder if I should migrate my i

  • CAN write error BFF62008

    Hi all I continue to turn in the BFF62008 error on a piece of code that is automatically generated by the Manager of LabView SIT. CAN write is already set to 'recent release. What's wrong?

  • DAQmx behavior in a "loop"

    Hi all In our laboratory, we have inherited previous code for the acquisition of data from a source of tension. It consists of data acquisition in a loop for.) However, there seems to be no way to put the creation of jobs and tasks outside of the loo

  • ThinkPad X 60 &amp; Win 7

    I intend to install win 7 on my X 60, is the version of Win 7 for the Easy to eject utility for my available for X 60 Ultrbase? Thanks for the help