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 Select second Maximum salary in a Table ?
What is an oracle user account?
How would you begin to troubleshoot an ORA-3113 error?
What's dateware house and what's clustor with practicle example
SQLERRM is a a. Constraint b. Pre Defined Exception c. Pseduocolumn d. Constant e. None of Above.
How are the index updates?
What is the cache hit ratio, what impact does it have on performance of an Oracle database and what is involved in tuning it?
How to insert a new row into a table in oracle?
What is Redo Log Buffer in Oracle?
Difference between varchar and varchar2 data types?
How to find no of saturdays in a month using single sql ?
How to declare a local variable?