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...


How to improve the performance of a pl/sq stored procedures
or functions or triggers and packages ?

Answers were Sorted based on User's Feedback



How to improve the performance of a pl/sq stored procedures or functions or triggers and packages ..

Answer / shailesh

We can improve the performance by create indexes on the use
tables which is used in the procedure,function and packages
And with the help of these indexes we can improve the
performance.

Is This Answer Correct ?    14 Yes 3 No

How to improve the performance of a pl/sq stored procedures or functions or triggers and packages ..

Answer / kapil

By using index (not always)
by using bulk fetch
by using exists and not exists in place of in and not in
clause.
by avoiding implicit conversion by oracle
ex: if in employee table emp_no is varchar then
if we query the data from employee table by
where cluase like employee_number = 123 then oracle will
have to implictly convert the number 123 to
varhcar '123'and will require time

Is This Answer Correct ?    11 Yes 0 No

How to improve the performance of a pl/sq stored procedures or functions or triggers and packages ..

Answer / hrishi

To reduce the context switches between the SQL Engine and
PL/SQL engine. We can use Bulk Bind Concept to this...

Is This Answer Correct ?    6 Yes 1 No

How to improve the performance of a pl/sq stored procedures or functions or triggers and packages ..

Answer / rajnish chauhan

Follow the steps for performance SQL Tunning.
1) First of all tables structure should be in normalization form.
2) Then Index and tables Statistics should be upto date.
3) make it different tables table space for tables and index.
4) Avoid unnecessary joins from the query.
5) Avoid Full Table Scan and Index Skip scan.if query fetching less then 15% records from the table then index scan faster then FTS.and FTS is better then index scan if tables consist larg no of data because Index scan read multiple time on each row where as FTS read single time for each row.
6)monitor Plan through Explain plan or TKPROFF.
7)Table ordering also improve the performance of the query like.Master table should take first place then after Transaction table.
8) Check index path used or not in explain plan .if not then check weather index enable or not.then use Index Hint to forcefully used.
9)Avoid function on index column.
10) other small things you can apply like use Having instead of Where clause , use Exists then IN , use Substring instead of <> caluse.

Thanks

Is This Answer Correct ?    2 Yes 0 No

How to improve the performance of a pl/sq stored procedures or functions or triggers and packages ..

Answer / shakir

keeping the pl/sql blocks in keep pool in sga that is
called pinning of packages

Is This Answer Correct ?    1 Yes 0 No

How to improve the performance of a pl/sq stored procedures or functions or triggers and packages ..

Answer / dipti

By using Indexs we can improve the performace,
also use exist and not exist in place of in and not in as
it plays the same role as Index.

Is This Answer Correct ?    1 Yes 0 No

How to improve the performance of a pl/sq stored procedures or functions or triggers and packages ..

Answer / anand reddy

1)by using index
2)by using bulk collect
3)by using exist operator
4)by using hints
5)by using nocopy option
6)by using collection types

Is This Answer Correct ?    1 Yes 0 No

How to improve the performance of a pl/sq stored procedures or functions or triggers and packages ..

Answer / rutujagabhane

SELECT *
FROM employees
ORDER BY EMPLOYEE_ID
OFFSET 99 ROWS
FETCH NEXT 21 ROWS ONLY;

Is This Answer Correct ?    0 Yes 0 No

How to improve the performance of a pl/sq stored procedures or functions or triggers and packages ..

Answer / syam

Hi Shailesh,


let me know that how can i improve performence of
procedures by useing indexes

Is This Answer Correct ?    0 Yes 1 No

How to improve the performance of a pl/sq stored procedures or functions or triggers and packages ..

Answer / debasis bose

Using Views, instate of multiple tables.

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More SQL PLSQL Interview Questions

What is the difference between partition and index?

0 Answers  


From an Employee table, how will you display the record which has a maximum salary?

29 Answers   Cap Gemini, Exilant, Synechron,


What is TABLE SPACE?

4 Answers   ABB, TCS,


1. what is the exact use of hint in sql. 2. How we can avoid index scan in sql even though index is there in the table.

1 Answers   Polaris,


What is %rowtype in pl sql?

0 Answers  


Can procedure in a package be overloaded?

1 Answers   HCL,


Define the select into statement.

0 Answers  


What are the different schemas objects that can be created using pl/sql?

0 Answers  


Does a join table need a primary key?

0 Answers  


Is a table valued function object?

0 Answers  


What are the different ddl commands in sql?

0 Answers  


what are the performance and scalability characteristics of mysql? : Sql dba

0 Answers  


Categories