Creating and scheduling query service administration tasks
Administrators can create and schedule query service tasks for data sources. Query service tasks control one or more cubes by clearing, writing, or refreshing its cache. For dynamic cubes, you can also schedule when cubes start, stop, or restart, and refresh security.
- schedule cache clearing and clear the cache to control memory usage by a specific data source or cube
- schedule the generation of a time-stamped report (write cache state)
You can also clear the entire cache manually and write the cache state to a report manually.
For more information, see Clear everything in the cache and Analyzing cache usage.
You can create query service administration tasks and run them on demand. You can run them at a scheduled time or based on a trigger, such as a database refresh or an email Trigger-based Entry Scheduling. You can schedule them as part of a job Creating a job to schedule multiple entries. You can also view the run history of query service administration tasks Viewing the run history of entries.
Before you begin
- Source cubes that are a part of a virtual cube must be scheduled to start first.
- If source cubes are part of a virtual cube, then the virtual cube must be scheduled to stop before the source cubes.
- You need to provide enough time for source cubes to start before scheduling a virtual cube to start. The same consideration must be made when you schedule virtual and source cubes to stop.
Procedure
What to do next
You must remember to delete a scheduled task if you delete the associated cube from the query service. Otherwise, your scheduled tasks will point to nonexistent cubes.