IT lexicon › Database › Natural Key

Natural Key

Database På svenska → Updated: 2026-11-11

A key composed of existing attributes that have meaning in the real world.

A natural key uses pre-existing business or real-world attributes—ISBN for a book, social security number for a person, license plate for a vehicle. The opposite is a "surrogate key" (artificial, auto-generated ID). Natural keys are intuitive and enforce semantic integrity, but they can change (though rarely for ISBN), they're often lengthy, and real-world data is often messier than schema assumes.

← Back to the lexicon