Title :
Efficient sequenced temporal integrity checking
Author :
Li, Wei ; Snodgrass, Richard T. ; Deng, Shiyan ; Gattu, Vineel K. ; Kasthurirangan, Aravindan
Author_Institution :
Oracle Corp., Redwood Shores, CA, USA
Abstract :
Primary key and referential integrity are the most widely used integrity constraints in relational databases. Each has a sequenced analogue in temporal databases, in which the constraint must apply independently at every point in time. In this paper, we assume a stratum approach, which expresses the checking in conventional SQL, as triggers on period-stamped relations. We evaluate several novel approaches that exploit B+-tree indexes to enable efficient checking of sequenced primary key (SPK) and sequenced referential integrity (SRI) constraints. We start out with a brute-force SPK algorithm, then adapt the relational interval-tree overlap algorithm. After that, we propose a new method, the straight traversal algorithm, which utilizes the B+ -tree more directly in order to identify when multiple key values are present. Our evaluation, on two platforms, shows that the straight traversal algorithm approaches the performance of built-in nontemporal primary key and referential integrity checking, with a constant time per tuple
Keywords :
SQL; data integrity; database indexing; sequences; software performance evaluation; temporal databases; tree data structures; B+-tree; B+-tree indexes; SQL; multiple key values; performance; period-stamped relations; relational databases; relational interval-tree overlap algorithm; sequenced primary key constraints; sequenced referential integrity constraints; sequenced temporal integrity checking; straight traversal algorithm; stratum approach; temporal databases; triggers; tuples; Computer science; Presses; Relational databases; Transaction databases;
Conference_Titel :
Data Engineering, 2001. Proceedings. 17th International Conference on
Conference_Location :
Heidelberg
Print_ISBN :
0-7695-1001-9
DOI :
10.1109/ICDE.2001.914821