<?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>Blogging about all things SAS &#187; SAS SPM</title>
	<atom:link href="http://blog.saasinct.com/tag/sas-spm/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.saasinct.com</link>
	<description>::       Sharing with the world everything we discover about SAS.</description>
	<lastBuildDate>Fri, 18 Nov 2011 07:19:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>SAS Strategy Management (StM) 5.1 is out (formerly know as SPM)</title>
		<link>http://blog.saasinct.com/2009/12/18/sas-strategy-management-stm-5-1-is-out-formerly-know-as-spm/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sas-strategy-management-stm-5-1-is-out-formerly-know-as-spm</link>
		<comments>http://blog.saasinct.com/2009/12/18/sas-strategy-management-stm-5-1-is-out-formerly-know-as-spm/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 09:09:15 +0000</pubDate>
		<dc:creator>Shane Gibson</dc:creator>
				<category><![CDATA[SAS 9.2]]></category>
		<category><![CDATA[SPM]]></category>
		<category><![CDATA[SAS SPM]]></category>
		<category><![CDATA[SAS StM 5.1]]></category>
		<category><![CDATA[SAS StM 9.2]]></category>
		<category><![CDATA[SAS Strategy Management]]></category>

		<guid isPermaLink="false">http://blog.sasinct.com/?p=225</guid>
		<description><![CDATA[Well finally got confirmation that SPM 5.1/9.2 (now known as StM 5.1) has been released. Doco is available on the SAS Support site here: http://support.sas.com/documentation/solutions/performmanagement/stm/index.html You will need to email your friendly SAS Support team for a password (only if you have a SPM license though)]]></description>
			<content:encoded><![CDATA[<p>Well finally got confirmation that SPM 5.1/9.2 (now known as StM 5.1) has been released.</p>
<p>Doco is available on the SAS Support site here:</p>
<p><a href="http://support.sas.com/documentation/solutions/performmanagement/stm/index.html" target="_blank">http://support.sas.com/documentation/solutions/performmanagement/stm/index.html</a></p>
<p>You will need to email your friendly SAS Support team for a password (only if you have a SPM license though)</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.saasinct.com%2F2009%2F12%2F18%2Fsas-strategy-management-stm-5-1-is-out-formerly-know-as-spm%2F&amp;title=SAS%20Strategy%20Management%20%28StM%29%205.1%20is%20out%20%28formerly%20know%20as%20SPM%29" id="wpa2a_2"><img src="http://blog.saasinct.com/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.saasinct.com/2009/12/18/sas-strategy-management-stm-5-1-is-out-formerly-know-as-spm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAS SPM 2.x and the mysterious sas_wdetemptable</title>
		<link>http://blog.saasinct.com/2009/10/21/sas-spm-2-x-and-the-mysterious-sas_wdetemptable/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sas-spm-2-x-and-the-mysterious-sas_wdetemptable</link>
		<comments>http://blog.saasinct.com/2009/10/21/sas-spm-2-x-and-the-mysterious-sas_wdetemptable/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 07:39:32 +0000</pubDate>
		<dc:creator>Shane Gibson</dc:creator>
				<category><![CDATA[SPM]]></category>
		<category><![CDATA[SAS SPM]]></category>

		<guid isPermaLink="false">http://blog.sasinct.com/?p=184</guid>
		<description><![CDATA[I have been trying to work out for ages what the sas_wdetemptable in the spm schema in the Mysql database is there for. The reason I wanted to know is that over time there seems to be records in there and the table seems to just keep growing, especially in our development environment when we [...]]]></description>
			<content:encoded><![CDATA[<p>I have been trying to work out for ages what the sas_wdetemptable in the spm schema in the Mysql database is there for.</p>
<p>The reason I wanted to know is that over time there seems to be records in there and the table seems to just keep growing, especially in our development environment when we were doing lots of test SPM loads and calcs.  When you are adding 10,000 odd rows to SPM every week this table had me almost as concerned as the sas_elementcolumn table.</p>
<p>A track to SAS Tech Support on this came back with nothing should be in there, truncate it.</p>
<p>We are just finishing moving all our SPM loads from our tried and true &#8216;out-of-the-box&#8217; SAS DI Studio jobs (which no longer works with the latest SAS 9.1.3 Foundation patch), to the new  &#8216;build it yourself&#8217; BMF loads (please don&#8217;t ask!)</p>
<p>So I was watching the Mysql database today to see if I could diagnose what was causing a performance issue with the calcs, and finally I think I undertsand one of the uses for the sas_wdetemptable.</p>
<p>So this is what I think happens&#8230;..</p>
<p>When you submit the calc, SPM:</p>
<p>1) Reads any rows in the sas_elementcolumn table for the project/period you are calcing for (so in our case 120,000 reads).</p>
<p>2) Writes these records to the sas_wdetemptable (120,000 writes)</p>
<p>3) Deletes the records from the sas_wdetemptable (120,000 deletes)</p>
<p>4) Somehow merges the records in the sas_wdetemptable with the new calc&#8217;d value (no idea on this one as I couldn&#8217;t see it ) and then inserts them back into the sas_elementcolumn table (120,000 inserts)</p>
<p>5) Deletes these records from the sas_wdetemptable (120,000 writes)</p>
<p>So now I know why the calc takes 40 minutes and the Mysql database seems to get fragmented.</p>
<p>And the reason we had some left, I think it is because every now and again the Web Server or Mysql instance would get stopped mid calc in Dev, and then the records in sas_wdetemptables won&#8217;t get deleted (its got me think about whats in, or more importantly not in sas_elementcolumns though when this happens)</p>
<p>Weird thing is the Mysql database is not using a lot of memory or cpu for this work, so need to read up on tuning this beast me thinks.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.saasinct.com%2F2009%2F10%2F21%2Fsas-spm-2-x-and-the-mysterious-sas_wdetemptable%2F&amp;title=SAS%20SPM%202.x%20and%20the%20mysterious%20sas_wdetemptable" id="wpa2a_4"><img src="http://blog.saasinct.com/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.saasinct.com/2009/10/21/sas-spm-2-x-and-the-mysterious-sas_wdetemptable/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>SPM, MySQL, humongous DB files and regorgs (aka tidying your room)</title>
		<link>http://blog.saasinct.com/2009/06/29/spm-mysql-humongous-db-files-and-regorgs-aka-tidying-your-room/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=spm-mysql-humongous-db-files-and-regorgs-aka-tidying-your-room</link>
		<comments>http://blog.saasinct.com/2009/06/29/spm-mysql-humongous-db-files-and-regorgs-aka-tidying-your-room/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 10:32:10 +0000</pubDate>
		<dc:creator>Shane Gibson</dc:creator>
				<category><![CDATA[SPM]]></category>
		<category><![CDATA[MySql]]></category>
		<category><![CDATA[Reorg SPM and MySql]]></category>
		<category><![CDATA[SAS SPM]]></category>

		<guid isPermaLink="false">http://blog.sasinct.com/2009/06/29/spm-mysql-humongous-db-files-and-regorgs-aka-tidying-your-room/</guid>
		<description><![CDATA[So as you probably know SPM 2.x requires the use of MySql as the backend database to store all the SPM structure and data. By default MySql creates a single file on the server for the database. Not bad if you are on Unix but if you are on windows (and with SPM you are [...]]]></description>
			<content:encoded><![CDATA[<p>So as you probably know SPM 2.x requires the use of MySql as the backend database to store all the SPM structure and data.</p>
<p>By default MySql creates a single file on the server for the database.  Not bad if you are on Unix but if you are on windows (and with SPM you are probably on Windows) then when SPM gets large the single database file gets large.</p>
<p>Having a single file on windows  that is over 2GB is a bad idea (in my opinion anyway and especially if you are on 32 bit windows and of course i you are on SPM 2.x you are on 32 bit windows)</p>
<p>One of the other challenges with MySQL is unlike some other databases it just seems to grow and grow and never reclaims any of its internal space.  In fact the only way to reclaim space ans shrink the database file is to export the entire database, delete the database, recreate it and reimport the exported file.  Time consuming and fraught with risk.</p>
<p>However there is an answer&#8230;. (well a suggestion anyway)</p>
<p>You can tell MySql to create a number of smaller files to effectively partition the database files.  How I hear you ask&#8230;..</p>
<p>Well in the my.ini for the database added these lines:</p>
<p><font color="#999999">innodb_data_home_dir=drive:/dir1/dir2/dir3/ibdata</font></p>
<p><font color="#999999">innodb_data_file_path=ibdata1:2000M;ibdata2:2000M;ibdata3:2000M;ibdata4:2000M;ibdata5:2000M;ibdata6:2000M;ibdata7:2000M;ibdata8:2000M;ibdata9:2000M;ibdata10:2000M;ibdata11:2000M;ibdata12:2000M;ibdata13:2000M;ibdata14:2000M;ibdata15:2000M;ibdata16:2000M:autoextend</font></p>
<p><font color="#999999">innodb_log_group_home_dir=drive:/dir1/dir2/dir3/iblogs</font></p>
<p>So the first line says where tostore the db files.</p>
<p>The second line says to create 16 2GB files and then automatically extend the last one to infinity (and beyond <img src='http://blog.saasinct.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  if the MySql database needs to go over 32 GB.</p>
<p>One downside is that MySql will create all the files when it starts up, so you will suddenyl have consumed 32GB of disk.  You might want to tune the number of files based on your environment.</p>
<p>Lastly before you do this you will need to backup your MySql instance, stop the Mysql service, remove the old MySql DB files  and then restart MySql, which will recreate the DB files with the new partitonedversons automagically.</p>
<p>Then reimport the backup and wahoo you are away (plus ypu have just regorg&#8217;d the db and reclaim any lost space as well).</p>
<p>And  of course you will ask, yes we asked SAS Tech Support and yes they &#8216;indicated&#8217; this was not unsupported whichmeans it is supported.</p>
<p>Partition away!</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.saasinct.com%2F2009%2F06%2F29%2Fspm-mysql-humongous-db-files-and-regorgs-aka-tidying-your-room%2F&amp;title=SPM%2C%20MySQL%2C%20humongous%20DB%20files%20and%20regorgs%20%28aka%20tidying%20your%20room%29" id="wpa2a_6"><img src="http://blog.saasinct.com/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.saasinct.com/2009/06/29/spm-mysql-humongous-db-files-and-regorgs-aka-tidying-your-room/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAS SPM 2.4 User Guide</title>
		<link>http://blog.saasinct.com/2009/04/16/sas-spm-24-user-guide/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sas-spm-24-user-guide</link>
		<comments>http://blog.saasinct.com/2009/04/16/sas-spm-24-user-guide/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 09:21:11 +0000</pubDate>
		<dc:creator>Shane Gibson</dc:creator>
				<category><![CDATA[SPM]]></category>
		<category><![CDATA[SAS SPM]]></category>
		<category><![CDATA[SAS SPM User Guide]]></category>
		<category><![CDATA[SAS Strategic Performance Management]]></category>
		<category><![CDATA[SPM 2.4]]></category>

		<guid isPermaLink="false">http://blog.sasinct.com/2009/04/16/sas-spm-24-user-guide/</guid>
		<description><![CDATA[I was looking for the latest user guide for SPM 2.4 and clicked in the link here on the SAS Support site and got the message: "SAS Software Documentation Documentation for this product is available for customers only. Please contact SAS for details about accessing this documentation. See your product HELP system for additional information. [...]]]></description>
			<content:encoded><![CDATA[<p>I was looking for the latest user guide for SPM 2.4 and clicked in the link <a href="http://support.sas.com/documentation/index.html#s" target="_blank">here</a> on the SAS Support site and got the message:</p>
<pre><font color="#999999">"SAS Software Documentation </font></pre>
<pre><font color="#999999">Documentation for this product is available for customers only. Please contact SAS for details about accessing this documentation.</font></pre>
<pre><font color="#999999">See your product HELP system for additional information. "</font></pre>
<p>Over on the SAS Support site.</p>
<p><a href="http://support.sas.com/documentation/onlinedoc/spm/" target="_blank">http://support.sas.com/documentation/onlinedoc/spm/ </a></p>
<p>(thanks to the friendly Presales dudes for the pointer)</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.saasinct.com%2F2009%2F04%2F16%2Fsas-spm-24-user-guide%2F&amp;title=SAS%20SPM%202.4%20User%20Guide" id="wpa2a_8"><img src="http://blog.saasinct.com/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.saasinct.com/2009/04/16/sas-spm-24-user-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DATAllegro to move to Windows/SQL Server after Microsoft buyout</title>
		<link>http://blog.saasinct.com/2008/07/31/datallegro-to-move-to-windowssql-server-after-microsoft-buyout/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=datallegro-to-move-to-windowssql-server-after-microsoft-buyout</link>
		<comments>http://blog.saasinct.com/2008/07/31/datallegro-to-move-to-windowssql-server-after-microsoft-buyout/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 10:23:21 +0000</pubDate>
		<dc:creator>Shane Gibson</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[DATAllegro]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[SAS ABM]]></category>
		<category><![CDATA[SAS FM]]></category>
		<category><![CDATA[SAS SPM]]></category>

		<guid isPermaLink="false">http://blog.sasinct.com/2008/07/31/datallegro-to-move-to-windowssql-server-after-microsoft-buyout/</guid>
		<description><![CDATA[Carrying on from my earlier post, there is an interesting post by the founder of DATAllegro on his blog here, stating that now Microsoft have purchased DATAllegro they will be migrating their appliance from Ingres/Linux to SQL Server/Windows. Over on the Microsoft BI Blog there is a post lauding how they have rave reviews for [...]]]></description>
			<content:encoded><![CDATA[<p>Carrying on from my earlier <a href="http://blog.sasinct.com/2008/07/26/bi-consolidation-continues-a-new-battle-front-opens/">post</a>, there is an  interesting post by the founder of DATAllegro on his <a href="http://www.beyeblogs.com/DATAllegro/archive/2008/07/dw_market_conso_1.php" target="_blank">blog here</a>, stating that now Microsoft have purchased DATAllegro they will be migrating their appliance from Ingres/Linux to SQL Server/Windows.</p>
<p>Over on the <a href="http://blogs.msdn.com/bi/archive/2008/07/30/microsoft-to-acquire-datallegro.aspx" target="_blank">Microsoft BI Blog</a> there is  a post lauding how they have rave reviews for DATAllegro warehouses with data volumes over 200+ TB and amasing query response times.</p>
<p>So what will the move to Widows and SQL Server bring?</p>
<p>What will the migration path be like?</p>
<p>How will customers feel about the requirement to constantly apply windows patches to their &#8220;appliance&#8221;?</p>
<p>How many 200TB SQL Server/Windowswrehouse sites are out there at the moment?</p>
<p>Given the move from one technology stack to another is always fraught with difficult (just think SAS FM, SPM and ABM) then I would hate to be a DATAllegro customer with a 200TB warehouse at the moment.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.saasinct.com%2F2008%2F07%2F31%2Fdatallegro-to-move-to-windowssql-server-after-microsoft-buyout%2F&amp;title=DATAllegro%20to%20move%20to%20Windows%2FSQL%20Server%20after%20Microsoft%20buyout" id="wpa2a_10"><img src="http://blog.saasinct.com/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.saasinct.com/2008/07/31/datallegro-to-move-to-windowssql-server-after-microsoft-buyout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

