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

Pls any body reply for this question.
Which circumstance does the optimizing choose a product join?
Thanks for advance

Answer Posted / ab75150

Product join occurs in 2 circumstances.

1) Your stats are out-dated
2) One table is a substantially huge and the other is very
small. In that case, optimizer identifies that is better to
replicate the smaller tables across all amps and then
complete the join.

In later case, product join is not bad. but if the stats
are outdate, better refresh the stats and go ahead with the
execution.

Incase your stats are good and still optimizer goes the
product join path, if you really want to avoid it, you may
force the optimizer not to choose it with following command
DIAGNOSTIC NOPRODJOIN ON FOR SESSION

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to select first n records in teradata?

1041


If the PMON is not working then how do you identify and monitor all the processes, resources and sessions ?

2135


Describe primary index in teradata?

959


What tools would you use for that?

1029


What is the use of having index on table?

954


What do you mean by parsing?

1060


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

917


Give the sizes of SMALLINT, BYTEINT and INTEGER.

1108


What do you mean by teradata sql assistant?

1000


Steps to create a data model?

1064


What are the different functions performed in development phase?

1015


Explain teradata architecture in detail with a diagram.

1053


Why teradata is used?

943


Explain the types of join supports by teradata?

936


Can we have an unconnected lkp to lookup a db2 record against a teradata record? Doesnt seem to work. I could be wrong

1017