2

I have two instances in one server. I configured the max memory with the same number on each instance. Total 36 Gigs and I gave 17 to each. Why the target memory keep coming up and down on one instance? (moves from 17 to 12 or between) but in other instance its fixed at 17? Also the total server memory is fixed at 10 Gigs.

Shanky
19.1k4 gold badges38 silver badges58 bronze badges
asked Mar 2, 2020 at 17:16
0

1 Answer 1

6

I configured the max memory with the same number on each instance. Total 36 Gigs and I gave 17 to each

This is a poor configuration, change is ASAP. You have allocated 34 GB to SQL Server and just 2 GB to OS, in such scenario you are bound to starve OS from memory resulting in paging or memory trimming of SQL Server processes.

If you want to fix the memory for both the instances start with 15 GB for each instance and leave 6 GB for OS. This is considering that you do not have any other services being used like SSAS/RS/IS, if they are their, you need to give 2-3 GB more to OS so that these extra services can use it.

Why the target memory keep coming up and down on one instance? (moves from 17 to 12 or between)

Target memory can change as per the load on the system, nothing alarming but, having said that you cannot just rely on one counter you have to look at lot of other counters related to memory.

answered Mar 2, 2020 at 17:38
4
  • Great opinion. Instance A uses less memory(Target memory is very higher than server memory). I was going to remove some memory from this Instance also but, I saw some spikes whenever we do DCR. What do you recommend? DCR happening rarely. In a regular time the memory are getting wasted. Commented Mar 5, 2020 at 14:08
  • When you say target is much higher than server memory, what is server memory, total server memory ? Can you add output from target and total server memory in the question. Commented Mar 5, 2020 at 14:25
  • Target server memory= 17 Gigs(its the one I gave it to SQL Instance) and Total Server memory = 9 to 10( The SQL server currently allocating memory). Commented Mar 5, 2020 at 14:31
  • This might be indication of memory pressure but again to confirm please see counters like PLE, Free list stalls/sec, Memory grants pending, Free pages/sec. Please put these counters in performance data collector and let it run for 6-7 hours( which must include peak hours). Then we can infer correct result Commented Mar 6, 2020 at 5:17

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.