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

Collect Statistics - response (4) by Divine786

$
0
0

I am taking a join on a index column & its taking time to execute the following query 

SELECT

A.ACCOUNT_NUM AS ACCOUNT_ID,

A.Limit_Type_Cd,

A.Acct_Limit_Amt,

A.Acct_Limit_Expiry_Dt,

A.Acct_Limit_Ref_Id,

B.Limit_Ref_ID,

C.Collateral_Item_Id,

C.Collateral_Item_Type_Cd,

C.Collateral_Item_Status_Cd,

C.Collateral_Value_Amt,

C.Collateral_Nominal_Value_Amt,

C.Collateral_Max_Value_Amt,

C.Collateral_Item_Expiry_Dt

FROM UT_TAB.ACCOUNT_CREDIT_LIMIT AS A

 

INNER JOIN UT_TAB.LIMIT_DETAILS AS B

ON

A.ACCT_LIMIT_REF_ID = B.LIMIT_REF_ID

 

INNER JOIN UT_TAB.COLLATERAL_ITEM AS C

ON

B.Limit_Linked_CollateraL = C.Collateral_Item_Categ_Cd

 

 

C.Collateral_Item_Categ_Cd is the Secondary index column is there any solution to get the result faster


Viewing all articles
Browse latest Browse all 14773

Trending Articles



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