473,587 Members | 2,490 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Why is package taking more time than expected?

3 New Member
We have a package in production which has suddenly started consuming greater than normal time to execute. On debugging this further, we found the following:
The package takes 5 mins to come out.
The queries inside the package, if run seperately, come out in milliseconds in total.

On looking through the sql trace when the package was run, it was found that an insert on a global Temp table is consuming around 5 mins (elapsed = 310 secs).

call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 1 55.55 310.37 396138 425556 19 65
Fetch 0 0.00 0.00 0 0 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 2 55.55 310.37 396138 425556 19 65

However, if the same set of sqls are run from outside the package, they run in milliseconds (with same results of course)
So what is different in sqls running seperately, against running as part of a package? Why should the package take time?

Any clues or pointers to what might be happening?
There is activity seen on the temp tbs in the awr, which is expected because of the global temp tables.

Thanks in advance.
Dec 2 '10 #1
2 2052
amitpatel66
2,367 Recognized Expert Top Contributor
What is your database version?
Dec 7 '10 #2
siddiq
3 New Member
Hi.,
I am using Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
Dec 8 '10 #3

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

Similar topics

0
1112
by: anshu | last post by:
Hi, I've to migrate an existing code in asp to asp.Net. The asp code uses ServerXMLHTTP to call some services. Same thing will be done using HttpWebRequest in the asp.Net code. The problem is keeping everything same HttpWebRequest takes around 100-200ms more than ServerXMLHTTP to call the service. The bottleneck was...
3
1940
by: thomson | last post by:
Hi, I have 5 aspx pages, In one page i have a Compare Validator Control, The four aspx pages are loading fast with similar controls, no code behind, But the page having Compare Validator Control is taking time, Any insights to this? Thanks in Advance thomson
4
1391
by: David Pratt | last post by:
Hi. I have code that currently depends on a particular package of a framework. I have decided I want to create my own package because I have made many changes and it is getting too difficult to maintain each time I retrieve an updated version of the framework from svn. The problem is, that there are all sorts of imports to the dependent...
2
3935
by: vpai | last post by:
We have a package in production which has suddenly started consuming greater than normal time to execute. On debugging this further, we found the following: The package takes 5 mins to come out. The queries inside the package, if run seperately, come out in milliseconds in total. On looking through the sql trace when the package was run,...
7
2531
by: Tameem | last post by:
i am a new C programmer. i want to calculate someone's age. my input would be his birth date. like : Date: 07 Month: 12 Year: 1988 and the program will take the current date from system and calculate his age, how can i do that in C. please inform me.
6
1894
by: Gouri.Mahajan7 | last post by:
Hello, When I press the button on the web page I am loading the user control on the web page. This user control is invoking some methods of the web service. The control on the web page is loaded very soon when running on the local machine ( measns where the web service is running). But it is taking lot of time when loaded on the remote...
9
1613
by: yaaara | last post by:
Hi All, Pls help me with another issue.... Here's a code that I'm using: Set rsMain = New ADODB.Recordset vSQL = "SELECT * from tmpHCRECON_PROD2" Set rsMain = conMain.Execute(vSQL)
5
7235
by: sandeep.iitk | last post by:
Hi All, When i am trying to take offline backup of my production db .. it is taking more time in db2stop command (around 15 min.) while earlier max was 2 mins. what might be the reason for this delay. To stop the db I am using following sequence of commands:- db2set db2comm= db2 force application all db2stop force
0
1190
by: balach | last post by:
hi all, i am using this code to initialize and assign it to a process, i am calling a thread on every 10 Seconds to fire vbscript file, this activity is performed on "timer1_Tick( )" event and give me required information. some times i face problem that the second thread associated with "Dummy.vbs" script file, do not reach at specified remote...
1
1809
by: anujkgarg | last post by:
I am trying to fetch public key from DSA certificate using .NET cryptography API. It is taking 15 to 45 seconds..... String crtFileName = "C:\mycert.crt"; X509Certificate2 x509 = new X509Certificate2(); byte rawData = System.IO.File.ReadAllBytes(crtFileName); x509.Import(rawData);
0
7923
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7852
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...
0
8216
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8349
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7974
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...
0
8221
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...
0
6629
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...
0
3845
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
1192
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.