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

Support Cursors & Batch Size

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 4.5.0
    • query
    • Security Level: Public
    • None

    Description

      In certain conversations it came up that it would be great to get some kind of cursor on a N1QL response, very much like MongoDB and JDBC connectors provide it.

      Of course this is different from using OFFSET and LIMIT, since let's say you do SELECT * FROM `travel-sample` and you want to analyze it all, getting back a cursor and then retrieving the data batch by batch with the given size. This would allow easy consumption of large amounts of data without overwhelming the clients (reading it all in one shot), better memory management and so forth.

      Attachments

        Issue Links

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

          Activity

            People

              keshav Keshav Murthy
              daschl Michael Nitschinger
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty