DocumentCode :
2731228
Title :
Online Bulk Deletion
Author :
Lilja, T. ; Saikkonen, R. ; Sippu, S. ; Soisalon-Soininen, E.
Author_Institution :
Dept. of Comput. Sci. & Eng., Helsinki Univ. of Technol., Finland
fYear :
2007
fDate :
15-20 April 2007
Firstpage :
956
Lastpage :
965
Abstract :
We consider online bulk-delete operations on a large database table organized as a primary (sparse) B+-tree index on a multi-attribute key. Using the natural range partitions induced by prefixes of the key, we define a multi-granular key-range locking protocol in which a bulk operation locks a small number of logical fragments of the table covering the target of the operation. We also present an efficient and recoverable bulk-delete algorithm that minimizes the work needed in B-tree rebalancing and in transaction rollback. All the locks needed for a bulk-delete operation are acquired during a scan of the leaf pages covering the target key range; in this scan the records qualifying for deletion are only marked as deleted. The records are physically deleted in a rebalance phase that avoids visiting subtrees in which all records qualify for deletion, thus saving considerably on the number of rebalancing operations.
Keywords :
database indexing; tree data structures; B-tree index; B-tree rebalancing; bulk operation locks; large database table; multigranular key-range locking protocol; online bulk deletion; transaction rollback; Computer science; Concurrency control; Concurrent computing; Indexes; Indexing; Marketing and sales; Partitioning algorithms; Protocols; System recovery; Transaction databases;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Data Engineering, 2007. ICDE 2007. IEEE 23rd International Conference on
Conference_Location :
Istanbul
Print_ISBN :
1-4244-0802-4
Type :
conf
DOI :
10.1109/ICDE.2007.368954
Filename :
4221744
Link To Document :
بازگشت