Cache and Raid performance. One of the key limitations of spinning disk hardware is the use of a physical reading armature and the time this takes to move across the surface of a diskâs platter to the required data blocks.
Constraints are part of a database schema definition. A constraint is usually associated with a table and is created with a CREATE CONSTRAINT or CREATE ASSERTION SQL statement. They define certain properties that data in a database must comply with.
Note. A FOREIGN KEY constraint can reference columns in tables in the same database or within the same table. These are called self-referencing tables. For example, consider an employee table that contains three columns: employee_number, employee_name, and manager_employee_number.