Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

MSSQL and COM+ slow performance and timeouts

Posted on 2003-11-18
5
Medium Priority
?
646 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 375 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 375 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 375 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 375 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

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Question has a verified solution.

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

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

927 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