[ 
https://issues.apache.org/jira/browse/DERBY-2499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490422
 ] 

A B commented on DERBY-2499:
----------------------------

< when you talk about the probe predicate bring useful, is R1 and R2 = to 
reason 1 and reason 2?

I was thinking more along the lines of "requirement 1 and requirement 2".  I.e. 
there are two requirements that must be satisified in order for a probe 
predicate to be considered "useful".

> Update Tuning Guide documentation to reflect the new static IN list 
> transformation that occurs as a result of DERBY-47.
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2499
>                 URL: https://issues.apache.org/jira/browse/DERBY-2499
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Documentation
>    Affects Versions: 10.3.0.0
>            Reporter: A B
>         Assigned To: Laura Stewart
>            Priority: Minor
>
> DERBY-47 changed the static rewrite logic for IN lists.  Whereas we used to 
> create a BETWEEN predicate for IN-lists that contain all constants and then 
> use that predicate to limit the scan, we now create a "probe predicate" for 
> IN-lists that contain all constants *and/or* parameter nodes and then use 
> that new predicate to perform execution-time probing.
> The documentation in the Tuning Guide needs to be updated to reflect this 
> change in behavior.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to