{"title":"使用锁的数据库并发控制的改进","authors":"A. Croker","doi":"10.1080/07421222.1987.11517794","DOIUrl":null,"url":null,"abstract":"Various techniques have been proposed to ensure the safe, concurrent execution of a set of databasetransactions. Locking protocols are the most prominent and widely used of these techniques, with two-phaselocking and tree-locking being but two examples of these protocols. A locking protocol defines ageneral set of restrictions on the placement of lock and unlock steps within transactions. In this paper weshow that it is possible to further increase the potential level of concurrency of a set of transactions,within the context of a specific locking protocol, by further restricting the placement of lock and unlocksteps within each transaction. We also discuss a variation of the tree-locking protocol that allowstransaction to be locked with respect to a dynamically changing set of tree structures. In addition wedefine and discuss the concept of a concurrency cost function for a locked transaction. This cost functionmeasures the potential for conflict of a transaction with other transactions.","PeriodicalId":376400,"journal":{"name":"NYU: IOMS: Information Systems Working Papers (Topic)","volume":"35 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1986-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"6","resultStr":"{\"title\":\"Improvements in Database Concurrency Control with Locking\",\"authors\":\"A. Croker\",\"doi\":\"10.1080/07421222.1987.11517794\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Various techniques have been proposed to ensure the safe, concurrent execution of a set of databasetransactions. Locking protocols are the most prominent and widely used of these techniques, with two-phaselocking and tree-locking being but two examples of these protocols. A locking protocol defines ageneral set of restrictions on the placement of lock and unlock steps within transactions. In this paper weshow that it is possible to further increase the potential level of concurrency of a set of transactions,within the context of a specific locking protocol, by further restricting the placement of lock and unlocksteps within each transaction. We also discuss a variation of the tree-locking protocol that allowstransaction to be locked with respect to a dynamically changing set of tree structures. In addition wedefine and discuss the concept of a concurrency cost function for a locked transaction. This cost functionmeasures the potential for conflict of a transaction with other transactions.\",\"PeriodicalId\":376400,\"journal\":{\"name\":\"NYU: IOMS: Information Systems Working Papers (Topic)\",\"volume\":\"35 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"1986-11-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"6\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"NYU: IOMS: Information Systems Working Papers (Topic)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1080/07421222.1987.11517794\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"NYU: IOMS: Information Systems Working Papers (Topic)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1080/07421222.1987.11517794","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Improvements in Database Concurrency Control with Locking
Various techniques have been proposed to ensure the safe, concurrent execution of a set of databasetransactions. Locking protocols are the most prominent and widely used of these techniques, with two-phaselocking and tree-locking being but two examples of these protocols. A locking protocol defines ageneral set of restrictions on the placement of lock and unlock steps within transactions. In this paper weshow that it is possible to further increase the potential level of concurrency of a set of transactions,within the context of a specific locking protocol, by further restricting the placement of lock and unlocksteps within each transaction. We also discuss a variation of the tree-locking protocol that allowstransaction to be locked with respect to a dynamically changing set of tree structures. In addition wedefine and discuss the concept of a concurrency cost function for a locked transaction. This cost functionmeasures the potential for conflict of a transaction with other transactions.