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...


I have a table with emp id, emp name, dept id and sal where
dept id is NUSI. SEL * FROM EMP WHERE DEPTID = 100. Can any
one explain how it will fetch the record.

Answers were Sorted based on User's Feedback



I have a table with emp id, emp name, dept id and sal where dept id is NUSI. SEL * FROM EMP WHERE ..

Answer / ajain

Whenever NUSI is created, subtable will be created for each AMP's with the fields rowid and secondary index value.For NUSI ,subtable will be AMP local ie it will be having the records which are specific to the particular AMP.
When someone queries with the NUSI, all the AMPs will search in their own subtable for particular secondary index .For AMPs which found the particular record in their subtable ,it will retrieve the actual data from the AMP and PE will be consolidating the records and give to user

Since NUSI involves all AMP operation , PE will be deciding whether FULL table scan or ALL AMP operation will be more efficient .

Is This Answer Correct ?    4 Yes 0 No

I have a table with emp id, emp name, dept id and sal where dept id is NUSI. SEL * FROM EMP WHERE ..

Answer / saravanan

If COLLECT STATS has been defined on the table EMP, then PE
will avoid going for a FULL TABLE SCAN.
If not, PE will undergo a FULL TABLE SCAN to fetch
DEPTID=100

Is This Answer Correct ?    4 Yes 2 No

I have a table with emp id, emp name, dept id and sal where dept id is NUSI. SEL * FROM EMP WHERE ..

Answer / siva reddy

in case we are using nusi in this swicthvation subtable is created same amps.it is one of the full table scan but not full table scan.it's scan only all amps sub table.if any one of the match it will disply.here no allgorithem can be performed.

Is This Answer Correct ?    1 Yes 0 No

I have a table with emp id, emp name, dept id and sal where dept id is NUSI. SEL * FROM EMP WHERE ..

Answer / saravanan

If your question is about how Parsing engine would fetch
DEPTID=10, it will undergo a FULL TABLE scan since Dept_Id
is a Non unique secondary index.

Is This Answer Correct ?    1 Yes 6 No

Post New Answer

More Teradata Interview Questions

What is difference between user and database in teradata?

0 Answers  


During the Display time, how is the sequence generated by Teradata?

0 Answers  


what is identity columns in TD?

2 Answers   Wipro,


What is collect statistics?

0 Answers  


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,


What type of indexing mechanism do we need to use for a typical data warehouse?

0 Answers  


What is the purpose of using case expression in teradata?

0 Answers  


Highlight a few of the important components of Teradata?

0 Answers  


what is use of fload loading into set table?

2 Answers   IBM,


What is meant by a Virtual Disk?

0 Answers  


What is the use of virtual processor connectivity in teradata?

0 Answers  


Explain the term 'tables' related to relational database management system?

0 Answers  


Categories