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 |
How to commit the current transaction in oracle?
I need to get the values of the previous quarter.how to do this?eg: if my cuurent month is may i need to get the datas of the month jan,feb,march.Can it be done in oracle.I tried with date function q but for the month jan its not retriving the previous quarter(oct-dec).how to solve this.plpz anyone help me?
Shall I get Pro*C Compiler in Oracle-10g release ?
24. Display the order number for all orders whose average item cost is greater than the overall average item cost across all orders.
When do you get a .pll extension in oracle? Explain its importance
How i can handle exception in large code like 1000 line without distrubing the code or without exception handler sction?
How do we switch from init.ora file to asp file?
Where are the settings stored for each instance in oracle?
How to experiment a data lock in oracle?
How to find out what oracle odbc drivers are installed?
What is coalesce function?
We need to compare two successive records of a table based on a field. For example, if the table is CUSTOMER, and the filed is Account_ID, To compare Account_IDs of record1 and record2 of CUSTOMER table, what can be the query ?