Note: There is an updated version of this article, which applies to the next generation of TimeXtender.
Tasks
In the ODX, everything that needs to be able to be scheduled is organized in tasks on a data source. There are three types of tasks:
- Transfer: This tasks moves data from the data source to the data storage.
- Synchronization: This task synchronizes the structure of the source with the meta data stored in the ODX repository. A synchronization tasks is added automatically when you add a new data source.
- Storage management: This tasks performs clean-up and management tasks on the data storage. Execute a storage management task to delete old versions of data and move old versions of data to "cool" storage (applies Azure Data Lake Storage only).
Adding a Task to a Data Source
To add a task to a data source
- Right click the data source, click Add Transfer Task or Add Synchronize Task or Add Storage Management Tasks and follow the instructions in the wizard.
Editing a Task
To change settings for a task, follow the steps below.
- Right click the task and click Edit Storage Management Task or Edit Synchronize Task or Edit Storage Management Tasks.
- In the Name and Description boxes, you can update the name and description of the task.
- The other settings available depend on the task type.
- Transfer
- Select Use incremental load when available to load data incrementally into the data storage when the task is executed. If no incremental load rules have been added to the tables copied by the tasks, this setting has no effect.
Note: This setting is not available in the Add transfer task wizard.
- Select Use incremental load when available to load data incrementally into the data storage when the task is executed. If no incremental load rules have been added to the tables copied by the tasks, this setting has no effect.
- Storage management
- Select Delete old versions to free up storage and enter the number of versions to keep in storage in the Versions to keep box to delete all but the specified amount of versions from storage when you execute the task.
- Select Move old versions to cool storage to save costs and enter the number of versions to keep in hot storage in the Versions to keep in hot storage box to move all but the specified amount of versions to cool storage when you execute the task.
Note: This setting applies to Azure Data Lake Storage only.
- Transfer
Executing a Task
Executing a task will transfer data from data source to data storage, respecting table selection on the data source and the task itself.
To execute a task
- Right click the task and click Execute. The status of the execution will displayed in parenthesis after the task name in the tree.
Scheduling a Task
You can schedule at task to have it execute at predefined times and intervals.
To schedule a n execution of a task, follow the steps below.
- Right click the task and click Manage Task Schedule. The Manage Task Schedule window appears.
- Click Add to add a new item to the schedule.
- In the Start time box, enter the time where the execution should begin.
- Click Run once on this day and enter a date if you want to schedule the task to run just once on a specific day.
- Click Recurring to schedule the task to run a regular intervals. The options are Monday-Friday and the first and last day of a month.
- Under repeat, click Start task again and enter a minute count and end time if you want the task to run repeatedly after first starting.
Selecting Tables
For transfer and storage management tasks, you can select which tables the task should process.
To select tables to process
- Right click the task a click Select tables...
See Adding a Table Selection Rule for more information.
1 Comments