 




<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SQL Server with Mr. Denny &#187; RAM</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/sql-server/tag/ram/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/sql-server</link>
	<description></description>
	<lastBuildDate>Fri, 24 May 2013 17:04:09 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>24HOP: BI Workload Follow-Up</title>
		<link>http://itknowledgeexchange.techtarget.com/sql-server/24hop-bi-workload-follow-up/</link>
		<comments>http://itknowledgeexchange.techtarget.com/sql-server/24hop-bi-workload-follow-up/#comments</comments>
		<pubDate>Thu, 08 Sep 2011 19:53:58 +0000</pubDate>
		<dc:creator>Denny Cherry</dc:creator>
				<category><![CDATA[24 HoP]]></category>
		<category><![CDATA[Integration Services]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[RAM]]></category>
		<category><![CDATA[SQL PASS]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SSIS]]></category>
		<category><![CDATA[Stacia Misner]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/sql-server/24hop-bi-workload-follow-up/</guid>
		<description><![CDATA[This is a total repost of Stacia&#8217;s blog post from this morning so that hopefully everyone will see it.  So pretend that Stacia wrote this and that I didn&#8217;t. Yesterday, Denny Cherry (blog&#124;twitter) and I co-presented a 24HOP session for the Fall 2011 lineup, “So How Does the BI Workload Impact the Database Engine?” 24HOP [...]]]></description>
				<content:encoded><![CDATA[<p>This is a total repost of Stacia&#8217;s <a href="http://sqlblog.com/blogs/stacia_misner/archive/2011/09/08/38352.aspx">blog post</a> from this morning so that hopefully everyone will see it.  So pretend that Stacia wrote this and that I didn&#8217;t.</p>
<div class="BlogPostContent">
<blockquote><p>Yesterday, Denny Cherry (<a href="http://www.mrdenny.com/" target="_blank">blog</a>|<a href="http://www.twitter.com/mrdenny" target="_blank">twitter</a>) and I co-presented a <a href="http://www.sqlpass.org/24hours/fall2011/default.aspx" target="_blank">24HOP session for the Fall 2011 lineup</a>,  “So How Does the BI Workload Impact the Database Engine?” 24HOP stands  for 24 Hours of PASS and is a semiannual roundup of speakers from the  SQL Server community. Initially, this event consisted of 24 consecutive  sessions, each lasting an hour, but later it became a two-day event with  12 consecutive sessions each day. The sessions are free to attend and  feature many great topics covering the spectrum of SQL Server things to  know. Even if you missed previous 24HOP events, you can always go back  and view recordings of sessions that interest you at the 24HOP site for <a href="http://www.sqlpass.org/24hours/spring2011/" target="_blank">Spring 2011</a> and <a href="http://www.sqlpass.org/24hours/fall2010/" target="_blank">Fall 2010</a>.</p>
<p>And  if you missed Denny and me yesterday, a recording will be available in a  couple of weeks and I’ll update this post with a link. Our hour-long  session for 24HOP was a sneak preview of our upcoming half-day session  of the same name that we’ll be presenting at the <a href="http://www.sqlpass.org/summit/2011/" target="_blank">PASS Summit</a> in Seattle on Thursday, October 13, 2011 from 1:30 pm to 4:30 PM. In our <a href="http://www.sqlpass.org/summit/2011/Speakers/CallForSpeakers/SessionDetail.aspx?sid=1134" target="_blank">half-day session</a>,  we’ll dig into the details and spend more time on database engine  analysis, whereas in our 24HOP session, we focused on reviewing the  architecture and highlighting the connection between BI components and  the database engine.</p>
<p>We were able to answer a few questions at  the end, but one question in particular could not be answered easily in  the time allotted in a single sentence or two: How much RAM do I need to  plan for Integration Services (SSIS)? Andy Leonard (<a href="http://sqlblog.com/blogs/andy_leonard" target="_blank">blog</a>|<a href="http://www.twitter.com/AndyLeonard" target="_blank">twitter</a>)  did manage a succinct response: All of it! I, on the other hand, am not  known for being succinct, so deferred the question for this post.</p>
<p>Andy  is right that SSIS wants as much memory as you can give it, which can  be problematic if you’re executing an SSIS package on the same box as  SQL Server. On the other hand, there are benefits to executing the  package on the same box as well, so there is no one-size-fits-all  solution. And the solution for one data integration scenario might not  be the right solution for another data integration scenario. A lot  depends on what CPU and RAM resources a given server has and how much  data is involved. In order to know how much horsepower you need, you’re  going to have to do some benchmark testing with packages. Here are some  good resources for SSIS if you’re concerned about memory:</p>
<ul>
<li><a href="http://sqlcat.com/sqlcat/b/top10lists/archive/2008/10/01/top-10-sql-server-integration-services-best-practices.aspx" target="_blank">Top 10 SQL Server Integration Services Best Practices</a> from the SQL Customer Advisory Team (<a href="http://sqlcat.com/" target="_blank">blog</a> | <a href="http://www.twitter.com/sqlcat" target="_blank">twitter</a>):  This article provides an overview of best practices (as the name  implies!) and includes links to information about using performance  counters to monitor resource usage and about optimizing the Lookup  transformation, which is one of the big memory consumers in SSIS.</li>
<li><a href="http://msdn.microsoft.com/en-us/library/cc966530.aspx" target="_blank">SQL Server 2005 Integration Services: A Strategy for Performance</a>, a whitepaper by my friend, former colleague, and co-author of <a href="http://www.amazon.com/Business-Intelligence-ebook/dp/B004OR1XYC/ref=sr_1_2?ie=UTF8&amp;qid=1315496545&amp;sr=8-2" target="_blank">my first book</a>,  Elizabeth Vitt. Although it was written for SSIS 2005, the principles  related to tuning packages and how to benchmark still apply. The  significant changes between SSIS 2005 and SSIS 2008 with regard to  performance were improvements in thread management and in the <a href="http://www.sql-server-performance.com/2009/SSIS-New-Features-in-SQL-Server-2008-Part2/" target="_blank">Lookup transformation</a>.</li>
</ul>
<p>Is  there a rule of thumb for deciding how much memory you’ll need for  SSIS? Well, no less than 4 GB per CPU core is a good place to start. But  if that’s not possible, you certainly want to have memory that’s at  least two or three times the size of data that you expect to be  processing at a given time. So if you’re processing 1 GB of data, you’ll  want at least 2-3 GB of memory and, of course, more memory is even  better!</p></blockquote>
</div>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/sql-server/24hop-bi-workload-follow-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;ve got some money for an upgrade, what should I upgrade?</title>
		<link>http://itknowledgeexchange.techtarget.com/sql-server/ive-got-some-money-for-an-upgrade-what-should-i-upgrade/</link>
		<comments>http://itknowledgeexchange.techtarget.com/sql-server/ive-got-some-money-for-an-upgrade-what-should-i-upgrade/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 11:00:34 +0000</pubDate>
		<dc:creator>Denny Cherry</dc:creator>
				<category><![CDATA[RAM]]></category>
		<category><![CDATA[Server Hardware]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/sql-server/?p=733</guid>
		<description><![CDATA[So you are going along your normal day, and your boss comes up to you and tells you &#8220;We&#8217;ve got a few thousand bucks left in this years budget, what would you like to upgrade?&#8221;  Assuming that new 26&#8243; monitors for your workstation are out of the question, the boss is probably talking about a [...]]]></description>
				<content:encoded><![CDATA[<p>So you are going along your normal day, and your boss comes up to you and tells you &#8220;We&#8217;ve got a few thousand bucks left in this years budget, what would you like to upgrade?&#8221;  Assuming that new 26&#8243; monitors for your workstation are out of the question, the boss is probably talking about a server upgrade here so lets see what we can do.<span id="more-733"></span></p>
<p>1. RAM &#8211; RAM is cheep, and easy to upgrade.  For a couple of thousand bucks you could easily add another 32-64 Gigs of RAM (more if you buy off brand).</p>
<p>2. Drive Space &#8211; Disks are also cheep (not as cheep as RAM, but close).  You could drop some extra spindles in there and more tempdb off to its own drive, or even break the database into a couple of physical files and double the available IO.</p>
<p>3. Faster CPUs &#8211; CPUs usually aren&#8217;t all that cheep.  If you have dual core chips, and you want to get some core chips you are probably looking at ~$1500 per chip, so that probably isn&#8217;t an option.  Now if you have a single quad core CPU in there, you could drop a second one in double your CPU power.  This will throw off your licensing if this is an internet facing SQL Server.  Those 6 core CPUs may look might sexy, but sadly they are probably way out of your budget at ~$3k each.</p>
<p>Those are pretty much your options.  Now if your IO is being slammed that might be a good place to throw that cash, but if your IO is being slammed is it because of writes or reads?  If it&#8217;s because of writes then by all means throw the cash at the storage.  If it is because of reads, then check your hit cache ratio, and page life expediency.  If they are low, then some more RAM is in order.  This will increase the amount of data in cache, increasing the amount of time the data stays in cache, and reducing the IO requirements on to the disk to a crawl.</p>
<p>Everyone wants more CPU power in there servers.  But sadly CPU power is still very expensive, so it isn&#8217;t really going to be an upgrade option unless you&#8217;ve got a pretty small server.  Not to mention the licensing issues that can quickly lead to if you add more physical CPUs than you are licensed for.</p>
<p>All things being equal I&#8217;d probably go for the RAM upgrade.  Long term I think that&#8217;ll get you the most bang for the buck, however that&#8217;s just me.  And depending on the server I might change my mind.  Before jumping into any system upgrade think carefully about what you want to purchase, what you want to achieve, and make sure that those things cross.</p>
<p>Denny</p>
<p>P.S. My hardware prices were from Dell&#8217;s website.  Your prices will vary depending on where you do your shopping.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/sql-server/ive-got-some-money-for-an-upgrade-what-should-i-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Single Instance vs Multiple Instances</title>
		<link>http://itknowledgeexchange.techtarget.com/sql-server/single-instance-vs-multiple-instances/</link>
		<comments>http://itknowledgeexchange.techtarget.com/sql-server/single-instance-vs-multiple-instances/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 11:00:00 +0000</pubDate>
		<dc:creator>Denny Cherry</dc:creator>
				<category><![CDATA[Instance]]></category>
		<category><![CDATA[Multiple Instance Configuration]]></category>
		<category><![CDATA[RAM]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[TempDB]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/sql-server/single-instance-vs-multiple-instances/</guid>
		<description><![CDATA[I see this question quite a bit, should I use a single instance or one instance per application database on my server. The answer to this is it depends. If you need a clear security buffer between the databases so that someone with sysadmin rights to one database can&#8217;t have sysadmin rights to another database [...]]]></description>
				<content:encoded><![CDATA[<p>I see this question quite a bit, should I use a single instance or one instance per application database on my server.<span id="more-630"></span></p>
<p>The answer to this is it depends.</p>
<p>If you need a clear security buffer between the databases so that someone with sysadmin rights to one database can&#8217;t have sysadmin rights to another database then seperate instances will be the way to go.  However this separation will come at a cost.  You now have to use twice as much memory loading up the SQL Server binaries into memory, and you now have to tell the instances how much memory each one can use.</p>
<p>With a single instance you simply tell the SQL Server leave 1 Gig of RAM for the OS (or how ever much you leave) and manage the rest for all the databases on the instance.  When you have more than one instance you have to decided how much memory each instance, and therefor each database will get.  If you guess incorrectly your database performance will suffer greatly because of it.</p>
<p>Another place where you may see some pain is your tempdb performance (assuming that both instances use the same tempdb).  Because you are using two difference instances the SQL Server doesn&#8217;t know anything about the load that the other one is trying to place on the disk.  If they both try to hit the disk at the same time with a large amount of load you could end up with additional queuing at the disk that you may not see when using a single instance.</p>
<p>Generally speaking I would recommend using a single instance unless you absolutly had to have a security seperation with the RAM settings being my biggest reason for a single instance.</p>
<p>As for reasons to need a seperate instance databases that need access to features that other databases shouldn&#8217;t have access to like xp_cmdshell would be one reason.  Applications which require sysadmin rights to the instance thanks to crappy coding would be another.  And a vendor which requires that there support account on the database have sysadmin rights would be a third.  Off the top of my head those would be about the only reason to seperate the instances.</p>
<p>Denny</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/sql-server/single-instance-vs-multiple-instances/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>New Article: Configuring SQL Server memory settings</title>
		<link>http://itknowledgeexchange.techtarget.com/sql-server/new-article-configuring-sql-server-memory-settings-2/</link>
		<comments>http://itknowledgeexchange.techtarget.com/sql-server/new-article-configuring-sql-server-memory-settings-2/#comments</comments>
		<pubDate>Sun, 02 Mar 2008 11:45:27 +0000</pubDate>
		<dc:creator>Denny Cherry</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[RAM]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/sql-server/new-article-configuring-sql-server-memory-settings-2/</guid>
		<description><![CDATA[I've recently published a new tip on SearchSQLServer.com called "Configuring SQL Server memory settings".]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve recently published a new tip on <a target="_blank" href="http://www.searchsqlserver.com" title="Search SQL Server">SearchSQLServer.com</a> called &#8220;<span class="a4"><a target="_blank" href="http://searchsqlserver.techtarget.com/tip/0,289483,sid87_gci1299068_tax301238,00.html" title="Configuring SQL Server memory settings">Configuring SQL Server memory settings</a>&#8220;.</span></p>
<p><span class="a4">Denny</span></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/sql-server/new-article-configuring-sql-server-memory-settings-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>New Article: Configuring SQL Server memory settings</title>
		<link>http://itknowledgeexchange.techtarget.com/sql-server/new-article-configuring-sql-server-memory-settings/</link>
		<comments>http://itknowledgeexchange.techtarget.com/sql-server/new-article-configuring-sql-server-memory-settings/#comments</comments>
		<pubDate>Wed, 13 Feb 2008 10:37:53 +0000</pubDate>
		<dc:creator>Denny Cherry</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[Cache]]></category>
		<category><![CDATA[RAM]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/sql-server/new-article-configuring-sql-server-memory-settings/</guid>
		<description><![CDATA[I’ve published a new tip over on SearchSQLServer.com entitled “Configuring SQL Server memory settings“.  In it I talk about how to correctly setup the memory settings for SQL Server to get SQL setup correctly. Denny]]></description>
				<content:encoded><![CDATA[<p>I’ve published a new tip over on <a target="_blank" href="http://www.searchsqlserver.com/" title="Search SQL Server">SearchSQLServer.com</a> entitled “<a target="_blank" href="http://searchsqlserver.techtarget.com/tip/0,289483,sid87_gci1299068,00.html" title="Configuring SQL Server memory settings">Configuring SQL Server memory settings</a>“.  In it I talk about how to correctly setup the memory settings for SQL Server to get SQL setup correctly.</p>
<p>Denny</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/sql-server/new-article-configuring-sql-server-memory-settings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting those memory setting in SQL Server just right.</title>
		<link>http://itknowledgeexchange.techtarget.com/sql-server/getting-those-memory-setting-in-sql-server-just-right/</link>
		<comments>http://itknowledgeexchange.techtarget.com/sql-server/getting-those-memory-setting-in-sql-server-just-right/#comments</comments>
		<pubDate>Mon, 11 Feb 2008 08:00:34 +0000</pubDate>
		<dc:creator>Denny Cherry</dc:creator>
				<category><![CDATA[Config]]></category>
		<category><![CDATA[Microsoft Windows]]></category>
		<category><![CDATA[RAM]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Windows Computing]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/sql-server/getting-those-memory-setting-in-sql-server-just-right/</guid>
		<description><![CDATA[When using 64bit SQL Server getting the memory settings right is pretty easy.  Getting them right in the 32bit versions of SQL Server is a bit harder.]]></description>
				<content:encoded><![CDATA[<p>When using 64bit SQL Server getting the memory settings right is pretty easy.  Simply set the maximum to what you want and you are good to go.</p>
<p>Getting them right in the 32bit versions of SQL Server is a bit harder.  You have to deal with the OS level of enabling the Physical Address Extensions (PAE) and the 3GB switches.  You then need to enable AWE within SQL Server and then set the max memory setting.</p>
<p>If you are using Windows 2003 SP1 or later PAE will enable for you automatically.  The /3GB switch however won&#8217;t.  Since I have to add the /3GB switch I like to add the /PAE switch in there as well.  My theory is why make Windows decide to do something automatically when I can simply override the logic and turn it on every time, especially when it&#8217;s something that I&#8217;m going to want enabled every time the server boots.</p>
<p> Now as to the max memory setting for SQL Server&#8230; There are pretty much two prevailing schools of thought. </p>
<ol>
<li>Give Windows between .5 and 1 Gig of memory and give SQL the rest.</li>
<li>Give SQL 75% of the physical memory and leave the rest for Windows.</li>
</ol>
<p>I&#8217;ve tried both and both seam to work fine.  If you have less memory to work with you will probably want to stick to option 1.  When you start working with huge amounts of RAM (64 Gigs plus) is when Option 2 starts to look more workable.</p>
<p>These rules obviously all start to change when you have more than one instance installed as you need to balance your max memory between the instances.</p>
<p>If you are using less then 2 Gigs of RAM for the instance don&#8217;t enable AWE on the instance.  I&#8217;ve seen it lead to SQL Server acting strangely and performing very strangely.  When setting your max memory setting for more than one instance don&#8217;t forget to add up the max memory for all the instances and make sure to leave Windows room to work with or your server will suffer.</p>
<p>Don&#8217;t forget about my post on setting the <a target="_blank" href="http://itknowledgeexchange.techtarget.com/sql-server/what-does-the-min-server-memory-setting-actually-mean/" title="Min Memory Setting">min server memory</a> setting in SQL Server.</p>
<p>Denny</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/sql-server/getting-those-memory-setting-in-sql-server-just-right/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
