Static analysis of transactions for conservative multigranularity locking
Contributo in Atti di convegno
Data di Pubblicazione:
1997
Abstract:
This paper shows a concrete example in which a technique of static analysis, mainly used in the programming language area, can be successfully applied to a database problem. The database problem is the automatic (i.e., without a transaction programmer's intervention) realization of a new concurrency control protocol called conservative multiple granularity locking. Being conservative, the scheduler of this protocol ensures that the database resources needed from a transaction are granted before such a transaction begins its execution. Being multigranular, this protocol deals with an hierarchical organization of database resources and it allows to strike a balance between locking overhead and degree of concurrency allowed from one transaction. The analysis we present allows to automatically infer from the text of a transaction a safe approximation of the set of hierarchical database resources needed from the transaction. The analysis gives particular attention to the management of sets of resources to statically foresee if a transaction will access most of the resources in the set. The proposed technique, which can take advantage of statistical information on database resources, infers an approximation close to the actual resources that the transaction is going to use at run time.
Tipologia CRIS:
04.01 Contributo in Atti di convegno
Keywords:
Database systems; Locks (fasteners); Problem oriented languages
Elenco autori:
Amato, Giuseppe; Giannotti, Fosca; Mainetto, Giovanni
Link alla scheda completa:
Titolo del libro:
Database Programming Languages : 6th International Workshop, DBPL-6 Estes Park, Colorado, USA, August 18-20, 1997. Proceedings