Let's take an example. If we have total of 80GB of database then we don't need 64GB of RAM. So we need to make assumtion like how much % of the entire database is going to be in use at a time.
In most of the OLTP cases we use about 15-20% of the entire DB at a time.
A BI system may use about 60% of the entire DB at a time.
So What kind of System we are developing and What's the workload are very important to start with.
marrowyung
ASKER
nono, there are no calculation + performance counter to measure that out
?
boss can simply ask, how much RAM extra I need ?
actually this one don't tell much as it is more on Sharepoint deployment and planning.
Or only this one is useful:
Memory: Pages/sec This counter shows the rate at which pages are read from or written to disk to resolve hard page faults. Monitor this counter to make sure that it remains under 100.
No we need 96 GB only. Additional how much need for replication I need to check.
marrowyung
ASKER
"Additional how much need for replication I need to check."
tks.
a calculate with all variable you discussed is preferrable, like database size is a varible , which make your conclusion of 96GB of RAM with link to proof is perfect.
"No we need 96 GB only"
I don't know what make this figure comes out is needed, tks.
Pawan Kumar
there is no Maths around this. We just have to decide based on our requirement and later on increase the hardware when the load grows.
"We just have to decide based on our requirement "
what requirement ? if I tell my boss says for each publication we need extra 20B of RAM because of ......., then it is much better.
we add one more publication it will use RAM again.
"and later on increase the hardware when the load grows."
what if during the weekend we will see unresponsive replication agent error message or long running replication error message. usually we see it during the weekend only. so can't add RAM because of load grows.
we need time to order it.
and I saw before that publisher shows replication tempdb contention and a lot of time this replication agent log gone without any reason.
any tools you can suggest me to use to detect if there are ?
I knew there are tempdb speed measurement on write speed latency, but for replication ,how can we measure we need to do sth on the tempdb.
Pawan Kumar
Well there are many tools available in the market. There are many good from redgate.
Have you gone through the Brent Ozar blog. He is very good with hardware stuff. few links for your help.
https://www.brentozar.com/archive/2014/05/much-memory-sql-server-need/
https://sqlperformance.com/2013/10/sql-memory/how-much-ram
https://technet.microsoft.com/en-us/library/cc298801.aspx
Enjoy!!