Data Deletion Is a Reachability Problem
Sep 9, 2026 · Data GovernanceSay a customer writes in and asks you to delete their data. Someone runs a DELETE against the customer table, the row stops showing up in queries, and the ticket gets closed. The compliance report counts it as done.
Most of that person's data is probably still there. Nobody in that chain was careless. The tools report on what queries return, but erasure is about what's stored, so a half-finished deletion looks the same in the ticketing system as a finished one.
This post follows that one request through each layer of a typical data platform, step by step. Deleting someone means finding every copy of their data. That's the same walk your impact analysis does, only for one person's rows. Your lineage graph is the best map you have for it, but it stops in two places where the copies keep going: below the table, and beyond it.
Step 1: work out which fields belong to this person
Before you can look for copies, you need the list of fields in scope: the person's identifiers, plus the sensitive attributes tied to them. That list comes from classification.
If some columns with personal data were never tagged, every later step misses the tables they're in. So this step sets the ceiling for everything after it. I wrote about building that layer in my post on data classification.
Step 2: run the delete, then look under the table
Now the delete itself. On a modern table format it removes less than you'd think.
Formats like Delta Lake are built on files that never change, plus a transaction log. A DELETE writes a new table version without the row and leaves the older files in storage. That's what makes time travel and rollback possible. Databricks says so in its own GDPR guidance: “By default, Delta Lake retains table history, including deleted records, for 30 days, and makes it available for time travel and rollbacks.” And about the storage under that: “even if previous versions of the data are removed, the data is still retained in cloud storage.” The step that removes it is VACUUM, which the same page describes as removing files the table no longer references and that are older than a retention threshold, deleting the data permanently.
So for thirty days by default (longer if someone extended retention for a good operational reason), the person is missing from every query but still on disk. Anyone who can read an earlier table version, or the storage bucket, has the record.
The vendors document this, but teams still miss it. Delta is just the easiest example to read about. Most estates have the same gap in places with less documentation:
| Where the row survives | Why it's missed |
|---|---|
| Table history / time travel | It's a feature, on by default, and the retention window was set by whoever tuned it for safe rollbacks. Erasure wasn't part of that decision. |
| Unreferenced storage files | Removing a version drops the file's reference and leaves the file in place. A separate maintenance job deletes it, on its own schedule. |
| Snapshots and backups | Platform or infrastructure teams own these, so data governance never sees them. Their retention was designed to prevent data loss, which is the opposite goal. |
| Replicas and lower environments | Dev and staging are often seeded from a production copy. The deletion runs in prod, the copy stays as it was, and it'll outlive several requests. |
| The restore path | Hardly anyone plans for it. A deletion completes correctly, and six weeks later an unrelated incident restores a backup taken before it. The person's data is back and no process notices. |
You can schedule a cleanup for most of that list. A restore is different because it brings the data back after you've finished, so the checking has to keep going after the ticket closes. That's step 6.
Step 3: follow the lineage, and check every stop
Next, lineage gives you the downstream tables those fields could have reached. In the picture above that's silver.customer and gold.cust_360, plus whatever reads from them. Treat that list as places to check, one at a time.
The reason is granularity. Lineage tracks columns, but deletion has to track one person's rows.
Impact analysis asks if I change this column, what breaks? That's a question about schema, and a column-level lineage graph answers it well. Deletion asks where did this person's values end up? An edge in the graph tells you data could flow along that path. You still have to check whether this person's rows did, and whether the destination kept them after a filter, an aggregation, or a join that dropped them.
| Impact analysis | Deletion traversal | |
|---|---|---|
| Question | What breaks if this column changes? | Where did this person's values go? |
| Granularity | Schema (column and table) | Value (rows belonging to one person) |
| Good enough answer | A superset. Over-warning is cheap. | A superset falls short. You have to confirm each destination, and one miss means the deletion failed. |
| Stops at | The last modeled asset. That's right, because things you didn't model don't break. | The last modeled asset. That's wrong, because copies you didn't model still hold the data. |
| Failure signal | Something breaks loudly, later | Nothing happens at all until someone stumbles on the copy |
The last two rows are my main point. Stopping at the last modeled asset is correct for impact analysis and a failure for deletion, and since a missed copy makes no noise, you can't tell the two apart from inside the tool. I covered the impact-analysis side in my post on lineage.
The governance vendors get the requirement right but keep it short. Collibra's lineage explainer says: “If a consumer requests that their data be deleted under CCPA, the organization must be able to trace that individual's data from the entry point through every downstream system, backup and analytical model to ensure it is completely eradicated.”
That's a trace through every downstream system, backup and analytical model, and two of those three aren't in a lineage graph. The page doesn't say how to run the trace, and it doesn't mention embeddings, vector stores or training data. Most other help I've found is either a VACUUM command or a retention policy template. I haven't seen anyone write about the engineering question in between (what's the traversal, and where does it stop?), and that's the question that decides whether the deletion got done.
Step 4: list the copies that were never columns
This is the second place the graph stops, and it's newer and worse. A lineage graph models transformations between structured assets, where column feeds column and table feeds table. That's the right model for the warehouse. But a retrieval or ML stack makes things that don't come out of a SQL transformation, so they never become edges.
That includes extracted text, document chunks, embeddings in a vector index, a keyword index, a cache of past answers, and conversation logs that quoted the content. Add an export someone scheduled two years ago and a fine-tuning dataset built from a snapshot. Each one is a copy of this person's data, and the tools you built to trace data can't find any of them.
So you write that list by hand and keep it current. I call it the register. Deletions fail here more than anywhere else, because no tool builds it. It's also the cheapest step. An afternoon with the teams that run the retrieval stack, the BI estate and the export jobs gets you most of the way, and it covers exactly the destinations the graph misses.
Embeddings need their own check because they look handled. Most vector stores implement deletion as a metadata flag. The query skips the entry, and the index stays as it was because rebuilding it is expensive. A June 2026 preprint, “Ghost Vectors: Soft-Deleted Embeddings Remain Reconstructible in HNSW Vector Databases”, tested this on ChromaDB, FAISS and Weaviate. The authors found that soft-deleted vectors are still physically in the on-disk index and can be recovered by reading it directly. They describe extraction running “entirely from Python scripts that read the on-disk index files directly, never touching the database query API.”
From a biographical dataset they rebuilt 25.5% of exact person names and 46.4% of geographic locations. From a synthetic medical dataset, 100% of patient age and gender markers. From facial embeddings, 99% top-1 identity recovery. The paper also proposes an epoch key rotation scheme that it reports cuts recovery to 0% at roughly 0.005 ms per record. The standard delete call in these databases leaves the vectors recoverable.
I haven't reproduced any of this. The numbers are the authors', from their datasets and settings, and it's a preprint. What I'd rely on is the paper's point that a soft delete only changes metadata and leaves the data on disk. That's enough reason to stop counting “we deleted it from the vector store” as a finished step.
Fine-tuned weights are harder still. If the person's data was in a training run, deleting the source dataset leaves its effect on the model. Machine unlearning is still a research area, so you can't put it in a runbook. The decision that mattered was made before training, long before anyone asked for a deletion. So build training sets through a governed pipeline gated by classification.
Step 5: make each owner confirm
By now you have a list of places to delete from. Each one needs someone who acts and someone who confirms.
Put deletion in the data contract, which already names the owner and the consumers. Make it a versioned event that each consumer has to acknowledge. Then every hop has an owner who confirms the data is gone, and one central team doesn't have to vouch for systems it doesn't run.
Step 6: prove it's gone, then keep checking
Without a completeness check, the only evidence a deletion happened is a closed ticket.
So after the deletion window, run a check that confirms the data is gone from every destination in the register. Track the time to completion, and alert when a destination doesn't confirm. It's the same kind of check as a data quality SLA. Then keep running it on a schedule, because that's the only way you'll catch the restore path from step 2.
I'd run this walk once, all the way through, for a single request before writing any deletion policy. Pick one person and check every destination, including the vector index, the backups and the lower environments, then write the completeness check. You get the register as a side effect, and the next hundred requests become routine. Write the policy after the trace, because before it you don't know what you're describing.
Working on the governance layer for real?
I run a free community for people building real data and AI pipelines: warehouse modeling, governance, and AI-augmented workflows. It's free to join, and the members are people shipping this work.
Join the free AI community →Frequently asked questions
VACUUM removes them. Snapshots, backups, replicas and dev copies of production each hold their own copy too.When this is more than you need
- A warehouse with BI on top and no retrieval stack, embeddings or fine-tuning mostly has a storage-and-backups problem. For that estate, step 4 shrinks to exports and lower environments, and the vendor answer is close to enough.
- Short history and daily vacuums shrink step 2 to a few days. Your settings matter more than the architecture here, and an estate with no long backups has a much smaller window than the thirty-day default I used as the example.
- Lineage tools may grow into row- or person-level provenance. Then step 3 becomes a query, and the hand-written register in step 4 is the only gap left.
- Three requests a year don't justify a governed deletion pipeline. A register plus a checklist may be all you need.
- None of this helps if step 6 has no budget. Steps 1 through 5 are analysis, and step 6 is the only one that tells you when a deletion failed.
Data & AI governance, from the field
Notes on data governance that works in practice, plus my free RFP & TCO scorecard when you sign up.
No spam, unsubscribe anytime · Privacy
You're in. Check your inbox for a welcome note.