Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-20331

Implement N1QL batch_args

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • feature-backlog
    • 4.5.0
    • query
    • None

    Description

      N1QL currently does not sport the concept of cursors (which is not surprising since it's stateless), neither select nor insert.
      Issue is - for bulk data loads via N1QL, executing inserts individually in a loop is painfully slow.
      The REST API document describes batch_args, a list of list of positional arguments, which can be used to execute the same DML multiple times, over a list of arguments, within the same request.
      That would speed up data loading a zillion times!

      Slight issue - I have checked and it is not implemented
      We would also need SDK support for it to make it usable.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            keshav Keshav Murthy
            marco.greco Marco Greco (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty