SlideShare a Scribd company logo
1 of 7
Download to read offline
Cache Management & Purging Cache in OBIEE 10g

PREPARED BY RAVI KUMAR LANKE

Page 1
Cache Management is a major advantage of OBIEE. Whenever a saved request or any dashboard is
accessed by one user it can be saved as a file to cache. So if any other user accessing the same
saved request, instead of waiting for the information to be fetched from the database it can be
reproduced from the cache for a performance improvement.

Purging the Cache through the Presentation Service :
Select Settings, Administration; the Administration Window will open from that Select to Issue SQL;
this window will allow you to issue SQL Directly In the command window enter the text below and
click to Issue SQL
Call SAPurgeAllCache()
Now Check the Cache Manager in Administration tool and the cache entries will be cleared there.

Purging the cache By Manual :
Open Administration Tool - > Go to Manage -> Click Cache.
The Cache Manager Window will open. In the right side of you can view how many is cached and its
related logical query. The logical query will be cached for only the accessed reports in the
dashboards.

From the right side pan right click on the cached query and click on „Select All‟ now the entire
query will be selected. Now if you are selecting a mouse right click you will get an option „Purge‟.
Once you clicked the „purge‟ the entire cached query will be deleted.

PREPARED BY RAVI KUMAR LANKE

Page 2
Note:
1. We can delete only a particular line of cached query in cache manager by selecting only
the query you want purge
2. We can clear the cache for only the selected BMM layer by selecting the particular BMM
Model in left side pan of the Cache Manager.

PREPARED BY RAVI KUMAR LANKE

Page 3
Purging the cache By Scheduling :
I‟m here writing how to purge the cache by scheduler using scheduled task in windows
environment.
Before going the schedule the task we have to know what is the command we are using to purge
the cache.
We can purge the entire cache in one shot or purge the cache by query or purge the cache by table
or purge the cache by database.

We are going to learn how to use the entire cache functions one by one:

SAPurgeCacheByQuery() :
We can issue a command to purge a specific query from the cache; the command takes a single
parameter, which should be equal to the exact query registered in the cache. An example is given.

Call SAPurgeCacheByQuery(„SELECT EMPD, EMPNAME from HR_EMP_D WHERE SALARY > 100000‟ );

SAPurgeCacheByTable() :
We can select to purge the cache for all queries using a specific table; we must specify the
database, physical catalog, schema and table as parameters.

Call SAPurgeCacheByTable( „DBName‟, „PhyCatName‟, „SchemaName‟, „TableName‟ );

SAPurgeCacheByDatabase() :
we can purge the cache for all queries to a specific database.
Call SAPurgeCacheByTable( „DatabaseName‟ );

SAPurgeAllCache()
This is the function will clear the entire cached query in one shot.
Call SAPurgeAllCache();

PREPARED BY RAVI KUMAR LANKE

Page 4
We can also use multiple commands together in the purge.sql file, as in the example below.

Call SAPurgeCacheByTable( „DBNameA‟ );
Call SAPurgeCacheByTable( „DBNameB‟ );

Now we will learn how to use these functions in a scheduled task.
Create the “Purge.sql” file with any of the above explained functions and create “purgecache.log”
and save it in a folder.

Now open the notepad and type the below command and save the file like “PurgeCache.bat”.
-----------------------------------------------------------------------------------------------------C:OracleBIserverBinnqcmd.exe -d AnalyticsWeb -u Administrator -p Password
-s "C:OracleBIPurgePurgeAllCache.sql" -o "C:OracleBIPurgePurgeAllCache.log"
-------------------------------------------------------------------------------------------------------d Data source Name
-u User name
-p Password
-s Source file
-o output file

PREPARED BY RAVI KUMAR LANKE

Page 5
Now go to scheduled task from below path:
All Programs -> Accessories -> System Tools -> Scheduled Task -> Click on Add Scheduled Task > Scheduled task wizard window will open.

Click on „Browse‟ button to select “purgecache.bat” batch file. Once you selected the file it will
ask to run the task daily, weekly, monthly and some other options. You select the option by your
business Requirement. By giving all the required details in next, next step the task will be
scheduled. Once the task has been scheduled you can check the log file. The entry will be updated
in log file and the cache will be cleared in the cache manager.

PREPARED BY RAVI KUMAR LANKE

Page 6
PREPARED BY RAVI KUMAR LANKE

Page 7

More Related Content

What's hot

Tutorial windows service with java (procrun)
Tutorial windows service with java (procrun)Tutorial windows service with java (procrun)
Tutorial windows service with java (procrun)muhammad arif nasution
 
Perl Stored Procedures for MySQL (2009)
Perl Stored Procedures for MySQL (2009)Perl Stored Procedures for MySQL (2009)
Perl Stored Procedures for MySQL (2009)Antony T Curtis
 
Database Connection With Mysql
Database Connection With MysqlDatabase Connection With Mysql
Database Connection With MysqlHarit Kothari
 
How to setup Oracle 12C
How to setup Oracle 12CHow to setup Oracle 12C
How to setup Oracle 12Ckumm2004
 
Caching & validating
Caching & validatingCaching & validating
Caching & validatingSon Nguyen
 
UKOUG 2011: Practical MySQL Tuning
UKOUG 2011: Practical MySQL TuningUKOUG 2011: Practical MySQL Tuning
UKOUG 2011: Practical MySQL TuningFromDual GmbH
 
Running ms sql stored procedures in mule
Running ms sql stored procedures in muleRunning ms sql stored procedures in mule
Running ms sql stored procedures in muleAnilKumar Etagowni
 
Database administration commands
Database administration commands Database administration commands
Database administration commands Varsha Ajith
 
Deploy agent in em12c
Deploy agent in em12cDeploy agent in em12c
Deploy agent in em12cOsama Mustafa
 
Basics of Logical Replication,Streaming replication vs Logical Replication ,U...
Basics of Logical Replication,Streaming replication vs Logical Replication ,U...Basics of Logical Replication,Streaming replication vs Logical Replication ,U...
Basics of Logical Replication,Streaming replication vs Logical Replication ,U...Rajni Baliyan
 
Caching and invalidating with managed store
Caching and invalidating with managed storeCaching and invalidating with managed store
Caching and invalidating with managed storeirfan1008
 
Caching and invalidating with managed store
Caching and invalidating with managed storeCaching and invalidating with managed store
Caching and invalidating with managed storeF K
 

What's hot (14)

Tutorial windows service with java (procrun)
Tutorial windows service with java (procrun)Tutorial windows service with java (procrun)
Tutorial windows service with java (procrun)
 
My sql administration
My sql administrationMy sql administration
My sql administration
 
Perl Stored Procedures for MySQL (2009)
Perl Stored Procedures for MySQL (2009)Perl Stored Procedures for MySQL (2009)
Perl Stored Procedures for MySQL (2009)
 
Database Connection With Mysql
Database Connection With MysqlDatabase Connection With Mysql
Database Connection With Mysql
 
How to setup Oracle 12C
How to setup Oracle 12CHow to setup Oracle 12C
How to setup Oracle 12C
 
Caching & validating
Caching & validatingCaching & validating
Caching & validating
 
ZooKeeper JMX
ZooKeeper JMXZooKeeper JMX
ZooKeeper JMX
 
UKOUG 2011: Practical MySQL Tuning
UKOUG 2011: Practical MySQL TuningUKOUG 2011: Practical MySQL Tuning
UKOUG 2011: Practical MySQL Tuning
 
Running ms sql stored procedures in mule
Running ms sql stored procedures in muleRunning ms sql stored procedures in mule
Running ms sql stored procedures in mule
 
Database administration commands
Database administration commands Database administration commands
Database administration commands
 
Deploy agent in em12c
Deploy agent in em12cDeploy agent in em12c
Deploy agent in em12c
 
Basics of Logical Replication,Streaming replication vs Logical Replication ,U...
Basics of Logical Replication,Streaming replication vs Logical Replication ,U...Basics of Logical Replication,Streaming replication vs Logical Replication ,U...
Basics of Logical Replication,Streaming replication vs Logical Replication ,U...
 
Caching and invalidating with managed store
Caching and invalidating with managed storeCaching and invalidating with managed store
Caching and invalidating with managed store
 
Caching and invalidating with managed store
Caching and invalidating with managed storeCaching and invalidating with managed store
Caching and invalidating with managed store
 

Viewers also liked

Setting home path class path and path for java on windows 7
Setting home path class path and path for java on windows 7Setting home path class path and path for java on windows 7
Setting home path class path and path for java on windows 7Ravi Kumar Lanke
 
Noticias TELEC septiembre 2011
Noticias TELEC septiembre 2011Noticias TELEC septiembre 2011
Noticias TELEC septiembre 2011Francisco Apablaza
 
Ошибки руководства интернет-компании в управлении командой, и можно ли как и...
Ошибки руководства интернет-компании в управлении командой,  и можно ли как и...Ошибки руководства интернет-компании в управлении командой,  и можно ли как и...
Ошибки руководства интернет-компании в управлении командой, и можно ли как и...Fert
 
Preparing Your Data for an Affirmative Action Plan: Workforce Snapshot
Preparing Your Data for an Affirmative Action Plan: Workforce SnapshotPreparing Your Data for an Affirmative Action Plan: Workforce Snapshot
Preparing Your Data for an Affirmative Action Plan: Workforce SnapshotThomas Econometrics
 
Deloitte - Assistive Ict Workshop Presentation
Deloitte -  Assistive Ict   Workshop PresentationDeloitte -  Assistive Ict   Workshop Presentation
Deloitte - Assistive Ict Workshop Presentationsvdpeijl
 
Allianties in wonen, zorg en welzijn
Allianties in wonen, zorg en welzijn Allianties in wonen, zorg en welzijn
Allianties in wonen, zorg en welzijn Atrivé
 
Don\'t Be an Alien to Good Technique
Don\'t Be an Alien to Good TechniqueDon\'t Be an Alien to Good Technique
Don\'t Be an Alien to Good Techniquedgouldin
 
【17-A-6】X-Platform Development with ngCore
【17-A-6】X-Platform Development with ngCore【17-A-6】X-Platform Development with ngCore
【17-A-6】X-Platform Development with ngCoreDevelopers Summit
 
MOOCS: it’s time to shake, rattle and roll
MOOCS: it’s time to shake, rattle and rollMOOCS: it’s time to shake, rattle and roll
MOOCS: it’s time to shake, rattle and rollRoxanne Missingham
 
Ho so cong tac cua giao vien dai hoc.
Ho so cong tac cua giao vien dai hoc.Ho so cong tac cua giao vien dai hoc.
Ho so cong tac cua giao vien dai hoc.University of Sport
 
Workshop Pal achter de middengroepen
Workshop Pal achter de middengroepen  Workshop Pal achter de middengroepen
Workshop Pal achter de middengroepen Atrivé
 

Viewers also liked (20)

Energiebesparing met prestatiecontracten
Energiebesparing met prestatiecontractenEnergiebesparing met prestatiecontracten
Energiebesparing met prestatiecontracten
 
energie besparen is makkelijker met erkende maatregelen
energie besparen is makkelijker met erkende maatregelenenergie besparen is makkelijker met erkende maatregelen
energie besparen is makkelijker met erkende maatregelen
 
Audolici
AudoliciAudolici
Audolici
 
Setting home path class path and path for java on windows 7
Setting home path class path and path for java on windows 7Setting home path class path and path for java on windows 7
Setting home path class path and path for java on windows 7
 
Noticias TELEC septiembre 2011
Noticias TELEC septiembre 2011Noticias TELEC septiembre 2011
Noticias TELEC septiembre 2011
 
Ошибки руководства интернет-компании в управлении командой, и можно ли как и...
Ошибки руководства интернет-компании в управлении командой,  и можно ли как и...Ошибки руководства интернет-компании в управлении командой,  и можно ли как и...
Ошибки руководства интернет-компании в управлении командой, и можно ли как и...
 
Market Summary Laurel Oak July 2016
Market Summary Laurel Oak July 2016Market Summary Laurel Oak July 2016
Market Summary Laurel Oak July 2016
 
Preparing Your Data for an Affirmative Action Plan: Workforce Snapshot
Preparing Your Data for an Affirmative Action Plan: Workforce SnapshotPreparing Your Data for an Affirmative Action Plan: Workforce Snapshot
Preparing Your Data for an Affirmative Action Plan: Workforce Snapshot
 
Bepalingsmethode en Nationale Database
Bepalingsmethode en Nationale DatabaseBepalingsmethode en Nationale Database
Bepalingsmethode en Nationale Database
 
Praktijkervaring met het stappenplan Duurzaam Beheer en onderhoud
Praktijkervaring met het stappenplan Duurzaam Beheer en onderhoudPraktijkervaring met het stappenplan Duurzaam Beheer en onderhoud
Praktijkervaring met het stappenplan Duurzaam Beheer en onderhoud
 
Clone+
Clone+Clone+
Clone+
 
Deloitte - Assistive Ict Workshop Presentation
Deloitte -  Assistive Ict   Workshop PresentationDeloitte -  Assistive Ict   Workshop Presentation
Deloitte - Assistive Ict Workshop Presentation
 
Allianties in wonen, zorg en welzijn
Allianties in wonen, zorg en welzijn Allianties in wonen, zorg en welzijn
Allianties in wonen, zorg en welzijn
 
Muhau
MuhauMuhau
Muhau
 
Don\'t Be an Alien to Good Technique
Don\'t Be an Alien to Good TechniqueDon\'t Be an Alien to Good Technique
Don\'t Be an Alien to Good Technique
 
【17-A-6】X-Platform Development with ngCore
【17-A-6】X-Platform Development with ngCore【17-A-6】X-Platform Development with ngCore
【17-A-6】X-Platform Development with ngCore
 
MOOCS: it’s time to shake, rattle and roll
MOOCS: it’s time to shake, rattle and rollMOOCS: it’s time to shake, rattle and roll
MOOCS: it’s time to shake, rattle and roll
 
FUSIONERA MakerFaire Taipei 2015 Masakazu Takasu ( Interactive Design from te...
FUSIONERA MakerFaire Taipei 2015 Masakazu Takasu ( Interactive Design from te...FUSIONERA MakerFaire Taipei 2015 Masakazu Takasu ( Interactive Design from te...
FUSIONERA MakerFaire Taipei 2015 Masakazu Takasu ( Interactive Design from te...
 
Ho so cong tac cua giao vien dai hoc.
Ho so cong tac cua giao vien dai hoc.Ho so cong tac cua giao vien dai hoc.
Ho so cong tac cua giao vien dai hoc.
 
Workshop Pal achter de middengroepen
Workshop Pal achter de middengroepen  Workshop Pal achter de middengroepen
Workshop Pal achter de middengroepen
 

Similar to Cache management obiee 10g

Recapture Disk Space in Agile PLM
Recapture Disk Space in Agile PLM Recapture Disk Space in Agile PLM
Recapture Disk Space in Agile PLM PLM Mechanic .
 
RMAN in 12c: The Next Generation (WP)
RMAN in 12c: The Next Generation (WP)RMAN in 12c: The Next Generation (WP)
RMAN in 12c: The Next Generation (WP)Gustavo Rene Antunez
 
Activemq installation and master slave setup using shared broker data
Activemq installation and master slave setup using shared broker dataActivemq installation and master slave setup using shared broker data
Activemq installation and master slave setup using shared broker dataRamakrishna Narkedamilli
 
Developing High Performance and Scalable ColdFusion Application Using Terraco...
Developing High Performance and Scalable ColdFusion Application Using Terraco...Developing High Performance and Scalable ColdFusion Application Using Terraco...
Developing High Performance and Scalable ColdFusion Application Using Terraco...ColdFusionConference
 
Developing High Performance and Scalable ColdFusion Applications Using Terrac...
Developing High Performance and Scalable ColdFusion Applications Using Terrac...Developing High Performance and Scalable ColdFusion Applications Using Terrac...
Developing High Performance and Scalable ColdFusion Applications Using Terrac...Shailendra Prasad
 
iLAB OVERVIEWScenario and SummarySuccessful database recovery re.docx
iLAB OVERVIEWScenario and SummarySuccessful database recovery re.docxiLAB OVERVIEWScenario and SummarySuccessful database recovery re.docx
iLAB OVERVIEWScenario and SummarySuccessful database recovery re.docxrochellscroop
 
Synergy Database Cleaning
Synergy Database CleaningSynergy Database Cleaning
Synergy Database CleaningManageware
 
patchVantage Cloud Starter Pack
patchVantage Cloud Starter Pack patchVantage Cloud Starter Pack
patchVantage Cloud Starter Pack David McNish
 
Active mq Installation and Master Slave setup
Active mq Installation and Master Slave setupActive mq Installation and Master Slave setup
Active mq Installation and Master Slave setupRamakrishna Narkedamilli
 
Memory profiler and garbage collector in C#
Memory profiler and garbage collector in C#Memory profiler and garbage collector in C#
Memory profiler and garbage collector in C#Wipro
 
Jackrabbit setup configuration
Jackrabbit setup configurationJackrabbit setup configuration
Jackrabbit setup configurationprabakaranbrick
 
Caching/Expiring in Rails
Caching/Expiring in RailsCaching/Expiring in Rails
Caching/Expiring in Railscdechauri
 
BestInFlowCompetitionTutorials03May2023
BestInFlowCompetitionTutorials03May2023BestInFlowCompetitionTutorials03May2023
BestInFlowCompetitionTutorials03May2023Timothy Spann
 

Similar to Cache management obiee 10g (20)

Recapture Disk Space in Agile PLM
Recapture Disk Space in Agile PLM Recapture Disk Space in Agile PLM
Recapture Disk Space in Agile PLM
 
RMAN in 12c: The Next Generation (WP)
RMAN in 12c: The Next Generation (WP)RMAN in 12c: The Next Generation (WP)
RMAN in 12c: The Next Generation (WP)
 
Activemq installation and master slave setup using shared broker data
Activemq installation and master slave setup using shared broker dataActivemq installation and master slave setup using shared broker data
Activemq installation and master slave setup using shared broker data
 
AtoM's Command Line Tasks - An Introduction
AtoM's Command Line Tasks - An IntroductionAtoM's Command Line Tasks - An Introduction
AtoM's Command Line Tasks - An Introduction
 
Developing High Performance and Scalable ColdFusion Application Using Terraco...
Developing High Performance and Scalable ColdFusion Application Using Terraco...Developing High Performance and Scalable ColdFusion Application Using Terraco...
Developing High Performance and Scalable ColdFusion Application Using Terraco...
 
Developing High Performance and Scalable ColdFusion Applications Using Terrac...
Developing High Performance and Scalable ColdFusion Applications Using Terrac...Developing High Performance and Scalable ColdFusion Applications Using Terrac...
Developing High Performance and Scalable ColdFusion Applications Using Terrac...
 
iLAB OVERVIEWScenario and SummarySuccessful database recovery re.docx
iLAB OVERVIEWScenario and SummarySuccessful database recovery re.docxiLAB OVERVIEWScenario and SummarySuccessful database recovery re.docx
iLAB OVERVIEWScenario and SummarySuccessful database recovery re.docx
 
Synergy Database Cleaning
Synergy Database CleaningSynergy Database Cleaning
Synergy Database Cleaning
 
patchVantage Cloud Starter Pack
patchVantage Cloud Starter Pack patchVantage Cloud Starter Pack
patchVantage Cloud Starter Pack
 
instaling
instalinginstaling
instaling
 
instaling
instalinginstaling
instaling
 
instaling
instalinginstaling
instaling
 
instaling
instalinginstaling
instaling
 
Active mq Installation and Master Slave setup
Active mq Installation and Master Slave setupActive mq Installation and Master Slave setup
Active mq Installation and Master Slave setup
 
P3.docx
P3.docxP3.docx
P3.docx
 
Memory profiler and garbage collector in C#
Memory profiler and garbage collector in C#Memory profiler and garbage collector in C#
Memory profiler and garbage collector in C#
 
Jackrabbit setup configuration
Jackrabbit setup configurationJackrabbit setup configuration
Jackrabbit setup configuration
 
Caching/Expiring in Rails
Caching/Expiring in RailsCaching/Expiring in Rails
Caching/Expiring in Rails
 
BestInFlowCompetitionTutorials03May2023
BestInFlowCompetitionTutorials03May2023BestInFlowCompetitionTutorials03May2023
BestInFlowCompetitionTutorials03May2023
 
01 oracle architecture
01 oracle architecture01 oracle architecture
01 oracle architecture
 

More from Ravi Kumar Lanke

Creating and configuring vnc sessions
Creating and configuring vnc sessionsCreating and configuring vnc sessions
Creating and configuring vnc sessionsRavi Kumar Lanke
 
Copying files between linux machines using scp and ssh without linux user pas...
Copying files between linux machines using scp and ssh without linux user pas...Copying files between linux machines using scp and ssh without linux user pas...
Copying files between linux machines using scp and ssh without linux user pas...Ravi Kumar Lanke
 
Exporting schema to dmp file and importing it into other oracle database
Exporting schema to dmp file and importing it into other oracle databaseExporting schema to dmp file and importing it into other oracle database
Exporting schema to dmp file and importing it into other oracle databaseRavi Kumar Lanke
 
Installing Endeca Server, Studio, Integrator ETL , Commerce and Platform Serv...
Installing Endeca Server, Studio, Integrator ETL , Commerce and Platform Serv...Installing Endeca Server, Studio, Integrator ETL , Commerce and Platform Serv...
Installing Endeca Server, Studio, Integrator ETL , Commerce and Platform Serv...Ravi Kumar Lanke
 
Installing solaris on virtual box and installing weblogic server
Installing solaris on virtual box and installing weblogic server Installing solaris on virtual box and installing weblogic server
Installing solaris on virtual box and installing weblogic server Ravi Kumar Lanke
 
Enabling remote desktop connection on windows 7 64 bit
Enabling remote desktop connection on windows 7 64 bitEnabling remote desktop connection on windows 7 64 bit
Enabling remote desktop connection on windows 7 64 bitRavi Kumar Lanke
 
Connecting to the remote database through sql developer without database clie...
Connecting to the remote database through sql developer without database clie...Connecting to the remote database through sql developer without database clie...
Connecting to the remote database through sql developer without database clie...Ravi Kumar Lanke
 
How to find ip and mac address
How to find ip and mac addressHow to find ip and mac address
How to find ip and mac addressRavi Kumar Lanke
 
Step by step deployment of sampleappv406
Step by step deployment of  sampleappv406Step by step deployment of  sampleappv406
Step by step deployment of sampleappv406Ravi Kumar Lanke
 
Installing and configuring informatica 910 and dac 11 g on windows 64 bit
Installing and configuring informatica 910 and dac 11 g on windows 64 bitInstalling and configuring informatica 910 and dac 11 g on windows 64 bit
Installing and configuring informatica 910 and dac 11 g on windows 64 bitRavi Kumar Lanke
 
Installing bi applications 7.9.6.4 on obiee 11.1.1.7.0
Installing bi applications 7.9.6.4 on obiee 11.1.1.7.0Installing bi applications 7.9.6.4 on obiee 11.1.1.7.0
Installing bi applications 7.9.6.4 on obiee 11.1.1.7.0Ravi Kumar Lanke
 
Installing my sql on windows
Installing my sql on windowsInstalling my sql on windows
Installing my sql on windowsRavi Kumar Lanke
 
How to prevent access to command prompt and registry editing tools and window...
How to prevent access to command prompt and registry editing tools and window...How to prevent access to command prompt and registry editing tools and window...
How to prevent access to command prompt and registry editing tools and window...Ravi Kumar Lanke
 
How to disable and enable task manager
How to disable and enable task managerHow to disable and enable task manager
How to disable and enable task managerRavi Kumar Lanke
 
Deploying an application into oracle endeca tools and frame works
Deploying an application into oracle endeca tools and frame worksDeploying an application into oracle endeca tools and frame works
Deploying an application into oracle endeca tools and frame worksRavi Kumar Lanke
 
Installing oracle endeca commerce
Installing oracle endeca commerceInstalling oracle endeca commerce
Installing oracle endeca commerceRavi Kumar Lanke
 
How to deploy rpd and catalog without enterprise manger
How to deploy rpd and catalog without enterprise mangerHow to deploy rpd and catalog without enterprise manger
How to deploy rpd and catalog without enterprise mangerRavi Kumar Lanke
 
How to change the obiee 11g browser title
How to change the obiee 11g browser titleHow to change the obiee 11g browser title
How to change the obiee 11g browser titleRavi Kumar Lanke
 
Creating new service name for oracle database
Creating new service name for oracle databaseCreating new service name for oracle database
Creating new service name for oracle databaseRavi Kumar Lanke
 
Installing oracle database 11.2.0.3 on windows
Installing oracle database 11.2.0.3 on windowsInstalling oracle database 11.2.0.3 on windows
Installing oracle database 11.2.0.3 on windowsRavi Kumar Lanke
 

More from Ravi Kumar Lanke (20)

Creating and configuring vnc sessions
Creating and configuring vnc sessionsCreating and configuring vnc sessions
Creating and configuring vnc sessions
 
Copying files between linux machines using scp and ssh without linux user pas...
Copying files between linux machines using scp and ssh without linux user pas...Copying files between linux machines using scp and ssh without linux user pas...
Copying files between linux machines using scp and ssh without linux user pas...
 
Exporting schema to dmp file and importing it into other oracle database
Exporting schema to dmp file and importing it into other oracle databaseExporting schema to dmp file and importing it into other oracle database
Exporting schema to dmp file and importing it into other oracle database
 
Installing Endeca Server, Studio, Integrator ETL , Commerce and Platform Serv...
Installing Endeca Server, Studio, Integrator ETL , Commerce and Platform Serv...Installing Endeca Server, Studio, Integrator ETL , Commerce and Platform Serv...
Installing Endeca Server, Studio, Integrator ETL , Commerce and Platform Serv...
 
Installing solaris on virtual box and installing weblogic server
Installing solaris on virtual box and installing weblogic server Installing solaris on virtual box and installing weblogic server
Installing solaris on virtual box and installing weblogic server
 
Enabling remote desktop connection on windows 7 64 bit
Enabling remote desktop connection on windows 7 64 bitEnabling remote desktop connection on windows 7 64 bit
Enabling remote desktop connection on windows 7 64 bit
 
Connecting to the remote database through sql developer without database clie...
Connecting to the remote database through sql developer without database clie...Connecting to the remote database through sql developer without database clie...
Connecting to the remote database through sql developer without database clie...
 
How to find ip and mac address
How to find ip and mac addressHow to find ip and mac address
How to find ip and mac address
 
Step by step deployment of sampleappv406
Step by step deployment of  sampleappv406Step by step deployment of  sampleappv406
Step by step deployment of sampleappv406
 
Installing and configuring informatica 910 and dac 11 g on windows 64 bit
Installing and configuring informatica 910 and dac 11 g on windows 64 bitInstalling and configuring informatica 910 and dac 11 g on windows 64 bit
Installing and configuring informatica 910 and dac 11 g on windows 64 bit
 
Installing bi applications 7.9.6.4 on obiee 11.1.1.7.0
Installing bi applications 7.9.6.4 on obiee 11.1.1.7.0Installing bi applications 7.9.6.4 on obiee 11.1.1.7.0
Installing bi applications 7.9.6.4 on obiee 11.1.1.7.0
 
Installing my sql on windows
Installing my sql on windowsInstalling my sql on windows
Installing my sql on windows
 
How to prevent access to command prompt and registry editing tools and window...
How to prevent access to command prompt and registry editing tools and window...How to prevent access to command prompt and registry editing tools and window...
How to prevent access to command prompt and registry editing tools and window...
 
How to disable and enable task manager
How to disable and enable task managerHow to disable and enable task manager
How to disable and enable task manager
 
Deploying an application into oracle endeca tools and frame works
Deploying an application into oracle endeca tools and frame worksDeploying an application into oracle endeca tools and frame works
Deploying an application into oracle endeca tools and frame works
 
Installing oracle endeca commerce
Installing oracle endeca commerceInstalling oracle endeca commerce
Installing oracle endeca commerce
 
How to deploy rpd and catalog without enterprise manger
How to deploy rpd and catalog without enterprise mangerHow to deploy rpd and catalog without enterprise manger
How to deploy rpd and catalog without enterprise manger
 
How to change the obiee 11g browser title
How to change the obiee 11g browser titleHow to change the obiee 11g browser title
How to change the obiee 11g browser title
 
Creating new service name for oracle database
Creating new service name for oracle databaseCreating new service name for oracle database
Creating new service name for oracle database
 
Installing oracle database 11.2.0.3 on windows
Installing oracle database 11.2.0.3 on windowsInstalling oracle database 11.2.0.3 on windows
Installing oracle database 11.2.0.3 on windows
 

Recently uploaded

Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 

Recently uploaded (20)

Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 

Cache management obiee 10g

  • 1. Cache Management & Purging Cache in OBIEE 10g PREPARED BY RAVI KUMAR LANKE Page 1
  • 2. Cache Management is a major advantage of OBIEE. Whenever a saved request or any dashboard is accessed by one user it can be saved as a file to cache. So if any other user accessing the same saved request, instead of waiting for the information to be fetched from the database it can be reproduced from the cache for a performance improvement. Purging the Cache through the Presentation Service : Select Settings, Administration; the Administration Window will open from that Select to Issue SQL; this window will allow you to issue SQL Directly In the command window enter the text below and click to Issue SQL Call SAPurgeAllCache() Now Check the Cache Manager in Administration tool and the cache entries will be cleared there. Purging the cache By Manual : Open Administration Tool - > Go to Manage -> Click Cache. The Cache Manager Window will open. In the right side of you can view how many is cached and its related logical query. The logical query will be cached for only the accessed reports in the dashboards. From the right side pan right click on the cached query and click on „Select All‟ now the entire query will be selected. Now if you are selecting a mouse right click you will get an option „Purge‟. Once you clicked the „purge‟ the entire cached query will be deleted. PREPARED BY RAVI KUMAR LANKE Page 2
  • 3. Note: 1. We can delete only a particular line of cached query in cache manager by selecting only the query you want purge 2. We can clear the cache for only the selected BMM layer by selecting the particular BMM Model in left side pan of the Cache Manager. PREPARED BY RAVI KUMAR LANKE Page 3
  • 4. Purging the cache By Scheduling : I‟m here writing how to purge the cache by scheduler using scheduled task in windows environment. Before going the schedule the task we have to know what is the command we are using to purge the cache. We can purge the entire cache in one shot or purge the cache by query or purge the cache by table or purge the cache by database. We are going to learn how to use the entire cache functions one by one: SAPurgeCacheByQuery() : We can issue a command to purge a specific query from the cache; the command takes a single parameter, which should be equal to the exact query registered in the cache. An example is given. Call SAPurgeCacheByQuery(„SELECT EMPD, EMPNAME from HR_EMP_D WHERE SALARY > 100000‟ ); SAPurgeCacheByTable() : We can select to purge the cache for all queries using a specific table; we must specify the database, physical catalog, schema and table as parameters. Call SAPurgeCacheByTable( „DBName‟, „PhyCatName‟, „SchemaName‟, „TableName‟ ); SAPurgeCacheByDatabase() : we can purge the cache for all queries to a specific database. Call SAPurgeCacheByTable( „DatabaseName‟ ); SAPurgeAllCache() This is the function will clear the entire cached query in one shot. Call SAPurgeAllCache(); PREPARED BY RAVI KUMAR LANKE Page 4
  • 5. We can also use multiple commands together in the purge.sql file, as in the example below. Call SAPurgeCacheByTable( „DBNameA‟ ); Call SAPurgeCacheByTable( „DBNameB‟ ); Now we will learn how to use these functions in a scheduled task. Create the “Purge.sql” file with any of the above explained functions and create “purgecache.log” and save it in a folder. Now open the notepad and type the below command and save the file like “PurgeCache.bat”. -----------------------------------------------------------------------------------------------------C:OracleBIserverBinnqcmd.exe -d AnalyticsWeb -u Administrator -p Password -s "C:OracleBIPurgePurgeAllCache.sql" -o "C:OracleBIPurgePurgeAllCache.log" -------------------------------------------------------------------------------------------------------d Data source Name -u User name -p Password -s Source file -o output file PREPARED BY RAVI KUMAR LANKE Page 5
  • 6. Now go to scheduled task from below path: All Programs -> Accessories -> System Tools -> Scheduled Task -> Click on Add Scheduled Task > Scheduled task wizard window will open. Click on „Browse‟ button to select “purgecache.bat” batch file. Once you selected the file it will ask to run the task daily, weekly, monthly and some other options. You select the option by your business Requirement. By giving all the required details in next, next step the task will be scheduled. Once the task has been scheduled you can check the log file. The entry will be updated in log file and the cache will be cleared in the cache manager. PREPARED BY RAVI KUMAR LANKE Page 6
  • 7. PREPARED BY RAVI KUMAR LANKE Page 7