Data Cache and Generic Cache

Hello,
According to this document,
http://download.oracle.com/docs/cd/B16240_01/doc/apirefs.102/e12639/chapter1.htm#CIAEFHFB
I see there are two cache system in Oracle BI Server, "Data Cache" and "Generic Cache".
What is the difference between these two kinds of cache ?
Thanks.

Hi user611881,
I'll try to explain the two cache types here, but if someone can better phrase it than myself, by all means, step up.
Data Cache:
The OBIEE BI Server will cache the result set of SQL that is executed. These cached results are records and if OBIEE sees another report requesting the same record set that it already has in cache, it will go straight to the cache version instead of re-issuing the SQL
Generic Cache:
The generic cache is the presentation server cache. This has to do with the caching of particular request. If the BI Server detects a cached version of a request, it will get the request directly from the cache and not even go down to check for the cached record set.
This is how they function. Assume you have report A with record set 1 and there's no data in either cache.
You run Report A
1) Presentation Service checks if the Request is in the generic cache.
2) This check fails.
3) Presentation service issues logical SQL query to BI Server
4) BI Server checks if there is any record set matching the logical query in the cache
5) This check fails.
6) BI Server issues the physical SQL
7) BI Server caches the result set
8) Presentation service gets result set and formats the data
9) Presentation service caches presentation results
10) Report A is displayed
That is my understanding of the Data and Generic Caches.
Good luck and if you found this post useful, please award points!
Best regards,
-Joe

Similar Messages

  • KM Cache and iView Cache - Pros and Cons

    Hi All,
    Can anyone tell me which Caching mechanism is better - KM Caching or iView Caching ?
    What are the Pros and Cons of KM Caching and iView Caching ? Which type of caching is recommended ?
    Any kind of help is appreciated.
    Regards,
    Adren

    Hi Adren,
    As to my understanding, with Portal Cache, we can achieve the following:
    1. Significant improvement in the interface response time
    2. Unnecessary, additional page generation (re-rendering) is avoided when you call a portal page
    3. Web browser-like caching for server-based, dynamic pages in the Web (such as the BW Application Web)
    Cache monitor to monitor the current status of all active caches in your system landscape. The data displayed in the cache monitor can be used for evaluations
    KM cache might eb better than Iview cache.
    Please check the below links we might get soem info about the type of cache which is preferable.
    http://help.sap.com/saphelp_nw04s/helpdata/en/1d/33863c68bebc2ce10000000a114027/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/57/29e334d0049967e10000009b38f83b/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b52de690-0201-0010-c5a6-b4bde0a12e44
    Hope this helps you.
    Good Luck!
    Regards,
    Shaila...

  • Forms/Reports: Role of the Database cache and Web cache

    Hello oracle experts,
    I am running a purely Forms and Reports based environment (9iAS).
    My question are:
    a. Is it possible to use features from the Web Cache and
    Database Cache to boost the performance of my applications?
    b. Are all components monitorable from the OEM?
    Please guide me so that i can configure my OEM to monitor my
    forms and reports services.
    thanks in advance for your reply
    Kind regards
    Yogeeraj

    Hi BradW,
    The way this is supposed to be done in Web Cache is by keeping separate copies of a cached page for different types of browsers distinguished by User-Agent header.
    In case of cache miss, Web Cache expects origin servers to return appropriate version of the page based on browser type, and the page from the origin server is just forwarded back to browser.
    Here, if the page is cacheable, Web Cache retains a separate copy for each type of User-Agent header value.
    And when there is a hit on this cached page, Web Cache returns the version of page with the User-Agent header that matches the request.
    Check out the config screen titled "Header Association" for this feature.
    About forwarding requests to different origin servers based on User-Agent header value, Web Cache does not have such capability.

  • Difference between fully-specified data types. and generic types

    Hi,
    Can anyone tell me the difference between fully-specified data types and generic types.
    Thanks in advance.
    Regards,
    P.S.

    HI
    Generic table types
    INDEX TABLE
    For creating a generic table type with index access.
    ANY TABLE
    For creating a fully-generic table type.
    Data types defined using generic types can currently only be used for field symbols and for interface parameters in procedures . The generic type INDEX TABLEincludes standard tables and sorted tables. These are the two table types for which index access is allowed. You cannot pass hashed tables to field symbols or interface parameters defined in this way. The generic type ANY TABLE can represent any table. You can pass tables of all three types to field symbols and interface parameters defined in this way. However, these field symbols and parameters will then only allow operations that are possible for all tables, that is, index operations are not allowed.
    Fully-Specified Table Types
    STANDARD TABLE or TABLE
    For creating standard tables.
    SORTED TABLE
    For creating sorted tables.
    HASHED TABLE
    For creating hashed tables.
    Fully-specified table types determine how the system will access the entries in the table in key operations. It uses a linear search for standard tables, a binary search for sorted tables, and a search using a hash algorithm for hashed tables.
    Fully-specified table types determine how the system will access the entries in the table in key operations. It uses a linear search for standard tables, a binary search for sorted tables, and a search using a hash algorithm for hashed tables.
    see this link
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb366d358411d1829f0000e829fbfe/content.htm
    <b>Reward if usefull</b>

  • How to - move ACR cache and LR cache and catalog

    Hi all,
    in the try of speeding things up a bit with my LR (v. 2.4 64 bit on Vista 64 SP2, E8650 proc and 8 GB RAM) I got an 2nd hand WD Raptor 150 GB 10K rpm, and I'd like to move there the ACR cache (around 60GB now) and the LR previews and catalogs (around 20 GB) . Which is the right and safer procedure to do that!? :-)
    Another question: my setting about File Handling are the following:
    1680 pixels as standards preview file size
    Preview quality Medium
    Never discard 1:1 preview size
    and in the grid mode (library) when I page down or up ... I always have the 3 white dots (of waiting) the pictures taken 3-4 secs go from fuzzy to sharp. How can I improve that time?
    Thanks to all who will answer :-)
    Have a nice day,
    gianluca

    There is nothing you can do to change the time that thumbnails to refresh. The fuzziness is normal while the three dots are visible and indicates that Lr is scanning the files within the Grid for external metadata or develop changes.
    To move the catalog and preview folder you simply drag (copy) it to the new drive, open the relocated folder and double click on the .lrcat (catalog) file. The double click operation will open Lightroom with the relocated catalog active.
    You can drag the ACR cache file to the new drive. However, to ensure Lightroom/Camera Raw use the correct ACR cache you will need to open Preferences>File Handling and point to the location that you want the cache files to be saved.
    Be aware that moving above folder is going to take a fair amount of time, albeit significantly less than rebuilding the cache and previews from scratch.

  • Load Cache and UnLoad Cache Problem

    Hi,
    I have inserted 150k Rows from TimesTen and it is been replicated successfully from TimesTen to my Oracle DB.I checked no of rows in TimesTen and Oracle ,showing same rows as 150K rows.
    AT Oracle End
    Count starts for me is from 2 so 153599 rows i will be getting 2 to 153600 rows
    SQL> Select Count(*) from oratt.test_rep;
    COUNT(*)
    153599
    SQL> Select Col108 from oratt.test_rep where Col108=153600;
    COL108
    153600
    SQL> Update oratt.test_rep set Col108=Col108+1 where Col108=153600;
    1 row updated.
    SQL> Select Col108 from oratt.test_rep where Col108=153600;
    no rows selected
    SQL> Select Col108 from oratt.test_rep where Col108=153601;
    COL108
    153601
    AT TimesTen End
    Command> UNLOAD CACHE GROUP CACHEADMIN.TESTCACHE;
    Command> LOAD CACHE GROUP CACHEADMIN.TESTCACHE COMMIT every 1000 Rows;
    153599 cache instances affected.
    Command> Select Col108 from oratt.test_rep where Col108=153600;
    < 153600 >
    1 row found.
    Command> Select Col108 from oratt.test_rep where Col108=153601;
    5213: Bad Oracle login error in OCISessionBegin(): ORA-01017: invalid username/password; logon denied rc = -1
    5131: Cannot connect to backend database: OracleNetServiceName = "MYDB", uid = "Userid", pwd is hidden, TNS_ADMIN = "", ORACLE_HOME= ""
    5109: Cache Connect general error: BDB connection not open.
    0 rows found.
    The command failed.
    Command> cachegroups;
    Cache Group CACHEADMIN.TESTCACHE:
    Cache Group Type: Asynchronous Writethrough (Dynamic)
    Autorefresh: No
    Aging: LRU on
    Root Table: ORATT.TEST_REP
    Table Type: Propagate
    Why i am getting this error i have update my row in Oracle but it is not LOADED in TimesTen, the old value is there in TimesTen .
    Thanks!

    This is a dynamic cache group so when you run a dynamic load capable statement such as this Select Col108 from oratt.test_rep where Col108=*153600;* (presumably Col108 is a key? column) then if there are no matching rows in TiemsTen, TimesTen will attempt to go to oracle to fetch the row(s). These rows will then be inserted into the Tt cache (for future access) as well as being returned to the application. The error occurs because your ttIsql session does not have correct credentials for Orcle (maybe you omitted the OraclePWD= attribute when you connected to ttIsql?).
    If you do not want/need this dynamic load behaviour then you should create the cache group as a non-dynamic cache group.
    With regard to your question about bi-directional cache groups, no we do not support those. If you do change data in the Oracle table which is cached by executing DML against it directly in Oracle then those changes may get overwritten by later changes propagated from TimesTen. If your workload is partitioned so that different sets of rows are updated in Oracle versus TimesTen then that is okay of course. Any updates made in Oracle will not automatically be propagated to TimesTen. You can manually refresh the cache group to pick up any new data if you want to.
    Chris

  • Database buffer cache and library cache (order)

    hi
    after I issue:
    select * from employees where employee_id=98
    which one is performed by oracle first?
    Oracle looks database buffer cache for any block it needs.
    If block not found in database buffer cache ;server reads block from datafile and places copy in database buffer cache
    OR
    parse the sql and look in library cache for same execution plan ,.....

    Hi Ricardinho
    How does Oracle know which blocks it might need ? Does it need blocks from any indexes or does it only need blocks from a table ?
    Do you think it even remotely likely that Oracle will somehow get all the blocks it needs first and then worry about determining an execution plan at some later point in time ?
    Cheers
    Richard Foote
    http://richardfoote.wordpress.com/

  • How can we change the state of records in view cache and entity cache

    Hi everybody,
    I am trying to achieve selective rollback, or selective commit. By this I mean that I am looking for a way to change the state of rows in view cache, so that the selective changed rows can be rolled back during comit.
    if anyone has tried anything in this please help me.

    I agree!
    I can't top this approach.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Delta refresh and complete cache refresh

    Hi,
    iam doing the complete cache refresh and delta cache refresh in my scenario. after doing that the data's are reflecting very slowly in the RWB valuemapping cache.
    sometimes it is not reflecting in the RWB valuemapping cache.
    i refreshed the CPI cache and SLD cache, still it is not reflecting in the RWB.
    could anyone tell me the solution for this to reflect in the RWB valuemapping cache????
    Regards
    sasi

    Hi,
    In the component monitoring check the RWB component and check the performance monitoring, may be some times performance monitoring is low because of the payload or some other conditions.
    Delta Cache Refresh: Any new objects that have been created/modified during the design/configuration
                          activities are inserted into the temporary database tables when we use delta
                          cache refresh option.(Partial process refresh)
    Complete Cache Refresh: All entries in temporary cache tables are deleted and a background program
                              for inserting the complete information about all the design/configuration
                              objects.(whole process refresh)

  • Best place to store THUMBNAIL AND WAVEFORM CACHE?

    I was taught that when creating a new project, it's best to create a folder
    on a seperate media drive, and direct your scratch discs, thumbnail & waveform cache as well as the autosave vault to that drive & folder. This way,
    everything associated with that one project resides in that one folder on
    your media drive, seperate from the computers hard drive and if you have
    to move the project to another computer or delete everything associated
    with the project, you just move or delete that one folder.
    This has served me well in the past,...but,
    I was recently working with (6) different G4 1.2 laptops running FCP 4.5.
    It was a training class and the machines were working 8 hours a day for
    6 days straight. They were not networked together in anyway.
    Periodically, everyone of them would "lose" the waveform cache and thumbnail cache pictures while editing. I don't mean the folders would
    disappear, I just mean they'd stop generating the little thumbnails and
    waveform pics on the timeline. The temporary fix was to just save the
    project, close FCP, and reopen the project. They'd all pop back in and be
    there again for a while.
    #1 - Anybody know why this would happen?
    #2 - It was suggested to me that to avoid this happening in the future,
    that you should should direct the thumbnail and waveform cache folders
    to live on the HARD DRIVE of the computer, the same one with the app,
    and NOT in the same folder as the seperate media drive where you capture
    and store your video.
    This goes against everything I originally learned, but was wondering what
    others might have to say or have experienced on this point.
    I'd appreciate any input. Thanks.

    gulp ... jumps right in with both feet ...
    I think you were taught wrong.
    this is not the official path as laid down by the gods of fcp
    conventional wisdom suggest that you should set your scratch disk location once and then let fcp organise everything else.
    re your questions:
    1. no idea ... not the end of the world but certainly a weird glitch tho.
    2. some do, some don't ... tiny files w. very low overhead, location shouldn't be a factor in the problem you noted

  • Premiere Pro CC and Media Cache

    Hello!
    I've read the documentation on Media Cache (http://help.adobe.com/en_US/premierepro/cs/using/WSF08BCDDB-FCD7-40a2-8290-8872EE725E6B.ht ml#WSa41b87baf39dd9b0-4a7aee25125bce32690-8000) but I didn't understandt what are exactly the formats/containers that Premiere Pro creates cache for?
    Also, am I remembering wrong, but was in Premiere Pro CS 5.5 and CS 6 the cache for the project was kept in the same folder as the project?
    Does Premiere clean the Media Cache regularly or I have to remember to do it from time to time?

    I don't think that much has changed regarding the treatment of cache files from CS5 to CS6 to CC.
    Here's how I manage the cache files:
    1) Set Premiere to store media cache and media cache database in a drive folder separate from your project files (use menu: Edit / Preferences / Media and then browse to where you want them - I use "X:\premiere_cache"). This way, when you back up projects you are not backing all of this stuff up too.
    2) They do not clean up for themselves - go to the same panel mentioned in #1 and click the "clean" button to remove all of the files. When Premiere Pro is closed, you can manually delete all of the folders created by Premiere and you will not destroy anything that is recoverable.
    The purpose of cache files is to prepare some files additional your projects and media for performance enhancing reasons.
    Regards,
    Jim

  • Is there a difference between Web and Database Cache

    What, if any, is the difference between Web Cache and Database Cache?

    There is good documentation in the form of PDF files at the following general URL
    "http://otn.oracle.com/products/ias"
    and specifically at:
    http://technet.oracle.com/docs/products/ias/doc_index.htm
    I have read them all and most things are documented in great detail.
    I'm trying to get the Web Cache working but it core dumps immediately after trying to start it. I had no install errors reported and everything else I have tested seems to work. If you get it working could you please send me a note on anything special you did? I really need the Web Cache to work.

  • Hibernate's dual-layer cach and TopLink's caching strategy

    Dear members,
    I understand that caching between hibernate and toplink is implemented (or utilized) differently. Hibernate seems to have 'dual-layer caching' (which may imply they have two layers of cache) whereas TopLink has session cache and shared cache. The way I see it, they seem to be aiming for the same thing. Are there any differences between (obviously there are, only that I do not know them) those two caching architectures, and how different are they?
    Howard

    Yes there are differences :) For details check out
    TopLink vs Hibernate... revisited... again :)
    and
    Indirection - how are references resolved after session has been closed?

  • Transaction cache VS Session cache

    Hi,
    Some one please help me to understand the concepts of ttransaction cache VS Session cache.
    In the user guide its given that
    For AM : Any data stored on the transaction is accessible to all pages that share the same root application module instance .
    For Session : Session cache only when you need to set and access simple values in many pages, which have different root application modules
    (The transaction cache discussed above isn't an option)
    Are these 2 different ? if so how ? Why the transaction cache is different from session cache, both are used to store data and both are available across pages assuming all pages share the same AM.
    Thank you for all your help.

    GustavoJimenez,
    Thank for taking time and explaining it.
    I understand that, if multiple pages share the same AM and retainAM flag ='N' then it will create multiple instances of same AM. so is the AM cache is common for all the AM instances ?
    Can you please explain more about session cache and where it comes into picture ? Is session cache and AM cache has same attributes ?

  • Database Smart Flash Cache and Data Guard

    We are on Oracle 11.2.0.2 on OEL 5 and our considering buying fusion io (PCIe flash drives) for our Production (Primary) database.
    My question is; Can we use Physical Data Guard with the Primary side using Database Smart Flash Cache and keep-ing tables and/or partitions in the Flash Cache and have a Standby side that does not have Database Smart Flash Cache?

    Yes you can.
    Data Guard will not check what type drive you are using. As long as you meet the database and network requirements it will work.
    http://www.oracle.com/technetwork/database/features/availability/maa-090890.html
    Check out these white papers if you have concerns
    "Migration to Automatic Storage Management (ASM)"
    "Best Practices for Creating a Low-Cost Storage Grid for Oracle Databases"
    In addition here's an example of using two different file systems with Data Guard
    http://pythianpang.wordpress.com/2009/07/07/data-guard-asm-primary-to-filesystem-physical-standby-using-rman-duplicate/
    Best Regards
    mseberg

Maybe you are looking for