Solved

MSSQL and COM+ slow performance and timeouts

Posted on 2003-11-18
5
624 Views
Last Modified: 2012-06-27
I have a stored proc that I when I call from the query analyser, it will return my results failry quickly (5 seconds tops)
when this stored proc is called from our application, it takes up to 2 minutes to display the results and we have had to adjust our timout settings just to be able to view the results.
I ran a profiler trace and the results are the same between the query analyser execution and the application call
the duration is 2.5 seconds for both instances. However, I must wait at least another few minutes to get the results to display in the app. When our timout was set to 30 seconds, we would get a timeout connection error .
The best that I can come up with is COM+ not processing this request in a timely fashion.
We are deploying the app on a citrix server and the com components are istalled on the same server.
The profiler tells me that the proc is executed and the data should be on its way.
Are there any known issues with com+ and SQL 2000
0
Comment
Question by:acampoma
5 Comments
 
LVL 42

Accepted Solution

by:
frodoman earned 125 total points
ID: 9774344
We use com+ with SQL2000 and have no such problems.  I'd look at the specifc component(s) themselves as the cause of the problem.
0
 
LVL 34

Assisted Solution

by:arbert
arbert earned 125 total points
ID: 9774589
Agree with frodoman--definately sounds like a coding issue with your components....
0
 
LVL 75

Assisted Solution

by:Anthony Perkins
Anthony Perkins earned 125 total points
ID: 9774665
Same here.  We have used COM+ and SQL2000 with every Service Pack.

Anthony
0
 
LVL 15

Assisted Solution

by:namasi_navaretnam
namasi_navaretnam earned 125 total points
ID: 9776030
This may be citrix server related issue.

See this link,
http://www.sql-server-performance.com/misc_tips.asp

I have no experience with Citrix. But the doc above has got some useful info on Citrix performance.
0
 
LVL 34

Expert Comment

by:arbert
ID: 9776076
I assume that if you're using Citrix you're not running Citrix on the same server as SQL Server like the above article suggests.  HOWEVER, in your above question you say that you're planning on deploying on Citrix--does this mean you haven't actually tested the app on Citrix yet, or the above test (that's slow) is on Citrix?
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
I have a large data set and a SSIS package. How can I load this file in multi threading?
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.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

910 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

23 Experts available now in Live!

Get 1:1 Help Now