METHOD FOR REFERENTIAL CONSTRAINT ENFORCEMENT IN A DATABASE MANAGEMENT SYSTEM

Patent №

US 4,947,320

Granted

1990-08-07

Filed 1988

Owner

INTERNATIONAL BUSINESS MACHINES CORPORATION, ARMONK, NEW YORK 10504, A CORP. OF NY

AI components

2

kr · hardware

Assignment

Recorded

Dataset

AIPD

2023_r1 edition

Application

07219513

A method is disclosed for enforcing referential constraints on a record-by-record basis, immediately before or after each record is manipulated and while the record is still accessed, significantly improving the system's performance. Each record is visited only once to do both the constraint checking and the manipulation (insert/update/delete). If the constraint checking fails, then the entire relational operation of which the record manipulation is a part is backed out. For insertions, each record is first inserted 30, and then constraints respective the record are enforced 32,34. For updates, the record is updated 48 after constraints respecting the record's primary key are enforced 40,42, and before constraints respecting its foreign key(s) are enforced 44,46. Deletions are performed 52 before the constraints on the deleted record are enforced 54,56. Cascade deleted 58 are handled recursively 60. The method correctly processes cyclic constraints and self-referencing rows without special handling.

Knowledge representationAI hardwareG06F 16/2365G06F 16/24565Y10S 707/99952

AI classification

AI hardware1.00
Knowledge representation0.94
Planning0.27
Natural language0.02
Evolutionary computation0.01
Machine learning0.00
Speech0.00
Vision0.00

Ownership

INTERNATIONAL BUSINESS MACHINES CORPORATION, ARMONK, NEW YORK 10504, A CORP. OF NY

assignment · 49940644

© 2026 NYSGPT2525 LLC