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

Better memory management: Soft and hard limits for sessions

    XMLWordPrintable

Details

    • New Feature
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • Memory management
    • None

    Description

      There should be a way to be informed when a session allocates more memory than a soft limit, defined by a global such as session_memory_soft_limit. When the server allocates more than this for a session, it posts a message in the error log, including details about the allocation (which ID, USER, HOST, Command, State).

      There should be a way to stop a session from allocating more memory than a hard limit, defined by a global such as session_memory_hard_limit. In the event that a session attempts to exceed this limit, it would be prevented with an error visible to the client and posted in the error log.

      Each of these limits can be disabled with a value of 0 (default).

      Attachments

        Activity

          People

            Unassigned Unassigned
            edward Edward Stoever
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.