/

Data

Data incident management: what to do when important data is wrong

Data incident management: what to do when important data is wrong

Data

Data

Mahesh Chandran

Mahesh Chandran

CEO

CEO

Guide cover: Data incident management. Contain it, tell the people who rely on it, then fix the cause.

The finance team spots it first. Yesterday’s revenue on the dashboard is down by almost half, and nothing happened to the business. What the data team does in the next hour decides whether this becomes a quiet correction or a number that reaches a board pack.

Data incident management is the routine that turns that hour into a sequence of known steps. It covers who leads, what gets stopped, who gets told, how the cause is found and how the data is put right, so the response does not depend on whoever happens to be online.

This guide sets out that routine for the data a business depends on. It covers what counts as a data incident, how to set severity, the first fifteen minutes, what to tell readers, how to find the cause, how to repair and backfill safely in Snowflake and BigQuery, how to close an incident and how to run the review. It includes queries, message templates, a runbook you can copy and a worked example.

The short answer

When important data is wrong, confirm the problem and set its severity from the dataset’s tier and who has already read it. Name one incident lead. Stop the bad data from spreading by pausing the jobs and syncs downstream of it. Tell the business owner and the readers before you have a fix. Trace the cause upstream with lineage, repair the data and backfill what it fed, and ask the business owner to confirm it is right before you close. Within a few days, run a short, blame-free review and add the check, alert or owner that would have caught it sooner.

Book a free call if you want help setting this up for the data your business depends on.

Key terms

  • Data incident: a problem with data the business depends on that is wrong, late or missing badly enough to need a coordinated response.

  • Severity: a level that sets how fast the team responds and who is told, based on the dataset’s tier and who has already used the data.

  • Incident lead: the one person who coordinates the response, assigns work and keeps everyone informed until the incident is closed.

  • Containment: stopping bad data from reaching more tables, tools and people while the cause is found.

  • Time to detect: how long the data was wrong before anyone noticed.

  • Time to resolve: how long from detection until the data was correct again and confirmed.

  • Incident review: a short written account of what happened and what will change, written without blaming individuals.

The method at a glance

  1. Confirm the problem and set severity from the tier and who has read the data.

  2. Name an incident lead and open one channel for the incident.

  3. Contain the damage by pausing what reads the bad data.

  4. Tell the business owner and the readers, with what is known so far.

  5. Walk upstream with lineage to find the cause.

  6. Repair the data, backfill what it fed and reconcile.

  7. Confirm with the business owner, tell readers and close the incident.

  8. Run the review and add what would have caught it sooner.

A data incident from detection to review: a wrong number is found on a dashboard, the path is traced upstream to the cause, the readers downstream are told, the data is repaired and the review adds a new check.

What counts as a data incident?

Most data problems are ordinary bugs. A failing test on a Tier 3 table goes into the backlog and gets fixed in the normal way. A problem becomes an incident when it needs a coordinated response, because of what the data feeds or who has already seen it.

Google’s SRE guidance suggests declaring an incident early, and treats an event as one when a second team has to help, when customers can see the problem, or when it is still unsolved after an hour of focused work. For data, those translate into a few common triggers:

  • A Tier 1 check fails. A test, freshness check or reconciliation on data behind billing, finance, customer-facing products or regulators fails at error level.

  • A reader reports a wrong number. Someone outside the data team notices that a number does not match reality or another source.

  • A reconciliation gap appears. Totals in the warehouse no longer match the source system, such as invoices against the billing platform.

  • Data reaches someone outside the company. A wrong figure has been sent to a customer, a partner or a regulator, whatever the tier.

Declare the incident early, even if it turns out to be small. Closing a small incident quickly costs little, and a large problem handled as a bug for half a day costs a lot.

How do you set severity?

Severity combines two questions: how important is the data, and has anyone already used it? How to decide which datasets your business depends on sets the first through tiers. The second comes from lineage and query history.

  • Severity 1: Tier 1 data that is wrong and has already been read by billing, customers, financial reporting or regulators, or wrong data sent outside the company. Page the technical owner, tell the business owner at once and send updates on a fixed schedule until it is closed.

  • Severity 2: Tier 1 data that is wrong but has not been used yet, or Tier 2 data that is wrong and has been read. Respond the same working day and tell the business owner.

  • Severity 3: Tier 2 data that has not been read yet, or any Tier 3 problem. Handle it as a normal ticket.

Severity can change as you learn more. Raise it as soon as you find that wrong data has gone further than you thought, and lower it once containment is confirmed.

What do you do in the first fifteen minutes?

Confirm the problem

Check that the data really is wrong before anything else. Compare the number with the source system, the same number from the day before, or a second report that should agree with it. A dashboard filter or a cached result explains some reports, and ruling that out takes a few minutes.

Name one incident lead

Google’s SRE book describes an incident commander who holds the overall picture, hands out work and keeps a live record of the incident, with separate people for fixing the system and for communicating. Most data teams are too small for four roles. The part that matters is that one named person leads, usually the technical owner of the dataset or whoever is on call, and everyone knows who it is.

Open one channel

Put everything about the incident in one place, such as a dedicated chat channel or a single incident document. Google’s guidance stresses a single known place where responders can find the commander, and its log doubles as the record for the review. Side conversations in direct messages are where facts get lost.

Contain the damage

Stop the bad data from going further while you look for the cause.

  • Pause downstream builds. Stop the scheduled jobs that build on the affected table. If the problem is caught by a test, dbt build already protects you: a failing test makes the downstream resources skip, as long as the test is set to error and not warn.

  • Stop on the first failure. Running dbt with --fail-fast, or -x, makes it exit on the first failed model or test, which keeps a broken run from writing more tables.

  • Pause syncs out of the warehouse. Reverse ETL syncs, exports and scheduled emails can carry wrong data into other systems and to customers. Pause the ones that read the affected tables.

  • Mark what readers can see. Add a status note to the affected dashboards and reports, so nobody makes a decision from them without knowing.

Write down everything you pause. Each paused job has to be restarted, in the right order, when the incident closes.

Who needs to know, and what do you tell them?

Data lineage gives the list. Walk downstream from the affected table to every table, dashboard, model and application that reads it, then note the owner of each. The business owners of anything Tier 1 hear first.

Tell people early, with what you know and what you do not. A short message sent in the first half hour does more good than a full explanation sent at the end of the day. A message to a business owner can be as simple as this:

Subject: Revenue data incorrect since this morning [Severity 1]

Subject: Revenue data incorrect since this morning [Severity 1]

Subject: Revenue data incorrect since this morning [Severity 1]

The status note on a dashboard can be shorter still:




Send updates on the schedule you promised, even when the update is that nothing has changed. Silence after a first message makes people assume the worst and start asking around.

How do you find the cause?

Walk upstream from the wrong number. Check each table on the path, starting nearest the destination: was it built on time, did it load a normal number of rows, did its tests pass, and did its code or its source change recently? The first table that looks wrong usually sits just below the cause.

Data incidents usually trace back to one of a few causes:

  • A source changed. A column was renamed, a type changed or a new value appeared in the system that sends the data.

  • A load was late, partial or duplicated. A file arrived half-written, a job ran twice or an API returned an error page that was loaded as data.

  • A code change. A recent change to a model altered a join, a filter or a definition.

  • A manual change. Someone updated or deleted rows by hand, or rebuilt a table outside the normal pipeline.

  • A vendor or upstream team changed something. An external provider changed a format or a calculation without notice.

Three sources show what changed recently. Every dbt invocation writes a run_results.json file with the status, timing and rows affected for each model and test it ran, so the last few runs show where a failure or an odd row count began. The git history of the project shows recent code changes:

git log --since="3 days ago" --stat --
git log --since="3 days ago" --stat --
git log --since="3 days ago" --stat --

The warehouse history shows everything else, including changes made outside the project. In Snowflake, the QUERY_HISTORY view records the text, type, user and role of each statement:

SELECT start_time, user_name, role_name, query_type, LEFT(query_text, 200) AS query_start
FROM snowflake.account_usage.query_history
WHERE start_time >= DATEADD('day', -3, CURRENT_TIMESTAMP())
  AND query_text ILIKE '%invoice_lines%'
  AND query_type NOT IN ('SELECT', 'SHOW', 'DESCRIBE')
ORDER BY start_time DESC

SELECT start_time, user_name, role_name, query_type, LEFT(query_text, 200) AS query_start
FROM snowflake.account_usage.query_history
WHERE start_time >= DATEADD('day', -3, CURRENT_TIMESTAMP())
  AND query_text ILIKE '%invoice_lines%'
  AND query_type NOT IN ('SELECT', 'SHOW', 'DESCRIBE')
ORDER BY start_time DESC

SELECT start_time, user_name, role_name, query_type, LEFT(query_text, 200) AS query_start
FROM snowflake.account_usage.query_history
WHERE start_time >= DATEADD('day', -3, CURRENT_TIMESTAMP())
  AND query_text ILIKE '%invoice_lines%'
  AND query_type NOT IN ('SELECT', 'SHOW', 'DESCRIBE')
ORDER BY start_time DESC

In BigQuery, the INFORMATION_SCHEMA.JOBS view records the statement type and destination table of each job:

SELECT creation_time, user_email, statement_type, LEFT(query, 200) AS query_start
FROM `region-us`.INFORMATION_SCHEMA.JOBS
WHERE creation_time >= TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 3 DAY)
  AND destination_table.table_id = 'invoice_lines'
ORDER BY creation_time DESC

SELECT creation_time, user_email, statement_type, LEFT(query, 200) AS query_start
FROM `region-us`.INFORMATION_SCHEMA.JOBS
WHERE creation_time >= TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 3 DAY)
  AND destination_table.table_id = 'invoice_lines'
ORDER BY creation_time DESC

SELECT creation_time, user_email, statement_type, LEFT(query, 200) AS query_start
FROM `region-us`.INFORMATION_SCHEMA.JOBS
WHERE creation_time >= TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 3 DAY)
  AND destination_table.table_id = 'invoice_lines'
ORDER BY creation_time DESC

Keep notes in the incident channel as you go, with times. They save an hour when the review is written.

How do you fix and backfill safely?

Decide first whether to fix forward or roll back. Fixing forward means correcting the code or the source and rebuilding. Rolling back means restoring the table to how it was before the problem, which is often faster when the correct data existed a few hours ago.

Restoring a table in Snowflake

Snowflake Time Travel keeps earlier versions of tables for a retention period, which is one day by default and can be set up to 90 days on Enterprise Edition for permanent tables. A clone at a point in time gives you the earlier version as a new table to check before swapping it in:

CREATE TABLE analytics.billing.invoice_lines_restore
  CLONE analytics.billing.invoice_lines
  AT(TIMESTAMP => '2026-11-23 05:00:00 -0500'::TIMESTAMP_TZ);

-- Compare row counts and totals before swapping
SELECT COUNT(*), SUM(amount) FROM

CREATE TABLE analytics.billing.invoice_lines_restore
  CLONE analytics.billing.invoice_lines
  AT(TIMESTAMP => '2026-11-23 05:00:00 -0500'::TIMESTAMP_TZ);

-- Compare row counts and totals before swapping
SELECT COUNT(*), SUM(amount) FROM

CREATE TABLE analytics.billing.invoice_lines_restore
  CLONE analytics.billing.invoice_lines
  AT(TIMESTAMP => '2026-11-23 05:00:00 -0500'::TIMESTAMP_TZ);

-- Compare row counts and totals before swapping
SELECT COUNT(*), SUM(amount) FROM

Once the restored copy checks out, ALTER TABLE with SWAP WITH exchanges it for the broken table in one statement. A query for a point outside the retention period fails, so check the retention setting on Tier 1 tables before you need it.

Restoring a table in BigQuery

BigQuery keeps changed and deleted data for its time travel window, between 2 and 7 days. You can query a table as it was with FOR SYSTEM_TIME AS OF, or copy that version into a new table with the bq tool, using a time in milliseconds since the epoch or an offset from now:

# Copy the table as it was one hour ago into a new table
bq cp

# Copy the table as it was one hour ago into a new table
bq cp

# Copy the table as it was one hour ago into a new table
bq cp

A restored table does not keep the original’s partitioning or tags, so recreate those before swapping it in, or use the restored copy to reload the original.

Backfill and reconcile

Once the source table is right, rebuild everything downstream of it, in lineage order, for the affected period. Then reconcile the end result against the source system: invoice totals against the billing platform, revenue against the ledger, row counts against the day before. Only reopen paused syncs and remove dashboard notes once the reconciliation passes.

How do you close the incident?

  1. Ask the business owner to confirm the data is correct, using a check they trust.

  2. Restart the paused jobs and syncs, in lineage order.

  3. Remove the status notes from dashboards and reports.

  4. Send a closing message with what happened, what was affected and what was corrected.

  5. Book the review within a few working days, while details are fresh.

If wrong data reached customers or outside parties, the business owner decides what they need to be told and how. The data team supplies the facts: which records, which period, what the correct values are.

How do you run the review?

Google’s SRE guidance describes a blameless postmortem: a written account that looks at why the systems and information people had allowed the problem, on the assumption that everyone acted in good faith. The purpose is to stop it happening again, and people are more open about what went wrong when they are not worried about blame.

Decide in advance which incidents get a review. Every Severity 1 and Severity 2 incident should, along with any incident that a reader found before a check did. A review can be short:

Incident review: invoice_lines incomplete, 23 Nov

Summary: two sentences on what happened and the impact.
Timeline: detection, containment, cause found, fix, confirmed (with times).
Impact: which tables, dashboards, syncs and people; for how long.
Cause: what changed, and why nothing caught it sooner.
What went well:
What was hard:
Actions:
  - [owner] [due date] Add a row-count check on raw_payments
  - [owner] [due date] Add the invoice export as a dbt exposure
  - [owner] [due date]

Incident review: invoice_lines incomplete, 23 Nov

Summary: two sentences on what happened and the impact.
Timeline: detection, containment, cause found, fix, confirmed (with times).
Impact: which tables, dashboards, syncs and people; for how long.
Cause: what changed, and why nothing caught it sooner.
What went well:
What was hard:
Actions:
  - [owner] [due date] Add a row-count check on raw_payments
  - [owner] [due date] Add the invoice export as a dbt exposure
  - [owner] [due date]

Incident review: invoice_lines incomplete, 23 Nov

Summary: two sentences on what happened and the impact.
Timeline: detection, containment, cause found, fix, confirmed (with times).
Impact: which tables, dashboards, syncs and people; for how long.
Cause: what changed, and why nothing caught it sooner.
What went well:
What was hard:
Actions:
  - [owner] [due date] Add a row-count check on raw_payments
  - [owner] [due date] Add the invoice export as a dbt exposure
  - [owner] [due date]

Every action needs an owner and a date. The most useful actions add something that would have caught the problem sooner: a test, a freshness check, an alert to the right person, an owner for a dataset that had none, or an exposure that puts a destination into the lineage. How to reduce data alert fatigue covers how to add checks without flooding the team.

What should you measure?

A few numbers, tracked over months, show whether incident management is improving:

  • Time to detect. How long data was wrong before anyone noticed. This is usually the number with the most room to improve, and The cost of bad data explains why it drives most of the cost.

  • Time to resolve. From detection to confirmed correct.

  • Who found it. The share of incidents found by checks versus by readers. A falling share found by readers means the checks are covering the right data.

  • Incidents by cause. Recurring causes point to where a fix upstream would remove a whole class of incidents.

  • Actions completed. The share of review actions done by their due date.

A runbook you can copy

Keep a short runbook for each Tier 1 dataset next to its code, so whoever is on call can start without searching:

dataset: analytics.billing.invoice_lines
tier: 1
technical_owner: priya@example.com
business_owner: head-of-billing@example.com
incident_channel: "#data-incidents"
downstream:
  - monthly_invoice_run      # pause the export job
  - finance_revenue_dashboard  # add a status note
contain:
  - pause: airflow dag billing_export
  - pause: reverse_etl sync invoices_to_crm
checks_to_confirm:
  - invoice total matches billing platform for the day
  - row count within 10% of the same weekday last week
restore:
  snowflake_time_travel_days: 7
  rebuild: dbt build --select invoice_lines+
updates

dataset: analytics.billing.invoice_lines
tier: 1
technical_owner: priya@example.com
business_owner: head-of-billing@example.com
incident_channel: "#data-incidents"
downstream:
  - monthly_invoice_run      # pause the export job
  - finance_revenue_dashboard  # add a status note
contain:
  - pause: airflow dag billing_export
  - pause: reverse_etl sync invoices_to_crm
checks_to_confirm:
  - invoice total matches billing platform for the day
  - row count within 10% of the same weekday last week
restore:
  snowflake_time_travel_days: 7
  rebuild: dbt build --select invoice_lines+
updates

dataset: analytics.billing.invoice_lines
tier: 1
technical_owner: priya@example.com
business_owner: head-of-billing@example.com
incident_channel: "#data-incidents"
downstream:
  - monthly_invoice_run      # pause the export job
  - finance_revenue_dashboard  # add a status note
contain:
  - pause: airflow dag billing_export
  - pause: reverse_etl sync invoices_to_crm
checks_to_confirm:
  - invoice total matches billing platform for the day
  - row count within 10% of the same weekday last week
restore:
  snowflake_time_travel_days: 7
  rebuild: dbt build --select invoice_lines+
updates

The 10% threshold in the example is a placeholder. Set each check from what is normal for that dataset.

A worked example

Here is how the method plays out for one incident. The details are invented to show the steps.

At 8:10 a.m., the head of billing reports that yesterday’s revenue on the finance dashboard looks too low. The on-call engineer compares it with the billing platform and confirms a large gap. Because invoice_lines is Tier 1 and the invoice export runs at 9:00, the incident is Severity 1. The engineer becomes incident lead and opens a channel.

By 8:25 the export is paused, the dashboard carries a status note and the head of billing has the first message. The run results show invoice_lines built normally with far fewer rows than usual. Walking upstream, raw_payments loaded about half its usual volume at 5:40, because the provider’s file arrived late and was picked up while still being written.

The team reloads raw_payments from the complete file, rebuilds invoice_lines and everything downstream, and reconciles totals against the billing platform. The head of billing confirms the numbers at 10:05, the export runs and the note comes down. The review adds a row-count check on raw_payments that fails at error level, so a partial file now stops the build before it reaches invoice_lines.

What mistakes should you avoid?

  • Fixing before containing. Hunting for the cause while the bad data keeps flowing into exports and dashboards widens the damage.

  • Staying quiet until there is a fix. Readers who find the problem themselves lose trust faster than readers who were told early.

  • Several people leading at once. Without one incident lead, work is duplicated and messages contradict each other.

  • Reopening before reconciling. Restarting syncs on data that has not been checked against the source can repeat the incident.

  • Reviews that blame people. They make the next incident harder to investigate, because people stop volunteering what they saw.

  • Review actions with no owner. Actions without an owner and a date rarely get done, and the same incident comes back.

Questions people ask

What is data incident management?

The agreed process for responding when data the business depends on is wrong, late or missing: who leads, how the damage is contained, who is told, how the cause is found and fixed, and how the team learns from it.

How is a data incident different from a bug?

A bug is fixed in the normal flow of work. An incident needs a coordinated response, because the data is important or has already been used. The same fault can be either, depending on what it affects.

Who should be the incident lead?

Usually the technical owner of the affected dataset, or whoever is on call. How to assign data ownership covers how to make sure every Tier 1 dataset has one.

Should readers be told before the cause is known?

Yes. Tell them what is affected, what they should hold off on and when the next update is due. The cause can follow.

How long should data be kept for restoring?

Long enough to cover the time it might take to notice a problem. For Tier 1 tables in Snowflake, that can mean raising Time Travel retention above the default of one day, which needs Enterprise Edition. In BigQuery, check that the dataset’s time travel window has not been shortened below what you need.

Do small teams need a formal process?

They need the steps, kept short. A runbook per Tier 1 dataset, one channel and a one-page review template cover most of it.

How do you reduce the number of incidents?

Use the review actions. Each one should add a check, an alert, an owner or a lineage link that makes the same incident less likely or faster to catch. How to set data freshness SLAs covers one of the most common checks.

Where Dataring fits

We built Dataring to rank every dataset by how much the business depends on it, then act on that ranking. When something goes wrong, the ranking shows which data matters most and who relies on it, so the data behind billing, finance and customer-facing products gets attention first, and pipelines nobody depends on are retired within limits each company sets, under its supervision.

Book a free call to see it on your data estate. For the wider process this guide fits into, read How to audit your data estate in seven steps.

Newsletter

Product news by email. We use your address for nothing else.

© 2026 ShareData Inc.Last updated October 29, 2026