how to code performance tuning of oracle PL/SQL? can any body
send me the perfect answer?
Answer / 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 |
What is difference between SQL and SQL*PLUS?
In which dictionary table or view would you look to determine at which time a snapshot or MVIEW last successfully refreshed?
What is a connect identifier?
Explain what are the different type of segments?
15. Display the item_cost and then truncate it to the nearest hundred, ten, unit, tenth and hundredth.
What is a synonym? What are its various types?
i deleted 4 records form the table.after i have applied commit .now i want to get back those records.how?
Is it possible to disable the parameter from while running the report ?
How to define a cusotmer as a supplier in ORACLE R12
What is the difference between column level constraints and table level constraints?
14 Answers IBM, TCS,
What is dictionary cache ?
What is the usage of synonyms?