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

What are inbuilt functions in sql?

600


What is union and union all keyword in sql?

568


What is sql profiler in oracle?

566


What is type and rowtype in pl sql?

538


What is input buffer in sql*plus?

641






Is sql open source?

545


What is the use of count (*) in sql?

547


State few characteristics of pl/sql?

566


explain access control lists. : Sql dba

557


How to run pl sql program in mysql?

510


What is cold data?

505


How to select all records from the table?

609


Does mysql support pl sql?

624


What is basic structure of pl sql?

500


How do I run a sql query in pgadmin 4?

548