Abstract
Linear hashing is a dynamic hash structure in which the address space may vary dynamically when the database size is changed. Multi-attribute linear hasing is a generalization of linear hashing. It supports operations for associative search and may have wider applicability. This paper presents an algorithm for synchronizing concurrent operations in multi-attribute linear hashing with particular attention paid to the treatment of concurrent partial-match operations. Unlike the previous non-two-phase methods, the algorithm employs the principle of optimistic concurrency control technique, which leads an operation to “ retry” when interference from concurrent conflicting operations occurs. The method also uses a strictly increasing counter to filter out a significant number of unnecessary retries, thus allowing search, partial-match, insert, and delete operations to proceed concurrently with split and merge operations. The search and partial-match operations do not need to set any lock, and no operations need to set locks on any shared global variables. Therefore, the operations potentially allow a higher degree of concurrency in the system. An argument for the correctness based on the notions of weak consistency and a discussion for the performance of the proposed algorithm are also present.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.