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

PAUSE/RESUME CONNECTION command

    XMLWordPrintable

Details

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

    Description

      Sometimes a software is running a intensive batch of queries, and others connections start to become stalled / slow

      Should be nice a

      PAUSE CONNECTION <ID>
      PAUSE CONNECTION QUERY <ID>
      RESUME CONNECTION <ID>
      RESUME CONNECTION QUERY <ID>
      

      and a new status at information_schema.PROCESSLIST -> Connection paused

      What it does is not stop current query, but hold connection to accept a new query, but don't start executing it, hold while it is not resumed, and keep the tcp connection open with the client (if possible sending heartbeat etc to don't disconnect), when it receive a RESUME CONNECTION it "unhold" the connection and accept queries again

      Attachments

        Activity

          People

            Unassigned Unassigned
            rspadim roberto spadim
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.