<?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>SQLRockstar &#187; Cloud Computing</title>
	<atom:link href="http://www.thomaslarock.com/category/cloud-computing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thomaslarock.com</link>
	<description>SQL Server DBA</description>
	<lastBuildDate>Thu, 29 Jul 2010 14:09:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Canceling a SQL Azure Account</title>
		<link>http://www.thomaslarock.com/2010/04/canceling-a-sql-azure-account/</link>
		<comments>http://www.thomaslarock.com/2010/04/canceling-a-sql-azure-account/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 15:56:48 +0000</pubDate>
		<dc:creator>Thomas LaRock</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[SQLServerPedia Wiki]]></category>
		<category><![CDATA[Biting The Hand That Feeds Me]]></category>
		<category><![CDATA[Reasons Why I Should Not Be a SQL MVP]]></category>
		<category><![CDATA[Things That Make Me Want To Chew Tinfoil]]></category>

		<guid isPermaLink="false">http://thomaslarock.com/?p=4109</guid>
		<description><![CDATA[or&#8230;not&#8230;
I wanted to cancel my account before I got hit up for &#8220;hidden charges&#8221; or something ridonkulous like that and could not find any way to cancel my subscription short of calling someone on the phone which could be my least favorite thing to do.
From what I could tell, I should be allowed to &#8220;opt-out&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>or&#8230;not&#8230;</p>
<div id="attachment_4110" class="wp-caption alignleft" style="width: 310px"><a href="http://thomaslarock.com/wp-content/uploads/2010/04/azure_cancel.jpg"><img class="size-medium wp-image-4110" title="azure_cancel" src="http://thomaslarock.com/wp-content/uploads/2010/04/azure_cancel-300x226.jpg" alt="" width="300" height="226" /></a><p class="wp-caption-text">Well played, Microsoft</p></div>
<p>I wanted to cancel my account before I got hit up for &#8220;hidden charges&#8221; or something ridonkulous like that and could not find any way to cancel my subscription short of calling someone on the phone which could be my least favorite thing to do.</p>
<p>From what I could tell, I should be allowed to &#8220;opt-out&#8221; of an automatic renewal, except I don&#8217;t appear to have that option. I am wondering if I am simply not getting a proper user experience because I am part of some trial program, but it is rather annoying to not be able to simply click a button and say &#8220;stop charging me at the end of this month&#8221;.</p>
<p>As of right now I owe $1.06 for usage charges over the past month. I would be fine with that except for the fact that I was under the impression I was <strong>not</strong> going to be charged anything at all during my trial period. I find it hard to believe that Microsoft <a href="http://blog.seattlepi.com/microsoft/archives/203007.asp">needs my $1.06 that badly</a> but apparently they do. And they also need it again next month, so that may be why they won&#8217;t let me cancel my account so easily.</p>
<p>I suppose I could just drop the server I am using, essentially ending any chance of them charging me for SQL Azure altogether, but something tells me they would find a way to keep billing my credit card. So instead I will just open a new credit card, change my billing information to use the new card, and then just cancel the card.</p>
<p>That should take care of them trying to charge me for a trial service they don&#8217;t want me to cancel easily. And yeah, I understand that opening the card and closing it is a lot more effort than just calling someone at Azure support, but I am annoyed to the point that I would go out of my way to circumvent the &#8220;process&#8221; they have configured.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thomaslarock.com/2010/04/canceling-a-sql-azure-account/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SQL Azure Videos</title>
		<link>http://www.thomaslarock.com/2010/04/sql-azure-videos/</link>
		<comments>http://www.thomaslarock.com/2010/04/sql-azure-videos/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 20:47:27 +0000</pubDate>
		<dc:creator>Thomas LaRock</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[Professional Development]]></category>
		<category><![CDATA[SQLServerPedia Wiki]]></category>
		<category><![CDATA[SQL Azure]]></category>
		<category><![CDATA[Things to do when you have nothing better to do]]></category>

		<guid isPermaLink="false">http://thomaslarock.com/?p=4064</guid>
		<description><![CDATA[Since I have been railing on SQL Azure lately, I thought I could share with you some of the videos you can watch for free over at MSDN. In case you were not aware, there is a LOT of free content over at MSDN and I am trying to utilize it more and more these [...]]]></description>
			<content:encoded><![CDATA[<p>Since I have been <a href="http://thomaslarock.com/2010/04/sql-azure-woes/">railing on SQL Azure lately</a>, I thought I could share with you some of the videos you can watch for free over at MSDN. In case you were not aware, there is a LOT of free content over at MSDN and I am trying to utilize it more and more these days. Right now I am using it as a way to understand more about SQL Azure and I thought I could share three videos that you may also find useful.<br />
<!-- #previewdiv {  height: 150px;  width: 750px;} --></p>
<div id="PreviewDiv">
<h4><a href="http://www.microsoftbroadcaster.com/en-us/Content/Link/4327?WT.z_cType=AR&amp;WT.z_cSource=WWE" target="_blank"> MSDN Video: Microsoft SQL Azure Security Model (Level 200)</a></h4>
<p>This session will cover the following topics:• Authentication• Authorization</p>
</div>
<p><!-- #previewdiv {  height: 150px;  width: 750px;} --></p>
<div id="PreviewDiv">
<h4><a href="http://www.microsoftbroadcaster.com/en-us/Content/Link/4324?WT.z_cType=AR&amp;WT.z_cSource=WWE" target="_blank"> MSDN Video: Microsoft SQL Azure RDBMS Support (Level 200)</a></h4>
<p>This session will cover the following topics:• Creating, accessing and manipulating tables, views, indexes, roles, procedures, triggers, and functions• Insert, Update, and Delete• Constraints• Transactions                             • Temp tables• Query Support</p>
</div>
<p><!-- #previewdiv {  height: 150px;  width: 750px;} --></p>
<div id="PreviewDiv">
<h4><a href="http://www.microsoftbroadcaster.com/en-us/Content/Link/4302?WT.z_cType=WC&amp;WT.z_cSource=WWE" target="_blank"> MSDN Webcast: geekSpeak: SQL Azure Under the Hood with Chris Rolon (Level 200)</a></h4>
<p>In this episode of geekSpeak, Chris Rolon gives us a look under the hood of Microsoft SQL Azure to see how was constructed. Chris discusses the issues involving high availability, failure detection, automatic failover, and  the distributed data fabric.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.thomaslarock.com/2010/04/sql-azure-videos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Azure Woes</title>
		<link>http://www.thomaslarock.com/2010/04/sql-azure-woes/</link>
		<comments>http://www.thomaslarock.com/2010/04/sql-azure-woes/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 16:35:12 +0000</pubDate>
		<dc:creator>Thomas LaRock</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[SQLServerPedia Wiki]]></category>

		<guid isPermaLink="false">http://thomaslarock.com/?p=4037</guid>
		<description><![CDATA[I recently presented a session on SQL Azure (you can download the slide deck here). During the session we talked a lot about some of the little things I have found by simply using SQL Azure. The need for a clustered index on every table was a surprise to me when I first found out [...]]]></description>
			<content:encoded><![CDATA[<p>I recently presented a <a href="http://hssug.org/">session on SQL Azure</a> (you can <a href="http://thomaslarock.com/presentations/">download the slide deck here</a>). During the session we talked a lot about some of the little things I have found by simply using SQL Azure. The <a href="http://msdn.microsoft.com/en-us/library/ee336245.aspx">need for a clustered index on every table</a> was a surprise to me when I first found out about it, and it seemed surprising to everyone in the room as well. One person mentioned how it is a common practice to drop indexes before loading data to a table, for example, so they would need to rethink the steps involved in pushing data to the cloud.</p>
<p>I still think the biggest hurdle will be how Microsoft approaches the <a href="http://thomaslarock.com/2010/02/patching-sqlazure/">application of service packs and hotfixes to SQL Azure</a>. One person at my session suggested that they would assume that Microsoft would have done thorough testing of the patch and also that with such limited features available right now that the testing would be able to be streamlined. I tended to agree but decided to point out <a href="http://msdn.microsoft.com/en-us/library/ee336238%28v=MSDN.10%29.aspx">something I found with their documentation</a>:</p>
<div id="attachment_3994" class="wp-caption alignleft" style="width: 310px"><a href="http://thomaslarock.com/wp-content/uploads/2010/04/azure_dmv.jpg"><img class="size-medium wp-image-3994" title="azure_dmv" src="http://thomaslarock.com/wp-content/uploads/2010/04/azure_dmv-300x41.jpg" alt="" width="300" height="41" /></a><p class="wp-caption-text">Click to see full image</p></div>
<p>So, they went out of their way to link to four DMVs that they <strong>DO NOT</strong> support, and the one DMV they do support in this category is not even a hyperlink? Why, exactly, would you hyperlink to things I cannot use? With such a huge usability FAIL, why is it that I would trust them to do thorough testing of any patch when they cannot even handle the usability of their documentation?</p>
<p>I want to love SQL Azure, I really do. I intend to find more and more ways to utilize it whenever possible. But when I see things like above it really makes me question how some of the plumbing is really being handled. I strongly believe that if you take care of the little things then you will inevitably also take care of the big things. And if you can&#8217;t do the little things right then you might as well &#8220;use the button&#8221;.</p>
<div id="attachment_3937" class="wp-caption alignleft" style="width: 310px"><a href="http://thomaslarock.com/wp-content/uploads/2010/04/IMG00231-20100219-1853.jpg"><img class="size-medium wp-image-3937" title="IMG00231-20100219-1853" src="http://thomaslarock.com/wp-content/uploads/2010/04/IMG00231-20100219-1853-300x224.jpg" alt="" width="300" height="224" /></a><p class="wp-caption-text">Use the button, please.</p></div>
<p>In the past four weeks I have come across a lot of issues with the documentation being borderline unusable. When I was trying to push data to the cloud a few weeks back I talked to Buck Woody (<a href="http://blogs.msdn.com/buckwoody/">blog</a> | <a href="http://twitter.com/buckwoody" target="_blank">twitter</a>) about a handful of options to which he replied &#8220;Why don&#8217;t you just use Sync?&#8221;</p>
<p>&#8220;Well,&#8221; I replied, &#8220;because I don&#8217;t see that mentioned anywhere as an option. Don&#8217;t your departments talk to each other? Why is this option not in the documentation?&#8221;</p>
<p><em>I know this is really v1.0 of a product, and that things will get better in time</em>. I truly hope that is the case and we are not going to be subject to having things half-done tossed over the fence at us to use. But the more time I spend with SQL Azure the less comfortable I am that they are taking care of the little things.</p>
<p>And I consider documentation to be more than just a little thing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thomaslarock.com/2010/04/sql-azure-woes/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Live! Hartford SQL Server Users Group Meeting Tomorrow</title>
		<link>http://www.thomaslarock.com/2010/04/live-hartford-sql-server-users-group-meeting-tomorrow/</link>
		<comments>http://www.thomaslarock.com/2010/04/live-hartford-sql-server-users-group-meeting-tomorrow/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 19:01:24 +0000</pubDate>
		<dc:creator>Thomas LaRock</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[PASS]]></category>

		<guid isPermaLink="false">http://thomaslarock.com/?p=3969</guid>
		<description><![CDATA[Tomorrow I will be presenting at the first ever Hartford SQL Server Users Group. The title of the talk is Cloud Computing with SQL Azure, but only because I couldn&#8217;t pull together my first choice which was &#8220;Dora the Cloud Explorer&#8221;. Sorry, but I ran out of time on that because I&#8217;ve been a little [...]]]></description>
			<content:encoded><![CDATA[<p>Tomorrow I will be presenting at the first ever Hartford SQL Server Users Group. The title of the talk is <a href="http://hssug.org/">Cloud Computing with SQL Azure</a>, but only because I couldn&#8217;t pull together my first choice which was &#8220;Dora the Cloud Explorer&#8221;. Sorry, but I ran out of time on that because I&#8217;ve <a href="http://thomaslarock.com/2010/04/24-hours-of-pass-celebrating-sql-server-2008-r2/">been a little busy</a> with the upcoming <a href="http://www.sqlpass.org/24hours/2010/default.aspx">24 Hours of PASS event</a>. By the way, I am going to adopt <a href="http://www.brentozar.com/archive/2010/04/hours-of-pass-blitz-server-takeovers/">Brent Ozar&#8217;s moniker of 24iHop</a> for the event. In fact, if I can find an iHop near me that has wireless, I may just UStream myself from there during the event.</p>
<p>The talk tomorrow will start around 1-ish. Our meeting is schedule to go from 12-4PM EDT and I expect that we will start broadcasting around 1PM but don&#8217;t get upset if we are a few minutes behind because Rob and I need to spend some time taking care of business and I doubt anyone really wants to watch that. Oh, before I forget, here is the LiveMeeting link for tomorrow:</p>
<p><a href="https://www.livemeeting.com/cc/microsoft/join?id=TJB64W&amp;role=attend&amp;pw=4BMMRD">https://www.livemeeting.com/cc/microsoft/join?id=TJB64W&amp;role=attend&amp;pw=4BMMRD</a></p>
<p>We have over fifty people registered for the event tomorrow, which would be an incredible number for Rob and I to have for our first event. We are really hoping we can continue to meet here at least once a quarter. Oh, how about a calendar invite? Yeah, that could be helpful. I cannot save .ics files to my current web host but what I can do is configure an event in Google Calendar and share it with you. Just click on the friendly button:</p>
<p><a href="http://www.google.com/calendar/hosted/thomaslarock.com/event?action=TEMPLATE&amp;tmeid=XzYwcTMwYzFnNjBvMzBlMWk2MG80YWMxZzYwcmo4Z3BsODhyajJjMWg4NHMzNGg5ZzYwczMwYzFnNjBvMzBjMWc2b28zaWNwazhjcDQ0ZGkxOGNyazZnOWc2NG8zMGMxZzYwbzMwYzFnNjBvMzBjMWc2MG8zMmMxZzYwbzMwYzFnODRyNDZoYTI2MHNrNGgxaTZwMjM4ZTFrODRzazZoYTQ4cDM0MmdoajZzcGo2aGkzODhvZyBzcWxyb2Nrc3RhckB0aG9tYXNsYXJvY2suY29t&amp;tmsrc=c3Fscm9ja3N0YXJAdGhvbWFzbGFyb2NrLmNvbQ" target="_blank"><img style="margin-bottom: 5px; margin-right: 1500px; border: 0pt none;" title="Go ahead and click on me!" src="http://www.google.com/calendar/images/ext/gc_button1_en.gif" border="0" alt="" width="100" height="25" /></a></p>
<p>I mentioned that our meeting is scheduled from 12-4PM EDT, and I will start talking at 1PM EDT or so, but don&#8217;t expect a three hour talk on SQL Azure. My talk will only last about an hour, including questions. So, if you are planning on watching during your lunch hour, that&#8217;s fine, you don&#8217;t have to worry about missing the last two hours of the presentation because you won&#8217;t miss anything except fifty people eating cold pizza and milling about before heading home.</p>
<p>I hope to see you there, or online, tomorrow!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thomaslarock.com/2010/04/live-hartford-sql-server-users-group-meeting-tomorrow/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Find Tables That Are Missing a Clustered Index</title>
		<link>http://www.thomaslarock.com/2010/03/find-tables-that-are-missing-a-clustered-index/</link>
		<comments>http://www.thomaslarock.com/2010/03/find-tables-that-are-missing-a-clustered-index/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 18:03:30 +0000</pubDate>
		<dc:creator>Thomas LaRock</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[SQLServerPedia Wiki]]></category>

		<guid isPermaLink="false">http://thomaslarock.com/?p=3918</guid>
		<description><![CDATA[Today I had the need to find tables in a database that did not have a clustered index defined. Why would I have such a need? That&#8217;s a great question.
Anyway, I set about with a few basic questions for myself such as &#8220;Self, how many tables are there?&#8221; So I did what I normally do [...]]]></description>
			<content:encoded><![CDATA[<p>Today I had the need to find tables in a database that did not have a clustered index defined. Why would I have such a need? That&#8217;s a great question.</p>
<p>Anyway, I set about with a few basic questions for myself such as &#8220;Self, how many tables are there?&#8221; So I did what I normally do whenever I have questions of MS SQL, I took a nose dive into the system information. First up would be to count the objects defined as a user table which I got with this (I was connected to AdventureWorks but feel free to run this against whatever database you are curious about):</p>
<p><span style="color: #0000ff;">SELECT </span><span style="color: #ff00ff;">COUNT</span><span style="color: #808080;">(*)</span><br />
<span style="color: #0000ff;">FROM </span><span style="color: #008000;">sys.objects</span><br />
<span style="color: #0000ff;">WHERE type</span> <span style="color: #808080;">=</span> <span style="color: #ff0000;">&#8216;U&#8217;</span></p>
<p>Running against AdventureWorks gives me a count of seventy (70) user defined tables. The next question I had for myself was &#8220;Self, how many clustered indexes exist for those seventy tables?&#8221; This required a little more work. I needed to keep swimming in the system information but now I had to swim in a very particular direction. That direction was towards the sys.indexes view where the index_id was equal to 1. Why a 1? Because <a href="http://msdn.microsoft.com/en-us/library/ms173760.aspx">that is how Microsoft decided to tag each and every clustered index</a>.</p>
<p>So, the following query would give me a count of the number of tables with a clustered index defined, answering my second question:</p>
<p><span style="color: #0000ff;">SELECT </span><span style="color: #ff00ff;">COUNT</span><span style="color: #808080;">(*)</span><br />
<span style="color: #0000ff;">FROM </span><span style="color: #008000;">sys.indexes</span><br />
<span style="color: #0000ff;">WHERE <span style="color: #ff00ff;">object_id</span> <span style="color: #808080;"> </span></span><span style="color: #808080;">IN</span><br />
<span style="color: #808080;">(</span><span style="color: #0000ff;">SELECT</span> <span style="color: #ff00ff;">object_id</span> <span style="color: #0000ff;">FROM</span> <span style="color: #008000;">sys.objects</span> <span style="color: #0000ff;">WHERE type</span> <span style="color: #808080;">=</span> <span style="color: #ff0000;">&#8216;U&#8217;</span><span style="color: #808080;">)</span><br />
<span style="color: #808080;">AND</span> index_id <span style="color: #808080;">=</span> 1</p>
<p>Running this I promptly found that AdventureWorks has sixty-eight (68) tables that have a clustered index.Good news? Not really, no, I was hoping that every table had a clustered index. Why? Great question.</p>
<p>And to top it off, I have no idea which tables out of the 70 are missing a clustered index. All this talking to myself has distracted me from what I really need, which is a script that answers the <em>real </em>question: &#8220;Self, which tables are missing a clustered index?&#8221; I kept swimming in the system information, doing a loop around the same spot in the ocean I was already at, take the two answers above to arrive at:</p>
<p><span style="color: #0000ff;">SELECT </span>name<br />
<span style="color: #0000ff;">FROM </span><span style="color: #008000;">sys.objects</span><br />
<span style="color: #0000ff;">WHERE </span><span style="color: #0000ff;">type </span><span style="color: #808080;">=</span> <span style="color: #ff0000;">&#8216;U&#8217;</span><br />
<span style="color: #0000ff;">AND </span><span style="color: #ff00ff;">object_id</span> <span style="color: #808080;">NOT IN</span><br />
<span style="color: #808080;">(</span><span style="color: #0000ff;">SELECT </span><span style="color: #ff00ff;">object_id</span> <span style="color: #0000ff;">FROM </span>sys.indexes <span style="color: #0000ff;">WHERE </span>index_id <span style="color: #808080;">=</span> 1<span style="color: #808080;">)</span></p>
<p><span style="color: #808080;"><span style="color: #000000;">And <a href="http://thomaslarock.com/2009/06/from-finger-to-bung/">a-bing, a-bang, a-bung</a> there you go, the results are the following:</span></span></p>
<p>ProductProductPhoto<br />
DatabaseLog</p>
<p>What&#8217;s that? You want to know why I would even care about this? Well, it turns out that this information is going to be important for anyone that is interested in SQL Azure. Why? That&#8217;s a great question. Let me introduce you to my new friend, Error Message 40054:</p>
<p><span style="color: #ff0000;">Msg 40054, Level 16, State 1, Line 3<br />
Tables without a clustered index are not supported in this version of SQL Server. Please create a clustered index and try again.</span></p>
<p><span style="color: #ff0000;"><span style="color: #000000;">Yeah, that&#8217;s right, tables in SQL Azure *must* have a clustered index defined <em>before</em> you are allowed to insert any data. So, if you are looking to push your database to the cloud, you need to start thinking about your entire design, because there are a <a href="http://msdn.microsoft.com/en-us/library/ee336245.aspx">lot more factors that need to be considered</a> other than just clustered indexes on each table. </span></span></p>
<p><span style="color: #ff0000;"><span style="color: #000000;">And as luck would have it, I will be touching upon this topic (and others) as part of my talk next week at <a href="http://thomaslarock.com/2010/03/hartford-sql-server-user-group/">the Hartford SQL Server User Group meeting</a>. We are looking to have the meeting broadcast live and I will post the event details once I have them.<br />
</span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thomaslarock.com/2010/03/find-tables-that-are-missing-a-clustered-index/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Cloud Computing Conference</title>
		<link>http://www.thomaslarock.com/2010/03/cloud-computing-conference/</link>
		<comments>http://www.thomaslarock.com/2010/03/cloud-computing-conference/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 15:05:20 +0000</pubDate>
		<dc:creator>Thomas LaRock</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[SQLServerPedia Wiki]]></category>

		<guid isPermaLink="false">http://thomaslarock.com/?p=3808</guid>
		<description><![CDATA[I took part in a one day conference today on cloud computing. It took place at the Harvard Club in Boston, which was an interesting choice to have the event. I had never been to the Harvard Club before, and I enjoyed the history displayed all around me. I did not wear a coat and [...]]]></description>
			<content:encoded><![CDATA[<p>I took part in a one day conference today on cloud computing. It took place at the Harvard Club in Boston, which was an interesting choice to have the event. I had never been to the Harvard Club before, and I enjoyed the history displayed all around me. I did not wear a coat and tie, and when I saw people in the parking lot dressed up I thought it might be the type of place where they were going to hand me a clip-on when I walked through the door. Thankfully they didn&#8217;t.</p>
<p>There was quite a lot of valuable information shared today. Each time I attend events pertaining to Microsoft&#8217;s cloud computing services I come away with a deeper understanding of where they are taking us. I think this is partly the result of the fact that more times you hear something the more it becomes familiar and understandable. The other reason is that as the months go by it becomes easier for others to understand what Microsoft is doing as well, including Microsoft themselves. In fact, I would say over half of the audience today were Microsoft employees. I bumped into <a href="http://www.linkedin.com/pub/rob-walters/4/7b5/716">Rob Walters</a>, for example, as well as a handful of other Microsoft employees looking for a deeper understanding of what services their company is looking to provide.</p>
<p>So what did I learn today? Well, I&#8217;m glad you asked. Here are some of the items.</p>
<h3>So Many Layers</h3>
<p>There are a lot of layers at play here, and a lot of acronyms to go with them. You have software as a service (SaaS), platforms as a service (PaaS, <a href="http://www.paaseastereggs.com/">which makes me think of Easter eggs</a>), and infrastructure as a service (IaaS). In there you find Azure (Windows and SQL), Sharepoint, Exchange, Office Communicator, and LiveMeeting. You can be in the cloud, host your own cloud, or have a hybrid model. Microsoft has said that every product they have will be offered as a cloud service eventually, which warrants mentioning here as that is going to dramatically changed the future state of IT over the next 5-7 years.</p>
<p>Time and again the speakers today did a very good job at describing all of these layers and the various ways that we could use existing cloud services to enhance our shops as well as lower overall IT costs. Not just the costs of hardware, mind you, but also lowering the costs associated with development of software. We heard lots of stories about how a traditional project that would take six to nine months could be done in six to eight weeks because you were streamlining the ability to get the right hardware in place in a timely manner.</p>
<p>And anyone that has trouble getting hardware delivered from a vendor can certainly understand the value in that. If cloud services were only about a data center it could be valuable itself, but toss in some software and you really have something to take notice. With platforms and software thrown in you get the ability to quickly change your needs to shifting market trends, not to mention the occasional need for you to handle spikes in usage without needing to purchase expensive hardware.</p>
<h3>Point of No Return</h3>
<p>The funniest moment of the day was when a question was asked regarding a &#8220;reverse-migration&#8221;. See, Microsoft will do whatever they can in order to help migrate you to their services. But they really don&#8217;t have a lot of interest in helping people migrate <em>off</em> of the cloud. To be fair, I certainly understand why they wouldn&#8217;t want to spend much time in helping people migrate away, and that&#8217;s fine. The point that was driven home was that once you decide to start using their services it is not easy to decouple yourself from them. So, if you do decide to go into the cloud, you might as well understand that your decision is final.</p>
<p>Think of going to the cloud as if you were having children. Once you have them you can&#8217;t put them back.</p>
<h3>Corporate Tech Lags Behind Households</h3>
<p>One of the sessions was on social computing, which was an (almost) clever way to get me to attend a session on Sharepoint 2010. I love the collaboration tools that they are shoving into Sharepoint, I really do, but I&#8217;m not certain that I will get to use them anytime soon. Why is that? Because companies are slow to adopt new technologies.</p>
<p>Remember when going to the office meant that you got to play with &#8220;cutting edge&#8221; hardware and software? I sure do. At some point in the past fifteen years that has changed. These days, our phones are usually more cutting edge and capable than our desktops at work. And the younger people entering the workforce each year don&#8217;t think of social computing as a novelty. No, for them, it is an expected behavior. Facebook account? Expected. Use Twitter? Expected. Have or read a blog? Expected. So for Microsoft to be including those tools in Sharepoint makes sense, but it will be five years before I see them adopted and used in mainstream corporate America.</p>
<h3>Ask the (Male) Experts and Get Answers Even If They Are Not an Expert</h3>
<p>At the end of the day there was an &#8216;Ask the Experts&#8217; panel discussion. I looked up from my tiramisu and saw nine men sitting in chairs. That&#8217;s right, the first thing I noticed is that there was no woman on this panel. Not sure why, but that stood out quite a bit, especially since there were at least a dozen women from Microsoft in attendance (out of maybe 100 people total), I would like to think one of them had some expertise in cloud computing that they could have been invited onto the panel. Anyway, as the questions went along, someone asked a question on SQL Azure. And then I noticed something else.</p>
<p>Everyone sitting in a chair started turning their heads to look at each other. I went down the line and noticed that there was no SQL expert on the panel! I immediately turned to Rob and said &#8220;You&#8217;re the only SQL expert in the room, perhaps you should go up and answer the question.&#8221; One of the experts started to answer the question and I had a hard time keeping my mouth shut. The question? &#8220;How do you connect to, and develop against, SQL Azure?&#8221; The answer?</p>
<p><em>&#8220;You simply use the same tools you use right now.&#8221;</em></p>
<p>Um, well, technically that could be considered correct, with a salesman-esque type of leniency, I suppose. When I heard the answer I turned to Rob and said &#8220;Wow. He really glossed over a LOT of details with that answer.&#8221; I <em>really</em> didn&#8217;t want to let this go. My mind was telling my mouth to start asking other SQL Azure questions. Things like:</p>
<p>&#8220;Is there a limit to the size of a database?&#8221; (Yep.)</p>
<p>&#8220;Can I take a backup of my database?&#8221; (Nope.)</p>
<p>&#8220;You guarantee 99.9% uptime, but will you guarantee me a specified I/O per second?&#8221; (Nope.)</p>
<p>&#8220;Will you roll back a SQL patch if I need it?&#8221; (Probably not.)</p>
<p>And so on. I refrained from asking any questions because I knew I would just be a PITA. Yeah, that&#8217;s right, I held my tongue. I know. I can&#8217;t believe it either. But I didn&#8217;t want to scare anyone and I didn&#8217;t want to upset my hosts and I didn&#8217;t want to be escorted from the Harvard Club until after they raffled off the xBox.</p>
<p>Overall this was a very good day filled with a lot of valuable information, and I am thankful for the opportunity to attend. I hope to attend 3-4 other events this year that are dedicated to Microsoft&#8217;s cloud services, as things tend to change frequently and I want to keep informed on everything Azure has to offer. I do believe that it is where our industry is heading.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thomaslarock.com/2010/03/cloud-computing-conference/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Patching SQL Azure</title>
		<link>http://www.thomaslarock.com/2010/02/patching-sqlazure/</link>
		<comments>http://www.thomaslarock.com/2010/02/patching-sqlazure/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 18:57:35 +0000</pubDate>
		<dc:creator>Thomas LaRock</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[SQLServerPedia Wiki]]></category>
		<category><![CDATA[Biting The Hand That Feeds Me]]></category>

		<guid isPermaLink="false">http://thomaslarock.com/?p=3748</guid>
		<description><![CDATA[When the Cloud breaks, who fixes it? Why, the people who are responsible for maintaining it, right? And that person would not be you, so why do you care? And how do you patch a cloud, anyway? What do you do when the silver lining rips apart? Oh, nevermind.
So then, when does it get patched? [...]]]></description>
			<content:encoded><![CDATA[<p>When the Cloud breaks, who fixes it? Why, the people who are responsible for maintaining it, right? And that person would not be you, so why do you care? And how do you patch a cloud, anyway? What do you do when the silver lining rips apart? Oh, nevermind.</p>
<div id="attachment_3764" class="wp-caption alignleft" style="width: 310px"><a href="http://thomaslarock.com/wp-content/uploads/2010/02/clouds.gif"><img class="size-medium wp-image-3764   " style="margin-right: 500px;" title="*NDA* SQL Azure diagram from MVP Summit " src="http://thomaslarock.com/wp-content/uploads/2010/02/clouds-300x213.gif" alt="" width="300" height="213" /></a><p class="wp-caption-text">*NDA* SQL Azure diagram from MVP Summit </p></div>
<p>So then, <em>when</em> does it get patched? If you are using SQL Azure, do you get notified in advance that a hotfix or service pack is being applied? Ideally the answer is &#8220;yes&#8221;, but I&#8217;m not certain if that is true.</p>
<p>Let&#8217;s say you are an ISV. You have built up a business and are currently using SQL Azure as the back end for what is considered a non-critical application. It is an application, however minimal, that does face outward. That is, external customers use the application periodically. Now let&#8217;s suppose that on a Wednesday you get an email from Microsoft that a critical patch needs to be applied to SQL Azure, and it will be deployed on Friday evening.</p>
<p>How do you feel now? Better, or worse?</p>
<p>Where I sit, these are the actions you have available:</p>
<h3>Do Nothing</h3>
<p>Just sit there and do nothing. Don&#8217;t worry about a thing, because you don&#8217;t have to. SQL Azure is the new Water Works, it is a utility and it will always be on, and your stuff will always work.</p>
<h3>Backup Your Data</h3>
<p>Take a backup of your data. Unfortunately, the only way to do that right now is to build a custom SSIS package that will use BCP to pull the data from the cloud and down to your datacenter, where I am certain you have servers available for this anyway. I mean, it&#8217;s not like you spun up a business using only SQL Azure in order to save money, right? You <em>did</em> buy hardware, just in case, right?</p>
<p>By the way, unless you are also using Windows Azure, then that SSIS/BCP process is also going to cost you money, because in addition to paying for the SQL Azure database itself, you also pay for the upstream and downstream bandwidth. Can you imagine your cable company charging you for both uploads and downloads, as opposed to a flat rate for the month for a specific Mbps connection speed? Neither can I, which makes me wonder why Microsoft doesn&#8217;t offer the same pricing structure, except that I think they want you to use Windows Azure. Either way, you are going to pay money, so you get to pick which way you want to pay. I suppose that&#8217;s a good thing.</p>
<p>So, the patch forces you to do this backup, which could cost you money. Will SQL Azure and Microsoft reimburse you for this? After all, if it wasn&#8217;t for their patch, then you wouldn&#8217;t need to be doing this particular backup (but we know you have backups happening anyway because you are a wise administrator). What if they decide to patch SQL Azure three times a week? Could be a nice revenue stream.</p>
<h3>Test</h3>
<p>Have Microsoft apply the patch and then you test your application. Wait a minute, this is just the same as &#8216;do nothing&#8217;, except you can have people think you are doing something because you can arrange for testing to happen after the patch is applied. But what happens if the patch breaks your application? Do you think Microsoft will roll back the patch, just for you? I wonder at what threshold of customer dissatisfaction with a patch will Microsoft decide to roll back a patch? My guess is &#8216;never&#8217;, especially if it is a critical patch, but I suppose it is possible.</p>
<p>Still, the thought that my application could break, with little to no warning, causing my customers to be upset, and forcing me to build a patch in a very short amount of time is slightly unsettling. It certainly makes me want to think twice about what can and can not be put into the cloud.</p>
<p>It also makes me wonder if there is a chance that we could get a SQL Azure test sandbox, where Microsoft rolls out patches first and allows for their customers to test changes. Or if it would be possible for me to apply the changes locally in order to test for myself.</p>
<p>I am sure I am being paranoid, but I am a DBA. As <a href="http://blogs.msdn.com/buckwoody/" target="_blank">Buck Woody</a> once told me &#8220;<em>When DBA&#8217;s go to a movie we are looking for the fire exits because we always expect disaster</em>.&#8221; With SQL Azure still being so new there are a handful of details that need to be hashed out by all parties. I believe patching the cloud to be one of those things that needs to be thoroughly discussed before anyone starts getting too serious about cloud computing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thomaslarock.com/2010/02/patching-sqlazure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL 2008 Data Mining</title>
		<link>http://www.thomaslarock.com/2009/06/sql-2008-data-mining/</link>
		<comments>http://www.thomaslarock.com/2009/06/sql-2008-data-mining/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 13:53:33 +0000</pubDate>
		<dc:creator>Thomas LaRock</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[SQLServerPedia Wiki]]></category>
		<category><![CDATA[BI]]></category>
		<category><![CDATA[Data Mining]]></category>

		<guid isPermaLink="false">http://thomaslarock.com/?p=2144</guid>
		<description><![CDATA[I often hear people use the terms &#8220;Data Mining&#8221; and &#8220;Data Analysis&#8221; as if they are interchangeable. To me, at least, they mean two very distinct things. Hopefully this post will help to explain what I believe to be the difference in their meanings.
So, let&#8217;s say you are opening up a mine. First things first, [...]]]></description>
			<content:encoded><![CDATA[<p>I often hear people use the terms &#8220;Data Mining&#8221; and &#8220;Data Analysis&#8221; as if they are interchangeable. To me, at least, they mean two very distinct things. Hopefully this post will help to explain what I believe to be the difference in their meanings.</p>
<p>So, let&#8217;s say you are <a href="http://www.brentozar.com/archive/2009/06/stackoverflow-data-mining-cleansing-the-data/">opening up a mine</a>. First things first, do you know what you are mining for? If it were a real mine, say an old-fashioned gold mine, then the answer is yes, you do know what you are looking for. You are looking for all the yellow rocks you can find. Data mining is different in the sense that <strong>you have no idea what you are looking for, but you will know it when you find it.</strong> Make sense? No?</p>
<p>Think of it this way. You know you have data, you can see rows and columns and numbers and letters. It&#8217;s all right there in front of you. But what does it all mean? Well, like a gold mine, you would have all sorts of dirt and rock around you as you tunnel into a mountain or along a stream. With a gold mine you have an idea of what the final product is like, but you are surrounded by tons of material that is fairly useless. Now, let&#8217;s say I told you to go into the gold mine and keep digging until you found something unusual. You come back out with a few shiny rocks, some pink, some white, some clear, and some yellow.</p>
<div id="attachment_2168" class="wp-caption aligncenter" style="width: 210px"><a href="http://thomaslarock.com/wp-content/uploads/2009/06/datamining.jpg"><img class="size-thumbnail wp-image-2168" title="datamining" src="http://thomaslarock.com/wp-content/uploads/2009/06/datamining-200x131.jpg" alt="Yeah, it kinda feels like this..." width="200" height="131" /></a><p class="wp-caption-text">Yeah, it kinda feels like this...</p></div>
<p>Why those rocks? Well, because they were unusual, they stood out from the rest of the rocks you were breaking apart. It was easy to see that something was different about them. Data mining is the exact same thing, you go looking for pieces of data (rock) that stand out from the rest. You may not know what you are looking for, except to say that you are looking for something unusual. Often times people will say they are trying to find hidden patterns in the data, but it could also be the case that finding no pattern can be just as useful. In short, <strong>you are looking for those rows and columns that seem to be slightly different than the rest</strong>.</p>
<p>So, your mine is open for business, you are excavating tons of rocks, and a bunch of them are yellow. But how do you know they are gold? Well, someone needs to do some analysis on those rocks to verify what they are. So, if you are mining for gold, the steps would be as follows:</p>
<ol>
<li>Go digging through dirt and rocks.</li>
<li>Pull out the ones that look different.</li>
<li>Tell someone which pile of rocks is the one you think contains gold.</li>
<li>Have someone analyze the rocks in the pile to confirm.</li>
<li>Profit.</li>
</ol>
<p>With data mining the same principles apply.</p>
<ol>
<li>Go digging through your data.</li>
<li>Pull out the data that looks different.</li>
<li>Propose a hypothesis about why the data is different.</li>
<li>Perform some analysis on a larger set of data to see if your hypothesis is valid.</li>
<li>Profit.</li>
</ol>
<p>Now, I am simplifying things here greatly. I am not talking about confidence intervals, or different statistical models, or anything in depth. I am just trying to explain that there is a difference in the mining of data versus the analysis of data. To me, at least, the analysis phase comes later, after you have formed a hypothesis, which is brought about by some mining.</p>
<p>I have seen some people describe data mining as a particular data analysis technique. I suppose that is true as well. For example, you wouldn&#8217;t start mining for gold unless you already had a hypothesis that there was gold in &#8216;dem &#8216;thar hills. That is also a fair definition, but it does highlight that the mining is still something not entirely equal to the analysis.</p>
<p>They are different tools, and different methods, but with a common purpose. In the case of Business Intelligence it is to get the right information, to the right people, at the right time, so they can make the right decisions.</p>
<h3>Data Mining Tools</h3>
<p>Microsoft has two different flavors of data mining tools that you can add easily into your office products, specifically for use with Excel.</p>
<p>If you have access to an instance of SSAS at all times, then go ahead and download the tools found here:</p>
<p><a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=7C76E8DF-8674-4C3B-A99B-55B17F3C4C51&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyID=7C76E8DF-8674-4C3B-A99B-55B17F3C4C51&amp;displaylang=en</a></p>
<p>And for those times when you are not connected to an actual SSAS instance, but are connected to the intertubz, then you will want to download this set of tools:</p>
<p><a href="http://www.sqlserverdatamining.com/cloud/">http://www.sqlserverdatamining.com/cloud/</a></p>
<p>Feel free to load both of them if you want, they can be run side by side. Why would you want to do this? That&#8217;s a great question. Let me explain by continuing the gold mine analogy.</p>
<p>So, if you were serious about going to mine for gold, would you grab a pick-axe and make way for the Yukon Trail? Probably not. And even for those people that did do exactly that during the various Gold Rush eras in history, they only did so because <strong>someone else had already found some gold</strong>. In other words, the preliminary exploration had been done, gold was discovered, word spread, and before you know it we have enough Yukon Jack to last a lifetime.</p>
<p>If you were going to open a gold mine today you would look to do some preliminary exploration as well before you ever broke ground somewhere. Think of the tools that you download as exactly that: tools that help you (or others) do some preliminary exploration. In this case, exploration of data, no dirt. The tools help to highlight chunks of data that you may find to be of some interest.</p>
<p>So, the tools help you with some preliminary exploration, at which point you can really start to mine for more information, then you form a hypothesis, perform some analysis, and a-bing, a-bang, a-bung you are on your way!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thomaslarock.com/2009/06/sql-2008-data-mining/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Something Old, Something New&#8230;</title>
		<link>http://www.thomaslarock.com/2009/03/something-old-something-new/</link>
		<comments>http://www.thomaslarock.com/2009/03/something-old-something-new/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 17:01:27 +0000</pubDate>
		<dc:creator>Thomas LaRock</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[SQLServerPedia Wiki]]></category>

		<guid isPermaLink="false">http://sqlbatman.com/?p=1274</guid>
		<description><![CDATA[Something smells rotten in Denmark (it&#8217;s probably all that cheese).
This past weekend I started thinking about what it really means to have your databases hosted in the cloud. My first thought was that it struck me as being exactly the same as an Application Service Provider. I mean, MS SQL is an application, right? And you [...]]]></description>
			<content:encoded><![CDATA[<p>Something smells rotten in Denmark (it&#8217;s probably all that cheese).</p>
<p>This past weekend I started thinking about what it really means to have your databases hosted in the cloud. My first thought was that it struck me as being exactly the same as an Application Service Provider. I mean, MS SQL is an application, right? And you would be looking to have someone outside your company provide you that application as a service you would pay for. So&#8230;is there a difference between the Cloud and a good old-fashioned ASP model?</p>
<p>Here is the <a href="http://en.wikipedia.org/wiki/Application_service_provider" target="_blank">wiki entry for ASP</a>. Decide for yourself. Note the mention of how ASP is also known as <a href="http://en.wikipedia.org/wiki/Software_as_a_Service" target="_blank">SaaS</a>, or &#8220;Software as a Service&#8221;. Perhaps putting your database in the Cloud would now mean we have a &#8220;Database as a Service&#8221;, and that is the difference, that you are focusing on a specific piece of the software/application being offered.</p>
<p>Now, while we argue over the definitions of all of this, and where to draw the lines, and compare and contrast architectures, let me offer you this article, which asks the simple question &#8220;Is Software as a Service Really Cheaper?&#8221;</p>
<p><a href="http://software.silicon.com/applications/0,39024653,39397645,00.htm" target="_blank">http://software.silicon.com/applications/0,39024653,39397645,00.htm</a></p>
<p>Ok, quick show of hands. Who thinks Cloud Computing is going to take off faster than an F-15? Now, from that set of people who still say &#8220;Hell-to-the-yeah&#8221;, does that mean your business is doing so because it will be a way to reduce costs? If so, have they ever tried to define all of the costs associated with a traditional ASP/SaaS/DaaS model?</p>
<h3>The Cloud Is Not New</h3>
<p>The idea of pushing your data to somewhere else is not new. It has been around for decades. In the past ten years some different business models have sprung up. One of them was called ASP, which still exists today. Some ASP&#8217;s have changed their identity to something more hip, calling themselves SaaS, but they are essentially the same. Now, how many people are putting their heads in the Cloud because they believe it is something shiny and new, but have no idea if it is actually something better?</p>
<p>I usually ask myself all the time &#8220;am we in a better place now than a year ago?&#8221; The answer is almost always yes. On the surface it would seem the Cloud is indeed the future, but I would be very inclined to take a second and third look at all of the hidden costs associated with a Cloud model. If the Cloud really is an old idea being spun differently, then there is no reason to believe that there is going to be an incredible push for the Cloud very quickly. At least not by business that do some reasonable research into the costs associated down the road with one form of architecture. If your business changes ideologies and architectures frequently and doesn&#8217;t mind spending money freely, then you will probably adapt to the Cloud quickly.</p>
<p>It will take some time for business that do adapt to the Cloud quickly to publish some metrics regarding their costs savings before everyone else will follow suit. Believe me, business will always look to save money first. If the Cloud does save money for them, then other business will make plans to start shifting their architecture to the Cloud as well, which could mean more than a handful of DBA&#8217;s will need to package their old selves as something shiny and new as well.</p>
<p>I still believe we have more than a few years before we have to worry about all of this. Sure, change is coming, but not as fast as some would like to believe, regardless of all the NDA gossip going around the rumor mill these days.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thomaslarock.com/2009/03/something-old-something-new/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cloud Architecture</title>
		<link>http://www.thomaslarock.com/2008/11/cloud-architecture/</link>
		<comments>http://www.thomaslarock.com/2008/11/cloud-architecture/#comments</comments>
		<pubDate>Fri, 07 Nov 2008 14:44:06 +0000</pubDate>
		<dc:creator>Thomas LaRock</dc:creator>
				<category><![CDATA[Asides]]></category>
		<category><![CDATA[Cloud Computing]]></category>

		<guid isPermaLink="false">http://sqlbatman.com/?p=503</guid>
		<description><![CDATA[Some good info in the latest Architectural Journal about cloud computing. I especially like the concern about how your train system could be late because of a strike. Apparently, such events are common in parts of Europe.
]]></description>
			<content:encoded><![CDATA[<p>Some good info in the latest Architectural Journal about <a href="http://msdn.microsoft.com/en-us/library/dd129910.aspx" target="_blank">cloud computing</a>. I especially like the concern about how your train system could be late because of a strike. Apparently, such events are common in parts of Europe.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thomaslarock.com/2008/11/cloud-architecture/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
