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

Bound values in system:completed_requests

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 5.0.0
    • 4.5.0
    • query
    • None

    Description

      We should capture the values that were bound to the query for system:completed_requests for prepared statements and parameterized queries.

      Without the values of the bindings debugging issues is a non starter.

       

      e.g. select * from default where name=$name and age=$age and type = $type 

       Would like to see bound values: [$name="Asif", $age=16, $type="profile"]

      Need to know what the query binding values were for $name, $age,$type. Currently we show them only as parameter binding the actual values are unknown. Makes a big impact in figuring out (A) Which index is going to be used (B) Troubleshooting issues

      Attachments

        Issue Links

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

          Activity

            People

              ajay.bhullar Ajay Bhullar
              asif.kazi Asif Kazi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty