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 do you mean by teradata intellicloud?

0 Answers  


Why are oltp database designs not generally a good idea for a data warehouse?

0 Answers  


What are the main components of teradata system?

0 Answers  


Why do you get spool space errors? How do trouble-shoot them?

0 Answers  


How do you Generate sequence at the time of Display?

2 Answers   Infosys,






What is the maximum number of dml can be coded in a multiload script?

0 Answers  


i am pursuing mca and i want to do tera data .so plz suggest me the best institue in hydrabad who teach real tym scenerio.

1 Answers  


what is the structure of UV table in MLOAD?

4 Answers   Cap Gemini,


in ur table contains the coloumns like deptno,sal empname then i want output as deptno subtotalofdept totalsal 10 3700 3700 20 3400 7100 like that

1 Answers   IBM,


Describe primary index in teradata. And what are the available primary index types?

0 Answers  


What are the types of tables in Teradata

22 Answers   Cap Gemini, Cognizant, Infosys,


what are the day to day activities of teradata DBA ?

0 Answers   TCS,


Categories