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

Use multi statement when inserting documents

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 6.0.0
    • 6.0.0
    • nosqlprotocol
    • 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

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