OBIPS - (Query|Result|Cursor) Cache

Saw Object

OBIPS - (Query|Result|Cursor) Cache

About

When users access objects that run queries (Answers, Prompts, …), Presentation Services caches the results of the queries. This kind of cache is a client result cache.

Presentation Services determines if subsequent analytics can use cached results by asking a shared request key with the help of the odbc function sagetsharedrequestkey. If the cache can be shared, then subsequent analyses are not stored.

The files for the Presentation Services cache:

  • have names such as nQS_xxxx_x_xxxxxx.TMP.
  • are created by the ODBC driver but generally do correspond to ODBC requests that the Presentation Services cache keeps open.
  • are stored in the following directory:
    • for 11g: ORACLE_INSTANCE\tmp\OracleBIPresentationServices\coreapplication_obipsn\obis_temp

How to

Clear the Cache

Manually

  • Using Administration > Manage Sessions

Presentation Service Session Management Cursor Cache

  • Shutting down cleanly Presentation Services remove the files for the cache
  • Deleting the files when Presentation Services is not running and that it shuts down unexpectedly (then various cache files might be left on disk)

Soap

Obiee as a SOAP API that you can use to purge the cache : OBIEE - Web Services API (SOAP,WSDL)

Configure it

To configure the presentation service cache, you can add the following entries in the instanceconfig.xml file such as:

<ServerInstance>
  <Cache>
    <Query>
      <MaxEntries>100</MaxEntries>
      <MaxExpireMinutes>60</MaxExpireMinutes>
      <MinExpireMinutes>10</MinExpireMinutes>
      <MinUserExpireMinutes>10</MinUserExpireMinutes>
    </Query>
  </Cache>
<ServerInstance>

CacheMaxEntries

Specifying the Maximum Number of Open Record Sets

You can override the maximum number of open record sets that Presentation Service keeps open at any one time. The internal default is 10. The minimum value is 3. For systems under significant loads, you can increase this value to 500 or 1000.

The following entry is an example:

<CacheMaxEntries>100</CacheMaxEntries>

CacheMaxExpireMinutes

You can override the maximum amount of time, in minutes, that an entry in the cache can exist before it is removed. The internal default is 60 (one hour).

Depending on (the number of requests being run, an entry may be removed before the time limit expires.

The setting for CacheMinUserExpireMinutes , described in Specifying the Maximum Amount of Time an Entry Can Exist in the Presentation Service Web Cache, can force an entry for a particular user to exist for a longer time than that specified by CacheMaxExpireMinutes .

The following entry is an example:

<CacheMaxExpireMinutes>60</CacheMaxExpireMinutes>

Specifying the Least Amount of Time an Entry Can Exist in the Cache

CacheMinExpireMinutes

You can override the minimum amount of time, in minutes, that an entry in the cache can exist before it is removed. The internal default is 10.

The following entry is an example:

<CacheMinExpireMinutes>10</CacheMinExpireMinutes>

Specifying the Least Amount of Time an Entry Can Exist in the Cache After Use

CacheMinUserExpireMinutes

You can override the minimum amount of time, in minutes, that an entry in the cache can exist after it has been viewed by a user. The internal default is 10.

For example, if CacheMaxExpireMinutes is set to 60 minutes and a user views the entry during the 59th minute, the entry exists for that user for an additional 10 minutes. The user can continue paging through the data without requiring a new request to be run.

The following entry is an example:

<CacheMinUserExpireMinutes>10</CacheMinUserExpireMinutes>

Documentation / Reference





Discover More
Obiee Initialization Block Caching
OBIEE - All the caches

in OBIEE. Obiee have two main caches mechanisms : The query cache (Bi Server cache) which is a data set cache The presentation server cache (Presentation Server Cache) which is an ODBC data set cache...
Saw Object
OBIEE - BI Presentation Service (SAW/OBIPS)

AnswersInteractive DashboardsDelivers The Oracle BI Presentation Service Server: is a pure Web Environment visualize data from the Oracle BI Server through the creation of Interactive Dashboards...
Obiee Nqsgetleveldillability
OBIEE - BI Server (JDBC|ODBC) Driver Functions

The Bi Server interface functions permit: to get data dictionary information. to manage the query cache to set a repository session variable You can call them : through a client that provides...
Obiee11g System Session Variable
OBIEE - System session variables (reserved variables)

System session variables are session variables that the Oracle BI Server and Oracle BI Presentation Services use for specific purposes. System session variables have reserved names, that cannot be used...
Obiee Set Disable Cache Hit
OBIS - Purging / Disabling the Query Cache

How to purge the Query Cache To disable completly the query cache, you must set to the ENABLE cache parameter the value NO in the file nqsconfig. For one session, you have to set the session...
Obiee Agent Cache Seeding
OBIS 10G/11G - BI Server (Logical Query|Result) Cache

Query caching is a persistent cache mechanism. When you ask for data with a query, the data are retrieved from the cache instead to ask again the data source. The BI Server Query Cache The Presentation...



Share this page:
Follow us:
Task Runner