Re: Access and Filter Predicate on same execution plan line
From: Mladen Gogala <gogala.mladen_at_gmail.com>
Date: Tue, 17 Aug 2021 21:43:15 -0400
Message-ID: <978376fa-428e-a6a9-adde-42302799d04b_at_gmail.com>
Date: Tue, 17 Aug 2021 21:43:15 -0400
Message-ID: <978376fa-428e-a6a9-adde-42302799d04b_at_gmail.com>
On 8/17/21 8:51 PM, Mark W. Farnham wrote:
> If your first column is just two values, say, either Y or N, then a skip scan filtering on the second in each of Y and N will be the good polar case of skip scan. (Well, actually all values equal would be even better, but that would also be a silly column to have and index).
>
> If you have 42 billion different values for the first column only a few of which have the desired value in the second column, that will be toward the polar bad case.
-- Mladen Gogala Database Consultant Tel: (347) 321-1217 https://dbwhisperer.wordpress.com -- http://www.freelists.org/webpage/oracle-lReceived on Wed Aug 18 2021 - 03:43:15 CEST