Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

macro sql Optimization - response (1) by VBurmist

$
0
0

 

Hello,

 

your Explain shows that partition elimination does happen, both for PMART_ST.PRE_PAYMENT_DETAIL and PMART_ST.PRE_PAYMENT_RESETL_DETAIL tables (the phrase "single partition"):

 

 

we do an all-AMPs RETRIEVE step froma single partition of

     PMART_ST.PRE_PAYMENT_DETAIL witha condition of(

     "PMART_ST.PRE_PAYMENT_DETAIL.Pre_Account_Dt = DATE '2013-11-12'")

 

 

We do an all-AMPs RETRIEVE step froma single partition of

     PMART_ST.PRE_PAYMENT_RESETL_DETAIL witha condition of(

     "PMART_ST.PRE_PAYMENT_RESETL_DETAIL.Pre_Account_Dt = DATE

     '2013-11-12'")

 

 

Please provide the Explain where the partition elimination does not happen.

 

Regards,

Vlad.


Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>