Solved

SQL performance problems.

Posted on 2014-10-31
7
153 Views
Last Modified: 2014-11-03
We are running an application that uses a SQL database.     Users are complaining the application runs slow.    For example to just start the application it takes between 40 and 50 seconds.

We have a standalone dedicated SQL 2008 server with plenty of horse power and its not overloaded.  

The clients are running on powerful terminal severs as well.   Again with plenty of horse power and resources.

during the 40 to 50 second delay both the application server and the SQL server are not busy at all.   In fact utilization is extremely low.

As a test I installed the application on an older server using the exact same data only this time the application and the SQL server are running on the same machine.    And now bam!! it runs so fast.   start up is less the 2 seconds.

Does this mean I have problems or the application itself is the problem when opening a database on a remote server?

I have tested everything I can think of such as disabling antivirus with no luck so far.

Application support says while it would be faster running the SQL locally we should not be seeing such a huge difference but they have no real ideas on how to fix.      they mostly talk about resources which I have plenty of.

Thanks in advance for your help....
0
Comment
Question by:Zoldy2000
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 69

Expert Comment

by:Scott Pletcher
ID: 40415901
Make sure your dbs is set to "auto_close off".  You want this query to return zero rows:

select * from sys.databases where is_auto_close_on = 1
0
 
LVL 2

Author Comment

by:Zoldy2000
ID: 40415906
can you tell me how to check that please?   Thanks
0
 
LVL 69

Expert Comment

by:Scott Pletcher
ID: 40415921
Edited that in -- please refresh me earlier comment :-).
0
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 
LVL 2

Author Comment

by:Zoldy2000
ID: 40416235
thanks no change
0
 
LVL 69

Expert Comment

by:Scott Pletcher
ID: 40419854
Idk what that means, "no change".  It was set to "on", you've changed it to "off", and it's still slow?  It wasn't set "on"?
0
 
LVL 2

Author Comment

by:Zoldy2000
ID: 40419964
sorry speed is the same.
0
 
LVL 69

Accepted Solution

by:
Scott Pletcher earned 500 total points
ID: 40420123
Likely not a SQL Server issue then.  Check the communications between the servers.
0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

There have been several questions about Large Transaction Log Files in SQL Server 2008, and how to get rid of them when disk space has become critical. This article will explain how to disable full recovery and implement simple recovery that carries…
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

688 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