Summary
The current implementation is simply the earlier implementation of the database masking options in the new driver support plugin framework. No optimizations have been implemented yet; stay tuned for optimizations in a future release.
Tasks
For in-place jobs:
-
Disable Constraints disables and re-enables constraints on all columns of the table(s) included in the job ruleset.
-
Drop Indexes drops and re-creates indexes on only masked columns.
-
Disable Triggers disables and re-enables triggers on all tables included in the job ruleset.
For on-the-fly jobs, the tasks will execute on all columns in all tables included in the ruleset.
Task execution order
The order of task execution for built-in driver support plugins is fixed/unmodifiable.
The order of the MSSQL Driver Support tasks is as follows:
preJob:
-
Disable Constraints
-
Drop Indexes
-
Disable Triggers
postJob:
-
Disable Triggers
-
Drop Indexes
-
Disable Constraints
Enabling tasks on a job
For instructions on how to enable driver support tasks on jobs, see API calls for managing masking job driver support tasks.
Limitations
-
Primary Key constraints are not disabled.
-
Unique Constraints/Indexes are not disabled.
-
Clustered Column store Indexes are not dropped.
-
Functional Indexes are not dropped.
-
As before, constraints are dropped on all columns of the table(s) included in the job ruleset.
-
Referential integrity is not enforced, i.e., in the current implementation, there is no validation that a primary key or unique constraint column being referenced by a foreign key column are masked with the same deterministic algorithm.
-
Disable Triggers is dropping the triggers on all tables in the ruleset irrespective of whether table is masked or not.