What are the steps you take to tune(performance tuning) the code in plsql?

Answer Posted / mathivanan

1.Create indexes
2.keep up to date statistics on tablese
3.Analyse execution plans using trace utilities
4.Make use of Bulk collect,For all,returning bulk collect into.
5.Use hints when necessary
6.Minimize datatype conversions
7.use PLS_INTEGER or BINARY_INTEGER for integer Arithmetic,use BINARY_FLOAT and BINARY_DOUBLE for floating-point arithmetic
8.pin frequently used packages in shared pool memory

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is a process of pl/sql compiled?

774


Can we use having without group by in sql?

732


How to add a column ‘salary’ to a table employee_details?

770


What is varchar example?

770


What are the key differences between SQL and PL SQL?

850






explain commit and rollback in mysql : sql dba

729


What is difference between sql and oracle?

773


What are the two different parts of the pl/sql packages?

789


give the syntax of grant and revoke commands? : Sql dba

800


What are the commands used in sql?

735


What is pragma in sql?

816


What is the purpose of using pl/sql?

827


What is a composite primary key?

765


hi,i plan to put experience on PLSQL ,can anyone suggest me for any institutes in bangalore or how to prepare for interviews

1740


What is multiple partition?

695