Solved

SQL server taking high resource

Posted on 2014-10-01
3
110 Views
Last Modified: 2014-10-02
on my production server , sql server.exe is taking lot of resources, 100% memory and CPU  utilization.

that  blocks everything else on that machine. can you help me to reduce the resource consumption , by some administrative configuration,

the operation it does is loading data using bcp or executing query to fetch data
0
Comment
Question by:BeyondBGCM
  • 2
3 Comments
 
LVL 26

Expert Comment

by:Dan McFadden
Comment Utility
You can use the SQL Server Management Studio to change the amount of memory SQL server is allowed to consume.

1. open SQL Server Management Studio
2. connect to the SQL Server in question
3. Right click on the server name and select  Properties
4. select the memory tab
5. update the "Maximum server memory (in MB)
6. click OK.
7. restart the SQL Server service

Depending on the amount of RAM in the server and the other applications running on the server, I would initially recommend setting the max memory in step to 50% of total RAM in the server.

That should leave enough RAM for the OS and an additional app or 2 room to operate.

Dan
0
 
LVL 26

Expert Comment

by:Dan McFadden
Comment Utility
Here is a general article on how to determine the Max Memory setting.

Link:  http://blog.sqlauthority.com/2013/12/12/sql-server-optimal-memory-settings-for-sql-server-notes-from-the-field-006/

The author recommends 80% of system RAM in his example.  Since I have no idea what other services are running on the server or how much RAM is in the box... I went with 50%.

After reading the article you may be able to make a better determination as to what the setting should be.

Dan
0
 
LVL 26

Accepted Solution

by:
Chris Luttrell earned 500 total points
Comment Utility
Here is Brent Ozar's explanation about resource use which I found most enlightening.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
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…
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 setup several different housekeeping processes for a SQL Server.

772 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

10 Experts available now in Live!

Get 1:1 Help Now