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 is sysdba and sysdbc ? which has high priority ?

3759


What are default access rights in teradata? What explicit right can be given to a user?

1056


Why are oltp database designs not generally a good idea for a data warehouse?

989


What exactly do you know about catching in teradata?

991


What are the different table types supported by teradata?

893


Syntax for case when statement?

1007


Explain and compare pros and cons of start schemas?

975


Comment whether bottleneck is an error or not.

1073


What are the uses of client software involved in teradata?

927


Why managing the data is important?

957


What are the various indexes in teradata? How to use them? Why are they preferred?

997


Hi, If anyone has TD 14 Basics dumps or study materials, please share. nirmaaal1991@gmail.com

2361


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

988


How to explain project Architecture and flow in teradata interviews?Can please anyone help on this? Am new to teradata.

4320


What is the syntax for case when statement?

1055