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

Do not run out of InnoDB buffer pool during recovery

    XMLWordPrintable

    Details

      Description

      Reduce memory usage during the recovery page.
      1) innodb_gis.rtree_recovery,4k test case - Fails with the following error

      [Warning] InnoDB: Difficult to find free blocks in the buffer pool (21 search iterations)! 21 failed attempts to flush a page! Consider increasing innodb_buffer_pool_size. Pending flushes (fsync) log: 0; buffer pool: 0. 577 OS file reads, 1 OS file writes, 1 OS fsyncs.
      

      Buffer ran out of memory during recovery. Remove recv_n_pool_free_frames hack

      2) MDEV-12699 introduces mlog_reset. Basically, it stores all init records of the page, mlog_index_load of all page and their respective LSN.
      It is done to avoid I/O of mlog_init_ record pages during recovery.

      Remove mlog_reset and store this information as a part of recv_addr.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              thiru Thirunarayanan Balathandayuthapani
              Reporter:
              thiru Thirunarayanan Balathandayuthapani
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: