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

Can any one please provide me practical example of How to
do the performance tuning in Query??

Answer Posted / subbareddy kake

I will give you example for this....

Select *from emp where deptno=20 and empno:7788

above query will take much time to execute compared to
bellow query
Select *from emp where empno=7788 and deptno=20

becoz first query will take 1st all 20th dept emps and
again it will search for specific empno.but second query
will search first 7788 empno next it will see,that empno is
related to 20th dept or no.

So it will take less time for execution.

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the components provided on node?

1048


What are the various indexes in teradata? Why are they preferred?

1010


What is bteq script in teradata?

1159


Why teradata is used?

1011


How teradata makes sure that there are no duplicate rows being inserted when its a set table?

989


What is the difference between union and union all in teradata?

1128


What tools would you use for that?

1111


Explain teradata architecture?

1099


Define views in teradata with syntax.

1082


What is bteq utility in teradata?

981


Did you write stored procedures in teradata?

1135


What happens in a conflict? How do you handle that?

1050


What are the advantages of teradata?

1017


How can you track login parameters of users in teradata?

1198


How to Extract data from multiple legacy systems?

1125