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

InnoDB: store ReadView on trx

    XMLWordPrintable

    Details

      Description

      This will allow us to reduce critical section protected by trx_sys.mutex:
      1. no need to maintain global m_free list
      2. eliminate if (trx->read_view == NULL) condition

      On x86_64 sizeof(Readview) is 144 mostly due to padding, sizeof(trx_t) with ReadView is 1200.

        Attachments

          Activity

            People

            Assignee:
            svoj Sergey Vojtovich
            Reporter:
            svoj Sergey Vojtovich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: