`
jianchen
  • 浏览: 344750 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

【转】OBIEE Coodinated Caching Strategy

    博客分类:
  • BI
阅读更多

Hello, 

I can only speak for the BI Server cache. To my knowledge, it is the only cache that can be flushed in a deterministic, piecemeal fashion. 

The most basic way to handle cache flushing is to set the Cache Persistence of all of your physical tables to an appropriate value. In the case of real-time or near-real-time data, you'd want to set it to a very small number, if not just zero. If your subject area is sitting on top of an OLTP/real-time database, then I'd just turn off caching for all physical tables that change in real-time. There is no need to mess with Event Polling or any other mechanism (see below) if the data is going to change every minute. There's no real benefit to caching in a real-time system, so just turn it off for those tables. 

If you have data that changes, say, every 15 or 30 minutes, then you need to carefully consider the cache behavior you want. For example, let's say your main fact source is updated every 15-30 minutes (the exact period is unknown, and fluctuates between those endpoints). Some questions to ask are: 

1) Is the model fast enough with caching completely disabled? If so, you can leave it disabled and be sure that every query will return the most-recent data. 

2) If not, what is the impact of a user seeing stale data? If the impact is low, then you can use a Cache Persistence setting of, say, 15 minutes. This ensures that the data seen by users will never be more than 15 minute stale. You can use a smaller number, but below, say, 10 minutes in my opinion you start running into the question of just how useful the cache is, if it's only available for 8 minutes? If I had 100s of users hitting the data almost constantly, then maybe an 8-minute-lifespan cache would be useful. If the usage is sporadic, then it might not make sense to retain cache for just one or two hits before being flushed. 

3) If the impact of users seeing stale data is high, then using Cache Persistence settings will not be sufficient and you'll have to look at either Event Polling or a triggered batchfile/cmdfile. 

Event Polling is well documented. The basic idea is that your ETL process inserts a row into a special table, which OBIEE is configured to ping every X minutes. When OBIEE detects a new row in that special table, it purges cache related to a phsycial database, or even just a specific table. There is still a small risk of stale data with this method, though your polling interval can be set to 1 minute to minimize the staleness. 

The triggered batch method uses the SAPurgeAllCache(), SAPurgeCacheByDatabase(), and/or SAPurgeCacheByTable() methods of the API. The idea here is that at the end of your ETL process, you run a batch file that contains a command similar to this: 

nqcmd -d [OBIEE dsn] -u [user] -p [password] -s [sql file] 

The [sql file] referenced above contains one or more commands like this: 

{Call SAPurgeCacheByDatabase ('Sales Transactions') }; 
{Call SAPurgeCacheByTable( 'Sales Transactions','','dbo','SalesFacts')}; 
{call SAPurgeAllCache()}; 

This method has the benefit of minimizing any chance of stale data (the cache is purged essentially immediately on the completion of your ETL), and it doesn't require OBIEE to ping an Event Polling table every x minutes. We recently converted all of our Event Polling-based cache operations to the batchfile method. 

One final note - if your OBIEE model is laid on top of a true OLTP system - that is, you don't have an ETL process, but instead users are directly entering data - then it could be difficult to set up either Event Polling or a triggered batchfile. Which user process would trigger these methods? You may have to rely on proper Cache Persistence settings and live with occasional stale data.

分享到:
评论

相关推荐

    obiee ppt

    Oracle商务智能套件企业版(Oracle Business Intelligence Suite Enterprise Edition,简称OBIEE)是一款全面的商业智能解决方案,旨在提供深入的洞察力和决策支持。它采用统一的架构,结合了各种组件来确保高效、...

    【转】OBIEE11g支持的平台和操作系统

    **Oracle Business Intelligence Enterprise Edition (OBIEE) 11g 是一个强大的商业智能平台,用于数据分析、报表制作和决策支持。这篇博客文章分享了OBIEE11g所支持的操作系统和平台信息,通过提供的链接可以获取更...

    OBIEE 完全安装向导

    【OBIEE完全安装向导】是一篇关于Oracle Business Intelligence Enterprise Edition (OBIEE)的详细安装指南。OBIEE是Oracle公司的一款企业级商业智能平台,它提供了数据分析、报表和仪表盘等功能,帮助企业进行决策...

    obiee11.1.1.7中文帮助文档

    Oracle Business Intelligence Enterprise Edition (OBIEE) 是一款强大的商业智能平台,主要用于数据分析、报表制作以及企业决策支持。在11.1.1.7版本中,该系统提供了丰富的功能和改进,以满足用户对数据洞察的需求...

    OBIEE基础实例

    **Oracle Business Intelligence Enterprise Edition (OBIEE) 是一个强大的企业级商业智能平台,它提供了全面的数据分析、报表和仪表板功能。本实例旨在为初学者提供一个基础的OBIEE学习路径,帮助快速掌握其核心...

    Cognos VS OBIEE 产品功能对比

    ### Cognos与OBIEE产品功能对比报告 #### 第一章:概述 本文档旨在对IBM公司的商业智能(BI)工具Cognos与Oracle公司的BI工具OBIEE(Oracle Business Intelligence Enterprise Edition)进行深入的功能对比。随着...

    OBIEE 11g 使用文档

    《深入解析OBIEE 11g:从基础到进阶》 一、OBIEE 11g概览 Oracle Business Intelligence Enterprise Edition (OBIEE) 11g是Oracle公司推出的一款全面的企业级商业智能平台,它集成了数据分析、报告、仪表板和数据...

    OBIEE 资料文档

    Oracle Business Intelligence Enterprise Edition (OBIEE) 是一款强大的商业智能平台,用于数据分析和报表生成。这个资料文档集合包含了丰富的信息,对于想要深入了解或提升OBIEE技能的人来说是宝贵的资源。 "BI....

    obiee biapps product guide

    根据提供的文档信息,我们可以推断出这是一份关于Oracle Business Intelligence (OBIEE) BI Apps产品的指南。尽管文档中重复的信息较多,我们仍然可以从现有的文本中提取一些关键的知识点。 ### Oracle Business ...

    obiee demo

    obiee demo, 实例帮你学习OBIEE

    Oracle_OBIEE_Tuning_Guide

    Oracle OBIEE (Oracle Business Intelligence Enterprise Edition) 是一款强大的企业级商业智能平台,用于数据分析、报表和信息可视化。为了确保其高效运行,Oracle OBIEE 需要定期调优,以适应不断变化的业务需求和...

    obiee11.1.1.7官方中文帮助手册

    Oracle Business Intelligence Enterprise Edition (OBIEE) 是一款强大的商业智能平台,主要用于数据分析、报表制作和信息可视化。在11.1.1.7版本中,它提供了丰富的功能和改进,以帮助企业用户更好地理解和利用他们...

    OBIEE学习总结之入门(PDF)-study.pdf

    OBIEE(Oracle Business Intelligence Enterprise Edition)是甲骨文公司提供的一套企业级商业智能解决方案,它集成了数据仓库、数据挖掘、OLAP分析、报表和仪表盘等功能。本篇《OBIEE学习总结之入门(PDF)》提供了对...

    OBIEE11.1.1.5(64位)备份与还原-1.0

    ### OBIEE11.1.1.5(64位)备份与还原知识点 #### 1. 备份原理 在《伊泰集团BIEE备份、还原管理V1.0》文档中,提到了OBIEE11.1.1.5备份的核心原理,主要包括两个关键部分: - **主资料存储库文件(RPD)备份**:RPD...

    obiee 学习资料

    Oracle Business Intelligence Enterprise Edition (OBIEE) 是一款强大的商业智能平台,用于收集、分析和展示组织内部的数据。这个“OBIEE 学习资料”压缩包包含了一系列资源,旨在帮助学习者从基础到中级,再到高级...

    OBIEE中文帮助.CHM

    OBIEE中文帮助,BIEE中文帮助,非常难得

Global site tag (gtag.js) - Google Analytics