[Bizgres-general] A Guide to Constraint Exclusion ( Partitioning)
Luke Lonergan
llonergan at greenplum.com
Thu Jul 14 21:13:17 GMT 2005
>>> CE checks will not currently recognise STABLE functions within a query.
>>> So WHERE clauses such as
>>> DateKey > CURRENT DATE
>>> will not cause exclusion because CURRENT DATE is a STABLE function.
>>>
>>> CE checks are not made when the parent table is involved in a join.
>>
>> Is this also the case where parent table is inside subquery and that
>> subquery is involved in a join?
>
> My comment was too terse. What I meant was that you can't do dynamic
> exclusion based upon the results of a join. i.e. PPUC2
Phew! Correlated subqueries won't CE then, but the more common complex
queries will. We'll test with some common ones soon.
- Luke
More information about the Bizgres-general
mailing list