Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-23719

Make lock_sys use page_id_t

    XMLWordPrintable

    Details

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              marko Marko Mäkelä
              Reporter:
              marko Marko Mäkelä
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: