<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Cloud on Andy M Mallon - AM²</title><link>https://am2.co/category/cloud/</link><description>Recent content in Cloud on Andy M Mallon - AM²</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sun, 04 Oct 2020 11:00:33 -0400</lastBuildDate><atom:link href="https://am2.co/category/cloud/index.xml" rel="self" type="application/rss+xml"/><item><title>Microsoft Azure hack for social justice</title><link>https://am2.co/2020/10/04/microsoft-azure-hack-for-social-justice/</link><pubDate>Sun, 04 Oct 2020 11:00:33 -0400</pubDate><guid>https://am2.co/2020/10/04/microsoft-azure-hack-for-social-justice/</guid><description>&lt;figure class="wp-caption alignright" style="max-width:512px"&gt;&lt;a href="https://socialjusticehack.devpost.com/"&gt;&lt;img src="https://am2.co/wp-content/uploads/cody-pulliam-GGKVGSkKIzM-unsplash.jpg" alt="" width="512" height="342" class="size-large wp-image-4895" /&gt;&lt;/a&gt; &lt;a href="https://unsplash.com/photos/GGKVGSkKIzM"&gt;Photo via unsplash&lt;/a&gt;&lt;/figure&gt;&#10;&lt;p&gt;Microsoft is going to be running a virtual hackathon, running from October 12 through November 20. The theme of the hack will be to use Microsoft Azure to address some social justice issue. I&amp;rsquo;m thrilled to be joining &lt;a href="https://socialjusticehack.devpost.com/#judges" rel="noopener noreferrer" target="_blank"&gt;the judging panel&lt;/a&gt; for this event, which is at the intersection of two of my greatest passions&amp;ndash;social justice and technology.&lt;/p&gt;</description></item><item><title>How To Fix High DTU Usage on Specific Query</title><link>https://am2.co/2019/10/10/how-to-fix-high-dtu-usage-on-specific-query/</link><pubDate>Thu, 10 Oct 2019 18:03:01 -0400</pubDate><guid>https://am2.co/2019/10/10/how-to-fix-high-dtu-usage-on-specific-query/</guid><description>&lt;p&gt;&lt;a href="https://dba.stackexchange.com/q/250789/52344"&gt;&lt;img src="https://am2.co/wp-content/uploads/blockquote.png" alt="clip art of &#10;a double-quote character" width="100" height="75" class="alignleft size-full wp-image-55062" /&gt;&lt;/a&gt;&lt;/p&gt;&#10;&lt;h2 id="question"&gt;Question&lt;/h2&gt;&#10;&lt;p&gt;I have a query that runs every few seconds on a Microsoft SQL Azure Database. It is from a web job that checks if there are actions that need to be done based on rows in a specific table (its a queueing table). Based on the image attached, does anyone have any suggestion of how i could reduce the DTU usage for the query in question, it is causing the database to reach 100% CPU. &lt;/p&gt;</description></item><item><title>Webinar: Azure SQL DB Managed Instance--A New Path to the Cloud</title><link>https://am2.co/2018/09/20/webinar-azure-sql-db-managed-instance-a-new-path-to-the-cloud/</link><pubDate>Thu, 20 Sep 2018 10:00:44 -0400</pubDate><guid>https://am2.co/2018/09/20/webinar-azure-sql-db-managed-instance-a-new-path-to-the-cloud/</guid><description>&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=W8feSZXm2Ec" rel="noopener" target="_blank"&gt;&lt;img src="https://am2.co/wp-content/uploads/SentryOneWebinar-Cropped.png" alt="" width="400" height="155" class="alignright size-medium wp-image-1636" /&gt;&lt;/a&gt;&#10;On October 2, 2018 at 11PM EDT, I&amp;rsquo;ll be joined by John Q. Martin (&lt;a href="https://blogs.sentryone.com/author/johnmartin/" rel="noopener" target="_blank"&gt;blog&lt;/a&gt;|&lt;a href="https://twitter.com/SQLDiplomat" rel="noopener" target="_blank"&gt;twitter&lt;/a&gt;) for a webinar on Azure SQL Database Managed Instance.&lt;/p&gt;&#10;&lt;p&gt;&lt;del datetime="2019-10-03T15:16:06+00:00"&gt;To sign up, register &lt;a href="https://info.sentryone.com/azure-sql-db-managed-instance-new-path-to-the-cloud" rel="noopener" target="_blank"&gt;here&lt;/a&gt;.&lt;/del&gt;&lt;/p&gt;&#10;&lt;p&gt;You can access the recording of the session &lt;a href="https://info.sentryone.com/azure-sql-db-managed-instance-new-path-to-the-cloud" rel="noopener" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;Follow-up Q &amp;amp; A from the live session can be found &lt;a href="https://blogs.sentryone.com/johnmartin/managed-instance-webinar-qa/" rel="noopener" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>What the heck is a DTU?</title><link>https://am2.co/2017/03/30/what-the-heck-is-a-dtu/</link><pubDate>Thu, 30 Mar 2017 09:42:18 -0400</pubDate><guid>https://am2.co/2017/03/30/what-the-heck-is-a-dtu/</guid><description>&lt;img src="https://am2.co/wp-content/uploads/dtu-fire.png" style="width:132px;float:right;margin:-15px 0px 12px 22px" alt="A Database Thermal Unit measures the amount of CPU needed to raise the temperature of a data center by 1 degree"&gt;&#10;&lt;h2 id="no-seriously-what-is-a-dtu"&gt;No, seriously. What is a DTU?&lt;/h2&gt;&#10;&lt;p&gt;When you&amp;rsquo;re deploying any application, one of the first questions that comes up is &amp;ldquo;What will this cost?&amp;rdquo; Most of us have gone through this sort of exercise for sizing a SQL Server installation at some point, but what if you&amp;rsquo;re deploying to the cloud? With Azure IaaS deployments, not much has changed&amp;ndash;you&amp;rsquo;re still building a server based on CPU count, some amount of memory, and configuring storage to give you enough IOPS for your workload. However, when you make the jump to PaaS, Azure SQL Database is sized with different &lt;a href="https://docs.microsoft.com/en-us/azure/sql-database/sql-database-service-tiers" target="_blank" rel="noopener noreferrer"&gt;service tiers&lt;/a&gt;, where performance is measured in DTUs. &lt;strong&gt;What the heck is a DTU?&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>Building a Twitter-bot RSS Aggregator</title><link>https://am2.co/2017/01/11/building-twitter-bot-rss-aggregator/</link><pubDate>Wed, 11 Jan 2017 23:13:34 -0500</pubDate><guid>https://am2.co/2017/01/11/building-twitter-bot-rss-aggregator/</guid><description>&lt;h2 id="i-hate-rssreaders"&gt;I hate RSS readers&lt;/h2&gt;&#10;&lt;figure class="wp-caption alignright" style="max-width:512px"&gt;&lt;a href="https://www.youtube.com/watch?v=BxtKAvv1hLA"&gt;&lt;img class="wp-image-824" src="https://am2.co/wp-content/uploads/BotLove-1024x709.jpg" width="512" height="354" /&gt;&lt;/a&gt; I love my new bot&lt;/figure&gt;&#10;&lt;p&gt;For some reason, about once a year, I go hunting for a new RSS reader so I can keep track of blogs that I like to read.  It&amp;rsquo;s always the same process:&lt;/p&gt;&#10;&lt;ol&gt;&#10; &#9;&lt;li&gt;Dig through reviews to find an app that I think I will love.&lt;/li&gt;&#10; &#9;&lt;li&gt;Come up with a list of blogs that I like to read.&lt;/li&gt;&#10; &#9;&lt;li&gt;Install and configure RSS reader app.&lt;/li&gt;&#10; &#9;&lt;li&gt;Spend the night reading blog posts.&lt;/li&gt;&#10; &#9;&lt;li&gt;Use app for a week.&lt;/li&gt;&#10; &#9;&lt;li&gt;Never open RSS reader app again.&lt;/li&gt;&#10;&lt;/ol&gt;&#10;Well, it's time to &lt;a href="https://www.youtube.com/watch?v=ZjfB4qDx3RM" target="_blank" rel="noopener noreferrer"&gt;stop the insanity&lt;/a&gt;. Its time to stop doing the same thing over and over again, hoping it will work this time. Its time to find a solution that really works.&#10;&lt;p&gt;Before I can find something that works, I need to think about&lt;/p&gt;</description></item><item><title>Cannot restore azure database to local due to missing master key</title><link>https://am2.co/2017/01/04/cannot-restore-azure-database-to-local-due-to-missing-master-key/</link><pubDate>Wed, 04 Jan 2017 09:26:09 -0500</pubDate><guid>https://am2.co/2017/01/04/cannot-restore-azure-database-to-local-due-to-missing-master-key/</guid><description>&lt;p&gt;&lt;a href="https://dba.stackexchange.com/q/160007/52344"&gt;&lt;img src="https://am2.co/wp-content/uploads/blockquote.png" alt="clip art of &#10;a double-quote character" width="100" height="75" class="alignleft size-full wp-image-55062" /&gt;&lt;/a&gt;&lt;/p&gt;&#10;&lt;h2 id="question"&gt;Question&lt;/h2&gt;&#10;&lt;p&gt;I create a bacpac from azure and restore to my local on-prem server. However, it throws an error like “Please create a master key in the database or open the master key in the session before performing this operation”. The reason is one of the column in the table is encrypted. I don’t know how to restore the database from azure with master key and certificate etc. Do you know what I could do?&lt;/p&gt;</description></item><item><title>TSQL Tuesday #85: Backup + Recovery + ☁️</title><link>https://am2.co/2016/12/13/tsql-tuesday-85-backup-recovery/</link><pubDate>Tue, 13 Dec 2016 22:11:48 -0500</pubDate><guid>https://am2.co/2016/12/13/tsql-tuesday-85-backup-recovery/</guid><description>&lt;blockquote&gt;&lt;a href="https://sqlstudies.com/2016/12/06/4169/"&gt;&lt;img class="alignright wp-image-532 size-full" src="https://am2.co/wp-content/uploads/TSQL2SDAY-300x300.png" alt="TSQL2SDAY" width="300" height="300" /&gt;&lt;/a&gt;It’s T-SQL Tuesday,  the blog party that SQL Server expert &lt;strong&gt;Adam Machanic&lt;/strong&gt; (&lt;a href="http://dataeducation.com/blog/" target="_blank" rel="noopener"&gt;blog&lt;/a&gt;|t&lt;a href="http://twitter.com/adammachanic" target="_blank" rel="noopener"&gt;witter&lt;/a&gt;) started. This month’s episode is hosted by &lt;strong&gt;Kenneth Fisher&lt;/strong&gt; (&lt;a href="https://sqlstudies.com/" target="_blank" rel="noopener"&gt;blog&lt;/a&gt;| &lt;a href="https://twitter.com/sqlstudent144" target="_blank" rel="noopener"&gt;twitter&lt;/a&gt;). The topic: &lt;strong&gt;&lt;a href="https://sqlstudies.com/2016/12/06/4169/" target="_blank" rel="noopener"&gt;Backup &amp;amp; Recovery&lt;/a&gt;&lt;/strong&gt;&lt;/blockquote&gt;&#10;## Your backups are my bread &amp;amp; butter&#10;Backup &amp;amp; recovery are a DBA's &lt;a href="https://en.wikipedia.org/wiki/Glossary_of_baseball_(B)#bread_and_butter" target="_blank" rel="noopener"&gt;bread &amp;amp; butter&lt;/a&gt;. I always tell people that if you can't restore from backup in an emergency, you should at least make sure your resume is up to date--you'll need it. Part of my approach to making sure I have foolproof backups is making sure my setup is scripted and fool-proof to configure. Traditionally, this has been as simple as some T-SQL scripts that create the &lt;a href="https://ola.hallengren.com/sql-server-backup.html"&gt;backup stored procedure&lt;/a&gt;, and create a few SQL Agent jobs.&#10;&lt;p&gt;The SQL Agent jobs would write to the NAS, use the company standard retention, and everything was set. No muss, no fuss.&lt;/p&gt;</description></item></channel></rss>