Solved

Sql Server log shipping memory utilization

Posted on 2013-12-06
2
417 Views
Last Modified: 2013-12-22
Hi,

I have configured log shipping on my sql database server but when i am checking RAM utilization on my primary server the utilization of RAM is goign upto 5 GB. My server has 8 GB of RAM and half of the memory is eaten by log shipping services. Any solution to control this or it is normal.


Regards.....
0
Comment
Question by:angnanesh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 27

Accepted Solution

by:
Zberteoc earned 250 total points
ID: 39701222
The memory setup for SQL server has nothing to do with log shipping. Log shipping itself doesn't use much memory because it actually copies the transaction logs to the secondary and restores them there.

The maximum size for SQL server can go up to the all available memory on the box if it is not set to a limit. That limit should be about 75 - 90% from available memory. SQL uses as much memory as it is allowed to and it is just normal. You want memory for the SQL server but you have to make sure that there is something left, at least 10%, to the OS. So 5GB for SQL server out of 8GB total is pretty much reasonable.

Here are some guidelines:

http://sqlserverperformance.wordpress.com/2009/10/29/suggested-max-memory-settings-for-sql-server-20052008/
0
 
LVL 10

Assisted Solution

by:Ramesh Babu Vavilla
Ramesh Babu Vavilla earned 250 total points
ID: 39705659
if you are sql server 64 bit. it is a good consumer of memory . reason as memory allocation is toughest Job in Server. total memory is allocate to SQL Server . when there is a requirment of memory  SQL Server releeases.
 

you can control the memory by placing   a memory cap on the SQL Server using
SP_configure command
0

Featured Post

Why You Need a DevOps Toolchain

IT needs to deliver services with more agility and velocity. IT must roll out application features and innovations faster to keep up with customer demands, which is where a DevOps toolchain steps in. View the infographic to see why you need a DevOps toolchain.

Question has a verified solution.

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

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

690 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