Deleting data by rule
Use an SQL query to identify the data to be deleted, then create and store the deletion rule to identify the corresponding data records for deletion. You can define the rule to specify deletion on an automated schedule or a manual basis.
Before you begin
If you want to apply deletion by rule to a remote Information Store hosted on a Db2, you must catalog the remote database by using the local IBM Db2 client. For more information, see the first note in Configuring remote IBM Db2 database storage.
About this task
By default, deletion-by-rule privileges are
granted to the Information Store database
administration user. If necessary, the privileges
can be granted to other users by giving them the
Deletion_By_Rule
role. For more
information, see Authorization to delete by rule. The
privileges give you access to all the
deletion-by-rule views and procedures, as
summarized in the following outline of the main
tasks.
Deletion_By_Rule
role only to
users with sufficient knowledge and authority. Use
caution when you complete deletion-by-rule tasks
as they constitute a powerful mechanism for
deletion of data that might be difficult to
recover. Ensure that there is a reliable backup in
place before you delete by rule.