Patent №
US 5,873,075
Granted
1999-02-16
Filed 1997
Owner
INTERNATIONAL BUSINESS MACHINES CORPORATION
Lab
AI components
3
nlp · planning · hardware
Assignment
Recorded
Dataset
AIPD
2023_r1 edition
Application
08884832
An automated system for detecting and preventing mutating table violations of database integrity in a SQL query before generation and selection of an optimal query execution plan (QEP). This system modifies the query graph model (QGM) to restrict the choice of execution plans to those that avoid mutating table integrity (MTI) violations, thereby forcing database integrity during table mutation when executing the optimal QEP. Mutating table integrity violations are detected by evaluating the position in the QGM of each write-node referencing a particular base table with respect to each of the positions of all other read- and write-nodes referencing of the same base table. Every common-referencing node pair is tested for sequencing conflicts and a data-flow dam is inserted in the QGM where necessary or a poke query is inserted between the nodes to force the completion of the execution of one node before initiating execution of the other common-referencing node. The system of this invention allows processing of all non-cyclic and most cyclic SQL queries known to cause mutating table integrity violations, such as queries having searched and positioned inserts, deletes and updates, and row-level triggers.
AI classification
Ownership
INTERNATIONAL BUSINESS MACHINES CORPORATION
assignment · 90950626
Assignors
COCHRANE, ROBERTA JO, LAPIS, GEORGE, PIRAHESH, MIR HAMID, SIDLE, RICHARD SEFTON, SIMMEN, DAVID EVERETT, TRUONG, TUONG CHANH, URATA, MONICA SACHIYE
On an employer assignment, the assignors are typically the inventors.