1.what is activity count?
2.what is skew factor?
how it's working explain brefily
Answer Posted / yuvaevergreen
1. >> activity count indicates the no of rows affected/processed by the last request(no of rows returned to bteq from teradata).
2. >> skewness refers to the distribution of rows on the amps.
>> If some AMPs are having more rows and some very less, then skewness would be high. This would affect the parallelism.
3. Following query gives the skewness for all tables.
SELECT ts.DatabaseName
,ts.TableName
,td.CreateTimeStamp AS Created
,td.LastAlterTimeStamp AS LastAltered
,td.AccessCount
,td.LastAccessTimeStamp AS LastAccess
,SUM(ts.CurrentPerm) AS CurrentPerm
,SUM(ts.PeakPerm) AS PeakPerm,
(100 - (AVG(ts.CurrentPerm)/MAX(ts.CurrentPerm)*100)) AS SkewFactor
FROM DBC.TableSize ts
JOIN DBC.Tables td
ON ts.DatabaseName = td.DatabaseName
AND ts.TableName = td.TableName
GROUP BY 1,2,3,4,5,6;
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Explain some differences between mpp and smp?
Explain teradata architecture?
What is meant by a Least Cost Plan?
What is a sparse index?
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. Rajesh my email-id: rajeshmss87@gmail.com
Explain the types of join supports by teradata?
While creating table my dba has fallback or no fallback in his ddl. What is that?
Differentiate database data and data warehouse data?
What is basic teradata query language?
Backup Script was blocked you are unable to archive the data now. how do you analyze it and where do you identify ?
What is meant by a Clique?
What's the difference between timestamp (0) and timestamp (6)?
If the PMON is not working then how do you identify and monitor all the processes, resources and sessions ?
What is TPD?
What tools would you use for that?