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

Partition Elimination - response (3) by ilf

$
0
0

Hi,
 
I have a question. We have a table having column with timestamp data type. Partition is applied on the column by casting it to date data type. attached below.
Col1 TIMESTAMP(0))
PRIMARY INDEX ( Col2 )
PARTITION BY RANGE_N(CAST((Col1 ) AS DATE AT TIME ZONE INTERVAL '3:00' HOUR TO MINUTE ) BETWEEN DATE '2012-01-01' AND DATE '2014-12-31' EACH INTERVAL '1' DAY );
Do you think this casting of the partitioning column can have a performance issue in insertion and sel queries?
Your reponse will be appreciated


Viewing all articles
Browse latest Browse all 14773

Trending Articles



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