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

Spurious warnings about inapplicable hints.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Morpheus
    • Morpheus
    • analytics
    • Untriaged
    • 0
    • Unknown

    Description

      With CBO on, during join enumeration, the same hint may be applicable during one join order, and may be inapplicable during a different join order. Since we generate the warning as soon as we encounter it, if it becomes applicable in a different join order, the warning should be suppressed.

      select 017, count(1)  from  S   join T on S.u1K  /*+ hashjoin build (T) */ = T.u1K join U on T.u4K   = U.u4K;
       
      select 017, count(1)  from  S   join T on S.u1K  /*+ hashjoin build (T) */ = T.u1K join U on T.u4K  /*+ hashjoin build (S) */ = U.u4K;
      

      Attachments

        Issue Links

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

          Activity

            People

              vijay.sarathy Vijay Sarathy
              vijay.sarathy Vijay Sarathy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty