发明名称 Cascade delete processing
摘要 A time-efficient means for identifying and processing cascading deletes due to referential constraint violations includes: logging, to an error file, all primary key ("PK") errors detected during table load operations; building a foreign key ("FK") index for each child table; recursively probing each relevant FK index to identify all loaded rows that violate a referential constraint due to a PK error; logging all identified FK errors to the error file; and using the (preferably sorted) error file contents to identify, mark and physically delete table rows that violate a referential constraint. The described cascade delete processing methods make only a single pass through the table data, using ordinary computer files to track and organize rows identified for deletion. Use of error files rather than tablescans (multiple passes through the loaded table data) can provide a significant reduction in table load times, especially for large or intricately "related" tables.
申请公布号 US7664790(B2) 申请公布日期 2010.02.16
申请号 US20040871240 申请日期 2004.06.18
申请人 BMC SOFTWARE, INC. 发明人 BLAICHER CHRISTOPHER YOUNGS;TENBERG KERRY CHARLES;BRIGHT RANDOL KEITH
分类号 G06F12/00;G06F7/00;G06F11/07;G06F17/30 主分类号 G06F12/00
代理机构 代理人
主权项
地址