March 15, 2014 at 4:03 am
Fist you have to check fragmentation level, cap memory, add lock pages in memory, and last one is if you are using SQL Enterprise Edition , you can enable resource governor .
i sure that it will help you .
March 15, 2014 at 8:17 am
kshaileshbca (3/15/2014)
Fist you have to check fragmentation level
What's that got to do with memory?
add lock pages in memory
Um, no. That's not going to reduce memory usage, do you know what it actually does?
last one is if you are using SQL Enterprise Edition , you can enable resource governor .
To do what exactly? Just enable, no setting up groups and pools or any configuration at all?
i sure that it will help you .
Not.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
March 18, 2014 at 2:38 am
HI All,
Today my physical memory reached to 80% in my database server.
Please suggest what to do to reduce it now...
Thanks
Praneeth
March 18, 2014 at 2:56 am
Have you considered the advice of most people here in that you don't need to worry?!
March 18, 2014 at 3:06 am
I would suggest;
Get a coffee. Coffee's good.
Do your daily routine checks just in case there's actually something wrong. Rather than SQL Server doing exactly what it's supposed to do.
Drink coffee.
Lots of interesting and important to know stuff in there. You may actually even, as a result of going through this, find stuff you actually need to worry about.
HTH
EDIT - reply to wrong post. Argh, who's this clown to give advice, eh?
I'm a DBA.
I'm not paid to solve problems. I'm paid to prevent them.
March 18, 2014 at 3:07 am
HI,
Its going high from 52% to 65,70,72 & today 80%...
tomorrow it may reach 90 & finally 100%...
March 18, 2014 at 3:11 am
praneethydba (3/18/2014)
HI,Its going high from 52% to 65,70,72 & today 80%...
tomorrow it may reach 90 & finally 100%...
You are truly not grasping this. Just because 100% of the memory is being used does not mean you have a problem. It just means that SQL Server is using the allocation of memory that you have said it is allowed to use. The LRU algorythm will take care of the rest....
March 18, 2014 at 3:42 am
praneethydba (3/18/2014)
HI All,Today my physical memory reached to 80% in my database server.
Please suggest what to do to reduce it now...
Nothing. Same as I suggested last time, and the time before. Why are you worrying about normal, expected, desired behaviour?
If you want to reduce SQL's memory usage, set max server memory to some stupidly low value, then SQL will use very little memory. It'll perform terribly as a result of course, but since you seem to want lots of rather expensive memory going completely to waste, that'll do what you want.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
April 8, 2014 at 1:43 am
HI All,
After a long time.
Now my Database server physical memory reached to 90%...
Client is sitting next to me and asking for reasons...
I tried all the possible ways to see what exactly the sql is utilizing...
Please throw some thoughts for my problem...
Thanks
Praveen
April 8, 2014 at 2:18 am
praneethydba (4/8/2014)
Client is sitting next to me and asking for reasons...
Tell him that SQL is designed to use all the memory it is allocated and that using 90% of the memory is a good thing.
You don't have a problem (except for a client that appears to refuse to believe you). you are seeing normal, expected, intended behaviour.
It's like saying, "My car goes fast when I press the accelerator, what's wrong?"
Now, we've repeatedly mentioned max server memory, and a chapter in a book all about memory, so by now you should be in a good position to know exactly what (not) to do in this situation.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
April 8, 2014 at 3:03 am
Have you tried showing your client this Forum thread?!
Regards
Lempster
April 8, 2014 at 3:43 am
check the processes running in sys processses and the same using 'input buffer' and verify whether the query being run is fully optimized for eg indexes are missing and '*' in the queries instead of the column name.
Verify the processor affinity and IO affinity being used. I have came across the same situation and did the mentioned things to get rid of it.
Hope it solves your problem...
:cool::cool::cool::cool::cool:
April 8, 2014 at 3:45 am
sashif0 (4/8/2014)
Verify the processor affinity and IO affinity being used.
They should be at the defaults. They're also unrelated to memory usage.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
April 8, 2014 at 5:45 am
Hi Newbie,
We are doing statistics updates on regular basis and Affinity is taken care by SQL server internally i guess.
when I execute sysprocess it is showing all the running id's with memory usage.
I have already mentioned I kept cap on sql server around 24GB i.e. 80% to sql server and remaining 20% to OS(total RAM is 32 GB)...
April 8, 2014 at 6:07 am
HI,
My Page life Expectancy value is 80..
is there any memory leakage....
Viewing 15 posts - 31 through 45 (of 54 total)
You must be logged in to reply to this topic. Login to reply