12-Point Checklist for Choosing a Test Data Management (TDM) Tool

· DataMint · 9 min read

Once you start looking at test data management (TDM) tools, every brochure uses the same words. Masking, de-identification, subsetting, synthetic data, automation. Build a feature comparison table and every cell is checked, so it gives you no basis for choosing. What causes trouble after adoption is not whether a feature exists but whether that feature actually works on our DB and in our process.

So when choosing a data masking or de-identification tool, it is better to bring a list of questions than a list of features. This post organizes twelve such questions into four groups. Does it produce data that tests can run on? Does it work on our DB and at our scale? Can we explain it in an audit? Does it fit our environment? If any one is missing, you buy the tool and end up back with dumps and scripts.

Each question comes with a way to check it in a PoC. The groups are checked in different ways. The later part shows how our product, DataMint Core, answers the same questions, including what it cannot do.

Two things to decide before comparing data masking tools

Before asking the questions, there are things to answer inside your own company first: who uses it and where the data is changed.

The screens you need to look at depend on whether it is a tool that DBAs run on request for others, or one where developers apply directly and the security officer approves. In the first case the editor that replaces scripts matters. In the second, permissions and approval matter.

Where the data is changed matters more. Some tools change it inside the production network and send only the changed values to the test network. Others move the originals to the test network first and mask them in place. With the second approach the originals sit in the test network, even if only briefly. It is the first question a security officer will ask, so get a diagram of the path the data travels.

Is it data that tests can run on: format preservation, joins, unstructured text, documents

1. Do the changed values pass on-screen validation and message specifications?

Replacing the back part of a resident registration number (RRN, Korea's national ID number) with asterisks removes the personal data, but the format check on the sign-up screen stops it. A card number needs a correct check digit before an authorization message goes out. In a PoC, entering a few transformed values into real business screens reveals this right away. More detail is in is it OK to put resident registration numbers in a test DB.

2. Does the same customer get the same value in every table?

If the customer table and the transaction table are changed separately, the same customer becomes two people. The join returns zero rows and integration testing stops. Values must also match across different DBs for interface testing between the core banking system and the information system to work. Compare the row counts of the same join query before and after transformation. See also why masking breaks joins.

3. Does it also change personal data inside consultation memos and remarks?

It is common for the RRN column to be changed while a consultation memo still contains "identity verified 900101-1234568" (a made-up sample). Personal data inside long text is changed by finding it first, so it can never be complete. The good question is not "do you find everything?" but "what are the cases you miss, and how do you let us check for them?"

4. How does it handle attached documents?

Word, Excel and Hangul (Korean word processor) documents stored in BLOB columns also carry personal data. Ask which formats it can read, and whether formats it cannot read (images, PDFs and so on) are passed through as is or emptied. If they are passed through, that column becomes a channel for originals to enter the test DB.

Does it work on our DB and at our scale: cross-database, performance, impact on production

5. Can it move data between different DBs?

In core system replacement projects, it is common for production to be Oracle and the new system PostgreSQL. More important than the statement "we support cross-database migration" is how empty strings, dates and character lengths come across. The points to check are collected in things to watch when moving data to a different DB.

6. Under what conditions were the performance figures measured?

A figure like "100 million rows in so many minutes" means nothing without its conditions. Ask about the hardware, whether source and target were on the same server, and how many transformation rules were applied. Then move your own largest table on your own hardware. Also check whether an interrupted run starts over from the beginning or from where it stopped.

7. What load does it put on the production DB?

Producing test data requires reading the production DB. Check how many read sessions it opens, whether it ever creates temporary tables in or writes to the production DB, and whether it can run outside nightly batch hours. The most common reason DBAs oppose adoption is a vague answer to this question.

Can we explain it in an audit: approval, change records, disposal

8. Is approval obtained before a run, and is what was approved the same as what was run?

If approval is given by email and the run is done by script, there is no way to prove the two are the same thing. Ask whether the request itself becomes the run definition and nothing runs before approval, and whether requesters can approve their own requests. Process design is covered in how to shorten the request and approval process.

9. Is there a record of who changed what?

Change one transformation rule to "none" and originals pass through from the next run on. Check that changes to rules, DB connection details and permissions are recorded. Check the reverse too: that original values do not end up mixed into the records. It is a problem if the records become a new store of personal data.

10. When and how is the generated test data deleted?

Control 2.8.4 (Test Data Security) of ISMS-P (Korea's information security and privacy management certification) requires procedures not only for creating test data but also for disposing of it. Check whether the tool can set a retention deadline and delete data past it, and whether a record of the deletion remains. What to show in the audit is covered separately in ISMS-P test data security and preparing evidence.

Does it fit our environment: air-gapped installation, CI/CD integration

11. Does it install and run without the internet?

Production networks in the financial and public sectors usually have no internet access. Ask whether license checks, the fonts and scripts of the UI, and the AI model that finds names and addresses call out to anything external. "It installs" and "every function works without the internet" are different answers.

12. Can the deployment pipeline call it?

If the test DB is rebuilt every week, the pipeline should call the tool instead of a person pressing a button. Check that approval and records are the same as when running from the screen, and that the result is returned as an exit code. Otherwise, if the pipeline's dedicated account is compromised, it becomes a back door that skips approval.

Run the TDM tool PoC in this order

The answers you get in a vendor meeting only become yours once checked in a PoC. The key is to use your own schema, not the sample schema the vendor prepared. A PoC is the place to see what happens when things are broken, more than what happens when they work.

  • Our schema as is. Be sure to include ledger-style tables with no declared foreign keys, memo columns, and the largest table.
  • Results on business screens. Check that a transformed RRN passes the format check, that join counts are the same, and that a number inside a memo matches the column.
  • Break it on purpose. Shut the server down during a run, add a column to a production table, and insert a value in the wrong format.
  • Print the evidence. After one run, export the approval, result and disposal records in the form you would submit to an audit.

Under the third item, one test is especially worth doing. What happens when a new column appears in production after the job was created? Quite a few tools pass a new column with no rule to the test DB as the original. It is not among the twelve, but it is a hole that leaks in practice.

How DataMint Core answers the twelve questions

DataMint Core is installed on the customer's internal network. It turns the data in production databases into test data with no personal data and moves it to development and test DBs. Our answers to the questions above are in one table.

When this happens, this feature, and what changes
WhenDataMint Core featureWhat changes
1. It stops at on-screen validationFormat-preserving transformation. RRNs keep the date of birth and sex, card numbers keep the issuer digits, and check digits are recalculatedTransformed values pass format checks and message specifications
2. Joins return zero rowsWith a per-customer secret key, the same original becomes the same value across tables, runs and DBsInterface tests work as they are. The customer keeps the transformation key
3. Numbers remain in memosChanges only the personal data inside long text, using rules and an AI model that runs inside the serverAn RRN inside a memo becomes the same value as in the RRN column
4. There are attached documentsChanges only the text inside plain text, Word, Excel, PowerPoint, HWPX (Hangul word processor documents) and gzipFormats it cannot read are emptied so that originals do not pass through
5. Production and the new system use different DBsMigration between Oracle, MySQL, MariaDB, SQL Server and PostgreSQLMigration and transformation finish in one job
6. A large table is interrupted partwayReruns only the failed tables, and where conditions are met, only the unfinished rangesIt does not move everything again from the start
7. You worry about load on the production DBNo writes to the production DB, a cap on read sessions, blackout windows for schedulesIt runs around backup and settlement batch hours
8. Approval and execution are disconnectedJobs that use production data run only after approval, and requesters cannot approve their own requests by defaultThe request reason and approval comment are attached to the run record
9. You worry about rules being changed quietlyChanges to jobs, transformation rules and DB connection details, run requests and logins go into the audit trailYou can see who changed what and when, per object
10. Test DBs only pile upAutomatic disposal by per-DB retention period, with extensions by request and approvalThe disposal and extension history is kept
11. There is no internetInstalls on closed (air-gapped) networks, AI model included, no CDNEvery transformation runs with no external connection
12. You want to call it from a pipelineAPI tokens and a command-line tool, with the result as an exit codeApproval and records are the same as when running from the screen
Column rule step of the DataMint Core job editor. The RRN, HP_NO, EMAIL and HOME_ADDR columns of the customer table have RRN, phone number, email and sentence (free text) rules attached
The column rule step of job creation. The product first suggests rules based on column names and comments, and the person in charge reviews and corrects them. (The console is shown in Korean. The data on screen is demo data.)

Core also handles the new column problem that we said to test in the PoC. A column that appears in production after the job was created is not passed to the test DB until the person in charge reviews it. When loading finishes, Core compares row counts for each table, reads a sample, and reports any columns suspected of holding personal data that passed through without a rule.

DataMint Core run detail screen showing the requester and request reason, the approver and comment at each approval step, and the rows read, loaded and failed per table
Run detail. Who requested the run and why, who approved it, and how many rows were read and loaded for each table are kept on one screen. (The data on screen is demo data.)

Adopting a TDM tool: frequently asked questions

Are a TDM tool and a data masking tool different things?

Masking is the single function of changing values. Test data management includes what comes before and after: choosing what to bring, getting approval, moving it, checking the result, and deleting it when it is no longer needed. When choosing, look at masking quality and also at whether the steps before and after connect within one tool.

How long should a PoC take?

There is no fixed answer. But allow enough time to run one of your own schemas to the end, and to do the break-it-on-purpose tests and the evidence export. A PoC that ends with installation and sample data cannot answer half of the questions above.

Isn't synthetic data alone enough?

It has the big advantage of not reading production data. In exchange, it has none of the distribution and exception cases of production. Many teams mix the two by stage: synthetic data for new development, training and demos, and transformed production data for integration testing and reproducing incidents. A comparison is in three ways to create test data.

Summary: checklist for selecting a test data management tool

  • Bring a list of questions, not a list of features. Do tests run? Does it work at our scale? Can it be explained in an audit? Does it fit our environment?
  • Decide first where the data is changed (inside the production network or not) and who uses it (DBAs or developers).
  • Run the PoC on your own schema, and look at what happens when things are broken more than when they work.
  • Get performance numbers together with their conditions, and trust the vendor that tells you first what it cannot do.

If you pick one thing to do tomorrow, first check whether any column in your current test DB carries production originals, using how to find personal data columns. Your criteria for choosing a tool come from there.

  • #test data management
  • #TDM tool
  • #data masking tool
  • #de-identification tool
  • #test data generation tool
  • #PoC checklist
  • #personal data in development databases

Reviewing how you handle test data?

Tell us how you do it today and what databases you run, and we will look at the options with you.

More posts