Locking Key Ranges with Unbundled Transaction Services

被引:0
|
作者
Lomet, David [1 ]
Mokbel, Mohamed F. [2 ]
机构
[1] Microsoft Res, Redmond, WA 98052 USA
[2] Univ Minnesota, Minneapolis, MN USA
来源
PROCEEDINGS OF THE VLDB ENDOWMENT | 2009年 / 2卷 / 01期
关键词
D O I
10.14778/1687627.1687658
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
To adapt database technology to new environments like cloud platforms or multi-core hardware, or to try anew to provide an extensible database platform, it is useful to separate transaction services from data management elements that need close physical proximity to data. With "generic" transactional services of concurrency control and recovery in a separate transactional component (TC), indexing, cache and disk management, now in a data component (DC), can be simplified and tailored more easily to the platform or to a data type extension with a special purpose index. This decomposition requires that details of the DC's management of data be hidden from the TC. Thus, locking and logging need to be "logical", which poses a number of problems. One problem is the handling of locking for ranges of keys. Locks need to be taken at the TC prior to the records and their keys being known to the TC. We describe generic two approaches for dealing with this. (1) Make a "speculative" visit" to the DC to learn key values. (2) Lock a "covering resource" first, then learn and lock key values and ultimately release the covering resource lock. The "table" is the only logical (and hence known to the TC) covering resourse in the traditional locking hierarchy, but using it limits concurrency. Concurrency is improved with the introduction of new partition resources. We show how partitions as covering resources combine high concurrency with low locking overhead. Using partitions is sufficiently effective to consider adapting it for a traditional database kernel.
引用
收藏
页码:265 / 276
页数:12
相关论文
共 50 条
  • [31] Research on Long Transaction of Web Services
    Jun, Wang
    [J]. PROCEEDINGS 2010 3RD IEEE INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND INFORMATION TECHNOLOGY, (ICCSIT 2010), VOL 1, 2010, : 490 - 492
  • [32] GridTP services for grid transaction processing
    Qi, ZW
    You, JY
    Jin, Y
    Tang, FL
    [J]. GRID AND COOPERATIVE COMPUTING, PT 2, 2004, 3033 : 891 - 894
  • [34] Distributed transaction system based on WebOTX/S conforming to CORBA Transaction Services
    Yagi, S
    [J]. NEC RESEARCH & DEVELOPMENT, 2000, 41 (04): : 311 - 314
  • [35] Locking bar is key to a tight fit
    不详
    [J]. MACHINE DESIGN, 1996, 68 (16) : 38 - 38
  • [36] LEASING - THE KEY TO LOCKING OUT OBSOLESCENCE
    FUCHS, H
    DICK, G
    [J]. SIEMENS REVIEW, 1994, 61 (03): : 22 - 25
  • [37] THE KEY TO LOCKING OUT COMPUTER SABOTEURS
    FOX, B
    [J]. NEW SCIENTIST, 1992, 133 (1809) : 22 - 22
  • [38] Distributed transaction system based on WebOTX/S conforming to CORBA transaction services
    Yagi, Shinjiro
    [J]. NEC Research and Development, 2000, 41 (04): : 311 - 314
  • [39] ReLock: a resilient two-phase locking RESTful transaction model
    Frosini, Luca
    Pagano, Pasquale
    Candela, Leonardo
    Simi, Manuele
    Bernardeschi, Cinzia
    [J]. SERVICE ORIENTED COMPUTING AND APPLICATIONS, 2021, 15 (01) : 75 - 92
  • [40] ReLock: a resilient two-phase locking RESTful transaction model
    Luca Frosini
    Pasquale Pagano
    Leonardo Candela
    Manuele Simi
    Cinzia Bernardeschi
    [J]. Service Oriented Computing and Applications, 2021, 15 : 75 - 92