?
Solved

PRO*C Tuning Tips

Posted on 1998-10-08
3
Medium Priority
?
596 Views
Last Modified: 2012-06-22
Hi Guys,
Do u know any website on PRO*C tuning tips.If so please pass it on. It will be very useful.
Also websites on Performance Tuning on PRO*C involving
BULK SELECT,UPDATE and INSERT functions.
I can give more points on the question. But points available on my account is very less. Please bear with me and also tell me whether any ways to increase points.
0
Comment
Question by:jbabu090498
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 11

Accepted Solution

by:
mouatts earned 80 total points
ID: 1081882
I don't know any web sites but here are a few points.

Firstly concentrate on the SQL first. Optimise this before you think of doing anything else

Key points to remember are the order of the tables within the from statement (primary table last etc)

The order of the conditions in the where statement, That is to say that the condition that will exclude the most rows should precede those that would exclude fewer.

 Use conditions that can make use of indexes and avoid those that can't for example testing for inequallity will not tend to use an index but testing for equality will.

Lastly avoid the use of functions on the lefthand side of a condition as this also prevents index use.

So far as the PRO*C is concerned there are a number of points.

Where a SQL statement is used a number of times with different bind variables ensure that the text of the statement is identical each time as this prevents reparsing of the statement.

Use the array facilities where possible to retrieve mutliple rows rather than looping. However care needs to be taken if the volume of the data transfer is too big as this will clogg up the SGA and preformance of your program or others can reduce.

If inserting or updating a large number of records do not commit just at the end. Firstly you can use too many resources for the process to complete and secondly the length of the commit can extend.

Lastly if accessing the database via SQL*Net on another machine utilise PL/SQL procedures where possible so that the processing is shared by both boxes.

If think thats your 20 points worth. :)

Steve
0
 

Author Comment

by:jbabu090498
ID: 1081883
Please tell me few sites to look into for tuning oracle.

0
 

Author Comment

by:jbabu090498
ID: 1081884
What I meant is Tuning Pro*C code in oracle.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows how to recover a database from a user managed backup

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question