Title :
Using codewords to protect database data from a class of software errors
Author :
Bohannon, Philip ; Rastogi, Rajeev ; Seshadri, S. ; Silberschatz, Avi ; Sudarshan, S.
Author_Institution :
Bell Labs., Murray Hill, NJ, USA
Abstract :
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 data from corruption required system calls, and their performance depended on the 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 Dali´ 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 then 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
Keywords :
concurrency control; data integrity; database management systems; errors; storage management; system recovery; transaction processing; Dali main-memory storage manager; codewords; concurrency; data corruption; data recovery; data regions; database data protection; database system buffers; database system code; extensibility; hardware techniques; incorrect data entry; logical errors; performance; software errors; space overhead; special-purpose application code; system calls; transaction read logging; Application software; Availability; Concurrent computing; Database systems; Engines; Fault tolerance; Hardware; Protection; Read only memory; Software standards;
Conference_Titel :
Data Engineering, 1999. Proceedings., 15th International Conference on
Conference_Location :
Sydney, NSW
Print_ISBN :
0-7695-0071-4
DOI :
10.1109/ICDE.1999.754943