Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-2783

Protocol level compression

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 6
    • Component/s: None
    • Labels:
    • Sprint:
      MXS-SPRINT-143, MXS-SPRINT-144, MXS-SPRINT-145

      Description

      Hello!
      My maxscale version is 2.3.11-1.x86_64

      When I use direct connection, like this
      mysql -h <SERVER_IP> -u <DB> -P<PORT> -p -C -e "\s"
      I have in my output:

      Protocol:               Compressed
      

      When I try it through maxscale, I can't see "Compressed" in my output. How can I get compression with maxscale?

      I have problem like this link on my php application:
      https://jira.mariadb.org/browse/MXS-702

      when I try use compression with mysqli code from description -> I get freez
      when I try use PDO with strace:

      sendto(3, "\r\0\0\0\0\0\0\t\0\0\0\3SELECT 1", 20, MSG_DONTWAIT, NULL, 0) = 20
      poll([{fd=3, events=POLLIN|POLLERR|POLLHUP}], 1, 1471228928) = 1 ([{fd=3, revents=POLLIN}])
      recvfrom(3, "\30\0\0\1\377\27\4#08S01Unknown command", 78, MSG_DONTWAIT, NULL, NULL) = 28
      poll([{fd=3, events=POLLIN|POLLERR|POLLHUP}], 1, 1471228928^Cstrace: Process 7937 detached
      

      I think PDO use mysqlnd, but I can't understand why compression not work with native mysql client.

      Can you explain for me this sentance:

      Compression is not included in the server handshake.
      

      https://mariadb.com/kb/en/mariadb-maxscale-23-limitations-and-known-issues-within-mariadb-maxscale/
      I can't understand it.

        Attachments

          Activity

            People

            Assignee:
            esa.korhonen Esa Korhonen
            Reporter:
            ssmirnov Sergey Smirnov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Git Integration