Solved

MSSQL and COM+ slow performance and timeouts

Posted on 2003-11-18
5
623 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

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.

Join & Write a Comment

In this article—a derivative of my DaytaBase.org blog post (http://daytabase.org/2011/06/18/what-week-is-it/)—I will explore a few different perspectives on which week today's date falls within using Microsoft SQL Server. First, to frame this stu…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

705 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

18 Experts available now in Live!

Get 1:1 Help Now