Datatrail
Blog / Guides 8 min read

Data Quality vs Data Integrity vs Data Verification

Last updated August 2026 · Datatrail

Lineage map
Lineage mapped from query history. Read-only connection.
0

Read-only connection. Datatrail never moves or mutates your data.

Data quality asks whether data is fit for the purpose you want to use it for. Data integrity asks whether data stayed complete, consistent, and unaltered across its entire lifecycle, from the moment it was created through every copy, move, and transformation since. The two are not the same thing and they fail differently: a record can have flawless integrity and still be useless, because it was captured, stored, and transmitted perfectly but was wrong when someone typed it in. Integrity is the broader property. Quality is the judgment you make about the result.

This distinction gets treated as pedantry until the moment it decides a purchase. Teams buy a data quality platform to fix what was actually an integrity failure in a pipeline, or stand up an audit-trail system to fix what was actually a definitional disagreement between two teams. Both are expensive ways to not solve the problem. Here is the difference stated precisely, plus where each one really breaks.

What is the difference between data quality and data integrity?

Data integrity is about preservation. Data quality is about fitness. Integrity is a property the data either has or does not have, and it is largely binary within a given hop: either the row that arrived is the row that was sent, or it is not. Quality is a judgment against a use case, which means the same dataset can be high quality for one purpose and unusable for another. Customer records with no phone numbers are perfectly adequate for revenue reporting and worthless for a calling campaign.

Data integrityData quality
Core questionDid this data survive intact?Is this data good enough to use?
ScopeThe whole lifecycle: creation, storage, transit, transformation, retentionThe state of the data at the point of use
Judged againstThe source, and the guarantees of the systems it passed throughA business purpose and agreed thresholds
Typical failureDropped rows in a load, orphaned foreign keys, a silent truncation, an untracked manual editStale figures, missing fields, duplicates, two teams defining revenue differently
Enforced byConstraints, transactions, checksums, access control, audit trails, reconciliationRules, monitoring, ownership, remediation, measurement over time
Who usually owns itPlatform and data engineering, and in regulated industries, quality assuranceData teams together with the business domain owner

The relationship runs one way. Integrity is necessary for quality and nowhere near sufficient for it. You cannot have trustworthy data on top of a pipeline that silently loses rows, but fixing the pipeline does nothing about a field nobody fills in correctly.

What is data integrity?

Data integrity is the assurance that data remains complete, accurate, and unchanged except through authorized and recorded actions, across storage, transmission, and processing. It has both a technical and a procedural face.

The technical face is familiar to anyone who has run a database. Referential integrity means a foreign key points at a row that exists. Entity integrity means every row has a unique identifier. Domain integrity means a column only holds values from its permitted set. Transactions mean a write either fully happens or does not happen at all. Checksums and replication mean a byte written is the byte read back later.

The procedural face matters more than most data teams realize, and it is what the term means in regulated industries. In pharmaceutical manufacturing and clinical research, data integrity is a formal regulatory expectation built around ALCOA: records must be attributable to a person, legible, contemporaneously recorded, original or a true copy, and accurate. The commonly used extension ALCOA+ adds complete, consistent, enduring, and available. Those expectations sit on top of the current good manufacturing practice regulations, and electronic records carry further requirements of their own. What that demands is audit trails that cannot be edited, enforced user attribution, and time stamps nobody can back-date. None of that is a data quality feature, and no warehouse tool provides it.

What is data quality?

Data quality is the degree to which data is fit for its intended use, assessed across a set of named dimensions. The dimensions most frameworks agree on are accuracy, completeness, consistency, timeliness, validity, and uniqueness. Some add relevance and accessibility, and the exact list matters less than the discipline of picking one and measuring against it.

The part that gets skipped is that quality is defined per use case, by someone with the authority to define it. A quality program without a business owner who will say what threshold is acceptable produces a dashboard of percentages nobody acts on. This is why quality work is as much organizational as technical: the rule is easy to write, and agreeing that a mandatory field may be 2 percent null but not 5 percent is the actual work.

What is data verification, and how is it different from validation?

These three get used interchangeably and they are three distinct operations.

OperationChecks thatNeedsExample
ValidationData conforms to rules you definedA ruleThis postal code is five digits
VerificationData matches an authoritative source of truthAn external referenceThis postal code is the customer's actual postal code
ReconciliationTwo copies of the same data agreeBoth copiesThe warehouse table has the same 4.1M rows as the source system

The gap between the first two is where a lot of confidently wrong data lives. A validation suite will happily pass a perfectly formatted address that does not exist, an email that is syntactically valid and bounces, and a product code that matches the pattern for a product that was discontinued. Rules can only test the data against itself. Anything about whether the data is true requires something outside it, which is why address verification and table diffing are separate product categories from rule engines. If you are choosing between them, our comparison of data validation tools breaks down which category each vendor actually sits in.

Where does data integrity actually break?

Four places, in rough order of how often they cause a real incident in a modern warehouse stack.

  1. At creation. A form with no constraint, an API accepting whatever it is sent, a spreadsheet pasted into a system of record. Anything wrong here propagates everywhere and is the cheapest thing in the world to prevent and the most expensive to fix later.
  2. In transit. Data moving between systems is where silent loss happens: a partial load nobody retried, a paginated API that stopped at page nineteen, a type coercion that truncated a decimal, a timezone assumption applied twice. Most of this is invisible because the job reported success. This is the layer that hardens most reliably by standardizing on tooling that handles retries, schema drift, and failed-record recovery rather than on scripts, which is the argument for a managed data integration platform over a folder of one-off connectors that each fail in their own way.
  3. In transformation. A join that fans out and doubles a total. A filter that quietly drops nulls along with the rows it meant to remove. A window function whose partition changed when someone added a column. These preserve every byte and destroy the meaning, which is why they slip past integrity checks aimed at storage.
  4. At rest, through unrecorded change. The manual update run against production to fix something urgent, with no record of who ran it or what it touched. Technically the least common in cloud warehouses, and the one that causes the worst audit findings when it happens.

Notice that the middle two are the ones that dominate in practice, and neither is caught by database constraints. That is the structural reason warehouse teams need something watching the data itself: the guarantees that protect integrity inside a transactional database mostly stop at the warehouse door, because warehouses do not enforce foreign keys and pipelines can succeed while producing nonsense.

Data accuracy vs data integrity vs data consistency

Three more terms that overlap. Accuracy is whether a value corresponds to the real-world fact it represents, which can only ever be assessed against an external truth. Consistency is whether the same fact agrees everywhere it appears, which is checkable entirely inside your own systems. Integrity is the umbrella covering both, plus the mechanisms that preserve them.

A worked example. A customer moves house. Their address in the CRM is updated and the address in the billing system is not. Consistency has broken, because two systems now disagree. Accuracy has broken in one of them, because the billing record no longer matches reality. Integrity has broken at the process level, because there was no mechanism keeping the two in step. And quality has broken for the specific purpose of sending an invoice, while remaining perfectly fine for the purpose of counting customers.

Does the difference change what you buy?

Yes, and this is the practical payoff. Work backwards from which of the failures above you keep having.

If your real problem isLook at
Rows arriving wrong or not at allPipeline reliability, reconciliation, and diffing between source and destination
Nobody notices a table is stale or a column changed shapeMonitoring that learns baselines rather than rules you have to write per table
Specific business rules being violatedAn assertion framework: dbt tests, Great Expectations, Soda
Two teams reporting different numbers for the same metricDefinitions, ownership, and a catalog. This is a governance problem wearing a quality costume.
Records inside a CRM being duplicated and malformedCRM-side deduplication, not a warehouse tool
An auditor asking who changed a record and whenAudit trails and a validated system, not a data quality platform

The most common expensive mistake is the second row bought as the third. Teams with hundreds of tables and no idea when something breaks buy a rules engine, then discover that coverage equals however many rules somebody had time to write, which on a real estate is a small fraction of the tables. Rules are excellent for the things you already know can go wrong. They are structurally incapable of catching the things you did not think of, and those are most of them. Our guide to data quality tools covers where each vendor sits on that line.

How do you measure each one?

Measure integrity with reconciliation and completeness of movement: row counts matching between source and destination, orphaned foreign keys, duplicate keys after loads, and the proportion of pipeline runs that completed without partial writes. These are pass or fail and they belong on the platform team's dashboard.

Measure quality with per-dimension scores on datasets that matter, not on everything. Pick your ten or twenty most-read tables, agree a threshold per dimension with the person who owns the business process, and track the trend. A quality score for the whole warehouse is a number with no owner and no action attached to it.

Both measurements become considerably more useful when they are attached to lineage, because the question that follows every finding is the same: what does this affect? A 3 percent null rate on a column nothing reads is a note. The same rate on a column feeding the revenue dashboard is an incident. Without the graph connecting columns to the models and dashboards downstream of them, every finding costs an investigation to triage, which is how alerting gets muted. With it, integrity and quality findings arrive pre-sorted by consequence, which is the whole point of measuring them.

See how your data flows, end to end

Connect your warehouse read-only and map lineage, freshness, and downstream impact before a change breaks a dashboard. Planned transparent pricing, no card to start.