What is use of compress in terdata?Explain?

Answers were Sorted based on User's Feedback



What is use of compress in terdata?Explain?..

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

What is use of compress in terdata?Explain?..

Answer / veni botcha

Hey Buddy!!

U r mistaken we can only compress 255 distinct values per
column plus nulls(by default).
Compressed values are stored in table header.
also compression cannot be done on primary index columns
and alter table does not support compression on existing
columns.
Compression works with multi-set tables.

Is This Answer Correct ?    15 Yes 1 No

What is use of compress in terdata?Explain?..

Answer / yuvaevergreen

Use of compress is multivalue compression saves space and
adds speed.

Is This Answer Correct ?    8 Yes 0 No

What is use of compress in terdata?Explain?..

Answer / ismail

Both of ur answers about the number of columns values that
can be compressed (255 distinct values/single value) are
correct. Versions upto V2R4 allows only single value
compression. Since V2R5 multi-value compression is possible.

Is This Answer Correct ?    7 Yes 0 No

What is use of compress in terdata?Explain?..

Answer / vinay

@Veni ...FYI Compression works with SET tables as well.

Is This Answer Correct ?    5 Yes 0 No

What is use of compress in terdata?Explain?..

Answer / tdguy

Highly common values are used for compression. More space
can be saved. The value is stored in table header.
Datatypes like INTERVAL, TIME, TIMESTAMP, VARBYTE and
VARCHAR cannot be compressed.

Is This Answer Correct ?    3 Yes 0 No

What is use of compress in terdata?Explain?..

Answer / yuvaevergreen

Compression helps in enhanced storage, improved response
time, CPU savings.
Select Currentperm from DBC.tablesize where
tablename='tablename'; Using the permsize, we can know about
the percentage space saved.

Is This Answer Correct ?    1 Yes 0 No

What is use of compress in terdata?Explain?..

Answer / surendra

Now, 13.10 is equiped with 510 characters wide compression
including more datatypes. The ALC which helps to use the UDF
is adding more power to compression. I feel happy that the
MVC and ALC can work together which also reduce the further
effort while working on a compressed data column.

Is This Answer Correct ?    0 Yes 0 No

What is use of compress in terdata?Explain?..

Answer / bkishor

We can compress VARCHAR also in TD14 Version

Is This Answer Correct ?    0 Yes 0 No

What is use of compress in terdata?Explain?..

Answer / rahul

I heart about in Teradata 14 ,NCR allows compress on varchar columns as well ,upto 510 character please correct me if i m wrong.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Teradata Interview Questions

What is the use of having index's on table?

1 Answers  


Highlight the need for Performance Tuning.

0 Answers  


Hi Friends I have a sql question, We have the source data as below. 101 address1, address2, address3 and the output shoulb like below 101 address1 101 address2 101 address3 Required a SQL query for this output. Please let me know if you have any sql query for this. Thanks in advance. Hari M

6 Answers   JPMorgan Chase,


On which column will you take primary index???

4 Answers  


What is oltp?

0 Answers  






Can any one explain me the difference between BTEQ and MLOAD,TUMP. All canbe used for same purpose but still differnt methods. why ?

0 Answers  


What are the commands to make a new table, change a table and remove a table in teradata?

0 Answers  


What are two examples of an OLTP environment?

4 Answers  


List out some of the primary characteristics of teradata.

0 Answers  


What are default access rights in teradata? What explicit right can be given to a user?

0 Answers  


Briefly explain each of the following terms related to relational database management system (rdbms) – database, tables, columns, row, primary key and foreign key.

0 Answers  


can we have an unconnected lkp to lookup a DB2 record against a Teradata record?

3 Answers  


Categories