Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-463

faster connection with bundle first commands in authentication packet

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Do
    • None
    • N/A
    • performance
    • None

    Description

      Permit faster connection with bundle commands in Client handshake response.

      Driver execute different command on connection :

      • set session info : SET autocommit=%option_autocommit%, sql_mode = concat(@@sql_mode,',STRICT_TRANS_TABLES')
      • get session infos : SELECT @@max_allowed_packet , @@system_time_zone, @@time_zone, @@auto_increment_increment
      • in case of aurora : show global variables like 'innodb_read_only'
      • if createDatabaseIfNotExist option : CREATE DATABASE IF NOT EXISTS <db> and USE <db>
        those queries will be send directly with Client handshake response, avoiding exchanges.

      Attachments

        Issue Links

          Activity

            People

              diego dupin Diego Dupin
              diego dupin Diego Dupin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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