Use Agents to Seed the Query Cache
You can configure agents to seed the Oracle Analytics Cloud query cache.
Seeding the cache can improve response times for users when they run analyses or view analyses that are embedded on their dashboards. You can accomplish this by scheduling agents to run requests that refresh this data.
- In Oracle Analytics Cloud, open the Classic Home page, and select Agent (Create section).
- On the General tab, select Recipient for the Run As option. Personalized cache seeding uses the data visibility of each recipient to customize agent delivery content for each recipient.
- On the Schedule tab, specify when you want the cache to be seeded.
- Optional: Select Condition and create or select a conditional request. For example, you might have a business model that determines when the ETL process is complete. You could use a report based on this business model to be the conditional trigger for the cache seed to begin.
- On the Delivery Content tab, select an individual request or an entire dashboard page for which you want to seed the cache. Selecting a dashboard page can save time.
- On the Recipients tab, select individual users or groups to be the recipients.
- On the Destinations tab, clear all user destinations and select Oracle Analytics Server Cache.
- Save the agent by selecting the Save button in the upper-right corner.
The only difference between cache seeding agents and other agents is that they clear the previous cache automatically and don't appear on the dashboard as alerts.
Note:
Cache seeding agents only purge exact match queries, so stale data might still exist. Ensure that the caching strategy always include cache purging, because agent queries don't address ad-hoc queries or drills.