Tag Archives: OBI PS cache

How to Clear the query cache in OBIEE11G Presentation Server?

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:


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.

Sometimes we may need to clear the Presentation server cache also, to clear that follow the below steps:

  • OBIEE 11G has a catalog manager command called “ClearQueryCache” to clear out the PS cache.
  • The syntax of ClearQueryCache command is: 
    runcat.cmd/ -cmd clearQueryCache  -online <OBIPS URL> -credentials <credentials properties file>
  • Create a catalog manager credential properties file. Open a text file and type the following entries.
              Login = <weblogic_admin_Username>
              Pwd = <weblogic_Admin_Userpassword>  
    And save in a directory with the file name as
  • Now open command prompt and navigate to <MW_HOME>instances\instance1\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips1\catalogmanager\
  • And Run the following command to clear OBIPS query cache:
    runcat.cmd -cmd clearQueryCache -online http://shiva-pc:9704/analytics/saw.dll -credentials E:\




Tags: , , , , , , , , , ,

How to bypass Presentation Server Cache in OBIEE 11G

During our development if we wanted to check the report level UI changes, sometimes we will not see the changes immidiately. This is due to Presentation Server Cache. Eventhough we disable the BI Server cache, It doesnt make any effect on presentation Server objects.

So in that situations we need to disable Presentation server cache permanently across OBI Application, To do this add the following parameters in instaceconfig.xml. (Make sure that you have taken a backup copy of instanceconfig.xml)





Now restart the OBI Presentation server service and test the results.

Note: Keep in mind that this parameters cause Presentation Server to always bypass its cache. To be used only for testing – may have serious performance implications.

Keep smiling 🙂



Posted by on July 17, 2012 in BI Publisher, OBI EE, OBIEE 11g


Tags: , , , , , , , , , , , , , , , ,