how to code performance tuning of oracle PL/SQL? can any body
send me the perfect answer?

Answer Posted / kt

There isn't any hard and fast rule for code optimization. U have to analyze the situation and act accordingly. :)You can either choose an RBO (Rule based optimization) or a CBO (Cost based optimization).But before that one of the simplest way to make ur queries faster is Indexing.
If your database table is huge and simple select statement takes ages to come out then you can go for Indexing of the table.For that u have to analyze which column to index. Generally we should index the column that we frequently use in our where clause. then you need to know what type of index to use. Default one is B* Tree.U can go for index on as many columns as u like but keeping the fact in mind that too much column indexing also eats some space of data dictionary.
Then you can also go for table partitioning, analyze statement, dbms stats gathering and so on.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Database is hung. Old and new user connections alike hang on impact. What do you do? Your SYS SQLPLUS session IS able to connect.

1674


What happens if you lost a data file?

584


What privilege is needed for a user to query tables in another schema?

508


what are archived logs?

1717


What are set operators?

646






What is a proxy class?

559


Can group functions be mixed with non-group selection fields?

536


What is instant client oracle?

543


What are the built-in functions used for sending Parameters to forms ?

2847


What is set operator oracle?

528


How to define and use table alias names in oracle?

510


Write a syntax for update query in oracle?

622


Typically, where is the conventional directory structure chosen for Oracle binaries to reside?

1585


What happens to indexes if you drop a table?

701


Other than making use of the statspack utility, what would you check when you are monitoring or running a health check on an Oracle 8i or 9i database?

1515