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



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

Post New Answer

More Oracle General Interview Questions

Which database is better for os platform dependency?

1 Answers  


Which is better Oracle or MS SQL? Why?

2 Answers   Bally Technologies,


How to get execution statistics reports on query statements?

0 Answers  


What is oracle sid?

0 Answers  


Table E: Name dept month sal 1 A JAN 800 2 B APR 1000 3 A JAN 300 4 A JAN 600 5 C JUN 400 1) SELECT HIGHEST SAL PAID DEPT IN JAN MONTH? 2) WRITE QUERY GET MAX SAL DEPT NO?

6 Answers   IBM,






How to commit the current transaction in oracle?

0 Answers  


What would you do with an in-doubt distributed transaction?

0 Answers  


Which Department has MOST NUMBER of employees?

8 Answers   IBM, LeadSquared, Mastek,


What happens if the imported table already exists?

0 Answers  


How to invoke the data pump import utility?

0 Answers  


Why do we need integrity constraints in a database?

0 Answers  


What are advantages of dateset in datastage?

0 Answers   iGate,


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)