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

Increase the undo log tablespace during startup

    XMLWordPrintable

    Details

      Description

      Requirements

      • A prior shutdown with SET GLOBAL innodb_fast_shutdown=0 must be executed before adding the undo log tablespaces.

      This is because the undo logs must be empty (no incomplete or XA PREPARE transactions, nothing to be purged) so that the old undo tablespaces can discarded and new ones created.

      This patch should come to effect when there is an increase in the innodb_undo_tablespaces variable.

      Steps

      1. Check whether the existing undo log exists. If exists then give the warnings about the slow shutdown and start the server normally.
      2. If not exist then create the specified number of undo tablespace.
      3. Create the rollback segment for each rollback segment in a round robin fashion
      4. The modifications must happen atomically within a single mini-transaction.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              thiru Thirunarayanan Balathandayuthapani
              Reporter:
              thiru Thirunarayanan Balathandayuthapani
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: