Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Is mload delete faster than the Bteq delete? - response (2) by teradatauser2

$
0
0
    partition question Hi, I have a table tab1 with partition on a integer type column col with partition defn PARTITION BY RANGE_N(col BETWEEN 1 ,2 ,3 ,4 ,6 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,21 ,23 ,24 ,25  AND 26 ,  NO RANGE); I have a query like: sel * from tab1 where col<>3. This query is going for a full table scan and not using partition. I wanto write a query like : sel* from tab1 where col in (,1,2,4..). This uses partition elimination. But the question is, how do i give the values in the 'no range' as i am not aware what values it might have. This is a very big table with a size of around 3 TB and the first query shows a large time in explain. Yes, i am trying to implement the same solution that you suggested. But this question was lingering in my mind..For that i have another question(i have posted that as well..but didn't get a proprt reply till now). Could you suggest?

Viewing all articles
Browse latest Browse all 27759

Trending Articles



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