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
What are the predefined tablespaces in a database?
What is a procedure in oracle?
Explain the difference between sql and oracle?
Give syntax for SQL and ORACLE joins.
What is a trace file and how is it created in oracle?
What is proxy method?
How many types of table in Oracle?
What is the maximum number of triggers that can be applied to a single table?
State the difference along with examples between Oracle 9i, Oracle 10g and Oracle 11i.
What do you mean by merge in oracle and how can you merge two tables?
What will be the syntax to find current date and time in format "yyyy-mm-dd"?
How do I find the database name in oracle?
Does facebook use oracle?
Is there a function to split a string in plsql?
What is truncate oracle?