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
Solved

PRO*C Tuning Tips

Posted on 1998-10-08
3
586 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
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

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.

Question has a verified solution.

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

Suggested Solutions

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
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 …
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
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.

828 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