Solved

PRO*C Tuning Tips

Posted on 1998-10-08
3
563 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
  • 2
3 Comments
 
LVL 11

Accepted Solution

by:
mouatts earned 20 total points
Comment Utility
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
Comment Utility
Please tell me few sites to look into for tuning oracle.

0
 

Author Comment

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

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
SSN Format in Oracle 2 59
Oracle PL/SQL syntax 4 52
Concat multi row values of a field in oracle 6 31
SQL Retrieve Values 4 40
This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now