Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-26

Need documentation on View/Query errors and limitations

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: tech-debt
    • Component/s: views
    • Labels:

      Description

      From Damien:
      It's hard to quantify when it would fail, but the problem with too many fields is the reduction value keeps growing unbounded and it's stored in a inner node in the btree. Then it becomes a problem of only being able to store 2 reduce values in the node and parsing and computing on these big structures every time the view is queried or updated, and slows everything to a crawl. If it gets too big, the js engine will timeout or run out of memory.

      I believe the best advice is to not let the total size of a reduce value, when serialized to text, be larger than 1k. If it's larger than that, you are probably doing something wrong.

      Can we please:
      -Investigate and reproduce the errors associated with http://www.couchbase.com/issues/browse/CBSE-483
      -Create and resolve any necessary bugs
      -Document the limitations and provide best practices to avoid this in the future

        Issue Links

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

          Activity

          Hide
          gerald Gerald Sangudi added a comment -

          Hi Amy,

          Please break this up into two tickets. One ticket is for me to specify query errors. Another ticket is for Siri to specify view engine errors.

          Thanks.

          Show
          gerald Gerald Sangudi added a comment - Hi Amy, Please break this up into two tickets. One ticket is for me to specify query errors. Another ticket is for Siri to specify view engine errors. Thanks.
          Hide
          ianmccloy Ian McCloy added a comment -

          Please also document that an error with one view in a design document will cause the other views in the design document to not get processed as described in MB-11950

          Show
          ianmccloy Ian McCloy added a comment - Please also document that an error with one view in a design document will cause the other views in the design document to not get processed as described in MB-11950
          Hide
          akurtzman Amy Kurtzman added a comment -

          Per Gerald, this ticket is no longer applicable to N1QL.

          Perry, is there something that still needs to be addressed in the documentation for this ticket? Please close it if it is no longer needed. If something is still needed, please let us know who can give us the correct information to document.

          Thanks, Amy

          Show
          akurtzman Amy Kurtzman added a comment - Per Gerald, this ticket is no longer applicable to N1QL. Perry, is there something that still needs to be addressed in the documentation for this ticket? Please close it if it is no longer needed. If something is still needed, please let us know who can give us the correct information to document. Thanks, Amy
          Hide
          perry Perry Krug added a comment -

          Amy, this ticket lists out many different possible view errors, and none of them are documented. That is the request, and Gerald is correct that it does not apply to N1QL.

          Show
          perry Perry Krug added a comment - Amy, this ticket lists out many different possible view errors, and none of them are documented. That is the request, and Gerald is correct that it does not apply to N1QL.
          Hide
          marija Marija Jovanovic added a comment -

          This bug requires additional explanations and to provide best practices.

          Show
          marija Marija Jovanovic added a comment - This bug requires additional explanations and to provide best practices.

            People

            • Assignee:
              don Don Pinto
              Reporter:
              perry Perry Krug
            • Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes