How to improve the performance of a pl/sq stored procedures
or functions or triggers and packages ?

Answer Posted / kapil

By using index (not always)
by using bulk fetch
by using exists and not exists in place of in and not in
clause.
by avoiding implicit conversion by oracle
ex: if in employee table emp_no is varchar then
if we query the data from employee table by
where cluase like employee_number = 123 then oracle will
have to implictly convert the number 123 to
varhcar '123'and will require time

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a temporal data type?

599


What is the difference between delete and truncate commands?

516


What is an index? What are the types of indexes? How many clustered indexes can be created on a table?

554


How do you update f as m and m as f from the below table testtable?

1090


How to write html code in pl sql?

582






What is relationship? How many types of relationship are there?

592


Why is the cursor important?

543


What is the maximum number of rows in sql table?

551


What is an example of translating a date into julian format?

582


Is sql a dbms?

536


What is a left join?

514


Can we use loop in sql?

537


how can we know the number of days between two given dates using mysql? : Sql dba

548


what is the difference between rownum pseudo column and row_number() function? : Sql dba

620


Can we insert in sql function?

551