Data integrity is the practice of keeping data accurate, consistent, and reliable throughout its lifecycle.
It ensures that information remains correct during storage, retrieval, processing, and transfer, unless it is intentionally changed by an authorized user or system.
Maintaining data integrity is essential for trustworthy analytics, stable system operation, compliance, and reliable decision-making.
Also known as: Data accuracy, data consistency.
Data integrity and data security are closely related, but they focus on different goals.
Data integrity is concerned with keeping information correct and preventing unauthorized or accidental modification.
Data security focuses more broadly on protecting data from unauthorized access, disclosure, theft, or attacks.
In simple terms:
Strong security controls can help preserve data integrity by preventing unauthorized changes.
Data integrity focuses specifically on whether data remains accurate, consistent, and trustworthy.
Data quality is a broader concept that can also include completeness, relevance, timeliness, uniqueness, and usability.
For example, a dataset may maintain perfect integrity but still have poor quality if important fields are missing or the information is outdated.
In simple terms:
Organizations can use technical and operational controls to protect data integrity.
Common methods include:
These controls help detect or prevent accidental corruption, unauthorized changes, and inconsistent records.
Data integrity is important in web data collection because information may pass through multiple stages before it is used.
A typical workflow may include:
Integrity controls help ensure that information is not unintentionally altered or corrupted during these stages.
For example, a product price collected from a webpage should remain accurate as it moves through parsing, transformation, and storage.
Suppose a banking system records a customer account balance of:
$5,000
The customer deposits:
$1,000
After the transaction, the system should correctly update the balance to:
$6,000
Data integrity means that the transaction is recorded accurately, the balance is not duplicated or corrupted, and unauthorized changes do not alter the result.
If the system incorrectly records the balance as $5,500 or processes the same deposit twice, data integrity has been compromised.