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

innodb buffer pool soft decommit of memory

    XMLWordPrintable

    Details

      Description

      Innodb buffer can fill up on things like during a mariadb-dump.

      The logically successor to MDEV-25340 to keep only the memory required for innodb actually mapped is as part of the LRU to purge off old pages if they really haven't been used in a while. These will be still allocated to mariadbd, however in a virtual non-paged in sense.

      This can be done on linux with madvise(MADV_FREE) (Linux and FreeBSD). Windows has VirtualFree MEM_DECOMMIT/MEM_RESET.

      These a proactive releases, and them mechanisms implemented can be reused to serve reactive mechanism like MDEV-24670.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              danblack Daniel Black
              Reporter:
              danblack Daniel Black
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:

                  Git Integration