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

What is teradata and why it is used?

1178


What does Amp contain and what are all the operations that it performs?

1049


How do you create tables? Exact syntax, and create profiles, users in teradata?

1087


What is called partitioned primary index (ppi)?

1053


Can you connect multiload from ab initio?

1279


My table got locked during mload due to a failed job. What do I do to perform other operations on it?

1156


How many codd's rules are satisfied by teradata database?

1148


How is MLOAD Teradata Server restarted after execution?

1339


In Teradata, how do we Generate Sequence?

1088


What is the difference between fastload and multiload? Which one is faster?

1295


What is smp and mpp platforms?

1031


How many tables can you join in v2r5?

1115


What is the difference between teradata and oracle?

1064


Why is the case expression used in teradata?

1134


Explain BYNET.

1053