Solved

SQL server taking high resource

Posted on 2014-10-01
3
117 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 27

Expert Comment

by:Dan McFadden
ID: 40355711
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 27

Expert Comment

by:Dan McFadden
ID: 40355723
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
ID: 40356067
Here is Brent Ozar's explanation about resource use which I found most enlightening.
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

I have a large data set and a SSIS package. How can I load this file in multi threading?
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Viewers will learn how the fundamental information of how to create a table.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

776 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