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

Send ok packet to client earlier

    XMLWordPrintable

Details

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

    Description

      Currently the ok packet to a MariaDB server client is sent in dispatch_command() by the call
      thd->protocol->end_statement()

      We can improve the response time between MariaDB server and client by sending the result packet earlier.

      For select queries we could do that in bool select_send::send_eof().
      For update queries we could do that at once the commit has been approved.

      This will improve performance as the client will be able to process the return data earlier
      and send it's next query while the server is doing cleanup of the previous query.

      Attachments

        Activity

          People

            monty Michael Widenius
            monty Michael Widenius
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.