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.

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you fastexport a field, which is primary key by putting equality on that key?

1118


Explain the meaning of Amp?

1035


What is called partitioned primary index (ppi) and discuss the advantages of using it in a query?

960


What is teradata and why it is used?

1015


What do you mean by parsing?

1060


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

1042


Where is teradata rdbms used?

1038


Write a program to show the parser component used in teradata?

917


What are default access rights in teradata?

1052


While creating table my dba has fallback or no fallback in his ddl. What is that?

1116


What is a three-tier data warehouse?

1054


What are the various reporting tools in the market?

989


How to select first n records in teradata?

1042


why use references rather than pointers in the public api, particularly for arguments which are modified?

940


What is meant by a Highest Cost Plan?

989