Skip to content

Implementation of optimistic lock coupling on page level for tree index #9027

@andrii0lomakin

Description

@andrii0lomakin

After the implementation of #9026 we can remove global lock from indexes and implement B-link tree algorithm which despite of the fact that it is quite old it is still one of the most efficient algorithms of concurrency control for B-Tree. https://www.csd.uoc.gr/~hy460/pdf/p650-lehman.pdf Because it requires to keep lock only on the single page simultaneously during the modification of B-Tree. To improve scalability, even more, it is proposed to use optimistic lock coupling instead of classical locks http://sites.computer.org/debull/A19mar/p73.pdf . This type of locks is supported in Java using https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/locks/StampedLock.html .

Metadata

Metadata

Labels

enhancementwrite-performanceIssues oriented specifically to increase speed of writes

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions