Answer Posted / sat!sh
Compression is used to Minimize the table size, for example
when the table size is increasing anonymously We can use
Compression to reduce the size of the table
Conditions:
1.Compression can be declared at the time of table creation
2.We can compress up to 256 column values(not columns)
3.We can't compress variable length fields
(vartext,varchar..)
Explanation for 2 condition:
create table tab1
(
:
:
Order_type char(25) compress ('air','sea','road')
:
)
in the above example order type have 3 fields, one should
be selected by the user, so one of the field will repeat
for every order, like these column values we can use
compress statement because these are repeating for entire
table, like these column values TD supports 256 col
generally NCR people will provides ready made scripts for
these type of compressions
----
Hi friends got any best ans share with us :)
| Is This Answer Correct ? | 18 Yes | 3 No |
Post New Answer View All Answers
What is meant by a Least Cost Plan?
What is oltp?
What is the multi-insert?
What is meant by a Clique?
What are aggregate tables? How do you design them using teradata?
What's the difference between timestamp (0) and timestamp (6)?
What are the design features involved in teradata?
What are the updated features of teradata?
What are the advantages of teradata?
What is spool space? Why do you get spool space errors? How do trouble-shoot them?
What are the multiload utility limitations?
What exactly do you know about catching in teradata?
What is the difference between teradata and basic rdbms?
Let us say there is a file that consists of 100 records out of which we need to skip the first and the last 20 records. What will the code snippet?
What is partitioned primary index (ppi)?