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
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