Issue No. 05 - September/October (2003 vol. 15)
Avi Silberschatz , IEEE
<p><b>Abstract</b>—Increasingly, for extensibility and performance, special purpose application code is being integrated with database system code. Such application code has direct access to database system buffers, and as a result, the danger of data being corrupted due to inadvertent application writes is increased. Previously proposed hardware techniques to protect from corruption require system calls, and their performance depends on details of the hardware architecture. We investigate an alternative approach which uses codewords associated with regions of data to detect corruption and to prevent corrupted data from being used by subsequent transactions. We develop several such techniques which vary in the level of protection, space overhead, performance, and impact on concurrency. These techniques are implemented in the Dalí main-memory storage manager, and the performance impact of each on normal processing is evaluated. Novel techniques are developed to recover when a transaction has read corrupted data caused by a bad write and gone on to write other data in the database. These techniques use limited and relatively low-cost logging of transaction reads to trace the corruption and may also prove useful when resolving problems caused by incorrect data entry and other logical errors.</p>
Database corruption, database recovery, fault tolerance, data integrity, main-memory database.
Rajeev Rastogi, S. Sudarshan, S. Seshadri, Philip Bohannon, Avi Silberschatz, "Detection and Recovery Techniques for Database Corruption", IEEE Transactions on Knowledge & Data Engineering, vol. 15, no. , pp. 1120-1136, September/October 2003, doi:10.1109/TKDE.2003.1232268