[MDEV-23719] Make lock_sys use page_id_t Created: 2020-09-11  Updated: 2020-10-06  Resolved: 2020-09-17

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - InnoDB
Affects Version/s: 10.5
Fix Version/s: 10.5.7

Type: Bug Priority: Major
Reporter: Marko Mäkelä Assignee: Marko Mäkelä
Resolution: Fixed Votes: 0
Labels: performance

Issue Links:
Relates
relates to MDEV-17491 micro optimize page_id_t Closed
relates to MDEV-23399 10.5 performance regression with IO-b... Closed

 Description   

The InnoDB buffer block page descriptor is caching a value buf_block_t::lock_hash_val that would be very quick to compute especially on 64-bit systems if the record locks used a single 64-bit page_id_t instead of handling two register-width parameters for tablespace identifier and page number.

Let us remove buf_block_t::lock_hash_val to improve the locality of reference and to reduce the memory footprint, and let us make the lock subsystem handle 64-bit page_id_t like many other subsystems do in the 10.5 release.


Generated at Thu Feb 08 09:24:31 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.