Problems displaying this newsletter? View online.
Database Weekly
The Complete Weekly Roundup of SQL Server News by SQLServerCentral.com
Hand-picked content to sharpen your professional edge
Editorial
 

New Cloud Licensing Limits

Licensing is always a complex discussion with SQL Server. Depending on the way you run it, the edition, the version, whether you've purchased Software Assurance, and more, you might struggle to ensure you are in compliance with Microsoft's terms.

This can be even more complex when you move to the cloud, as sometimes your setup could include a license, and sometimes it doesn't. If you lift-and-shift to cloud VMs, Azure lets you bring your existing licenses with the Azure Hybrid Benefit, which is tempting for organizations that want to get out of the data center business and move their workload to the cloud.

However, that isn't necessarily the same for all clouds. While Amazon lists various ways you can bring your licenses to AWS, Microsoft hasn't felt that was legal. They've noted in 2019 that their "cloud partners" couldn't support workloads on non-SA licenses. I can't quite determine if SA licenses can be used, as lots of information out there is conflicting. Microsoft's FAQ seems to support the idea that you need dedicated hosts, not just any shared VM.

Not all cloud providers count, however. This week Microsoft noted that some cloud providers can let you run your workload by bringing your licenses. These are smaller providers in Europe who filed complaints. Likely these providers can't offer the scale or pricing of GCP, AWS or Alibaba, so they aren't as big a revenue threat as these providers.

I don't know what I think is the right thing, as once I've purchased a license, why does the location or ownership of the VM count? I ought to be able to run the software within the same guidelines in Rackspace, EC2 or GCP just as I would on-premises. However, such is the strange world of software licensing.

If you deal with licensing, I'm sorry, but also, you should note that there are rules and restrictions when you move to the cloud. That's something I see increasingly happening in many organizations, so educate yourself so that you can make the right recommendation. And when you get ready to purchase licenses, think about how SA not only affects upgrades, but also the flexibility of migration.

Steve Jones - SSC Editor

Join the debate, and respond to the editorial on the forums

 
The Weekly News
All the headlines and interesting SQL Server information that we've collected over the past week, and sometimes even a few repeats if we think they fit.
Vendors/3rd Party Products

Monitoring: The ROI of Build vs. Buy

There and pros and cons to building a monitoring system versus purchasing one: in other words, the ROI of build vs. buy. In this blog post, Grant Fritchey discusses when you should build, and when you should buy.

Managing Static Data in Flyway Database Development

If your database application requires 'static data' to function, then the best way to manage that data is using a view based on a derived table. This article demonstrates ways to create these views, depending on your RDBMS's capabilities, and how to build and manage them in development work, using Flyway and PowerShell.

Rollbacks, Undos and Undonts

Rollback scripts are designed to allow us to recover safely from a failed deployment that leaves the database in an indeterminate state. They must check exactly what needs to be reverted before doing so. If you work with an RDBMS that cannot support transaction DDL rollback they are vital. This article proposes a strategy where you create and test a rollback file, at the same time as the forward migration, and reuse it as a Flyway undo script.

Administration of SQL Server

SQL Server Community Tools: Capturing Query Wait Stats With sp_HumanEvents

From Erik Darling Data

Paladin I have sort of a love/hate relationship with wait stats scripts and analysis. Sometimes they’re great to correlate with larger performance problems or trends, and other times they’re totally...

Some Intel QAT Backup Compression Results

From Glenn Berry

Introduction With the release of SQL Server 2022 R...

HOW IT WORKS: dm_os_ring_buffer vs XEvent *_ring_buffer_reported events

From MS SQL Server Blog

Many of the sys.dm_os_ring_buffer entries support ...

[Video] Fragmentation Explained in 20 Minutes at SQLBits

From Brent Ozar Unlimited

What does fragmentation mean? How does it happen? Can you fix it with fill factor? Should you rebuild your indexes to fix it? At the SQLBits conference, I tried...

Importance of Backups Relating to a Corrupt Database

From Steve Stedman

At Stedman Solutions, LLC when we do corruption repair it usually means someone has discovered they have corruption, and they call us. If they had good backups and good...

Azure CosmosDB

PolyBase 2022 and Cosmos DB (Core API)

From 36 Chambers – The Legendary Journeys

Getting Back to Basics To date, I’ve always used the MongoDB API for Cosmos DB when demonstrating PolyBase. This is true in PolyBase Revealed, as well as blog posts...

Azure Databricks, Spark and Snowflake

Create Multiple Output Files per Task using spark.sql.files.maxRecordsPerFile

It is highly recommended that you try to evenly distribute the work among multiple tasks so every task produces a single output file and job is completed in parallel.

Spark 2.4 – Slow Performance on Writing into Partitions – Why Sorting Involved

From Large-Scale Data Engineering and Analytics in Cloud

It is quite typical to write the resulting data in...

Azure SQL

Exploring Azure SQL Database Geo-Restore

From SQLShack

This article explains Azure SQL Database Geo Restore using geo-replicated backups for disaster recovery. Introduction Any business continuity and disaster recovery plan must include database backups to protect your...

Principle 'XXX' could not be found or this principal type is not supported - Azure SQL DB and MI

From Azure Database Support Blog

We received some support cases when customers encounter the error below while trying to add an AAD security group to their Azure SQL Database or Azure SQL managed instance....

Azure Synapse (SQL Data Warehouse and Data Lake)

Template Gallery in Azure Synapse Lake Database

From SQLShack

In this article, we will learn how we can create t...

Updates and deletes with Azure Synapse Link for SQL Server 2022

From Kevin Chant

Reading Time: 6 minutes In this post I want to co...

Career, Employment, and Certifications

Getting over yourself: 5 reasons why you should present

From SQLGene – Learning SQL Slowly

If I would write a book on becoming a technical pr...

Tech Job Market Robust, Unemployment Rate at Historic Low

From IT Pro - Microsoft Windows Information, Solutions, Tools

There are employment opportunities at every experience level, in a variety of occupation categories, with software developers and engineers the most in-demand, a CompTIA analysis has found.

Who’s Hiring in the Database Community? September 2022 Edition

From Brent Ozar Unlimited

Is your company hiring for a database position as of September 2022? Do you wanna work with the kinds of people who read this blog? Let’s set up some rapid...

Computing in the Cloud (Azure, Google, AWS)

Microsoft is Investigating Azure Outage Affecting Ubuntu VMs

From Petri IT Knowledgebase

Microsoft has acknowledged that customers may experience domain name system...

Conferences, Classes, Events, and Webinars

Future Data Driven

From SQLServerCentral Blogs

I was honored to speak at Future Data Driven last year. This year has a great lineup with some fantastic sessions on data related topics. Register today for the... The...

The ultimate guide to choosing and implementing the right monitoring tool

This webinar will share top tips when evaluating monitoring tools and vendors, the common pitfalls when implementing a new solution, and how you can demonstrate Return on Investment (ROI) to the business post-purchase.

Data Privacy, Compliance, and Governance

Data Governance: Joining the Dots

From Product learning – Redgate Software

Every organization must perform data governance. This requires planning, oversight, and control over the management, security, resilience and quality of data and over the use of data by the...

Data Visualisation

Tableau Tutorials: How to Create a Parameterized Table

Let’s say you’re planning to present a large table of information and you want the user to be able to filter based on the top or bottom X number of records. Due to the size of the dataset we would like the customer to have the ability to filter based on more than one column for their comparison

How to communicate your data effectively with data visualisation

From AllAnalytics

Football has finally come home for the England wom...

Microsoft’s New Azure Managed Grafana Service Improves Data Visualizations

From Petri IT Knowledgebase

Microsoft’s Azure Managed Grafana service that launched in preview back...

Data Warehousing

Merging your data in a modern lakehouse data warehouse

From Guy in a Cube

Learn how you can move your data through different...

Database Design, Theory and Development

What is horizontal partitioning in SQL Server?

From SQLServer-DBA.Com

What is horizontal partitioning in SQL Server?

DocumentDB/Key-Value/Graph/other NoSQL Databases

Guide to Build Graph Node and Edge Tables with Azure Data Studio

From MSSQL Tips

Learn how to build graph node and edge tables using Azure Data Studio in this step-by-step guide.

NoSQL Data Models for Large Document Data Stores

From MSSQL Tips

In this article, we learn about different data models to use for large document data stores such as Embedded, Composite Key, Inverted Index, and Single Table.

HA/DR/Always On/Clustering

Deploy Always On Availability Groups (AG) on SQL Server RHEL based Azure VMs - The Ansible Way!

From MS SQL Server Blog

One common comment I've heard at various conferences and customer interactions is, "setting up Always On availability groups (AGs) on pacemaker takes very long, has multiple steps and commands...

Hardware

Lenovo's New ThinkPad X1 Fold Goes Bigger

From Tom's Hardware US

The Lenovo ThinkPad X1 Fold has been reimagined wi...

MDX/DAX

Using RELATED and RELATEDTABLE in DAX

From SQLBI

RELATED and its companion function RELATEDTABLE, a...

Using RELATED and RELATEDTABLE in DAX

From Sqlbi

Why and when to use RELATED and its companion func...

Performance Tuning SQL Server

SQL Server Community Tools: Capturing Which Queries Are Recompiling And Why With sp_HumanEvents

From Erik Darling Data

Classic Espionage Like query compilations, query recompilations can be annoying. The bigger difference is that even occasional recompiles can introduce a bad query plan. If your monitoring tools or scripts are...

PowerPivot/PowerQuery/PowerBI

Extract Multiple Pages from Web

very now and then when I have a Power BI project of interest to me, I like to create a video of the end to end process of building a new report. This allows me to share some “warts and all” real-world examples of how to go about building a Power BI report.

Calling The Power BI Enhanced Refresh API From Power Automate, Part 4: Getting The Status Of a Refresh

From Chris Webb's BI Blog

So far in this series (see part 1, part 2 and part...

Changing a Report Tooltip Visuals Axis Field with a Slicer?!?

From Havens Consulting

Learn how to leverage the functionality of Field P...

Power BI Data Driven Subscriptions with Power Automate – Follow up using Dataset

From Dan English's BI Blog

In the last post I went over using Power Automate to perform a data driven report subscription using a Paginated report referencing an AAS database. The flow referenced an...

The Tale of Two Caches

From Guy in a Cube

Want to optimize performance in Power BI? Of course, you do! In order to do that, you need to understand the two caches that are at play and how...

Getting Data Into Shape for Reporting with Power BI

From Paul Turley's SQL Server BI Blog

I see a lot of Power BI projects that we are asked to fix or performance tune, and at least nine times out of ten, the answer is that...

Extract Multiple Pages from Web

From Excelerator BI

Every now and then when I have a Power BI project of interest to me, I like to create a video of the end to end process of building...

Conditional Formatting with Field Parameters in Power BI???

From Guy in a Cube

You are excited about Field Parameters in Power BI, but then realize you can't use conditional formatting with them. What the french toast! Don't despair! Patrick and Adam have...

Product Reviews and Articles

Your Database Monitoring Solution: Build or Buy? [Infographic]

From Blog – Redgate Software

 

Product Upgrades and Releases

SQL Server Diagnostic Information Queries for September 2022

From Glenn Berry

Introduction These are my SQL Server Diagnostic In...

Released: Microsoft.Data.SqlClient 2.1.5

From MS SQL Server Blog

We have released an update to Microsoft.Data.SqlClient, version 2.1.5. The update addresses a few issues that are important to our customers.   Updates in Microsoft.Data.SqlClient 2.1.5 include:   Fixed Added CommandText length validation when...

Azure SQL—General availability updates for late August 2022

From Azure Updates

General availability enhancements and updates released for Azure SQL.

Updated SSIS Extension v4.1.2 Includes Support for Visual Studio 2022

From AndyLeonard.blog()

Important Note: I have not yet tested this version of the Integrated Services Extension in Visual Studio 2022. On 28 Jul 2021, the Microsoft SSIS Team released an update...

Announcing General Availability (GA) of Zone Redundancy for Azure SQL Database Hyperscale tier

From Azure SQL

We are excited to announce the General Availability (GA) of enabling Zone Redundancy for Azure SQL Hyperscale databases. The zone redundant configuration utilizes Azure Availability Zones to replicate databases across multiple...

Generally available: New Azure Virtual Machines with Ampere Altra Arm-based processors

From Azure Updates

New general-purpose and memory-optimized Azure VMs, featuring Ampere Altra Arm-based processors, engineered to efficiently run scale-out, cloud-native workloads, are now available.

R Language

EXTENDING NETWORK ANALYSIS IN R WITH NETUTILS

During the last 5 years, I have accumulated various scripts with (personal) convenience functions for network analysis and I also implemented new methods from time to time which I could not find in any other package in R. The package netUtils gathers all these functions and makes them available for anyone who may also needs to apply “non-standard” network analytic tools.

Efficient list melting and unnesting with {rrapply}

The previous post showcases the rrapply() function in the minimal rrapply-package as a revised and extended version of base rapply() in the context of nested list recursion in R.

Little useless-useful R functions – Drawing randomly generated @Github contribution graph

From TomazTsql

Github is collecting various images on their Insta...

Reporting Services

Get more out of SQL Server Reporting Services 2022 with an improved user experience

From Microsoft SQL Server Blog

At Microsoft, we understand that designing for inclusivity opens our experiences and reflects how people adapt to the world around them. In this new release of SSRS, we have...

SQL Server News

SQL ConstantCare® Population Report: Summer 2022

From Brent Ozar Unlimited

Ever wonder how fast people are adopting new versi...

SQL Server Security and Auditing

PolyBase and Windows Authentication in SQL Server 2022

From 36 Chambers – The Legendary Journeys

Back in the SQL Server 2019 days, I laid out a post which covered a really annoying bug around Windows authentication and PolyBase. The upshot is that SQL Server...

SQL Server on Linux

How To Linux: A Windows Administrator’s Guide to Linux for the Newbie

From SQLServerCentral Blogs

Well, it’s long overdue that I left the comfort ...

Security News and Issues

Feds, npm Issue Supply Chain Security Guidance to Avert Another SolarWinds

From Dark Reading: Dark Reading News Analysis

The US government and the Open Source Security Fou...

High-School Graduation Prank Hack

From Schneier on Security

This is a fun story, detailing the hack a group of high school students perpetrated against an Illinois school district, hacking 500 screens across a bunch of schools. During the...

Google Fixes 24 Vulnerabilities With New Chrome Update

From Dark Reading: Dark Reading News Analysis

But one issue that lets websites overwrite content on a user's system clipboard appears unfixed in the new Version 105 of Chrome.

Apple Quietly Releases Another Patch for Zero-Day RCE Bug

From Dark Reading: Dark Reading News Analysis

Apple continues a staged update process to address a WebKit vulnerability that allows attackers to craft malicious Web content to load malware on affected devices.

Software Development

Start using EF Core with your existing Azure SQL Database in 5 minutes | Data Exposed: MVP Edition

From Azure SQL

Come learn how to start using your existing Azure SQL Database using Entity Framework Core and EF Core Power Tools in this episode of Data Exposed: MVP Edition with...

T-SQL and Query Languages

New productivity features in Kusto Explorer

We are pleased to announce new features in Kusto Explorer (Desktop version of Azure Data Explorer Web UI) to help you be more productive in managing and executing queries

Fun With KQL – Between

From Arcane Code

Fun With KQL - Between

Convert Problematic Data in SQL Server

From MSSQL Tips

In this article, we look at various ways to conver...

Optimize Large SQL Server Insert, Update and Delete Processes by Using Batches

From MSSQL Tips

In this tip we look at the impact of running SQL Server processes in smaller batches instead of one large operation.

How to Expand a Range of Dates into Rows with the SQL Server Function GENERATE_SERIES

From MSSQL Tips

In this tip, we cover how to use the GENERATE_SERIES function to expand a range of dates into rows.

SQL Homework – September 2022 – Query window challenge

From SQLServerCentral Blogs

I had every intention of doing Replication Part 2 this month but had a thought I liked better. I will ... Continue reading The post SQL Homework – September 2022...

Tech News

Microsoft Changes Licensing Policies to Support Small Cloud Vendors

From Petri IT Knowledgebase

Microsoft has announced some important changes to ...

Digital Transformation, Cybersecurity, IT Staffing Top C-Suite Concerns

From IT Pro - Microsoft Windows Information, Solutions, Tools

A new report finds executives are focusing on grow...

HP Reduces Profit Forecast as PC Sales Continue to Slide

From IT Pro - Microsoft Windows Information, Solutions, Tools

HP’s higher mix of commercial PCs has served as a shield from the plunging consumer market in recent months, but the company is also starting to see a slowdown...

Lenovo Jammed a 1080p Display Into Glasses, And I'm Not Sure About It

From Tom's Hardware US

The Lenovo Glasses T1 create a virtual monitor to ...

Equipping the Office for Hybrid Work

From IT Pro - Microsoft Windows Information, Solutions, Tools

IT strategy and planning are becoming increasingly complex as hybrid work changes previous straightforward projects and tasks.

The Lighter Side

Drawing Entity Relationship Diagrams with Stable Diffusion

From Brent Ozar Unlimited

Documenting your database and code is such a pain ...

Doug DeMuro Reviewed My 944 Turbo.

From Brent Ozar (Personal blog)

After I bought my 1988 Porsche 944 Turbo off Cars ...

Tools for Dev (SSMS, ADS, VS, etc.)

Latest Visual Studio Code Update Brings Merge Editor Improvements and Snap Layouts Support

From Petri IT Knowledgebase

Microsoft has announced the release of version 1.71 of its...

Overview of the Table Designer feature in Azure Data Studio | Data Exposed

From Azure SQL

In this episode of Data Exposed with Timi Oshin and Anna Hoffman, get an introductory demo to the Table Designer feature in Azure Data Studio, and how you can...

Fast Fingers-Function Keypads

From SQLServerCentral Blogs

This is the third in the series of tools and technologies that I use to deal with the loss of functionality in my hands and arms. Check out this article for... The...

Virtualization and Containers/Kubernetes

Deploy a SQL Server container using Azure Kubernetes Services (AKS)

From SQLShack

This article deploys a SQL Server container using Azure Kubernetes Services (AKS). Introduction to Kubernetes Kubernetes is a portable, open-source, extensible platform for managing and orchestrating containers. It abstracts...

 
RSS FeedTwitter
This email has been sent to {email}. To be removed from this list, please click here. If you have any problems leaving the list, please contact the webmaster@sqlservercentral.com. This newsletter was sent to you because you signed up at SQLServerCentral.com. Note: This is not the SQLServerCentral.com daily newsletter list, and unsubscribing to this newsletter will not stop you receiving the SQL Server Central daily newsletters. If you want to be removed from that list, you can follow the instructions on the daily newsletter.
©2019 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved.
webmaster@sqlservercentral.com

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -