Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
3
.PhixFlow displays the type of this task, which can be:
- Analysis Task
- Archive Task
- Rollback Task
- System Task
Streams
This section is only available for analysis tasks and archive tasks. The grid shows the list of streams assigned to the task.
Streams you can streams the stream pop-up the repository, clickTypes of Task
Use an analysis task to run analysis on the stream(s) in the task.
Use a rollback task to effectively undo run analysis on a stream. When you run a rollback task it rolls back all data in each of the listed streams, deleting the stream-sets. The list of stream sets is empty and there are no data records in the stream (tbc). For information about how to rollback streams manually, see Rollback.
Use an archive task to delete or archive stream data or stream sets that you no longer need in PhixFlow. Archive data is saved into a zip file - to get at this? You can (in theory) reinstate archive data.
Whether or not PhixFlow deletes or archives stream sets depends on how the archive settings in the stream are configured.
Note |
---|
Phixflow can only run an archive task on streams that have Archive Settings specified. If a stream does not have any archive settings, PhixFlow never deletes or archives the data. Stream sets will accumulate, leading to space and performance issues. |
Running an archive task on a large number of streams, or on a stream with a large data set can take some time. We recommend scheduling archiving tasks for times when the system is quiet, for example overnight.
Archiving Specific Streams
You can create an archiving task for a specific stream or streams. PhixFlow creates a single zip file containing the specified streams. For example, you might want to create a single archive for:
- data from several related streams
- a stream that contains a large amount of data
- a stream that you want to be able to restore from the backup. This is easier when the data is in its own zip.
Archiving Any Stream
You can create a single archive task to delete or archive the data in streams:
- that are not in another archive task
- and have archiving settings configured.
To do this, select the Archive All option
When you run the task, PhixFlow:
- deletes stream sets that are older than the specified archive settings in the stream
- creates a zip archive of all the stream sets within the specified archive settings in the stream.
This is a single archive containing all the data from all the streams processed.
Archive tasks must have:
- either at least one stream added
- or have the Archive All option ticked.
If streams are deleted from the repository, their names will automatically be removed from tasks that refer to them. This means a saved task can become empty/redundant. PhixFlow will no longer run the task - log mesages??
Finding the Archive file
When a stream is archived, PhixFlow logs information in the system console → Archive Log. This includes information about the data archived and any archive file created. This is a single archive containing all the data from the streams processed.. Optionally, the archived data can be saved to a file. If this is done, the data can reloaded into PhixFlow using Restore Archive.
Warning |
---|
This should be a warning in the Streams page. Streams that do not have any Archive Settings will never have their data deleted or archived. This can cause large amounts of data to build up in PhixFlow, affecting performance. Remember to set your archive settings!!! For data in a stream to be deleted or archived, the stream must have Archive Settings applied. If a stream does not have any archive settings, the data will accumulate, leading to performance issues. |
Use a system task to perform system-wide housekeeping activities. These include deleting:
- managed file entries
- email entries
- temporary files created by file exporters to send by email
- data from incomplete stream sets
- log messages and optionally archiving them.
Note |
---|
The system task should be run daily, or at a minimum every week. If incomplete stream sets are not deleted, they can slow down PhixFlow's performance. Depending on your PhixFlow database, queries that have to exempt many incomplete stream sets can reach system limits. This can prevent PhixFlow and its applications from running. |
The archiving periods, and whether to archive log messages before they are deleted, are controlled by the following parameters in System Configuration: