发明名称 Synchronization of SQL actions in a relational database system
摘要 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.
申请公布号 US5873075(A) 申请公布日期 1999.02.16
申请号 US19970884832 申请日期 1997.06.30
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 COCHRANE, ROBERTA JO;LAPIS, GEORGE;PIRAHESH, MIR HAMID;SIDLE, RICHARD SEFTON;SIMMEN, DAVID EVERETT;TRUONG, TUONG CHANH;URATA, MONICA SACHIYE
分类号 G06F17/30;(IPC1-7):G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项
地址