Solved

Memory high wait

Posted on 2016-08-10
4
34 Views
Last Modified: 2016-08-19
Good morning,
Got a client who is saying SQL Server is VERY sluggish, and even through its got 16Gb RAM and running one database instance which isnt big, its taking several minutes to execute a basic query.

There are indexes, and looking into the query using tools 'Execution Plan' seems to say it will be good.

However looking at the 'Activity Monitor' the memory is very high:-
Activity Monitor
Its running SQL Server 2014 with SP2.

Any ideas what I can do to reduce it?
0
Comment
Question by:tonelm54
  • 2
4 Comments
 
LVL 45

Assisted Solution

by:Vitor Montalvão
Vitor Montalvão earned 250 total points
Comment Utility
There's no direct answer only with the information you provided. At least the following should be answered:

What is the configuration of your server?
It's there any other application installed besides SQL Server engine?
And what edition is the SQL Server engine (Express, Standard, Enterprise, Developer, other)?
How much memory if configured for the SQL Server instance (min and max server memories)?
How tempdb is configured (location and number of data files)?
How much storage do you have?
And how the storage is organized (disks for OS, Data, Log, TempDB, Backups, ...)?
How big is the database?
Can you attach the query execution plan?
0
 
LVL 10

Accepted Solution

by:
Marcjev earned 250 total points
Comment Utility
And these two DMV's give a more detailed view of the problem of where is the system actually waiting on. The graphs are not detailed enough to say anything:
run
select * from sys.dm_os_waiting_tasks,
select * from sys.dm_os_wait_stats
when the problem is there
0
 

Author Comment

by:tonelm54
Comment Utility
Not quite sure what the issue was, but the user stopped complaining and when I chased him about it, he said it was working fine now, so all good now (kinda)
0
 
LVL 45

Expert Comment

by:Vitor Montalvão
Comment Utility
I bet it will happen again soon.
When that happens run the commands provided above by Marcjev to try to find the culprit process.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
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.

771 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

16 Experts available now in Live!

Get 1:1 Help Now