473,661 Members | 2,453 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Tuning a stored procedure

19 New Member
Hi,

This is Ravi again. We have some jobs running in Oracle 9i. We have that stored procedures in TOAD. Right now we are expreriencing a degration in the performance of the procedure. It is taking unusually long time to run. Can you please direct me in this issue on how to improve the performance level.

Thanks,
Ravi
Apr 17 '08 #1
1 2886
Saii
145 Recognized Expert New Member
This is a very generic statement. please elaborate about the SQL, objects etc you are using.
Meanwhile, check the SQL in procedure and run an explain plan on it for initial analysis of low response time.
Apr 17 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
2499
by: Chloe Crowder | last post by:
Hi I tried running ITW against one of our databases, and it came up with a number of suggestions, but also filled the Application Log with messages like:- The description for Event ID ( 4 ) in Source ( ITW ) could not be found. It contains the following insertion string(s): Error in Parsing Event: declare @P1 nvarchar(1)
12
8339
by: serge | last post by:
I have an SP that is big, huge, 700-800 lines. I am not an expert but I need to figure out every possible way that I can improve the performance speed of this SP. In the next couple of weeks I will work on preparing SQL statements that will create the tables, insert sample record and run the SP. I would hope people will look at my SP and give me any hints on how I can better write the SP.
3
2138
by: bsandell | last post by:
We have an application that is based on several extended stored procedures. When we run our application in house, or when most other customers run it, they see performance of about X transactions per second. One customer is seeing performance of about X/5, and I'm having a hard time troubleshooting it. The performace bottleneck has been narrowed to the execution of the extended stored procedures. Does anyone know of tuneable SQL Server...
0
1183
by: Kim Bundgaard | last post by:
Hi I'm using DB2 Connect EE V8.1.4 as a gateway, DB2 Administration Client and DB2 z/OS V7. With V7 of DB2 Connect/Adm.Client I use CLISCHEMA to optimize catalog queries, but after upgrading to V8 the client change behaviour and call some stored procedures at my DB2 z/OS (ie. SYSIBM.SQLTABLES). But the stored procedure don't use my copy catalog tables.
2
5450
by: Dino L. | last post by:
How can I run stored procedure (MSSQL) ?
0
1604
by: negmat | last post by:
Does anyone know how exactly the sub-tree cost is calculated and whether it should be used as an indication of query/stored procedure performance? I used to think (although I could never find a single definitive source to state it clearly and precisely) that a sub-tree cost is some function of (reads + cpu time). However, my recent experience appears to challenge this belief. Namely, I have a few versions of a stored procedure, where each...
0
1943
by: devkumar | last post by:
I have a SP having 5 tables out of which 3 are temporary tables. This stored procedure is used to insert millions of records into one of the table. The problem is that its taking long time to execute this SP and even at the time when we insert into the values. I have also used the group by clause and the indexing on this query but still not able to get the desired performance. - Can you please suggest me how and where to do indexing and will it...
2
2313
by: Hevan | last post by:
Sql performance tuning in DB2 Table Trans has multiplle records for each employee. I am updating id into lookup from trans . Currently, it takes 3 minutes to update lookup table. Both lookup and Trans has around 1.5 million test data. Table Trans can increase upto 1 billion. Is there any better way to increase the performance. I am using db2 udb 8.2 partitoned, aix . Table TRANS (multiple records for each combination) id ...
1
1989
by: codefragment | last post by:
Hi I've heard 2 things recently, can I confirm if their true/false? (1) If you have a stored procedure and you want to optimise it you can call exec proc1, you could also use define/set for each of the variables and copy the code into query analyser, this then makes it easier to tune. However the optimiser works differently for these variables than it does for variables passed into the query via exec and will produce a less optimal
0
8343
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8545
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8633
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7364
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6185
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5653
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4346
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2762
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1986
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.