Enhancing Database Efficiency: A Comprehensive Approach to DB Lock Optimization
Abstract: Typically, large-scale data transfers into the database cause lots of locking which negatively affects query execution, concurrency, as well as blocking operations such as ALTER, UPDATE, and DELETE. To ensure data consistency, a set of locks are necessary, that can become a performance bottleneck as well as cause deadlocks. The contributions of this paper include three novel techniques to improve database operation and defeat large data loads through lock contention. We minimize data handling efficiency by converting lists into sets first. The second is that data can be processed outside the main database by using temporary or virtual memory, which minimizes the lock durations. Third, by using ‘placeholders’ when inserting data, the operations stay non-blocking and do not affect other transactions. We implement these methods to show how the performance of the database can be increased, how high the concurrency is, and how we can prevent locking issues in the database in the future.
Authors
- Yash Pal Singh (ORCID: https://orcid.org/0000-0003-1535-2829)
- Rakesh Bhatnagar (ORCID: https://orcid.org/0000-0001-7184-6378)
- Swati Singh (ORCID: https://orcid.org/0000-0002-3131-5203)
- Khushi Pal
Institutions
- Birla Institute of Technology and Science, Pilani (IN)
Publication Details
- Journal
- International Journal for Research in Applied Science and Engineering Technology
- Published
- 2025-04-08
- DOI
- https://doi.org/10.22214/ijraset.2025.68419
- Primary Topic
- Distributed and Parallel Computing Systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00