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

Use multi statement when inserting documents

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.0
    • Fix Version/s: 6.0.0
    • Component/s: nosqlprotocol
    • Labels:
      None

      Description

      Currently, if the insert_behavior is as_nosql, that is, nosqlprotocol behaves just like MongoDB, there will be as many INSERT statements and roundtrips (between MaxScale and the backend) as there are documents.

      If multi-statements are used, the number of roundtrips could be cut down to 1, which should have a significant impact on the performance.

      If insert_behavior is as_mariadb, there will be just one INSERT statement and 1 roundtrip, which is likely to continue providing the best performance.

        Attachments

          Activity

            People

            Assignee:
            johan.wikman Johan Wikman
            Reporter:
            johan.wikman Johan Wikman
            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.