Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How do you verify a complicated sql?

1067


Mention a few of the ETL tools that come under Teradata.

1079


What do you mean by fastexport in teradata?

1002


Explain teradata architecture?

1093


What is the meaning of Caching in Teradata?

1141


How does hashing happens in teradata?

1091


What are normalization, first normal form, second normal form and third normal form?

1053


What is basic teradata query language?

1117


Explain and compare pros and cons of snow flake schemas?

1035


What is stored procedure in teradata?

1030


What is dimensional modeling?

1085


How can we check the version of Teradata that we are using currently?

1069


What are the joins in teradata and how many types of joins are there in teradata?

1004


Is it necessary to add? Quit statement after a bteq query when I am calling it in a unix environment?

1240


Explain the term 'foreign key' related to relational database management system?

1043