Explain about Skew Factor?

Answers were Sorted based on User's Feedback



Explain about Skew Factor?..

Answer / sat!sh

The data distribution of table among AMPs is called Skew Factor

Generally For Non-Unique PI we get duplicate values so the
more duplicate vales we get more the data have same rowhash
so all the same data will come to same amp, it makes data
distribution inequality,

One amp will store more data and other amp stores less
amount of data, when we are accessing full table, The amp
which is having more data will take longer time and makes
other amps waiting which leads processing wastage

In this situation (unequal distribution of data)we get Skew
Factor High

For this type of tables we should avoid full table scans

ex:
AMP0 AMP1
10000(10%) 9000000(90%)

in this situation skew factor is very high 90%

Is This Answer Correct ?    79 Yes 3 No

Explain about Skew Factor?..

Answer / sricharan

It is a number.It tells you how the data is distributed
among Processors or Amps.Skew factor varies about 0-100.
If the data is distributed evenly among the processor the
skew factor is ZERO whether it is smaller or large table.
Skew factor doesn't depends on size of table but it only
depends on distribution of data.

If the skewfactor is more we have to access the table on
only primary index columns but not whole table.

Is This Answer Correct ?    26 Yes 0 No

Explain about Skew Factor?..

Answer / yuvaevergreen

Skew Factor is the indication of how evenly the data is
spread across the AMPS.

A skew factor of 0 indicates that the data is perfectly
distributed across all the AMPS.

Is This Answer Correct ?    17 Yes 1 No

Explain about Skew Factor?..

Answer / navaneeth reddy

Skew factor is distribution of rows of a table among the
available no.of AMP's.
If your table has a chance of using unique primary index,it
is always better to use UPI which ensures the skew factor
around 0%.
If there is no chance of having unique values column in a
table choose a column as PI(primary index) which has less
duplicate values which inturn results in less skew factor.
That is the data will be distributed almost(not exactly
equal percentage) equally to all AMP's.

Is This Answer Correct ?    12 Yes 0 No

Explain about Skew Factor?..

Answer / yuvaevergreen

Below query can be used to find the distribution by amps.
SELECT HASHAMP(HASHBUCKET(HASHROW(index or column)))
,COUNT(*)
FROM TABLENAME GROUP BY 1 ORDER BY 2 DESC;

Is This Answer Correct ?    3 Yes 0 No

Explain about Skew Factor?..

Answer / srinu

The Table is having too many Duplicate rows, The Skew table
will hadle the duplicate rows up to limitations,Once its
cross the no of Rows it will effect on Performence.The Dba
people will the SKEW tables.

I think this Answer helps u

Is This Answer Correct ?    10 Yes 29 No

Post New Answer

More Teradata Interview Questions

How to find duplicates in a table?

0 Answers  


in a BTEQ we have 2 insert 2 del 2 update statment. when the BTEQ is restarted i need to run the BTEQ from after DEL statment(means no need to run the insert & del stat).what is the logic for the above requirement?

2 Answers   HCL,


what is referential constraints?how do you implement RI in teradata?

2 Answers   Wipro,


hi frnds i want to learn teradata utilities and teradata dba real time. i have 1+ years of experience in teradata. so i want to go deeply in Tearada. plz let me know at my email id who r best to learn from. im lookng for a realtime guy in HYD or Banglr. Thanks in advance. yedu my email-id: jakkayedukondalu@gmail.com@gmail.com

0 Answers  


What do you mean by parsing?

0 Answers  






Explain teradata utilities?

0 Answers  


What can be achieved by using the teradata rdbms?

0 Answers  


How do you design aggregate tables using teradata?

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


What is the use of teradata system software?

0 Answers  


In a table can we use primary key in one column and in another column both unique and not null constrains.if yes how?

0 Answers  


Different phases of multiload?

0 Answers  


Categories