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

[N1QL] memory_quota not being hit by insert statement

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Critical
    • Morpheus
    • 7.6.0
    • query
    • None
    • 7.6.0-2097
    • Untriaged
    • 0
    • Unknown

    Description

      Pretty simple scenario

      create bucket named bucket-1

      set memory_quota to 1

      run this insert - inserts 1 document

      https://docs.google.com/document/d/1urKUok3nyRVs-OZk0kFh8B_P2Ib-_u5595ED8mvhbdI/edit - as you can see its 27 pages of characters, should be more than enough to hit the memory_quota

      and we see that the document is indeed inserted and returned

      ],
      "status": "success",
      "metrics":

      { "elapsedTime": "83.442898ms", "executionTime": "79.18675ms", "resultCount": 1, "resultSize": 102430, "serviceLoad": 6, "usedMemory": 103868, "mutationCount": 1 }

      }

      Since this is one singular document greater than 1 MB shouldn't this always hit a memory_quota of 1?

      Attachments

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

        Activity

          People

            ajay.bhullar Ajay Bhullar
            ajay.bhullar Ajay Bhullar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty