Search results matching tags 'SQL Server', 'Concepts', 'Career', and 'Data'http://sqlblog.com/search/SearchResults.aspx?o=DateDescending&tag=SQL+Server,Concepts,Career,Data&orTags=0Search results matching tags 'SQL Server', 'Concepts', 'Career', and 'Data'en-USCommunityServer 2.1 SP2 (Build: 61129.1)How Does the Cloud Change a Database Administrator’s Job?http://sqlblog.com/blogs/buck_woody/archive/2013/01/29/how-does-the-cloud-change-a-database-administrator-s-job.aspxTue, 29 Jan 2013 18:08:32 GMT21093a07-8b3d-42db-8cbf-3350fcbf5496:47385BuckWoody<p>I recently<a href="http://sqlblog.com/b/buckwoody/archive/2013/01/22/how-does-the-cloud-change-a-systems-architect-s-job.aspx" target="_blank"> posted a blog entry on how cloud computing would change the Systems Architect&rsquo;s role in an organization</a>. In a way, the Systems Architect has the easiest transition to a new way of using computing technologies. In fact, that&rsquo;s actually part of the job description.&nbsp;I mentioned that a Systems Architect has three primary vectors to think about for cloud computing, as it applies to what they should do:</p>
<ol>
<li><span style="color:#0000ff;">Knowledge - Which options are available to solve problems, and what are their strengths and weaknesses.</span></li>
<li><span style="color:#0000ff;">Experience - What has the System Architect seen and worked with in the past.</span></li>
<li><span style="color:#0000ff;">Coordination - A system design is based on multiple factors, and one person can't make all the choices. There will need to be others involved at every level of the solution, and the Systems Architect will need to know who those people are and how to work with them.</span></li>
</ol>
<h1>The Database Administrator Role</h1>
<p>But a Database Administrator (DBA) is probably one of the harder roles to think about when it comes to cloud computing. First, let&rsquo;s define what a Database Administrator usually thinks about as part of their job:</p>
<ul>
<li><span style="color:#993300;">Planning, Installing and Configuring a Database Platform</span></li>
<li><span style="color:#993300;">Planning, designing and creating databases</span></li>
<li><span style="color:#993300;">Planning, designing and implementing High Availability and Disaster Recovery for each database (HADR) based on requirements for its workload</span></li>
<li><span style="color:#993300;">Maintaining and monitoring the database platform</span></li>
<li><span style="color:#993300;">Implementing performance tuning on the databases based on monitoring</span></li>
<li><span style="color:#993300;">Re-balancing workloads across database servers based on monitoring</span></li>
<li><span style="color:#993300;">Securing databases platforms and individual databases based on requirements and implementation</span></li>
</ul>
<p>That&rsquo;s just a short list, and each of those unpacks into a larger set of tasks.</p>
<p>The issue is that<em> I&rsquo;ve never actually met a DBA that does all of those things</em>, or <strong>just</strong> all of those things. Many times they do much more, sometimes the systems are so large they specialize on just a few of them.</p>
<p>And as you can see from the list, some of these areas are shared with other roles. For instance, in some shops, the DBA plans, purchases, sets up and configures the hardware for database servers. In others that&rsquo;s done<br />by the Infrastructure Team. In some shops the DBA designs databases from software requirements, and in others the developers do that &ndash; or perhaps it&rsquo;s done as a joint effort. The same holds true for database code &ndash; sometimes the<br />DBA does it, other times the developer, and still others it&rsquo;s a shared task.</p>
<p>In fact, you could argue that there are few other roles in IT where the roles are so intermixed. Also, the DBA works with software the company develops, and software the company buys. They work with hardware, networking, security and software. There are certain aspects of design and tuning that are outside the purview of some of those things, and inside the others.</p>
<p>With all of these variables, simply telling a DBA that they should &ldquo;use the cloud&rdquo; is not the proper approach.</p>
<h1>How the Cloud Changes Things</h1>
<p>To be sure, the DBA has the same vectors as the Systems Architect. They need to educate themselves on the options within this new option (<span style="color:#0000ff;">Knowledge</span>), try a few test solutions out (<span style="color:#0000ff;">Experience</span>) and of course work with others on various parts of the implementation (<span style="color:#0000ff;">Coordination</span>). But it goes beyond that.</p>
<p><a href="http://www.windowsazure.com/en-us/manage/windows/fundamentals/intro-to-windows-azure/#components" target="_blank">There are three big buckets of cloud computing</a>, dealing with simply using a Virtual Machine (IaaS) to writing code without worrying about the virtualization or even the operating system (PaaS) and using software that&rsquo;s already written and being delivered via an Application Programming Interface (API). Each of these has so many options and configurations that it&rsquo;s often better to think about the problem you&rsquo;re trying to solve rather than all of the technology within a given area - although some of that is certainly necessary anyway.&nbsp;</p>
<h2>Database Platform Architecture</h2>
<p>I&rsquo;ll start with when the DBA should even consider cloud computing for a solution. Once again, it&rsquo;s not an &ldquo;all or nothing&rdquo; paradigm, where you either run something on premises or in the cloud &ndash; it&rsquo;s often a matter of selecting the right components to solve a problem.&nbsp; In my design sessions with DBA&rsquo;s I break these down into three big areas where they might want to consider the cloud &ndash;and then we talk about how to implement each one:</p>
<ol>
<li><span style="color:#0000ff;">Audiences</span></li>
<li><span style="color:#0000ff;">HADR</span></li>
<li><span style="color:#0000ff;">Data Services</span></li>
</ol>
<h3>Audiences</h3>
<p>If the users of your database systems all sit in the same facility, you own the servers and networking, and the application servers are separate from the database server, it doesn&rsquo;t usually make sense to take that database workload and place it on Windows Azure &ndash; or any other cloud provider. The latency alone prevents a satisfactory performance profile, and in some cases won&rsquo;t work at all. It doesn&rsquo;t matter if the cloud solution is cheaper or easier &ndash; if you&rsquo;re moving a lot of data every second between an on-premises system and the cloud it won&rsquo;t work well.</p>
<p>However &ndash; if your users are in multiple locations, especially globally, or you have a mix of company and external customer users, it might make sense to evaluate a shared data location. You still need to consider the implications of how much data the application server pushes back and forth, but you may be able to locate both the application server and SQL Server in an IaaS role. Assuming the data sent to the final client will work across public Internet channels, there may be a fit. There are security implications, but unless you have point-to-point connections for your current solution you&rsquo;re faced with the same security questions on both options.</p>
<p>Your audience might also be developers looking for a way to quickly spin up a server and then turn it down when they are done, paying for the time and not the hardware or licenses. This is also a prime case for evaluating IaaS. And there are others that you'll find in your own organization as you work through the requirements you have.&nbsp;&nbsp;</p>
<p>Resources: Windows Azure Virtual Machines: <a href="http://www.windowsazure.com/en-us/manage/windows/tutorials/virtual-machine-from-gallery/">http://www.windowsazure.com/en-us/manage/windows/tutorials/virtual-machine-from-gallery/</a>&nbsp;and&nbsp;<span style="color:#993300;">Windows Azure SQL Server Virtual Machines</span>: <a href="http://www.windowsazure.com/en-us/manage/windows/common-tasks/install-sql-server/">http://www.windowsazure.com/en-us/manage/windows/common-tasks/install-sql-server/</a></p>
<h3>HADR</h3>
<p>The next possible place to consider using cloud computing with SQL Server is as a part of your High Availability and Disaster Recovery plans. In fact, this is the most common use I see for cloud computing and the Database Administrator. The key is the Recovery Point Objective (RPO) and Recovery Time Objective (RTO). Based on each application&rsquo;s requirements, you may find that using Windows Azure or even supplementing your current plan is<br />the right place to evaluate options. I&rsquo;ve covered this use-case in more detail in another article.</p>
<p><span style="color:#993300;">References: SQL Server High Availability and Disaster Recovery options with Windows Azure</span>: <a href="http://sqlblog.com/b/buckwoody/archive/2013/01/08/microsoft-windows-azure-disaster-recovery-options-for-on-premises-sql-server.aspx">http://blogs.msdn.com/b/buckwoody/archive/2013/01/08/microsoft-windows-azure-disaster-recovery-options-for-on-premises-sql-server.aspx</a></p>
<h3>Data Services</h3>
<p>Windows Azure, along with other cloud providers, offers another way to design, create and consume data. In this use-case, however, the tasks DBA&rsquo;s normally perform for sizing, ordering and configuring a system don&rsquo;t apply.</p>
<p>With Windows Azure SQL Databases (the artist formerly known as SQL Azure), you can simply create a database and begin using it. There are places where this fits and others where it doesn&rsquo;t, and there are differences, limitations and enhancements, so it isn&rsquo;t meant as replacement for what you could do with &ldquo;Full-up&rdquo; SQL Server on a Windows Azure Virtual Machine or an on-premises Instance. If a developer needs an Relational Database Management<br />(RDBMS) data store for a web-based application, then this might be a perfect fit.</p>
<p>But there is more to data services than Windows Azure SQL Databases. Windows Azure also offers MySQL as a service, RIAK and MongoDB (among others) and even Hadoop for larger distributed data sets. In addition you can use Windows Azure Reporting Services, and also tap into datasets and data functions in the Windows Azure Marketplace.</p>
<p>The key for the DBA with this option is that you <em>will</em> have to do a little investigation this time, and potentially without a specific workload in mind this time. I think that&rsquo;s acceptable thing to ask &ndash; DBA&rsquo;s constantly keep up with data processing trends, and most will consider different ways to solve a problem.</p>
<p><span style="color:#993300;">References:</span></p>
<p><span style="color:#993300;">Windows Azure SQL Databases</span>: <a href="http://www.windowsazure.com/en-us/home/features/data-management/" target="_blank">http://www.windowsazure.com/en-us/home/features/data-management/</a></p>
<p><span style="color:#993300;">Windows Azure Reporting Services</span>: <a href="http://www.windowsazure.com/en-us/manage/services/other/sql-reporting/" target="_blank">http://www.windowsazure.com/en-us/manage/services/other/sql-reporting/</a></p>
<p><span style="color:#993300;">HDInsight Service (Hadoop on Azure): </span><a href="https://www.hadooponazure.com/" target="_blank">https://www.hadooponazure.com/</a></p>
<p><span style="color:#993300;">MongoDB Offerings on Windows Azure</span>: <a href="http://www.windowsazure.com/en-us/manage/linux/common-tasks/mongodb-on-a-linux-vm/" target="_blank">http://www.windowsazure.com/en-us/manage/linux/common-tasks/mongodb-on-a-linux-vm/</a></p>
<p><span style="color:#993300;">Windows Azure Marketplace</span>: <a href="http://www.windowsazure.com/en-us/store/overview/" target="_blank">http://www.windowsazure.com/en-us/store/overview/</a></p>
<p>&nbsp;</p>The Data Scientisthttp://sqlblog.com/blogs/buck_woody/archive/2011/11/15/the-data-scientist.aspxTue, 15 Nov 2011 18:00:18 GMT21093a07-8b3d-42db-8cbf-3350fcbf5496:39814BuckWoody<p>A new term - well, perhaps not that new - has come up and I’m actually very excited about it. The term is Data Scientist, and since it’s new, it’s fairly undefined. I’ll explain what I <em>think</em> it means, and why I’m excited about it.</p> <p>In general, I’ve found the term deals at its most basic with analyzing data. Of course, we all do that, and the term itself in that definition is redundant. There is no science that I know of that does not work with analyzing lots of data. But the term seems to refer to more than the common practices of looking at data visually, putting it in a spreadsheet or report, or even using simple coding to examine data sets. </p> <p>The term Data Scientist (as far as I can make out this early in it’s use) is someone who has a strong understanding of data sources, relevance (statistical and otherwise) and processing methods as well as front-end displays of large sets of complicated data. Some - but not all - Business Intelligence professionals have these skills. In other cases, senior developers, database architects or others fill these needs, but in my experience, many lack the strong mathematical skills needed to make these choices properly. </p> <p>I’ve divided the knowledge base for someone that would wear this title into three large segments. It remains to be seen if a given Data Scientist would be responsible for knowing all these areas or would specialize. There are pretty high requirements on the math side, specifically in graduate-degree level statistics, but in my experience a company will only have a few of these folks, so they are expected to know quite a bit in each of these areas. </p> <p><strong>Persistence</strong></p> <p>The first area is finding, cleaning and storing the data. In some cases, no cleaning is done prior to storage - it’s just identified and the cleansing is done in a later step. This area is where the professional would be able to tell if a particular data set should be stored in a Relational Database Management System (RDBMS), across a set of key/value pair storage (NoSQL) or in a file system like HDFS (part of the Hadoop landscape) or other methods. Or do you examine the stream of data without storing it in another system at all? </p> <p>This is an important decision - it’s a foundation choice that deals not only with a lot of expense of purchasing systems or even using Cloud Computing (PaaS, SaaS or IaaS) to source it, but also the skillsets and other resources needed to care and feed the system for a long time. The Data Scientist sets something into motion that will probably outlast his or her career at a company or organization.</p> <p>Often these choices are made by senior developers, database administrators or architects in a company. But sometimes each of these has a certain bias towards making a decision one way or another. The Data Scientist would examine these choices in light of the data itself, starting perhaps even before the business requirements are created. The business may not even be aware of all the strategic and tactical data sources that they have access to. </p> <p><strong>Processing</strong></p> <p>Once the decision is made to store the data, the next set of decisions are based around how to process the data. An RDBMS scales well to a certain level, and provides a high degree of ACID compliance as well as offering a well-known set-based language to work with this data. In other cases, scale should be spread among multiple nodes (as in the case of Hadoop landscapes or NoSQL offerings) or even across a Cloud provider like Windows Azure Table Storage. In fact, in many cases - most of the ones I’m dealing with lately - the data should be split among multiple types of processing environments. This is a newer idea. Many data professionals simply pick a methodology (RDBMS with Star Schemas, NoSQL, etc.) and put all data there, regardless of its shape, processing needs and so on. </p> <p>A Data Scientist is familiar not only with the various processing methods, but how they work, so that they can choose the right one for a given need. This is a huge time commitment, hence the need for a dedicated title like this one. </p> <p><strong>Presentation</strong></p> <p>This is where the need for a Data Scientist is most often already being filled, sometimes with more or less success. The latest Business Intelligence systems are quite good at allowing you to create amazing graphics - but it’s the data behind the graphics that are the most important component of truly effective displays. </p> <p>This is where the mathematics requirement of the Data Scientist title is the most unforgiving. In fact, someone without a good foundation in statistics is not a good candidate for creating reports. Even a basic level of statistics can be dangerous. Anyone who works in analyzing data will tell you that there are multiple errors possible when data just seems right - and basic statistics bears out that you’re on the right track - that are only solvable when you understanding why the statistical formula works the way it does. </p> <p>And there are lots of ways of presenting data. Sometimes all you need is a “yes” or “no” answer that can only come after heavy analysis work. In that case, a simple e-mail might be all the reporting you need. In others, complex relationships and multiple components require a deep understanding of the various graphical methods of presenting data. Knowing which kind of chart, color, graphic or shape conveys a particular datum best is essential knowledge for the Data Scientist. </p> <p><strong>Why I’m excited</strong></p> <p>I love this area of study. I like math, stats, and computing technologies, but it goes beyond that. I love what data can do - how it can help an organization. I’ve been fortunate enough in my professional career these past two decades to work with lots of folks who perform this role at companies from aerospace to medical firms, from manufacturing to retail. </p> <p>Interestingly, the size of the company really isn’t germane here. I worked with one very small bio-tech (cryogenics) company that worked deeply with analysis of complex interrelated data. </p> <p>So&#160; watch this space. No, I’m not leaving Azure or distributed computing or Microsoft. In fact, I think I’m perfectly situated to investigate this role further. We have a huge set of tools, from RDBMS to Hadoop to allow me to explore. And I’m happy to share what I learn along the way. </p>Big Data and the Cloud - More Hype or a Real Workload?http://sqlblog.com/blogs/buck_woody/archive/2011/10/18/big-data-and-the-cloud-more-hype-or-a-real-workload.aspxTue, 18 Oct 2011 16:57:36 GMT21093a07-8b3d-42db-8cbf-3350fcbf5496:39156BuckWoody<p>Last week Microsoft announced several new offerings for “Big Data” - and since I’m a stickler for definitions, I wanted to make sure I understood what that really means. What is “Big Data”? What size hard drive is that? After all, my laptop has 1TB of storage - is my laptop “Big Data”?</p> <p>There are actually a few definitions for this term, most notably those involving the <a href="http://nosql.mypopescu.com/post/9621746531/a-definition-of-big-data" target="_blank">“Four V’s” Volume, Velocity, Variety and Variability</a>. Others <a href="http://nosql.mypopescu.com/post/10120087314/big-data-and-the-4-vs-volume-velocity-variety" target="_blank">disagree with this</a> definition. I tend to try and get things into their simplest form, so I’m using this definition for myself:</p> <p align="center"><font color="#c0504d" size="3">Big data is defined as a <em>large set </em>of <em>computationally expensive </em>data that is <em>worked on simultaneously</em>.</font> </p> <p>Let me flesh that out a&#160; little. To be sure, “Big Data” has a larger size than say a few megabytes. The reason this is important is that it takes special hardware to be able to move large sets of data around, store it, process it and so on. (<font color="#c0504d">large set</font>)</p> <p>If you store a LOT of data, but only use a small portion of it at a time, that really isn’t super-hard to do. It’s mainly a storage issue at that point. But, if you do need to work with a large portion of the data at one time, then the memory, CPU and transfer components of the system have to adapt to be responsive - new ways to work with that data (game theory, knot-algorithms, map-reduce, etc.) need to be brought into play. (<font color="#c0504d">computationally expensive</font>)</p> <p>Once that data is loaded into the processing area (memory or whatever other mechanism is used) it must be worked on in parallel to come back in a reasonable time. You have two options here - you can scale the system up with more internal hardware (CPU’s, memory and so on) or you can scale it out to have multiple systems work on it at the same time using paradigms such as map/reduce and so on. Actually, when you lay this out in an architecture diagram, scale up or out doesn’t actually change the logical structure of the process - in scale out the network becomes the bus, and the nodes become more RAM and computing power. Of course, there are changes in code for how you stitch the workload back together. (<font color="#c0504d">worked on simultaneously</font>)</p> <p>So back to the original question. Is Big Data, as I have defined it here, a workload for Windows and SQL Azure? Absolutely! In fact, it’s probably one of the main workloads, and I believe it represents the latest, and perhaps also the earliest frontier of computing. Jim <a href="http://research.microsoft.com/en-us/um/people/gray/" target="_blank">Gray, a former researcher here at Microsoft and a hero of mine, was working on this very topic.</a> I believe as he did - all computing is simply an interface over data. </p> <p>Microsoft has multiple offerings on the topic of Big Data. In posts that follow from myself and my co-workers, we’ll explore when and where you use each one. Whether you are a data professional or a developer, this is the new frontier - <a href="http://www.straightpathsql.com/archives/2011/10/microsoft-loves-your-big-data/" target="_blank">don’t wait to educate yourself</a> on how to leverage Big Data for your organization. </p> <p><strong>Hadoop on Windows Azure and SQL Server&#160; </strong>- Microsoft’s <a href="http://www.hortonworks.com/the-whys-behind-the-microsoft-and-hortonworks-partnership/" target="_blank">partnership to include Hadoop workloads on Windows Azure</a> and <a href="http://www.microsoft.com/download/en/details.aspx?id=27584" target="_blank">SQL Server/Parallel Data Warehouse (PDW)</a></p> <p><strong>LINQ to HPC </strong>- Microsoft’s High-Performance Computing SKU of <a href="http://blogs.technet.com/b/windowshpc/archive/2011/05/20/dryad-becomes-linq-to-hpc.aspx" target="_blank">HPC is now in Azure</a></p> <p><strong>Windows Azure Table Storage </strong>- A <a href="http://msdn.microsoft.com/en-us/library/windowsazure/hh508997.aspx" target="_blank">key/value pair type storage with full partitioning</a> that is immediately consistent, able to handle huge loads of data and works with any REST-compatible language</p> <p>&#160;<strong>Other offerings </strong>- Including the new <a href="http://www.microsoft.com/en-us/sqlazurelabs/default.aspx" target="_blank">Data Explorer</a>, <a href="http://research.microsoft.com/en-us/news/headlines/daytona-071811.aspx" target="_blank">Project Daytona (with a Big Data Toolkit for Scientists and researchers)</a>, <a href="http://www.microsoft.com/sqlserver/en/us/future-editions/SQL-Server-2012-breakthrough-insight.aspx" target="_blank">Power View</a> and more. </p> <p>The era of Big Data is here. And you can use Windows and SQL Azure to bring it to your organization. </p>