Why Does It Take Days to Get Test Data? How to Shorten the Request and Approval Process
· DataMint · 6 min read
On Monday a developer asks over chat. "Could you fill the dev database with the latest data from the loan tables?" The data arrives on Thursday afternoon. The actual work in between took a little over an hour. All the rest was waiting.
It is slow not because people are lazy, and not because there are too many controls. It is because the process stops every time it passes from one person to another. Most of the waiting can be removed without removing the approval step.
Where the time goes
| Step | What happens | Actual work | Waiting |
|---|---|---|---|
| 1. Request | Developer asks by chat or email | 5 min | Half a day until the DBA sees it |
| 2. Clarify | DBA asks back which tables and which database | 10 min | Half a day until the answer comes |
| 3. Approval request | DBA emails the security team for export approval | 10 min | One day |
| 4. Extract | Dump, transfer to the development server | 20 min | Wait for the nightly work window |
| 5. Personal data handling | Run the script, check the result | 20 min | Next day if it fails |
| 6. Notify | Tell the developer it is done | 5 min |
The work adds up to one hour and ten minutes. The elapsed time is three days. What needs to be cut is not the work but the number of handoffs.
What happens when it takes long is also predictable.
- Developers use data for a long time once they have it. They test with data from three months ago.
- When in a hurry, they skip the process. They ask someone with production query access and get the data in Excel.
- They request more than they need, "so as not to wait again next time."
A slow control is not a control. It becomes a device that creates workarounds.
A process design that cuts the waiting
Take requests in a fixed form
The back-and-forth in step 2 happens because requests are free-form. If the request states from the start which tables of which production database, to which test database, for what purpose, and until when the data will be used, there is nothing to ask back. Better still is for the request to be the run definition. The DBA does not rewrite a script from the request form. The request runs exactly as written.
Approval per request, rules in advance
If the approver has to check "how is this column masked" every time, approval slows down. Which columns are changed and how is decided once, when the job is created, and for each request the approver looks only at who, why, and to which database. With less to review, approval takes a few minutes.
Once approved, it runs without passing through a person
In a setup where the DBA reads the approval email and then starts the work, the wait in step 4 remains. Approval has to be the trigger for the run. When the approver presses the button, it runs right away or in the set time window.
Run repeated requests on a schedule
A request to fill the same tables into the same database every week is not a request but a schedule. Register it once. This is covered separately in automating the development database refresh.
Convert while moving
When steps 4 and 5 are separate, there is a period in which production data sits on the development server as is, and if step 5 fails it stays that way until the next day. If values are converted while being read and then loaded, the two steps become one, and even on failure no original data remains on the development server.
The requester sees the result directly
If the person who asked can see for themselves whether it finished, how many rows went in, and whether anything is missing, the notification in step 6 and the question "is it done yet?" both go away.
Faster does not mean weaker control
Propose shortening the process and the security team worries. But what the design above removes is handoffs, not controls. The controls become clearer.
| Control | Manual process | Designed process |
|---|---|---|
| Does nothing run without approval? | Depends on the DBA's conscience | It cannot run at all before approval |
| Is what ran the same as what was approved? | No way to check | The same, because the request is the run definition |
| Is the reason for the request kept? | Scattered across chat conversations | Kept with the run record |
| Was the personal data handled? | Trust that the script was run | Nothing gets through without going through conversion |
| Can you see in one place who took what? | Dig through mailboxes | One screen of run history |
Requests and approval in DataMint Core
DataMint Core is the design above built as a product. A developer creates a job and requests a run directly, and it runs once approved. There is no need to ask a DBA for a dump and wait.

- A job holds the source database, target database, tables, and the transformation rule for each column. The product suggests rules first, from column names and comments.
- Jobs that use production data must go through approval before they run. The reason for the request and the approver's comment are kept together in the run record.
- The requester sees progress directly during the run and, after it ends, the row counts per table and the reasons for any rows that could not be loaded.
- Permissions are split by user, by which databases each user can use.
- Repeated work is registered as a schedule.

Closing
When you review your test data process, do not count "how many approval steps are there." Count "how many times does it pass from one person to another." It stops for half a day at each handoff. When the request is the run definition as it stands and approval is the trigger for the run as it stands, three days shrink to one hour, without dropping a single control.
If you are in the financial sector, also see handling personal data in development and test environments in the financial sector.
- #test data request
- #test data approval
- #development database request
- #production data export process
- #DBA
- #test data provisioning