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

Answers were Sorted based on User's Feedback



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

Answer / yuvaevergreen

There is no specific answer for this question.It depends on
various factors. But in general,
1.Do a explain and understand the plan for the query.Act
accordingly to reduce the load and time.
2.Avoid joins as far as possible(case can be used).
3.Use secondary index to speed up the queries.
4.Use collect stats to improve the performance.
Add to the above if you find more.

Is This Answer Correct ?    8 Yes 0 No

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

Answer / karthik

Take a look at the query which is been tuned and check
whether the columns used in the join conditions of multiple
tables are a part of primary index for the corresponding
tables.In addition to this makes sure that the tables used
in the query is collected with stats.Meanwhile as far as
possible make use of subqueries rather than the whole
table(can be used if the table is big).

Is This Answer Correct ?    4 Yes 1 No

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

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

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

Answer / adarsh

Ask someone from the performance tuning team,
they will be able to answer your question.


Regards

Is This Answer Correct ?    5 Yes 3 No

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

Answer / tdguy

Beauty of teradata lies in explain plan. It explains
everything about your query. Use it effectively to find the
opportunities for performance tuning.Avoid unnecessary
joins like product joins, use secondary index and collect
stats.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Teradata Interview Questions

Why FLOAD doesn't supports NUSI? Where as Mload supports NUSI. Please explain in this regard. Thanks in advance.

4 Answers   Teradata,


What is a node in teradata? Explain

0 Answers  


Can any one explain me the difference between BTEQ and MLOAD,TUMP. All canbe used for same purpose but still differnt methods. why ?

0 Answers  


What is FILLER command in Teradata?

9 Answers   CTS, IBM,


what is the difference between bpo and call centre?

2 Answers   American Solutions,






What are the primary characteristics of the Teradata.

0 Answers  


What is the basic syntax for teradata select statement?

0 Answers  


What are the different softwares used with their functions in teradata?

0 Answers  


If the PMON is not working then how do you manage and monitor all processes, resources and sessions etc.

0 Answers  


What are the joins in teradata and how many types of joins are there in teradata?

0 Answers  


I want to load 1000 rcds using. FL for every 100 records there is a check point.But script failed at 120 records, when we are restarting the script, it starts from last ckpt, but Target table contains populated data but FL doesnt support existing data in target table. How can we load data in FL?

4 Answers   IBM,


What is the syntax for case when statement?

0 Answers  


Categories