When reviewing a masking audit file in CA Test Data Manager (TDM), the TOTAL_ROWS_TO_MASK value appears higher than the actual number of rows in the source database table. Why is this occurring?
The TOTAL_ROWS_TO_MASK value is not a direct representation of the table's total row count. Instead, it represents the calculated number of records that the masking job is targeted to process based on your specific masking job configuration.
Several factors contribute to this value:
WHERE conditions), the TOTAL_ROWS_TO_MASK reflects the number of records meeting those criteria.TOTAL_ROWS_TO_MASK value is derived from the sum of the result sets of these queries. Consequently, this sum could be higher than the actual row count of the table.TOTAL_ROWS_TO_MASK is to provide a metric for tracking masking progress by comparing processed rows against total rows to mask.Verification Steps: If you need to verify the audit report data, follow these steps to isolate the specific queries:
DIAGLEVEL parameter to 2 or above for your masking job.2026-08-25 18:31:35.217 [pool-4-thread-1] INFO - SQL select statement =SELECT "FirstName","ID" FROM "dbo"."Person" WHERE id > 10000 order by "ID"
2026-08-25 18:31:35.219 [pool-4-thread-1] INFO - canCommit = true
2026-08-25 18:31:35.219 [pool-4-thread-1] INFO - Fetchsize = 500000
2026-08-25 18:31:35.219 [pool-4-thread-1] INFO - Autocommit = false
2026-08-25 18:31:35.224 [pool-4-thread-1] INFO - Person executed select query
2026-08-25 18:31:35.224 [pool-4-thread-1] INFO - preparedUpdateStatement = update "dbo"."Person" SET "FirstName" = ? WHERE "ID" = ?
2026-08-25 18:31:51.888 [pool-4-thread-1] INFO - Person processed 500000 rows
2026-08-25 18:32:08.572 [pool-4-thread-1] INFO - Person processed 1000000 rows
...SELECT COUNT(*) and run them directly against your database.SELECT count(*) FROM "dbo"."Person" WHERE id > 10000 TOTAL_ROWS_TO_MASK value recorded in your audit report.