---
title: "BIEE缓存设置"
author: "jianchen"
date: "2011-08-14T18:22:21Z"
tags: []
categories: ["互联网"]
slug: "biee"
draft: false
lastmod: "2011-08-14T18:30:30Z"
id: 1149019
url: "https://jianchen.iteye.com/blog/1149019"
---

1，**BI server cache**

*OracleBI\\server\\Config\\NQSConfig.INI* 配置文件，设置cache = yes；表示开启server的缓存。如果需要对表做缓存，需要保证在rpd文件中的，物理层的相关表的cacheable属性设置OK。

 

BI server的缓存，是以文件的形式体现的。查看文件，均是以TBL为后缀名。

*OracleBI\\server\\Config\\NQSConfig.INI*  可以配置缓存文件的存放目录。以及缓存的entry的大小等参数。

 

2，**web cache**

 针对**OBIEE 10g Presentation Services**

*OracleBIData\\web\\config\\instanceconfig.xml，*该配置文件中指定缓存的配置策略。

在ServerInstance标签中增加如下内容：

 

```
<CacheMaxExpireMinutes>60</CacheMaxExpireMinutes>
<CacheMinExpireMinutes>10</CacheMinExpireMinutes>
<CacheMinUserExpireMinutes>10</CacheMinUserExpireMinutes>
<CacheMaxEntries>10</CacheMaxEntries>
```

 

 

 

*3，catalog cache*

在*&lt;/ServerInstance&gt;标签前增加如下配置:*

```
<Catalog>
<AccountIndexRefreshSecs>120</AccountIndexRefreshSecs>
<AccountCacheTimeoutSecs>180</AccountCacheTimeoutSecs>
<PrivilegeCacheTimeoutSecs>180</PrivilegeCacheTimeoutSecs>
<CacheTimeoutSecs>120</CacheTimeoutSecs>
<CacheCleanupSecs>600</CacheCleanupSecs>
</Catalog>
```