Oracle Bi Solutions

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Thursday, 14 February 2013

OBIEE 11g - OBI Server and Presentation Cache Management

Posted on 10:55 by Unknown

Oracle BI Server Cache Management

  • BI server could be leveraged by multiple users and reports depending on whether they are accessing similar or subset of the cached data, though from a different reports.
  • To purge OBI Server cache the best-practice is to set it as automated process after completing ETL, because if we set the auto-purge at specified time, but for some reason ETL fails, the BI Server cache gets purged and all user queries will have to get executed all over, which will impact the BI Server performance.
  1. To complete this task, please follow these steps:
  2. Create a text file called: PurgeAllCache.txt and save it in C:\ (easier to remember)
  3. Open and type the following: Call SAPurgeAllCache()
  4. Save and Close.
  5. Create another text file called: PurgeCache.txt (we will later convert this file into batch file .bat) and save it in C:\
  6. Go to: \Oracle_BI\bifoundation\server\bin\nqcmd.exe and make sure you see the file DO NOT run it.
  7. Copy and paste the nqcmd.exe file directory somewhere temporary
    1. This is a ODBC client that runs commands
  8. Now, go to: Start > All Programs > Administrative Tools > Data Sources (ODBC)
  9. Click on System DSN tab and locate Oracle BI Server 11g_XXXXX > click on Configure…
  10.  
  11. Copy and paste the Name: with nqcmd.exe file path for now. The ODBC name in this case is:coreapplication_OH905911364
  12.  
  13. Cancel to close Oracle BI Server and ODBC windows.
  14. Open PurgeCache.txt and type the following:
    1. Echo off
    2. \Oracle_BI\bifoundation\server\bin\nqcmd.exe -d coreapplication_905911364 -u weblogic -p password -s C:\PurgeAllCache.txt
      1. Make sure this command is ALL IN ONE LINE
    3. Echo 
  • Explnation:
    • \Oracle_BI\bifoundation\server\bin\nqcmd.exe [nqcmd.exe file path]
    • -d coreapplication_905911364 [my DSN ODBC name]
    • -u weblogic [-u BI Admin Username]
    • -p password [-p BI Admin Password]
    • -s C:\PurgeAllCache.txt [-s SQL Input File to execute]
  1. Save and Close. 
  2. Change PurgeCache.txt into PurgeCache.bat this will convert the file into executable file. 
  3. Now run couple of analysis in OBIEE. 
  4. Open the RPD in an Online mode:
  5. Go to: Manage > Cache - and you'll see recent saved cache.
  6. Now run PurgeCache.bat and recheck the RPD Cache, you will see that it is cleaned :).
  

Oracle BI Presentation Cache Management

  • When users run analyses, Presentation Services can cache the results of those analyses. Presentation Services determines if subsequent analyses can use cached results. 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.
  • The files are created by the ODBC driver but generally do correspond to ODBC requests that the Presentation Services cache keeps open. The files are stored in the following directory: 
    •  ORACLE_INSTANCE\tmp\OracleBIPresentationServices\coreapplication_obipsn\obis_temp
  • The files for the cache are removed whenever Presentation Services shuts down cleanly. If Presentation Services shuts down unexpectedly, then various cache files might be left on disk. You can delete the files when Presentation Services is not running.
  • The Presentation Services cache is not the same cache that is accessed by the Oracle BI Server. You can change the defaults for the Presentation Services cache by modifying the instanceconfig.xml file to include the cache entries.
    • i.e. if the requirement is to set the cache to expire every 15 minutes; open to edit the instanceconfig.xml for OBI Presentation Services and add the following : 
    • Your code should look like this:
       
    • Save and Close the file.

Alternative Cache Management Techniques

  • Open  BI Administration Tool > Open the RPD
  • Go to: Physical table properties
  • Check: Checkeable and choose as appropriate
    • Cache never expires - self-explanatory
    • Cache persistence time - specify how often the table should purge the cache
      • Note: this implies only to this table and is not the best-techniques when you are working with 100s of tables.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in OBIEE | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Upper Function
    In Oracle/PLSQL, the  upper function  converts all letters in the specified string to uppercase. If there are characters in the string that ...
  • OBIEE 11g Hide/Show Sections based on Dashboard Prompt
    allow a user’s interaction to hide/show certain sections of a dashboard. In this particular case the user wanted to choose either ‘Quarterly...
  • [OBIEE11g] - OBIEE Dashboard for Informatica Metadata Reporting
    The metadata that Informatica Power Center 8 retains in its repository can be exposed via OBIEE reports and dashboards. This metadata includ...
  • [ODI] - Frequently Asked Questions (FAQ)
    Here is a list of FAQs about Oracle Data Integrator 1) What is Oracle Data Integrator (ODI)? 2) What is E-LT? 3) What components make up Ora...
  • OBIEE 11g not showing new dashboard in the drop down menu
    When creating New dashboard in  OBIEE 11g, I have faced with issue that dashboard name did not show up in drop down dashboard menu. 1. When ...
  • Data Modeling: Schema Generation Issue with ERwin Data Modeler 7.3
    We are using Computer Associate’s ERwin Data Modeler 7.3 for data modeling. In one of our engagements, we are pushing data model changes to ...
  • Installation Informatica Powercenter 9.1 on Oracle Enterprise Linux 5.6
    Ingredients: Program Version Filename Oracle Express 11G 11.2.0 oracle-xe-11.2.0-0.5.x86_64.rpm SQL Developer 3.0 sqldeveloper-3.0.04.34-1.n...
  • Informatica Powercenter Workflow Manager Repository Navigator docking float issue
    In case you’re also experiencing where your Repository Navigator is not dock or attached and it seems just floating within Workflow Manager ...
  • [OBIEE11g] - Creating Dashboard Traversing Through Graph
    The general requirement asked for by customers is that they want to Click on the Main Dashboard Page’s Graph and be transferred to the other...
  • OBIEE 11g - Query Limit
    Query limit and number of minutes a query can run per physical layer database connection, follow the below steps. > Login to Repository u...

Categories

  • BI Publisher
  • DAC
  • DataWarehouse
  • Hyperion
  • Informatica
  • OBIEE
  • ODI
  • Oracle Applications EBS 12.1.3
  • Oracle Database
  • PL/SQL
  • SQL
  • Unix/Linux

Blog Archive

  • ▼  2013 (500)
    • ►  November (8)
    • ►  October (1)
    • ►  July (4)
    • ►  June (9)
    • ►  May (15)
    • ►  April (24)
    • ►  March (43)
    • ▼  February (73)
      • Remember Username and Password in Obiee11g
      • Change Locale in OBIEE 11g
      • Change Password in BI Publisher 111.1.6.0
      • OBIEE 11g - Change the Date Format/ Evaluate Function
      • OBIEE 11g - Enabling Sorting order for more than 1...
      • OBIEE 11g - Changing the NodeManager and weblogic ...
      • OBIEE 11g - Description ID column
      • Fact and Dimension from single source Table
      • OBIEE 11g - Denormalizing physical tables in BMM l...
      • OBIEE 11g - ADF Integration
      • BUG:12930924 SAG: CANNOT DISPLAY MORE THAN 300 OBJ...
      • OBIEE 11g - Hide Apply and Reset button
      • OBIEE 11g Security - Creating Application Policies
      • OBIEE11g startup error - An instance of the interf...
      • OBIEE 11g - Partial Update using Condition in Answers
      • OBIEE 11g - custom Date format in Answers
      • The boot identity may have been changed since the ...
      • OBIEE 11g - weblogic admin account creation
      • Informatica PC Upgrade from 861 to 91 Installation...
      • Installation Informatica Powercenter 9.1 on Oracle...
      • How to Start oracel Database 11gR 2 manually on Linux
      • OBIEE 11g - Installation on OEL 5.8
      • OBIEE 11.1.1.6.5 and J Developer Integration on Li...
      • Oracle SQL Developer :Enter full path for java.exe
      • OBIEE 11g - Unable to get file lock , will retry i...
      • OBIEE 11g - Changing Presentation Services Port Nu...
      • OBIEE 11g - Changing the background color on hover...
      • OBIEE 11g - Date Format change based on Locale Set...
      • OBIEE 11g - Javascript and CSS locations
      • OBIEE 11g - Removing the Gray Header from Reports
      • OBIEE 11g - Refreshing a report Everytime
      • OBIEE 11g - Adding Bookmark Link in Dashboard
      • OBIEE 11g - Searching a Text in Page
      • OBIEE 11g - Remember Username and Password
      • OBIEE 11g - Removing/ Deleting Report Links in a Page
      • OBIEE11g - Export to Excel issue
      • OBIEE 11g - Right-click interactions in Dashboard ...
      • OBIEE11g - Right Function
      • OBIEE 11g - Set Default currency in Dashboard
      • OBIEE 11g - Hide BI Portal Name
      • OBIEE 11g - Export or Print Dashboard Page
      • OBIEE 11g - Ldap authentication is failing when us...
      • OBIEE 11g - Warning: "Upgrade is recommended to th...
      • OBIEE 11g - [OracleBIServerComponent] [ERROR:1] [...
      • OBIEE 11g - State: HY000. Code: 10058. [NQODBC] [S...
      • OBIEE 11g - List of System/Predefined Session Vari...
      • OBIEE 11g - Writeback Steps
      • [OBIPS] [ERROR:1] [] [saw.security.odbcuserpopulat...
      • [ERROR:1] [] [] [ecid: 18c5ef9f7c3aec02:-1a7b1b1:1...
      • OBIEE 11g - Important Path Directories
      • OBIEE 11g - OBI Server and Presentation Cache Mana...
      • How to login to OBIEE 11g - With User and Password...
      • OBIEE 11g - Direct Query from Database, bypassed C...
      • OBIEE 11g - Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
      • OBIEE 11g - Deploying RPD without BI Presentation ...
      • OBIEE 11g - Dashboard Selective View from Report L...
      • OBIEE11g - RPD Deployment Considerations
      • OBIEE 11g - Starting / Stopping Domain Services in...
      • OBIEE 11g - SQL Conditional COUNT & SUM
      • OBIEE11g - Security Migration
      • OBIEE 11g - Performance Tuning
      • OBIEE 11g - User Guide for BI Mobile
      • OBIEE 11g - Active Directory Authenication
      • OBIEE 11g - Security Troubleshooting
      • DAC - Error "main" java.lang.NoClassDefFoundError...
      • DAC11g Starting issue (-server)
      • OBIEE 11.1.1.6.7 Opatch Apply from 11.1.1.6.0 to 1...
      • OBIEE 11.1.1.6.8 - bugs fixed
      • Informatica Powercenter Workflow Manager Repositor...
      • DAC - Restrict the number of years using Mcal Peri...
      • DAC - Global Currency Code Issue in dac
      • Hyperion Installation 11.1.2.1.0 on Linux 32 Bit
      • OBIEE 11g - Deploying RPD on Linux to Access the L...
    • ►  January (323)
Powered by Blogger.

About Me

Unknown
View my complete profile