Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

PRO*C Tuning Tips

Posted on 1998-10-08
3
Medium Priority
?
599 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

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 …
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.

636 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