Software Engineering vocabulary · Databases and Persistence

Referential integrity

Meaning in software engineering, with examples

/ˌrɛfəˈrɛnʃəl ɪnˈtɛɡrəti/nounCommon term

In software engineering, referential integrity means: The rule that every reference between tables must point to a row that really exists, so there are no orders for missing customers.

In Turkish: referans bütünlüğü, ilişkisel bütünlük

How it is used

Enforced by foreign keys. When it breaks, you get 'orphan' or 'orphaned' rows. It is a common topic in design reviews and data quality reports, and the main argument for keeping foreign keys in the database instead of only in code.

Example sentences

  1. Without foreign keys we lost referential integrity and found 3,000 orphaned order lines.

  2. The database enforces referential integrity, so you can't delete a category that still has products.

Common collocations

  • enforce referential integrity
  • break referential integrity
  • orphaned rows
  • data integrity

This word in other fields

The same English word can have a different meaning in another field:

More terms: Databases and Persistence

Practise with graded reading

Reading at the right level is the fastest way to make new words stick. Pick free English books by level: