Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are the steps you take to tune(performance tuning) the code in plsql?

Answers were Sorted based on User's Feedback



What are the steps you take to tune(performance tuning) the code in plsql?..

Answer / dinesh kumar

Step 1: Use 3rd Normal form in Database design and create
Indexes in the table.

Step 2: Use Hints in the Query.

Step 3: Use Explain Plan and check for the cost

Step 4: Rewrite the Query to tune as per the Explain plan.

Step 5: Avoid Function based Indexes.

Is This Answer Correct ?    7 Yes 1 No

What are the steps you take to tune(performance tuning) the code in plsql?..

Answer / mathivanan

1.Create indexes
2.keep up to date statistics on tablese
3.Analyse execution plans using trace utilities
4.Make use of Bulk collect,For all,returning bulk collect into.
5.Use hints when necessary
6.Minimize datatype conversions
7.use PLS_INTEGER or BINARY_INTEGER for integer Arithmetic,use BINARY_FLOAT and BINARY_DOUBLE for floating-point arithmetic
8.pin frequently used packages in shared pool memory

Is This Answer Correct ?    2 Yes 0 No

What are the steps you take to tune(performance tuning) the code in plsql?..

Answer / varadarajsha

Using DBMS_PROFILER Package and API

Is This Answer Correct ?    0 Yes 1 No

What are the steps you take to tune(performance tuning) the code in plsql?..

Answer / sandeep

variable_first:=dbms_utility.get_time
variable_last:=dbms_utility.get_time;
dbms_output.put_line('elapsed time':var_first-var_last);

Is This Answer Correct ?    2 Yes 16 No

Post New Answer

More SQL PLSQL Interview Questions

Which is the best place to learn hadoop?

1 Answers  


What is difference between select statement and cursor

3 Answers   JDA,


What happens if a procedure that updates a column of table X is called in a database trigger of the same table ?

1 Answers  


How to select unique records from a table?

0 Answers  


how to get enames with comma seperated values by deptwise on emp table?

8 Answers  


what is mean by forward declaration and where we'll use it.

4 Answers   TCS,


What is rtm in testing?

0 Answers  


Is pl sql a programming language?

0 Answers  


what is self-join? : Sql dba

0 Answers  


How will you select unique values from a list of records?

7 Answers   Cap Gemini,


Explain some predefined exceptions.

0 Answers  


How many levels can subqueries be nested in a FROM clause?

7 Answers  


Categories