<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>SQLChicken.com</title>
	
	<link>http://sqlchicken.com</link>
	<description>SQL Server DBA Tips &amp; Tricks</description>
	<lastBuildDate>Mon, 21 May 2012 18:00:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Sqlchicken" /><feedburner:info uri="sqlchicken" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/</creativeCommons:license><feedburner:feedFlare href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2FSqlchicken" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.feedburner.com/Sqlchicken" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FSqlchicken" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.plusmo.com/add?url=http%3A%2F%2Ffeeds.feedburner.com%2FSqlchicken" src="http://plusmo.com/res/graphics/fbplusmo.gif">Subscribe with Plusmo</feedburner:feedFlare><feedburner:feedFlare href="http://www.thefreedictionary.com/_/hp/AddRSS.aspx?http%3A%2F%2Ffeeds.feedburner.com%2FSqlchicken" src="http://img.tfd.com/hp/addToTheFreeDictionary.gif">Subscribe with The Free Dictionary</feedburner:feedFlare><feedburner:feedFlare href="http://www.bitty.com/manual/?contenttype=rssfeed&amp;contentvalue=http%3A%2F%2Ffeeds.feedburner.com%2FSqlchicken" src="http://www.bitty.com/img/bittychicklet_91x17.gif">Subscribe with Bitty Browser</feedburner:feedFlare><feedburner:feedFlare href="http://www.live.com/?add=http%3A%2F%2Ffeeds.feedburner.com%2FSqlchicken" src="http://tkfiles.storage.msn.com/x1piYkpqHC_35nIp1gLE68-wvzLZO8iXl_JMledmJQXP-XTBOLfmQv4zhj4MhcWEJh_GtoBIiAl1Mjh-ndp9k47If7hTaFno0mxW9_i3p_5qQw">Subscribe with Live.com</feedburner:feedFlare><feedburner:feedFlare href="http://mix.excite.eu/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FSqlchicken" src="http://image.excite.co.uk/mix/addtomix.gif">Subscribe with Excite MIX</feedburner:feedFlare><feedburner:feedFlare href="http://www.webwag.com/wwgthis.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FSqlchicken" src="http://www.webwag.com/images/wwgthis.gif">Subscribe with Webwag</feedburner:feedFlare><feedburner:feedFlare href="http://www.podcastready.com/oneclick_bookmark.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FSqlchicken" src="http://www.podcastready.com/images/podcastready_button.gif">Subscribe with Podcast Ready</feedburner:feedFlare><feedburner:feedFlare href="http://www.wikio.com/subscribe?url=http%3A%2F%2Ffeeds.feedburner.com%2FSqlchicken" src="http://www.wikio.com/shared/img/add2wikio.gif">Subscribe with Wikio</feedburner:feedFlare><feedburner:feedFlare href="http://www.dailyrotation.com/index.php?feed=http%3A%2F%2Ffeeds.feedburner.com%2FSqlchicken" src="http://www.dailyrotation.com/rss-dr2.gif">Subscribe with Daily Rotation</feedburner:feedFlare><item>
		<title>BIxPress 3.5–Now With More Awesome!</title>
		<link>http://feedproxy.google.com/~r/Sqlchicken/~3/_A-FULSNjqk/</link>
		<comments>http://sqlchicken.com/2012/05/bixpress-3-5/#comments</comments>
		<pubDate>Mon, 21 May 2012 18:00:08 +0000</pubDate>
		<dc:creator>Jorge Segarra</dc:creator>
				<category><![CDATA[Syndication]]></category>

		<guid isPermaLink="false">http://sqlchicken.com/?p=1961</guid>
		<description><![CDATA[Pragmatic Works has now released version 3.5 of the award-winning BIxPress software! For those not familiar with BIxPress it’s a tool that helps you develop SSIS/SSAS solutions faster, easily/quickly deploy SSIS packages, monitor performance SSIS packages and much, much more! &#8230; <a href="http://sqlchicken.com/2012/05/bixpress-3-5/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Pragmatic Works has now released version 3.5 of the award-winning <a href="http://pragmaticworks.com/Products/Business-Intelligence/BIxPress/Default.aspx" target="_blank">BIxPress software</a>! For those not familiar with BIxPress it’s a tool that helps you develop SSIS/SSAS solutions faster, easily/quickly deploy SSIS packages, monitor performance SSIS packages and <a href="http://pragmaticworks.com/Products/Business-Intelligence/BIxPress/Overview.aspx" target="_blank">much, much more</a>!</p>
<p>So <a href="http://pragmaticworks.com/help/bixpress/scr/bixpress_release_notes.htm" target="_blank">what’s new with 3.5</a>? In addition to now having SQL Server 2012 support (SSIS), you may have noticed in previous released that Reporting Services didn’t get much love. That all changes with this release as we now have incorporated health monitoring of Reporting Services instances called Reporting Performance Monitor!The new dashboard includes Average Runtime for Reports, Longest Running Reports, Report Memory Usage, Average number of Rows, Active Users, et cetera:</p>
<p><a href="http://sqlchicken.com/wp-content/uploads/2012/05/image.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border-width: 0px;" title="BIxPress Reporting Console Dashboard" src="http://sqlchicken.com/wp-content/uploads/2012/05/image_thumb.png" alt="BIxPress Reporting Console Dashboard" width="480" height="264" border="0" /></a></p>
<p>Another great feature in this release is the Report Deployment Tool. This feature lets you quickly and easily deploy your Reports, Folder Structures, and Data Sources between Reporting Services instances!</p>
<p><a href="http://sqlchicken.com/wp-content/uploads/2012/05/clip_image0025.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border-width: 0px;" title="BIxPress Report Deploy" src="http://sqlchicken.com/wp-content/uploads/2012/05/clip_image0025_thumb.jpg" alt="BIxPress Report Deploy" width="485" height="290" border="0" /></a></p>
<p>One more major update in this release is the update to the SSIS Package Performance monitoring interface. Same great insight, new cleaner interface!</p>
<p><a href="http://sqlchicken.com/wp-content/uploads/2012/05/clip_image0027.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border-width: 0px;" title="BIxPress Package Performance Report" src="http://sqlchicken.com/wp-content/uploads/2012/05/clip_image0027_thumb.jpg" alt="BIxPress Package Performance Report" width="489" height="378" border="0" /></a></p>
<p>What are you waiting for? If you already have BIxPress, you can update through the regular process. Don’t have it yet and want to try it out? <a href="http://pragmaticworks.com/Products/Downloads.aspx?p=bixpress" target="_blank">Download a trial copy today</a>! Also, if you’re a Microsoft MVP don’t forget <a href="http://sqlchicken.com/2012/04/pragmatic-work…tware-for-mvps/" target="_blank">Pragmatic Works offers NFR licenses to MVPs</a>, so go get your copies today!</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=BIxPress+3.5%E2%80%93Now+With+More+Awesome%21+http%3A%2F%2Fis.gd%2FsTH5Gb" title="Post to Twitter"><img class="nothumb" src="http://sqlchicken.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=BIxPress+3.5%E2%80%93Now+With+More+Awesome%21+http%3A%2F%2Fis.gd%2FsTH5Gb" title="Post to Twitter">Tweet This Post</a></p></div>
<p><a href="http://feedads.g.doubleclick.net/~a/NNCGPkIadm7jvCEh77GfyjPpZdE/0/da"><img src="http://feedads.g.doubleclick.net/~a/NNCGPkIadm7jvCEh77GfyjPpZdE/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/NNCGPkIadm7jvCEh77GfyjPpZdE/1/da"><img src="http://feedads.g.doubleclick.net/~a/NNCGPkIadm7jvCEh77GfyjPpZdE/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=_A-FULSNjqk:Y-kWIxXX31A:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=_A-FULSNjqk:Y-kWIxXX31A:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?i=_A-FULSNjqk:Y-kWIxXX31A:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=_A-FULSNjqk:Y-kWIxXX31A:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?i=_A-FULSNjqk:Y-kWIxXX31A:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=_A-FULSNjqk:Y-kWIxXX31A:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=_A-FULSNjqk:Y-kWIxXX31A:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?i=_A-FULSNjqk:Y-kWIxXX31A:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Sqlchicken/~4/_A-FULSNjqk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://sqlchicken.com/2012/05/bixpress-3-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://sqlchicken.com/2012/05/bixpress-3-5/</feedburner:origLink></item>
		<item>
		<title>SQL Server 2012: Biggest Little Core-house</title>
		<link>http://feedproxy.google.com/~r/Sqlchicken/~3/Qevza3yMZlY/</link>
		<comments>http://sqlchicken.com/2012/04/sql-server-2012-biggest-little-core-house/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 12:51:31 +0000</pubDate>
		<dc:creator>Jorge Segarra</dc:creator>
				<category><![CDATA[Syndication]]></category>
		<category><![CDATA[Licensing]]></category>
		<category><![CDATA[SQL Server 2012]]></category>

		<guid isPermaLink="false">http://sqlchicken.com/?p=1919</guid>
		<description><![CDATA[Now that SQL Server 2012 is generally available to the public, many companies are looking at the new platform and trying to figure out how to move to it and take advantage of all the new cool features. Unfortunately, some &#8230; <a href="http://sqlchicken.com/2012/04/sql-server-2012-biggest-little-core-house/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="attachment_1922" class="wp-caption alignright" style="width: 190px"><a href="http://sqlchicken.com/wp-content/uploads/2012/04/intel-chip1.png"><img class=" wp-image-1922 " title="intel-chip1" src="http://sqlchicken.com/wp-content/uploads/2012/04/intel-chip1-300x240.png" alt="" width="180" height="144" /></a><p class="wp-caption-text">You sure do got a &#39;purty motherboard...</p></div>
<p>Now that <a href="http://www.microsoft.com/sqlserver/en/us/default.aspx" target="_blank">SQL Server 2012 is generally available to the public</a>, many companies are looking at the new platform and trying to figure out how to move to it and take advantage of all the new cool features. Unfortunately, some folks haven’t noticed/been aware of some of the fine print that came along with this release. I think at this point, it’s safe to say, mostly everyone knows about the <a href="http://www.jamesserra.com/archive/2011/12/sql-server-2012-denali-licensing/" target="_blank">change to a core-based licensing model</a>. The part that is now causing major heartache with folks is an issue that Aaron Bertrand (<a href="http://sqlblog.com/blogs/aaron_bertrand/" target="_blank">Blog</a> | <a href="http://twitter.com/#!/aaronbertrand" target="_blank">Twitter</a>) recently brought up in his post that I <em><strong>HIGHLY</strong></em> recommend you go read <a href="http://sqlblog.com/blogs/aaron_bertrand/archive/2012/04/27/a-cautionary-tale-about-grandfathering-CAL-licenses-in-SQL-Server-2012-Enterprise.aspx" target="_blank">‘A cautionary tale about grandfathering CAL licenses in SQL Server 2012 Enterprise</a>’.</p>
<p>To quickly summarize the issue, there’s a 20-core limit in place with Enterprise edition (<strong>UPDATE &#8211; Thanks for this clarification point Aaron</strong>: to be clear, the 20-core restriction *only* applies if you upgrade Server + CAL via SA. With core limit = licensed. In other words if you buy a 64-core Enterprise license, you get to use all 64 cores.)! In a nutshell what that means is if you have a server with 4 8-core processors for a total of 32 cores, and you install SQL Server 2012 on it licensed previously by CAL with SA, SQL Server will only “see”/use 20 of those cores! This is a huge deal and one I’m really surprised has not been addressed more vocally from the user community. I’ve already seen a couple of statements as strong as “based on this, we will seriously start looking at another platform”. My hope is that if enough noise is made from the customer base, Microsoft will at least up that limit similar to how <a href="http://www.infoworld.com/t/virtualization/vmware-listens-customers-changes-vsphere-5-licensing-again-168982" target="_blank">VMware changed their licensing for vSphere 5 based on customer lashback</a>. Have you or your company run into this issue yet? Let me hear your thoughts in the comments.</p>
<p><strong>Yet Another Update</strong>: Per Steve Jones’ request in comments, here’s a visual indicator of scenarios and how it could affect you</p>
<table width="540" border="1" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td valign="top" width="112">Edition</td>
<td valign="top" width="162">Licensing today</td>
<td valign="top" width="150">Licensing in 2012</td>
<td valign="top" width="114">Can I use all my cores?</td>
</tr>
<tr>
<td valign="top" width="116">Enterprise</td>
<td valign="top" width="163">Per Processor (4 procs, 4 cores)</td>
<td valign="top" width="151">License all 16 cores (buy 8 core packs*)</td>
<td valign="top" width="116">Yes</td>
</tr>
<tr>
<td valign="top" width="119">Enterprise</td>
<td valign="top" width="162">Per Processor (4 procs, 8 cores)</td>
<td valign="top" width="151">License all 32 cores (buy 16 core packs)</td>
<td valign="top" width="117">Yes</td>
</tr>
<tr>
<td valign="top" width="121">Enterprise</td>
<td valign="top" width="161">Grandfathered Server (4&#215;4 cores) + CALs (with SA)</td>
<td valign="top" width="150">No core packs purchased due to agreement</td>
<td valign="top" width="117">Yes</td>
</tr>
<tr>
<td valign="top" width="123">Enterprise</td>
<td valign="top" width="161">Grandfathered Server (4&#215;8 cores) + CALs (with SA)</td>
<td valign="top" width="149">No core packs puchased due to agreement</td>
<td valign="top" width="117">No (limit to 20)</td>
</tr>
<tr>
<td valign="top" width="123">Enterprise</td>
<td valign="top" width="161">Server (4&#215;8 cores) + CALs (with SA)</td>
<td valign="top" width="149">License 32 cores (buy 16 core packs)</td>
<td valign="top" width="117">Yes</td>
</tr>
</tbody>
</table>
<p>*Core pack comes in pairs so 16 cores requires 8 packs to be purchased, etc.</p>
<p>Additionally, <a href="http://www.microsoft.com/licensing/about-licensing/sql2012.aspx#tab=4" target="_blank">here’s link to licensing FAQ from Microsoft</a>. The one you want to pay attention to (for this scenario) is the last one:</p>
<blockquote><p><a>How will the 20 Core Server limit work for SQL Server 2012?</a></p>
<p>Existing Enterprise Edition licenses in the Server + CAL licensing model that are upgraded to SQL Server 2012 and beyond will be limited to server deployments with 20 cores or less. This 20 core limit only applies to SQL Server 2012 Enterprise Edition Server licenses in the Server + CAL model and will still require the appropriate number/versions of SQL Server CALs for access.</p></blockquote>
<p><strong>Addendum</strong>: Please note, this blog (or any other) should be your definitive source for licensing information. For that, always ALWAYS contact your local Microsoft rep as they have the details of your specific agreements and options. This post is meant for informational purposes only.</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=SQL+Server+2012%3A+Biggest+Little+Core-house+http%3A%2F%2Fis.gd%2FdFBMPJ" title="Post to Twitter"><img class="nothumb" src="http://sqlchicken.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=SQL+Server+2012%3A+Biggest+Little+Core-house+http%3A%2F%2Fis.gd%2FdFBMPJ" title="Post to Twitter">Tweet This Post</a></p></div>
<p><a href="http://feedads.g.doubleclick.net/~a/J33Ftlque3J3UkUks-RDo3hV6Uo/0/da"><img src="http://feedads.g.doubleclick.net/~a/J33Ftlque3J3UkUks-RDo3hV6Uo/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/J33Ftlque3J3UkUks-RDo3hV6Uo/1/da"><img src="http://feedads.g.doubleclick.net/~a/J33Ftlque3J3UkUks-RDo3hV6Uo/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=Qevza3yMZlY:FlPBlgPm6p4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=Qevza3yMZlY:FlPBlgPm6p4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?i=Qevza3yMZlY:FlPBlgPm6p4:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=Qevza3yMZlY:FlPBlgPm6p4:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?i=Qevza3yMZlY:FlPBlgPm6p4:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=Qevza3yMZlY:FlPBlgPm6p4:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=Qevza3yMZlY:FlPBlgPm6p4:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?i=Qevza3yMZlY:FlPBlgPm6p4:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Sqlchicken/~4/Qevza3yMZlY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://sqlchicken.com/2012/04/sql-server-2012-biggest-little-core-house/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		<feedburner:origLink>http://sqlchicken.com/2012/04/sql-server-2012-biggest-little-core-house/</feedburner:origLink></item>
		<item>
		<title>Pragmatic Works Software for MVPs</title>
		<link>http://feedproxy.google.com/~r/Sqlchicken/~3/0uOh0zry3sc/</link>
		<comments>http://sqlchicken.com/2012/04/pragmatic-works-software-for-mvps/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 14:30:26 +0000</pubDate>
		<dc:creator>Jorge Segarra</dc:creator>
				<category><![CDATA[Syndication]]></category>

		<guid isPermaLink="false">http://sqlchicken.com/?p=1913</guid>
		<description><![CDATA[This is just a quick post to remind folks who are current Microsoft MVPs that Pragmatic Works offers NFR licenses of its software! This NFR offer includes: BIxPress &#8211; Audit, Notify, Deploy and Manage SSIS Packages BIDocumenter &#8211; One Stop &#8230; <a href="http://sqlchicken.com/2012/04/pragmatic-works-software-for-mvps/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://sqlchicken.com/wp-content/uploads/2012/04/PW_logo_lg.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; float: right; padding-top: 0px; border: 0px;" title="PW_logo_lg" src="http://sqlchicken.com/wp-content/uploads/2012/04/PW_logo_lg_thumb.jpg" alt="PW_logo_lg" width="244" height="66" align="right" border="0" /></a>This is just a quick post to remind folks who are current <a href="https://mvp.support.microsoft.com/communities/mvp.aspx" target="_blank">Microsoft MVP</a>s that Pragmatic Works offers NFR licenses of its <a href="http://pragmaticworks.com/Products/" target="_blank">software</a>! This NFR offer includes:</p>
<ul>
<li><a href="http://pragmaticworks.com/Products/Business-Intelligence/BIxPress/Default.aspx" target="_blank">BIxPress</a> &#8211; Audit, Notify, Deploy and Manage SSIS Packages</li>
<li><a href="http://pragmaticworks.com/Products/Business-Intelligence/BIDocumenter/Default.aspx" target="_blank">BIDocumenter</a> &#8211; One Stop Documentation Solution for SQL Server, SSAS, SSRS and SSIS</li>
<li><a href="http://pragmaticworks.com/Products/Business-Intelligence/TaskFactory/Default.aspx" target="_blank">Task Factory</a> &#8211; Collection of high performance SSIS components</li>
<li><a href="http://pragmaticworks.com/Products/Business-Intelligence/DTSxChange/Default.aspx" target="_blank">DTSxChange</a> (10-pack) &#8211; Profile, Convert and Monitor. One stop DTS to SSIS Migration Solution</li>
</ul>
<p>To get your licenses simply <a href="mailto:sales@pragmaticworks.com?subject=MVP%20NFR%20Licenses" target="_blank">email our Sales folks</a> and they’ll be happy to get you started! If you’re not an MVP and would like to try our software, you can <a href="http://pragmaticworks.com/Products/Pricing.aspx" target="_blank">download trial versions</a> of all our software as well.</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Pragmatic+Works+Software+for+MVPs+http%3A%2F%2Fis.gd%2FR9Ki5M" title="Post to Twitter"><img class="nothumb" src="http://sqlchicken.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Pragmatic+Works+Software+for+MVPs+http%3A%2F%2Fis.gd%2FR9Ki5M" title="Post to Twitter">Tweet This Post</a></p></div>
<p><a href="http://feedads.g.doubleclick.net/~a/p1l82bYkdFXA29OFnLckQDkqMEk/0/da"><img src="http://feedads.g.doubleclick.net/~a/p1l82bYkdFXA29OFnLckQDkqMEk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/p1l82bYkdFXA29OFnLckQDkqMEk/1/da"><img src="http://feedads.g.doubleclick.net/~a/p1l82bYkdFXA29OFnLckQDkqMEk/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=0uOh0zry3sc:ktuBsvoqwrA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=0uOh0zry3sc:ktuBsvoqwrA:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?i=0uOh0zry3sc:ktuBsvoqwrA:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=0uOh0zry3sc:ktuBsvoqwrA:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?i=0uOh0zry3sc:ktuBsvoqwrA:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=0uOh0zry3sc:ktuBsvoqwrA:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=0uOh0zry3sc:ktuBsvoqwrA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?i=0uOh0zry3sc:ktuBsvoqwrA:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Sqlchicken/~4/0uOh0zry3sc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://sqlchicken.com/2012/04/pragmatic-works-software-for-mvps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://sqlchicken.com/2012/04/pragmatic-works-software-for-mvps/</feedburner:origLink></item>
		<item>
		<title>STOP! Consolidate and Listen</title>
		<link>http://feedproxy.google.com/~r/Sqlchicken/~3/ZGphjHTjc8o/</link>
		<comments>http://sqlchicken.com/2012/03/stop-consolidate-and-listen/#comments</comments>
		<pubDate>Wed, 21 Mar 2012 10:18:48 +0000</pubDate>
		<dc:creator>Jorge Segarra</dc:creator>
				<category><![CDATA[24 Hours of PASS]]></category>
		<category><![CDATA[Presentation]]></category>
		<category><![CDATA[Syndication]]></category>

		<guid isPermaLink="false">http://sqlchicken.com/?p=1906</guid>
		<description><![CDATA[I just wrapped up my 24 Hours of PASS session on consolidation. A big THANK YOU again to everyone in attendance, who kindly put up with my horrendous rapping &#8220;skills&#8221;! As promised, below is the link to the slide deck. In &#8230; <a href="http://sqlchicken.com/2012/03/stop-consolidate-and-listen/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://sqlchicken.com/wp-content/uploads/2011/03/24hop.jpg"><img class="alignright  wp-image-1381" title="24hop" src="http://sqlchicken.com/wp-content/uploads/2011/03/24hop-300x134.jpg" alt="" width="210" height="94" /></a>I just wrapped up my <a href="http://www.sqlpass.org/24hours/spring2012/" target="_blank">24 Hours of PASS</a> session on consolidation. A big THANK YOU again to everyone in attendance, who kindly put up with my horrendous rapping &#8220;skills&#8221;! As promised, below is the link to the slide deck. In the presenter&#8217;s notes you&#8217;ll find some good links and resources for consolidation.</p>
<p>Download link: <a href="http://sqlchicken.com/wp-content/uploads/2012/03/STOP_Consolidate_and_Listen_24HOP.zip">STOP_Consolidate_and_Listen_24HOP</a> (ZIP file)</p>
<p>If you have any additional questions around consolidation, virtualization or my general sanity feel free to leave them in the comments section below, thanks!</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=STOP%21+Consolidate+and+Listen+http%3A%2F%2Fis.gd%2FsKTO2t" title="Post to Twitter"><img class="nothumb" src="http://sqlchicken.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=STOP%21+Consolidate+and+Listen+http%3A%2F%2Fis.gd%2FsKTO2t" title="Post to Twitter">Tweet This Post</a></p></div>
<p><a href="http://feedads.g.doubleclick.net/~a/nYdRurbvPWAgOnQOd9UvY9sQx0U/0/da"><img src="http://feedads.g.doubleclick.net/~a/nYdRurbvPWAgOnQOd9UvY9sQx0U/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/nYdRurbvPWAgOnQOd9UvY9sQx0U/1/da"><img src="http://feedads.g.doubleclick.net/~a/nYdRurbvPWAgOnQOd9UvY9sQx0U/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=ZGphjHTjc8o:JliQRz-lTY8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=ZGphjHTjc8o:JliQRz-lTY8:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?i=ZGphjHTjc8o:JliQRz-lTY8:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=ZGphjHTjc8o:JliQRz-lTY8:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?i=ZGphjHTjc8o:JliQRz-lTY8:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=ZGphjHTjc8o:JliQRz-lTY8:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=ZGphjHTjc8o:JliQRz-lTY8:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?i=ZGphjHTjc8o:JliQRz-lTY8:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Sqlchicken/~4/ZGphjHTjc8o" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://sqlchicken.com/2012/03/stop-consolidate-and-listen/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://sqlchicken.com/2012/03/stop-consolidate-and-listen/</feedburner:origLink></item>
		<item>
		<title>Monday Morning Mistakes: Not Setting Memory Limits</title>
		<link>http://feedproxy.google.com/~r/Sqlchicken/~3/809JnsaiVDY/</link>
		<comments>http://sqlchicken.com/2012/02/setting-memory-limits/#comments</comments>
		<pubDate>Tue, 28 Feb 2012 15:30:27 +0000</pubDate>
		<dc:creator>Jorge Segarra</dc:creator>
				<category><![CDATA[Monday Morning Mistakes]]></category>
		<category><![CDATA[Syndication]]></category>

		<guid isPermaLink="false">http://sqlchicken.com/?p=1891</guid>
		<description><![CDATA[Welcome back to another addition of Monday Morning Mistakes series. Today’s issue is one I tend to run into quite often with clients and is an important topic to know about as a database administrator. Without further ado, let’s get &#8230; <a href="http://sqlchicken.com/2012/02/setting-memory-limits/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://sqlchicken.com/wp-content/uploads/2012/02/M3logo.png"><img class="alignright  wp-image-1853" title="M3logo.png" src="http://sqlchicken.com/wp-content/uploads/2012/02/M3logo.png" alt="" width="144" height="144" /></a>Welcome back to another addition of <a href="http://sqlchicken.com/category/monday-morning-mistakes/">Monday Morning Mistakes</a> series. Today’s issue is one I tend to run into quite often with clients and is an important topic to know about as a database administrator. Without further ado, let’s get to our issue</p>
<h2>Issue</h2>
<p>You have SQL Server database engine installed on a system with other services such as Analysis Services, Reporting Services and/ or Integration Services and you constantly seem to run out of memory. Restarting service seems to fix the issue temporarily but some time later the same problem returns.</p>
<p><span id="more-1891"></span></p>
<h2>Solution</h2>
<p>Always ALWAYS set max memory options for your SQL Server-related services! Setting a hard set maximum keeps your systems from “running away” with memory and causing unexpected performance issues in your environment. This becomes especially important in environments where you’re running multiple services on the same server. In a nutshell here is a breakdown of the different SQL Server services and how they utilize memory by default (read also: running with default settings in relation to memory). The two biggest problem children, in regards to memory configuration, are the database engine service and Analysis Service. Although those two are the most commonly misconfigured, I’ve outlined all four services below.</p>
<h3>Database Engine (aka SQL Server service)</h3>
<p>By default, the Max Server Memory (MB) setting is set to 2147483647. This is one of the first things you want to change upon a new install of SQL Server! In layman’s terms this default setting tells SQL Server it can essentially take up all of the physical memory on the server for use by the SQL Server buffer pool. Notice I said buffer pool and not SQL Server in total? Pre SQL Server 2012, this setting really is setting max memory for the buffer pool but folks have come across instance where they set the max memory setting and yet SQL Server shows it’s actually using more memory than that. Starting with SQL Server 2012, this setting actually dictates how much SQL Server (buffer pool + everything else) can use so it’s less confusing. See this post by Jonathan Kehayias (<a href="http://sqlskills.com/blogs/jonathan/" target="_blank">Blog </a>| <a href="http://twitter.com/sqlpoolboy" target="_blank">Twitter</a>) for more details on what the max memory setting truly means: <a href="http://sqlblog.com/blogs/jonathan_kehayias/archive/2009/08/24/troubleshooting-the-sql-server-memory-leak-or-understanding-sql-server-memory-usage.aspx">http://sqlblog.com/blogs/jonathan_kehayias/archive/2009/08/24/troubleshooting-the-sql-server-memory-leak-or-understanding-sql-server-memory-usage.aspx</a></p>
<p>Best practice suggests setting this value instead to 80% of physical memory on a server that only has the database engine running. You will need to use smaller percentage if box is sharing resources with other services. Please note this 80% rule is flexible as systems with larger amounts of memory you can increase that percentage. As an example, in the figure below you can an example where I’ve set the max memory for a system with 8GB of RAM and running only the SQL Server database engine on the box. For a great guide on setting max server memory for the engine service see Glenn Berry’s (<a href="http://sqlserverperformance.wordpress.com" target="_blank">Blog</a> | <a href="http://twitter.com/glennalanberry" target="_blank">Twitter</a>) post on the matter: <a href="http://sqlserverperformance.wordpress.com/2009/10/29/suggested-max-memory-settings-for-sql-server-20052008/">http://sqlserverperformance.wordpress.com/2009/10/29/suggested-max-memory-settings-for-sql-server-20052008/</a></p>
<p><a href="http://sqlchicken.com/wp-content/uploads/2012/02/image5.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border-width: 0px;" title="image" src="http://sqlchicken.com/wp-content/uploads/2012/02/image_thumb5.png" alt="image" width="593" height="293" border="0" /></a></p>
<h3>Analysis Services (SSAS)</h3>
<p>This one is really interesting as many folks install SQL Server Analysis Services (SSAS) without realizing what the configurations involved are/do. In a default installation of Analysis Services, the service’s value for LowMemoryLimit is set to take 65% of physical memory by default. Now granted this service does not suck up this much at startup (that value is controlled by PreAllocate property) but if you were to use Analysis Services while running the engine on the same box, Analysis Service will not start freeing up memory until this minimum is reached. Up until that point, any memory used by Analysis Service is exclusive to it. If you’re installing multiple services on the same server, you’ll want to not only set the minimum memory setting here, but you’ll also want to set the TotalMemoryLimit and HardMemoryLimit. Your HardMemoryLimit is really the important one you want to configure as that is the percentage at which SSAS will start denying user and system requests due to memory pressure (essentially an out of memory error). For administrators, a must-read guide for Analysis Services is the <a href="http://msdn.microsoft.com/en-us/library/hh226085.aspx" target="_blank">SQL Server 2008 R2 Analysis Services Operations Guide</a>. It’s lengthy at 108 pages but you can jump to section 2.3 (Memory Configuration) to get the full details on these settings and how they function.</p>
<h3>Reporting Services (SSRS)</h3>
<p>SQL Server Reporting Services (SSRS) memory settings can be configured but it’s not as straight forward as the other services are. In order to configure SSRS you need to modify an XML configuration file (rsreportserver.config). In a default installation, this file is located at C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer. Please note that path could change depending on what version of SQL Server you’re running, if you’re running 64 or 32 bit installation, and what drive/folder path you’ve installed your services on. If you have trouble locating it, simply do a search on your file system for the rsreportserver.config file.</p>
<p><a href="http://sqlchicken.com/wp-content/uploads/2012/02/image6.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border-width: 0px;" title="image" src="http://sqlchicken.com/wp-content/uploads/2012/02/image_thumb6.png" alt="image" width="244" height="224" border="0" /></a></p>
<p>SSRS, like Integration Services, is typically benign in regards to memory usage. However if you have an environment where it gets utilized heavily, especially on a system that is sharing resources with multiple services, then you may want to tweak these settings. For best practices regarding Reporting Services configurations I suggest you look at the whitepaper from SQLCAT team on <a href="http://sqlcat.com/sqlcat/b/technicalnotes/archive/2008/10/21/reporting-services-scale-out-deployment-best-practices.aspx" target="_blank">Scale-Out Deployments for Reporting Services Best Practices</a>.</p>
<h3>Integration Services (SSIS)</h3>
<p>Unfortunately this service’s memory usage actually can’t be configured like the other services can. Instead optimization needs to occur at the package level. Having the SSIS service installed alongside the database engine service is quite common and usually doesn’t cause too much issue so long as all the other services are configured optimally. You can read more about SSIS Design and Performance Tuning <a href="http://sqlcat.com/sqlcat/b/presentations/archive/2009/05/02/designing-and-tuning-for-performance-your-ssis-packages-in-the-enterprise-sql-video-series.aspx">http://sqlcat.com/sqlcat/b/presentations/archive/2009/05/02/designing-and-tuning-for-performance-your-ssis-packages-in-the-enterprise-sql-video-series.aspx</a> or watch a free webinar from Pragmatic Works on SSIS Performance Tuning: <a href="http://pragmaticworks.com/resources/webinars/WebinarSummary.aspx?ResourceID=265">http://pragmaticworks.com/resources/webinars/WebinarSummary.aspx?ResourceID=265</a></p>
<h3>Conclusion</h3>
<p>Remember this post is to help those who have multiple services (or even all the services) running on the same server. Best practice dictates that for best performance you’d want to segregate one or all services to their own servers, but make sure you do what makes sense for <em>your</em> environments. Best practices aren’t necessarily one size fits all* so make sure you do your homework!</p>
<p>*Unless that best practice dictates not to auto-shrink your databases. Seriously, don’t shrink your databases, <a href="http://sqlchicken.com/wp-content/uploads/2012/02/shrink-databases-warning.jpg">please think of the kittens</a>.</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Monday+Morning+Mistakes%3A+Not+Setting+Memory+Limits+http%3A%2F%2Fis.gd%2FM5EaVs" title="Post to Twitter"><img class="nothumb" src="http://sqlchicken.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Monday+Morning+Mistakes%3A+Not+Setting+Memory+Limits+http%3A%2F%2Fis.gd%2FM5EaVs" title="Post to Twitter">Tweet This Post</a></p></div>
<p><a href="http://feedads.g.doubleclick.net/~a/fxBs3AIrkwar2QH5fPzvG1fdL8I/0/da"><img src="http://feedads.g.doubleclick.net/~a/fxBs3AIrkwar2QH5fPzvG1fdL8I/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/fxBs3AIrkwar2QH5fPzvG1fdL8I/1/da"><img src="http://feedads.g.doubleclick.net/~a/fxBs3AIrkwar2QH5fPzvG1fdL8I/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=809JnsaiVDY:syo1F0U2MWo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=809JnsaiVDY:syo1F0U2MWo:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?i=809JnsaiVDY:syo1F0U2MWo:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=809JnsaiVDY:syo1F0U2MWo:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?i=809JnsaiVDY:syo1F0U2MWo:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=809JnsaiVDY:syo1F0U2MWo:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=809JnsaiVDY:syo1F0U2MWo:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?i=809JnsaiVDY:syo1F0U2MWo:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Sqlchicken/~4/809JnsaiVDY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://sqlchicken.com/2012/02/setting-memory-limits/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		<feedburner:origLink>http://sqlchicken.com/2012/02/setting-memory-limits/</feedburner:origLink></item>
		<item>
		<title>Monday Morning Mistakes: SSIS Expressions Not Evaluating Correctly</title>
		<link>http://feedproxy.google.com/~r/Sqlchicken/~3/9_Ym9t0UNXo/</link>
		<comments>http://sqlchicken.com/2012/02/ssis-expressions-not-evaluating-correctly/#comments</comments>
		<pubDate>Mon, 13 Feb 2012 18:39:51 +0000</pubDate>
		<dc:creator>Jorge Segarra</dc:creator>
				<category><![CDATA[Monday Morning Mistakes]]></category>
		<category><![CDATA[Syndication]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://sqlchicken.com/?p=1865</guid>
		<description><![CDATA[SSIS Expressions Expressions in SSIS are great. They allow you to create dynamic values for all sorts of stuff like variables, connection strings, properties for almost anything, etc. One huge issue that tends to trip up a lot of folks, &#8230; <a href="http://sqlchicken.com/2012/02/ssis-expressions-not-evaluating-correctly/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://sqlchicken.com/wp-content/uploads/2012/02/M3logo.png"><img class="alignright" style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-style: initial; border-color: initial; border-image: initial; border-width: 0px;" title="M3logo" src="http://sqlchicken.com/wp-content/uploads/2012/02/M3logo_thumb.png" alt="M3logo" width="148" height="148" align="right" border="0" /></a></p>
<h1>SSIS Expressions</h1>
<p>Expressions in SSIS are great. They allow you to create dynamic values for all sorts of stuff like variables, connection strings, properties for almost anything, etc. One huge issue that tends to trip up a lot of folks, especially those new to SSIS, is the evaluation of those expressions when using variables.</p>
<h2>The Issue</h2>
<p>You create an SSIS variable with an expression but at runtime the expression is not evaluating as expected. Instead the expression value is using the default/static value of the variable.</p>
<h2>Quick Answer</h2>
<p>Make sure property for ‘Evaluate as an Expression” on the variable is set to True. Without it being set to true, the variable will evaluate to the hard set value.</p>
<p><span id="more-1865"></span></p>
<h2>Explanation</h2>
<p>Even if you create an expression on the variable through the expression editor, and even if you test the expression and it evaluates correctly in the editor, the package will not use that expression unless you explicitly set the property on that variable to evaluate as an expression. When the property is set to false, the package will evaluate the hard set value and not the expression! In order to clearly show this in action, I’ve created a quick video below showing this behavior in action.</p>
<h2>Example:</h2>
<p>To demonstrate this behavior I created a simple SSIS package that has a single variable named strMessage. The value I set for it is Manual text. Go to the properties for the variable, find the properties for expressions and click the ellipses button to open the Expression Builder. In the Expression window copy/paste this expression:</p>
<p>&#8220;This is an expression with a date: &#8221; +  (DT_STR, 30, 1252) GETDATE()</p>
<p>You can hit the Evaluate Expression button to verify the code is evaluating correctly. Click OK to close the Expression Builder.</p>
<p align="center"><a href="http://sqlchicken.com/wp-content/uploads/2012/02/image.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="http://sqlchicken.com/wp-content/uploads/2012/02/image_thumb.png" alt="image" width="244" height="216" border="0" /></a></p>
<p>In the Control Flow I’ve created a Script Task that creates a message box that displays the value of the variable. Here is the code (VB) inside the script task’s main section of code:</p>
<p>Public Sub Main()<br />
&#8216;<br />
MsgBox(Dts.Variables(&#8220;strMessage&#8221;).value)</p>
<p>&#8216;<br />
Dts.TaskResult = ScriptResults.Success<br />
End Sub</p>
<p>This code simply populates a message box with the value from strMessage variable.</p>
<p>Don’t forget to supply the variable name in the ReadOnlyVariables property of the script, otherwise the script task won’t be able to read the variable from the package.</p>
<p><a href="http://sqlchicken.com/wp-content/uploads/2012/02/image1.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px;" title="image" src="http://sqlchicken.com/wp-content/uploads/2012/02/image_thumb1.png" alt="image" width="244" height="233" border="0" /></a></p>
<p>If you execute the package you’ll get a pop up box that should show you this:</p>
<p><a href="http://sqlchicken.com/wp-content/uploads/2012/02/image2.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px;" title="image" src="http://sqlchicken.com/wp-content/uploads/2012/02/image_thumb2.png" alt="image" width="244" height="97" border="0" /></a></p>
<p>Notice how the value of the message is pulling from the static value of the variable and not the expression? Now stop the package from running (hit the Stop button or press Shift+F5).</p>
<p>Go back to the properties for your variable and look for a property called EvaluateAsExpression. Change the value of that property to True.</p>
<p><a href="http://sqlchicken.com/wp-content/uploads/2012/02/image3.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px;" title="image" src="http://sqlchicken.com/wp-content/uploads/2012/02/image_thumb3.png" alt="image" width="466" height="218" border="0" /></a></p>
<p>Now run the package again, this time you should see:</p>
<p><a href="http://sqlchicken.com/wp-content/uploads/2012/02/image4.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px;" title="image" src="http://sqlchicken.com/wp-content/uploads/2012/02/image_thumb4.png" alt="image" width="244" height="85" border="0" /></a></p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Monday+Morning+Mistakes%3A+SSIS+Expressions+Not+Evaluating+Correctly+http%3A%2F%2Fis.gd%2FOVuv4r" title="Post to Twitter"><img class="nothumb" src="http://sqlchicken.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Monday+Morning+Mistakes%3A+SSIS+Expressions+Not+Evaluating+Correctly+http%3A%2F%2Fis.gd%2FOVuv4r" title="Post to Twitter">Tweet This Post</a></p></div>
<p><a href="http://feedads.g.doubleclick.net/~a/vDndB99MmswlbZxOziBT_7NKA_I/0/da"><img src="http://feedads.g.doubleclick.net/~a/vDndB99MmswlbZxOziBT_7NKA_I/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/vDndB99MmswlbZxOziBT_7NKA_I/1/da"><img src="http://feedads.g.doubleclick.net/~a/vDndB99MmswlbZxOziBT_7NKA_I/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=9_Ym9t0UNXo:-wXQsoO1A90:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=9_Ym9t0UNXo:-wXQsoO1A90:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?i=9_Ym9t0UNXo:-wXQsoO1A90:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=9_Ym9t0UNXo:-wXQsoO1A90:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?i=9_Ym9t0UNXo:-wXQsoO1A90:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=9_Ym9t0UNXo:-wXQsoO1A90:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=9_Ym9t0UNXo:-wXQsoO1A90:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?i=9_Ym9t0UNXo:-wXQsoO1A90:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Sqlchicken/~4/9_Ym9t0UNXo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://sqlchicken.com/2012/02/ssis-expressions-not-evaluating-correctly/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		<feedburner:origLink>http://sqlchicken.com/2012/02/ssis-expressions-not-evaluating-correctly/</feedburner:origLink></item>
		<item>
		<title>Monday Morning Mistakes: Remote Connectivity to SQL Server</title>
		<link>http://feedproxy.google.com/~r/Sqlchicken/~3/tg_NaY08JzI/</link>
		<comments>http://sqlchicken.com/2012/01/monday-morning-mistakes-remote-connectivity-to-sql-server/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 20:25:26 +0000</pubDate>
		<dc:creator>Jorge Segarra</dc:creator>
				<category><![CDATA[Monday Morning Mistakes]]></category>
		<category><![CDATA[Syndication]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://sqlchicken.com/?p=1848</guid>
		<description><![CDATA[Inspired by common emails and questions I  see, I figured I’d do a series of blog posts on common mistakes folks make with SQL Server called Monday Morning Mistakes (or #sqlM3 for short, since we all love quick hashtags these &#8230; <a href="http://sqlchicken.com/2012/01/monday-morning-mistakes-remote-connectivity-to-sql-server/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Inspired by common emails and questions I  see, I figured I’d do a series of blog posts on common mistakes folks make with SQL Server called Monday Morning Mistakes (or #sqlM3 for short, since we all love quick hashtags these days). These are meant as quick fixes, nothing too comprehensive. Also since I just made up a hashtag, feel free to share your own <a href="https://twitter.com/#!/search/realtime/%23sqlm3" target="_blank">#sqlM3 tips on Twitter</a> anytime! Without further ado…</p>
<p>Today’s quick issue: Can connect to SQL Server locally but can’t connect from other server or computer.</p>
<p>Quick answer: Remote connections (read also: any connections that are not local) to SQL Server are disabled by default. This behavior is default in SQL Server 2005 and higher. You have to manually enable TCP/IP protocol to instance to allow connectivity. This requires a service restart to take effect.</p>
<p><span id="more-1848"></span></p>
<p>1. Open Connection Manager, go to SQL Server Network Configuration.</p>
<p>2. Select the Protocols for the instance you’re wishing to allow remote connectivity.</p>
<p>3. Enable TCP/IP by right-clicking it and selecting Enable.</p>
<p><a href="http://sqlchicken.com/wp-content/uploads/2012/01/image.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="http://sqlchicken.com/wp-content/uploads/2012/01/image_thumb.png" alt="image" width="374" height="180" border="0" /></a></p>
<p>4. Restart the SQL Server service.</p>
<p>&nbsp;</p>
<p>Additional tips: If you continue to have access denied problems don&#8217;t forget to check the SQL Server error log for clues as to why connection isn&#8217;t working (i.e. incorrect password error). Also check to see if firewall might be affecting connectivity.</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Monday+Morning+Mistakes%3A+Remote+Connectivity+to+SQL+Server+http%3A%2F%2Fis.gd%2FnSE5fW" title="Post to Twitter"><img class="nothumb" src="http://sqlchicken.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Monday+Morning+Mistakes%3A+Remote+Connectivity+to+SQL+Server+http%3A%2F%2Fis.gd%2FnSE5fW" title="Post to Twitter">Tweet This Post</a></p></div>
<p><a href="http://feedads.g.doubleclick.net/~a/gVavEmdl9DJzeclSfbAkFmF2iiA/0/da"><img src="http://feedads.g.doubleclick.net/~a/gVavEmdl9DJzeclSfbAkFmF2iiA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/gVavEmdl9DJzeclSfbAkFmF2iiA/1/da"><img src="http://feedads.g.doubleclick.net/~a/gVavEmdl9DJzeclSfbAkFmF2iiA/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=tg_NaY08JzI:nbEp-RxKBtU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=tg_NaY08JzI:nbEp-RxKBtU:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?i=tg_NaY08JzI:nbEp-RxKBtU:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=tg_NaY08JzI:nbEp-RxKBtU:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?i=tg_NaY08JzI:nbEp-RxKBtU:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=tg_NaY08JzI:nbEp-RxKBtU:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=tg_NaY08JzI:nbEp-RxKBtU:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?i=tg_NaY08JzI:nbEp-RxKBtU:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Sqlchicken/~4/tg_NaY08JzI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://sqlchicken.com/2012/01/monday-morning-mistakes-remote-connectivity-to-sql-server/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://sqlchicken.com/2012/01/monday-morning-mistakes-remote-connectivity-to-sql-server/</feedburner:origLink></item>
		<item>
		<title>Estimated Completion Time for Backups and Restores</title>
		<link>http://feedproxy.google.com/~r/Sqlchicken/~3/a80RhrGz8RM/</link>
		<comments>http://sqlchicken.com/2011/12/estimated-completion-time-for-backups-and-restores/#comments</comments>
		<pubDate>Fri, 30 Dec 2011 16:41:53 +0000</pubDate>
		<dc:creator>Jorge Segarra</dc:creator>
				<category><![CDATA[DBA]]></category>
		<category><![CDATA[Syndication]]></category>

		<guid isPermaLink="false">http://sqlchicken.com/?p=1827</guid>
		<description><![CDATA[I’m in the middle of a database migration and thought I’d quickly share a script I threw together to show estimated time of completion for a database restore in progress on SQL Server. The script will also show you estimated &#8230; <a href="http://sqlchicken.com/2011/12/estimated-completion-time-for-backups-and-restores/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I’m in the middle of a database migration and thought I’d quickly share a script I threw together to show estimated time of completion for a database restore in progress on SQL Server. The script will also show you estimated time for database backups to complete as well.</p>
<p>Please don&#8217;t take this script as gospel, the best way to truly know how long restores will take is to actually perform a restore! Remember folks: </p>
<blockquote><p>Backups are worthless, restores are pricess</p></blockquote>
<pre class="brush: sql; title: ; notranslate">SELECT
	session_id,
	start_time,
	status,
	command,
	percent_complete,
	estimated_completion_time,
	estimated_completion_time /60/1000 as estimate_completion_minutes,
	--(select convert(varchar(5),getdate(),8)),
	DATEADD(n,(estimated_completion_time /60/1000),GETDATE()) as estimated_completion_time

FROM    sys.dm_exec_requests where command = 'BACKUP DATABASE' OR command = 'RESTORE DATABASE'</pre>
<p><strong>NOTE</strong>: Due to the fact this script uses DMV&#8217;s, will only work on SQL Server 2005 and higher</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Estimated+Completion+Time+for+Backups+and+Restores+http%3A%2F%2Fis.gd%2FzvpNHW" title="Post to Twitter"><img class="nothumb" src="http://sqlchicken.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Estimated+Completion+Time+for+Backups+and+Restores+http%3A%2F%2Fis.gd%2FzvpNHW" title="Post to Twitter">Tweet This Post</a></p></div>
<p><a href="http://feedads.g.doubleclick.net/~a/SHqP4tmXfsf_hgM4c66jUGS9Un4/0/da"><img src="http://feedads.g.doubleclick.net/~a/SHqP4tmXfsf_hgM4c66jUGS9Un4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/SHqP4tmXfsf_hgM4c66jUGS9Un4/1/da"><img src="http://feedads.g.doubleclick.net/~a/SHqP4tmXfsf_hgM4c66jUGS9Un4/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=a80RhrGz8RM:SmMhCc90d_I:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=a80RhrGz8RM:SmMhCc90d_I:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?i=a80RhrGz8RM:SmMhCc90d_I:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=a80RhrGz8RM:SmMhCc90d_I:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?i=a80RhrGz8RM:SmMhCc90d_I:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=a80RhrGz8RM:SmMhCc90d_I:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=a80RhrGz8RM:SmMhCc90d_I:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?i=a80RhrGz8RM:SmMhCc90d_I:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Sqlchicken/~4/a80RhrGz8RM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://sqlchicken.com/2011/12/estimated-completion-time-for-backups-and-restores/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://sqlchicken.com/2011/12/estimated-completion-time-for-backups-and-restores/</feedburner:origLink></item>
		<item>
		<title>SQL University: Virtualization Basics</title>
		<link>http://feedproxy.google.com/~r/Sqlchicken/~3/LuEfXOduaWk/</link>
		<comments>http://sqlchicken.com/2011/11/sql-university-virtualization-basics/#comments</comments>
		<pubDate>Thu, 17 Nov 2011 18:07:03 +0000</pubDate>
		<dc:creator>Jorge Segarra</dc:creator>
				<category><![CDATA[SQL University]]></category>
		<category><![CDATA[Syndication]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://sqlchicken.com/?p=1811</guid>
		<description><![CDATA[This week we’re going to talk about a topic that has been gaining steam in the last few years and as it has it has started impacting database administrator’s worlds more and more: virtualization. Why do I make this statement? &#8230; <a href="http://sqlchicken.com/2011/11/sql-university-virtualization-basics/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://sqlchicken.com/sql-university"><img class="alignright size-full wp-image-1386" title="SQL_University_Web1" src="http://sqlchicken.com/wp-content/uploads/2011/03/SQL_University_Web1.png" alt="" width="175" height="200" /></a>This week we’re going to talk about a topic that has been gaining steam in the last few years and as it has it has started impacting database administrator’s worlds more and more: virtualization. Why do I make this statement? Well since the economy currently sucks, shops are finding ways to consolidate and make their dollars stretch a little further. Back in the day when you had a new application you pretty much went out and bought yourself some new servers and went on your merry way. Now, when money’s tight, folks are a little less likely to go out and simply buy new equipment for each individual application. Not only is this option expensive, there are other factors to think about such as space (data center may not have capacity for new servers), electricity and cooling.</p>
<p>Enter virtualization. Virtualization allows you to consolidate this server sprawl issue by buying a physical server, filling it with tons of your typical resources such as CPU, memory and drives, and from this single box be able to create virtual servers on this single piece of hardware that look/act/feel like independent servers. This week we&#8217;re going to cover some basics of virtualization and stuff you need to know about if you&#8217;re going to be going that route in your shop.</p>
<p><span id="more-1811"></span></p>
<p>First things first, we need to familiarize ourselves with some basic terminology. These concepts are the same no matter what brand of virtualization so don&#8217;t worry about specifics. Later on we&#8217;ll dive into the different platforms/vendors and what they offer, but for now we&#8217;ll stick with general concepts and terms.</p>
<p><strong>Host</strong></p>
<p>Earlier I talked about buying a physical box to house your virtual machines on. This physical server is referred to as a host. The host contains all the physical resources that we will be allocating to our virtual environments including memory, CPU, networking and disks (I/O). Granted you can attach alternate methods of storage to your host, such as a SAN or NAS (which is common) for your storage needs, for these lessons we will refer to storage as being direct attached storage (DAS).</p>
<p><strong>Hypervisor</strong></p>
<p>The hypervisor is essentially a special type of Operating System, also referred to as a virtual machine manager/monitor, that is installed on the hardware (host) and its purpose is to present a platform between the hardware and the guest to allow multiple operating systems to share a single host and its resources. In a very simplistic way, think of the hypervisor as the traffic cop between each guest and the resources on the host. If multiple guests are asking for memory or CPU the hypervisor is the one that doles out the goodies to everyone in a quick and efficient way. The hypervisor is the &#8220;secret sauce&#8221; for virtualization and what makes all the magic happen.</p>
<p><strong>Guest</strong></p>
<p>When you create a virtual machine on your host, it is referred to as a guest. A guest, or virtual machine (VM), runs as an independent machine. The beauty of virtualization is that you can create a multitude of guests on a host, all running different operating systems. Once configured a guest VM looks/acts just like a regular server or machine on the network. Each guest can be independently configured with its own resources such as virtual processors, memory and virtual disks.</p>
<p>This is where you will be running SQL Server. When you remote desktop into this machine and go to control panel/device manager keep in mind you&#8217;re not seeing real hardware, you&#8217;re looking at virtual hardware that is presented to you via the hypervisor.</p>
<p><strong>Abstraction</strong></p>
<p>Technically this isn’t a virtualization term but it’s a concept you’re going to need to need to be really familiar with when virtualizing. Abstraction essentially means when something is presented in a simplified format but underneath it you have more complexity that is involved but you don’t necessarily have to worry about for your use. An example of this in the database world would be a view. You create a simple view that you can select from that looks like you’re selecting from a single table. In reality, that view’s definition is actually the joining of one or more tables together to get the result set for the view. By creating a view, you simplify the work for the end user by letting them query one “table” instead of having to do the work of joining several tables to get what they need.</p>
<div class="wp-caption aligncenter" style="width: 452px"><a href="http://sqlchicken.com/wp-content/uploads/2011/11/virtualization-matrix.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; margin-left: auto; margin-right: auto; padding-top: 0px; border-color: initial; border-style: initial; border-width: 0px;" title="virtualization-matrix" src="http://sqlchicken.com/wp-content/uploads/2011/11/virtualization-matrix_thumb.png" alt="virtualization-matrix" width="442" height="294" border="0" /></a><p class="wp-caption-text">Abstraction has you, Neo...</p></div>
<p>This concept extends over to the world of virtualization quite a bit. When you create a guest on a host, you create it with a certain set of resources. For example you create a virtual machine guest with 1 virtual processor that is 2.5 GHz and 2 GB of RAM (keeping this simple for now). The abstraction occurs when the hypervisor creates the guest, it creates it saying ‘you have X amount of memory and you have Y CPUs that are Z fast’. Behind the scenes, however, the host is doing something else. While the operating system on the guest says “I have 2 GB of memory”, the host is really only allocating as much memory as the guest needs at the time. So in reality the host is only allocating 128 MB of memory to that guest at that given time. The 2 GB you “gave” the guest, can almost be viewed as a more of a max memory option.</p>
<p>If the guest becomes really active and requires more resources, the hypervisor gets this request and allocates those resources from the host and subsequently passes it to the guest, up to the maximum of what you allocated to the guest. During all this process, the guest is never made aware of any of this shenanigans going on behind the scenes. It’s simply a server with 2 GB of memory doing it’s typical routines! Now, on a simple system you may never notice any performance issue with this, and a good hypervisor makes this situation seamless as you should never really see the effects of this process affecting your performance…until you do.</p>
<p>This also occurs with processing power as well. We gave our guest one virtual processor that runs at 2.5 GHz, so we&#8217;d expect if we were to run a process that is CPU intensive, that CPU would be running at speed of 2.5 GHz. Again, an administrator has the ability the throttle these resources so from the hypervisor so while activity monitor within your guest can show 100% utilization but on the host side, the CPU can really only be 25% utilized.</p>
<p>This is where understanding what resource allocation and abstraction becomes crucial in architecting a proper virtualization environment. Now that you’ve understood some of the core concepts, in our next lesson we’ll talk about how SQL Server fits into this whole picture and what you need to account for to ensure your virtualization project goes well.</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=SQL+University%3A+Virtualization+Basics+http%3A%2F%2Fis.gd%2FO3SSMI" title="Post to Twitter"><img class="nothumb" src="http://sqlchicken.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=SQL+University%3A+Virtualization+Basics+http%3A%2F%2Fis.gd%2FO3SSMI" title="Post to Twitter">Tweet This Post</a></p></div>
<p><a href="http://feedads.g.doubleclick.net/~a/K6cps1BZGg4_ofApT4cbz0W9-ic/0/da"><img src="http://feedads.g.doubleclick.net/~a/K6cps1BZGg4_ofApT4cbz0W9-ic/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/K6cps1BZGg4_ofApT4cbz0W9-ic/1/da"><img src="http://feedads.g.doubleclick.net/~a/K6cps1BZGg4_ofApT4cbz0W9-ic/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=LuEfXOduaWk:BektfObFjzQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=LuEfXOduaWk:BektfObFjzQ:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?i=LuEfXOduaWk:BektfObFjzQ:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=LuEfXOduaWk:BektfObFjzQ:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?i=LuEfXOduaWk:BektfObFjzQ:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=LuEfXOduaWk:BektfObFjzQ:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=LuEfXOduaWk:BektfObFjzQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?i=LuEfXOduaWk:BektfObFjzQ:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Sqlchicken/~4/LuEfXOduaWk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://sqlchicken.com/2011/11/sql-university-virtualization-basics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://sqlchicken.com/2011/11/sql-university-virtualization-basics/</feedburner:origLink></item>
		<item>
		<title>SQL Server 2012: Business Intelligence Edition</title>
		<link>http://feedproxy.google.com/~r/Sqlchicken/~3/0UkIO5Ut-BQ/</link>
		<comments>http://sqlchicken.com/2011/11/sql-server-2012-business-intelligence-edition/#comments</comments>
		<pubDate>Thu, 03 Nov 2011 16:12:33 +0000</pubDate>
		<dc:creator>Jorge Segarra</dc:creator>
				<category><![CDATA[Syndication]]></category>

		<guid isPermaLink="false">http://sqlchicken.com/?p=1797</guid>
		<description><![CDATA[Well this was quite the little surprise this morning. Microsoft announced a new edition to the SQL Server lineup for 2012 – Business Intelligence edition. In addition to a new edition (funnily I don’t see Datacenter in that lineup) we &#8230; <a href="http://sqlchicken.com/2011/11/sql-server-2012-business-intelligence-edition/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Well this was quite the little surprise this morning. Microsoft announced a new edition to the SQL Server lineup for 2012 – Business Intelligence edition. In addition to a new edition (funnily I don’t see Datacenter in that lineup) we also have a <a href="http://www.microsoft.com/sqlserver/en/us/future-editions/sql2012-licensing.aspx" target="_blank">new licensing scheme</a> for SQL Server. In SQL 2012 it looks like Microsoft is finally moving to the core-based licensing model. Ladies and gentlemen, start your grumbling! Okay, seriously, the new licensing scheme shouldn’t be that big of a shock to anyone. I think most of us have been expecting this for quite some time as it only makes sense as newer processors are coming with more and more cores.</p>
<p>As for the new edition of SQL Server, I think it’s an interesting move to say the least. As SQL Server adoption in the enterprise keeps going up, it kind of makes sense that they’d make a dedicated edition for the BI stack. The last few releases of SQL Server have been BI-feature heavy and when you’re architecting your setup, you should be setting up dedicated boxes (if possible) for the BI stack anyways. In my eyes this is a pretty smart move, although I’m sure some will disagree. With the separation of <span style="text-decoration: line-through;">church and state</span> Engine and BI you can now have a little more flexibility in your choices, especially regarding licensing.</p>
<p><a href="http://www.microsoft.com/sqlserver/en/us/future-editions/sql2012-licensing.aspx" target="_blank"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px;" title="image" src="http://sqlchicken.com/wp-content/uploads/2011/11/image.png" alt="image" width="732" height="280" border="0" /></a></p>
<p>&nbsp;</p>
<p>So what does the new licensing change mean for you? Should you be worried? Well if you’re not sure how your licenses are currently distributed or what you have out in your enterprise deployed right now, I HIGHLY suggest you <a href="http://www.microsoft.com/download/en/details.aspx?id=7826" target="_blank">download and use the MAP Toolkit</a>. This free tool will not only discover instances in your enterprise (not only SQL Server!) but it will give you some really great detailed information including usage information (this is a must-use tool if you’re considering consolidation), editions, number of cores, etc. Run it against your environment and then have a chat with your local Microsoft rep about how the new changes might affect your existing infrastructure.</p>
<p>What are your thoughts on the new changes? Like it? Hate it? <a href="http://thomaslarock.com/2011/11/new-sql-server-2012-licensing-changes-mean-nothing-to-me/" target="_blank">Don’t care</a>? Let me hear it in the comments.</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=SQL+Server+2012%3A+Business+Intelligence+Edition+http%3A%2F%2Fis.gd%2Fk7sFpF" title="Post to Twitter"><img class="nothumb" src="http://sqlchicken.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=SQL+Server+2012%3A+Business+Intelligence+Edition+http%3A%2F%2Fis.gd%2Fk7sFpF" title="Post to Twitter">Tweet This Post</a></p></div>
<p><a href="http://feedads.g.doubleclick.net/~a/07ZcBI3JI3805O_NXhCrFyLpMaQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/07ZcBI3JI3805O_NXhCrFyLpMaQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/07ZcBI3JI3805O_NXhCrFyLpMaQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/07ZcBI3JI3805O_NXhCrFyLpMaQ/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=0UkIO5Ut-BQ:B7L5OA472kc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=0UkIO5Ut-BQ:B7L5OA472kc:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?i=0UkIO5Ut-BQ:B7L5OA472kc:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=0UkIO5Ut-BQ:B7L5OA472kc:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?i=0UkIO5Ut-BQ:B7L5OA472kc:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=0UkIO5Ut-BQ:B7L5OA472kc:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sqlchicken?a=0UkIO5Ut-BQ:B7L5OA472kc:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Sqlchicken?i=0UkIO5Ut-BQ:B7L5OA472kc:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Sqlchicken/~4/0UkIO5Ut-BQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://sqlchicken.com/2011/11/sql-server-2012-business-intelligence-edition/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		<feedburner:origLink>http://sqlchicken.com/2011/11/sql-server-2012-business-intelligence-edition/</feedburner:origLink></item>
	</channel>
</rss><!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Object Caching 6975/7016 objects using disk: basic

Served from: sqlchicken.com @ 2012-05-21 14:02:25 -->

