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
 

Constant Azure Improvement

This week I noticed a number of changes in the Azure platform from their change feed. Actually, every week has a crazy number of changes across the entire platform, but this week a number of these were related to data and databases. That isn't always the case, but I saw some interesting items.

We have zone redundancy for the general purpose tier of Azure SQL database, as well as AAD security principals in the master database and a new DMV for backups. I think Azure SQL Database is a great product, though one that has felt quite limited at times. The use of DTUs at first, the high pause period for Serverless and limited options at lower tiers were always annoying.

The point at times seemed to be to get customers to place a big financial bet that a higher tier would meet their needs. I had hoped that some of that was just a blip in time as technology improved and more features would be deployed to all tiers. After all, the original Azure SQL database was a key-value store.

That seems to be coming true as I continue to see improvements to the offerings. Azure SQL Serverless now has a 1 hour pause period minimum instead of the original 6 hour time. Now Cosmos DB has also lowered their autoscale offering. Cosmos DB can be provisioned at a lower entry point for autoscale, at 100RU/s instead of 400RU/s, which might get more people to experiment with a PoC over a bit of time and use the database. I know I'm thinking of trying to mess with some data on the platform. I don't think I'd need 100 RU/s, much less 400, but I can better live the cost for a few months.

Hyperscale has been an interesting version of Azure SQL Database. I know quite a few customers that aren't sure if they need it, but they considered experimenting with it. The problem was that once you choose Hyperscale, you can't go back to another tier. That's quite a disincentive to experimentation, which seems to be part of the philosophy of choosing the cloud. There is now a preview of the migration of Hyperscale back to the general purpose tier. I'm guessing it took a little time for the Azure team to implement this, which is why there was a restriction, but it looks like that limit will go away.

The cloud is an amazing place, as I've written before. It enables things to happen at a pace, and with ease that I've never seen in a data center without a lot of prep work. This week it seems that the Azure cloud advanced quite a bit in the area that I care about, the data platform space.

There was also the general availability release of the Azure SQL Migration extension for ADS.

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

Flyway How-tos: a User’s Perspective

Flyway provides a database-independent way for a team to track, manage and apply database changes, while maintaining strict control of database versions. It updates a database by running a series of versioned migration scripts, in order, and keeps track of all the changes in a special "schema history" table. It sounds simple, but it is easy to derail this team discipline if you don't find the right answers to the following questions…

AI/Machine Learning/Cognitive Services

AI in Health Care: Trends and Challenges in 2022

From Dataversity

Around this time last year, the 2021 AI in Healthc...

Administration of SQL Server

The Curious Case of… eager writing and minimally-logged operations

I had an email discussion with someone last week who was wondering about log backups and minimally-logged operations. Specifically they were confused as to how the log backup works if no checkpoint has occurred since the operation completed. Surely the data pages are still dirty in memory?

Common SQL Server Consulting Advice: Setting Instant File Initialization

From Erik Darling Data

Did You Forget? This is another one of those sett...

CXCONSUMER and CXPACKET Waits.

From Steve Stedman

CXCONSUMER and CXPACKET are associated with parall...

Common SQL Server Consulting Advice: Setting Target Recovery Interval

From Erik Darling Data

Everywhere You Look Finding out about this was pr...

Common SQL Server Consulting Advice: Setting Min Server Memory And Max Server Memory

From Erik Darling Data

The Max For The Minimum I’ve written several hundred thousand times about how important memory is to SQL Server, and to most databases in general. But once you have it,...

Microsoft SQL Server Trace Flags and usage details

From SQLShack

In this article, we will explore Microsoft SQL Server trace flags with all aspects, and we will learn also how to use them. Introduction Trace flags are the advanced...

KEEP PLAN Demystified

I was always wondering what the KEEP PLAN hint does. The documentation isn’t very specific (emphasis mine):

How to fix Warning: The certificate you created is expired

When recovering a certificate created during a CREATE CERTIFICATE I get a "Warning: The certificate you created is expired" message , although the certificate is added to the server. Is this an issue? how can I fix?

Azure Databricks, Spark and Snowflake

Getting Started with Databricks Delta Sharing

From MSSQL Tips

Learn about how Delta Sharing works along with the benefits as well as creating, altering, describing, and sharing Delta Lakehouse data using Databricks. Also learn about consuming Delta Lakehouse...

Azure SQL

Database level roles in Azure SQL Database

From SQLShack

This article explores the database-level roles in the Azure SQL Database. Introduction to Azure SQL Database security management Database security is critical for an organization to protect unauthorized access...

Configure Auditing for Azure SQL Database series - Part2

From Azure SQL

  In the previous blog, we covered how to configure server level audit and database level audit for Azure SQL database with default settings. In this blog we will see how you can...

Azure SQL DB Backup History - View backups of your Azure SQL Database

From Azure SQL

Azure SQL Database takes regular automated backups for user databases and stores them in Azure Storage to enable point-in-time-restore to any desired point within configured retention. Automated backups include...

Azure Synapse (SQL Data Warehouse and Data Lake)

How to parameterise the Execute Pipeline activity in Azure Synapse Analytics.

Unfortunately, as of April 2022 there is not an option to parameterise or add dynamic content to an “Execute Pipeline” activity to invoke a pipeline run.

Real-time data ingestion in Synapse SQL pool at scale

This article reviews a common pattern of streaming data (i.e. real-time message ingestion) in Synapse dedicated pool. It opens a discussion on the simple standard way to implement this, as well as the challenges and drawbacks.

Incremental Ingestion of Fact Tables on Lakehouse using Azure Synapse Analytics Mapping Data Flow - Part 1

From MSSQL Tips

In this article we discuss the incremental process...

Azure Synapse Analyzer Report to monitor and improve Synapse Dedicated Pool performance

The Azure Synapse Analyzer Report was created to help you identify common issues that may be present in your database that can lead to performance issues. This report focuses on known best practices that Microsoft has identified with SQL Dedicated Pools. Following these best practices will help to get the best performance out of your solution.

Migrating Data to Azure Synapse with Confluent’s Fully Managed Connector to Unlock Real-Time Advanced Analytics

Azure Synapse users are looking to unlock access to on-premises, open source, and hybrid cloud systems to extend advanced analytics capabilities for their organizations. Building connectivity between all your distributed data, apps, and data warehouses is not a trivial task.

Career, Employment, and Certifications

T-SQL Tuesday 149 – Best T-SQL advice I would give younger self

From Kevin Chant

Reading Time: 2 minutes For this months T-SQL Tuesday contribution I want to share best T-SQL advice I would give younger self. This months T-SQL Tuesday is hosted...

T-SQL Tuesday #149–Advice about T-SQL to a Younger Me

From SQLServerCentral Blogs

It’s that time of the month again, when we have ...

T-SQL Advice For Young, Old, and even Eccentric

From SQLServerCentral Blogs

Be mindful of advice. Give an ear to those offering it. Just be mindful, there is no need to accept the advice, but it is wise to at least... The...

TSQL2sday #149: Advice you’d give your younger self

From No Column Name

Words: 459 Time to read: ~ 3 mins Welcome to TSQL Tuesday 149! The monthly blogging party where we are given a topic to write a post around. This...

T-SQL Tuesday #149: T-SQL Advice to My Younger Self

From Callihan Data

This month’s T-SQL Tuesday invitation comes from Camila Henrique who asks us to go back in time and give some T-SQL advice to our younger selves. It’s not hard...

5 Must-Have IT Management Skills That Go Beyond Technical Expertise

From IT Pro - Microsoft Windows Information, Solutions, Tools

The next career step for many IT engineers is IT manager. But they need more than technical prowess to make that jump. Here are five ancillary IT management skills...

Computing in the Cloud (Azure, Google, AWS)

Upgrade an Azure blob storage account type from BlobStorage or GPv1 to GPv2

From SQLShack

This article will explain the steps of upgrading t...

Azure Redis Commands

From SQLServerCentral Blogs

Now that we have created our Redis Cache lets conn...

Design an Azure Data Platform that InfoSec will love

Reference architectures are great! You’ve got all of the key components in there, nice and clear. Colourful lines showing how data moves through each stage, product, or service. Great for a slide deck or a proposal to get rid of that old creaking data warehouse and into a shiny new Data Lakehouse.

Simplify management of database privileges in Amazon Redshift using role-based access control

Amazon Redshift is a fully managed, petabyte-scale data warehouse service in the cloud. With Amazon Redshift, you can analyze all your data to derive holistic insights about your business and your customers. One of the challenges with security is that enterprises don’t want to have a concentration of superuser privileges amongst a handful of users.

Getting started with Azure storage explorer

This article will explain Azure storage explorer, its installations, and details of how to start working with this application to access Azure storage services. Azure storage provides a flexible solution to store various types of data at a massive scale in the cloud environment.

Fun With KQL – The Kusto Query Language

From Arcane Code

Introduction to KQL - the Kusto Query Language

Conferences, Classes, Events, and Webinars

Gain the competitive edge with a monitoring tool

Join Redgate's James King in conversation with Chris Yates, Senior Vice President, Managing Director of Data and Architecture at Republic Bank to discover why monitoring your database environment helps your organization gain a competitive edge.

Webinar – Intro to Azure Data Factory

From SQLServerCentral Blogs

I’m excited to announce I’m giving a webinar f...

Online Training Courses

From SQLServerCentral Blogs

Today Paul sent out the quarterly numbers to the team letting us know the hours our courses have been viewed during March. Being a data guy, I decided that... The...

Pre-Registration is Open – Free Weekly Performance Training

From Steve Stedman

Pre-Register For My NEW Exclusive Performance Training! I used my over 30 years of SQL Server experience to personally curate my favorite performance tuning tips and tricks into this...

SQL Saturday Haiti 2022 (#1024)

SQL Saturday Haiti is coming on Apr 30 in French. Join this online conference to learn a bit about data and databases for free.

Webinar | Kick start your DevOps Initiative

Join Microsoft Data Platform MVP, and AWS Community Builder Grant Fritchey to discover his top tips on how to kick start DevOps in your organization. From starting small to making work visible and acting on feedback.

SQL Saturday Jacksonville 2022

From Glenn Berry

Introduction I will be speaking at SQL Saturday Ja...

DMO/SMO/Powershell

Download Power BI Reports using PowerShell

In this blog post I will be sharing a PowerShell script that allows multiple Power BI reports to be downloaded at once.

How To Run PowerShell Scripts

From IT Pro - Microsoft Windows Information, Solutions, Tools

Want to run a PowerShell script? Here are the steps to follow.

Tips for PowerShell Gallery Success

From The lonely Administrator

New on the blog: Tips for #PowerShell Gallery Success

Hey PSGallery, What’s New?

I am a Cmdlet and Module Working Group member that helps triage Github issues for PowerShell. Like all of you, resources are limited, and Microsoft can only take on so much work. We often see requests for new or enhanced cmdlets. Often, we recognize the value, but it comes down to prioritizing and criticality. Even if Microsoft had the resources to extend PowerShell, meeting every valid request, PowerShell would grow to an unmanageable size. Thus, we need to turn to the PowerShell community.

Data Visualisation

my pre-publication checklist for an effective graph

From Storytelling with Data

This is a guest post written by SWD community member Lucia Stefanuto. She was a recent Member Spotlight nominee—you can read more about her and her work here—and in...

DevOps and Continuous Delivery (CI/CD)

DevOps 101: How do you get buy-in from people?

From Blog – Redgate Software

In the first part of my DevOps 101 series, we tackled the fundamentals of What, who why and how. In this follow-up, I’m going to focus on how to...

Site Reliability Engineering vs. DevOps

What’s the difference between Site Reliability Engineering and DevOps? In this article, Grant Fritchey defines each one and compares them.

DocumentDB/Key-Value/Graph/other NoSQL Databases

How to delete multiple documents that match a specific condition in Elasticsearch?

Deleting a single document is pretty straightforward in Elasticsearch. We can simply issue a DELETE on the document id and the document will be deleted from the index.

How to delete multiple documents that match a specific condition in Elasticsearch?

From Hadoop in the Real World

Deleting a single document is pretty straightforward in Elasticsearch. We can simply issue a DELETE on the document id and the document will be deleted from […] The post How...

ETL/SSIS/Azure Data Factory/Biml

How to export data to a csv file using an SSIS package

From MSSQL Tips

In this article learn how to build an SSIS package...

THE HIDDEN COSTS OF AZURE DATA FACTORY’S MANAGED VIRTUAL NETWORK

When Azure Data Factory (ADF) released the managed virtual network feature for Azure integration runtimes, it seemed like a no-brainer at first.

Containerising Data Pipeline Components

From https://chrisadkin.io

The last post in this series covered some simple Python code that leveraged twitter’s tweepy API in order to obtain tweets based on a query, sentiment score each tweet...

After Azure Subscription Disabled, Restart ADF Triggers

From AndyLeonard.blog()

A couple / three days after delivering the April 2022 edition of Master the Fundamentals of Azure Data Factory (the next delivery is 20 May 2022 – check out...

Hardware

The PowerWalker VI 1500 CSW UPS Review: Trying For True Sinewave on a Budget

From AnAndTech

While Uninterruptible Power Supplies are hardly a new thing in the PC space, the tried-and-true battery backups for desktop PCs have been undergoing a resurgence in popularity in recent...

MDX/DAX

RANK.EQ – DAX Guide

From Sqlbi

RANK.EQ: Returns the rank of a number in a column ...

Filter Context in DAX

From Sqlbi

Understanding the difference between a row context and a filter context is the first and most important concept to learn to use DAX correctly. This video introduces the filter...

[DAX] Anti-Patterns Episode Seven: Checking for BLANKS (with Daniil Maslyuk)

From Havens Consulting

A lot of videos and articles teach you how to write [DAX]. In this video Daniil Maslyuk and I will show you you how avoid bad [DAX] patterns! This...

Exploding Measures using Tabular Editor 3

From Excelerator BI

What?! Exploding Measures I hear you say. Exploding, expanding, use which ever word you like; what I mean is when you want to remove any refence to a measure...

POISSON.DIST – DAX Guide

From Sqlbi

POISSON.DIST: Returns the Poisson distribution. https://dax.guide/poisson-dist/

Microsoft News

Microsoft Lets Windows Server Admins Opt-In for Automatic .NET Updates

From Petri IT Knowledgebase

Microsoft has announced some important changes that should make it...

Oracle/PostgreSQL/MySQL/other RDBMS

Improve your database performance with Azure Database for MySQL – Flexible Server | Data Exposed

From Azure SQL

Flexible Server is a fully managed database servic...

Why your PL/SQL needs to be testable – and how to do it: Part 1

Part 1: What is testable code, why is it important, and first glimpses on practices that can help

Performance Tuning SQL Server

What Do the LCK_M_SCH_M and LCK_M_IS Wait Types Indicate?

From Brent Ozar Unlimited

You’re investigating your SQL Server’s top wait stats, and you’re noticing a lot of LCK% waits. Normally, that indicates blocking and deadlocks, but you’re just not getting complaints from...

Common SQL Server Consulting Advice: Setting MAXDOP And Cost Threshold For Parallelism

From Erik Darling Data

Dirty Work There are three classes of administrator when it comes to parallelism settings Never changed the defaults Changed the defaults to something wacky Changed the defaults to something safe The beginning of this...

Query Tuning and Easy Solutions

From SQLServerCentral Blogs

TLDR: There ain’t one. I was privileged last week to be able to present a couple of sessions at the SQL Server and Azure SQL Conference (great event, I... The...

PowerPivot/PowerQuery/PowerBI

How to get a DATE TABLE easily in Power BI

From Guy in a Cube

Do you use a central date table for your Power BI ...

TOP N Filter in Power BI with Zero DAX Code; Visual Level Filter

From RADACAD

I have previously written articles about how you can write a measure in DAX that helps with TOP N filtering. However, you may not need that calculation for many...

Power BI Desktop - The What, Why and How

From MSSQL Tips

Learn the who, what, where, when and why of Power BI to help you get a better understanding of how this reporting tool fits into your data environment.

Are you backing up your Power BI Dataset???

From Guy in a Cube

While Power BI is a SaaS service, backing up your dataset is still important. What if something was accidently deleted? How do you recover it? Patrick shows you how...

Merging ADX queries in Power BI

The merge operation (Table.NestedJoin) is the M language equivalent to creating relationships between tables in the model. The resulting ADX operation is join.

Power BI Design Tip; Design for Mobile Device

From RADACAD

Power BI is a mobile-friendly reporting solution. Every report that you generate can be viewed on the Mobile too. However, it doesn’t mean that the report is designed for mobile,...

Product Reviews and Articles

Going Beyond Dynamic Data Masking

From Blog – Redgate Software

Data masking is a technique of hiding sensitive data from certain users who should not be able to view or access the actual values. This post will look at...

Flyway and Simple Source Control

From Product learning – Redgate Software

How to integrate Flyway database development with Source control, so that you can track what changes were made and who made them as well as which objects changed between...

New Book: “Microsoft Power BI Performance Best Practices” By Bhavik Merchant

From Chris Webb's BI Blog

I’ve said it before but I’ll say it again: I don’t publish book reviews here on my blog but I’m always happy to promote new Power BI books when...

Product Upgrades and Releases

Updated First Responder Kit and Consultant Toolkit for April 2022

From Brent Ozar Unlimited

Wow, talk about stable! The last 3 months have only introduced a series of small bug fixes. I held this release back as long as I could, waiting to...

Generally available: Azure SQL Migration extension for Azure Data Studio

From Azure Updates

Assess, receive Azure recommendations, and then migrate your SQL Server databases using the Azure SQL Migration extension in Azure Data Studio.

General availability: Azure Cosmos DB autoscale RU/s entry point is 4x lower

From Azure Updates

Set autoscale on your database or container with a new scale range of 100 RU/s – 1000 RU/s.

General availability: Zone redundancy for Azure SQL Database general purpose tier

From Azure Updates

Make your general purpose provisioned and serverless Azure SQL databases and elastic pools more resilient with catastrophic datacenter outages, without any changes of the application logic by selecting zone...

Public preview: Azure Cosmos DB API for MongoDB unique index re-indexing

From Azure Updates

Unique indexes can now be created in existing collections with data in the API for MongoDB.

Azure SQL—Public preview updates for mid-April 2022

From Azure Updates

Public preview enhancements and updates released for Azure SQL.

Public preview: Azure SQL Database Hyperscale reverse migration to general purpose tier

From Azure Updates

Easily move your previously migrated databases on Azure SQL Database Hyperscale back to the general purpose tier.

Generally available: new result set grid in Azure Monitor log analytics

From Azure Updates

The new result set grid in log analytics boasts a brand-new experience, introduces numerous new features, and is much easier to use!

Generally available: Azure Databricks Delta Live Tables

From Azure Updates

Build reliable, maintainable, and testable data processing pipelines with Delta Live Tables.

Python

Massaging Data using Pandas

Massaging Data using Pandas by Adrian Tam on April 14, 2022 in Python for Machine Learning Tweet Tweet Share When we talk about managing data, it is quite inevitable to see data presented in tables. With column header, and sometimes with names for rows, it makes understanding data easier. In fact, it is quite often to see data of different types staying together. For example, we have quantity as numbers and name as strings in a table of ingredients for a recipe. In Python, we have the pandas library to help us handle tabular data.

15 Important Built-in Python Functions

From MSSQL Tips

In this article we look at various built-in functi...

R Language

Pulling Twitter Engagements Using the v2 API as Well as rtweet

This is a follow-up to a short post I wrote on R Access to Twitter’s v2 API. In this post I’ll walk through a few more examples of pulling data from twitter using a mix of Twitter’s v2 API as well as the {rtweet} package1.

Security News and Issues

More Than 60% of Organizations Suffered a Breach in the Past 12 Months

From Dark Reading: Dark Reading News Analysis

Firms focus too narrowly on external attackers whe...

John Oliver on Data Brokers

From Schneier on Security

John Oliver has an excellent segment on data brokers and surveillance capitalism.

80% of Software Codebases Contain at Least One Vulnerability

From Dark Reading: Dark Reading News Analysis

Open source code continues its steady takeover of codebases, and organizations have made slight gains in eliminating out-of-date and vulnerable components.

United States Leads Seizure of One of the World’s Largest Hacker Forums and Arrests Administrator

From Dark Reading: Dark Reading News Analysis

Court records unsealed Tuesday indicate that the United States recently obtained judicial authorization to seize three domains that long hosted the RaidForums website.

Creating a Security Culture Where People Can Admit Mistakes

From Dark Reading: Dark Reading News Analysis

In cybersecurity, user error is the symptom, not the disease. A healthy culture acknowledges and addresses the underlying causes of lapses.

T-SQL

Minimal blocking UPDATE statements

From SQLServerCentral Blogs

How to perform minimal blocking updates in a high ...

How to Define objects

From Sherpa of Data

In my last post, I discussed some of the DML commands in SQL Server. This week I want to discuss another category of commands – Data Definition Language, or...

JOIN Types Poster Applause

From Steve Stedman

When I first created this JOIN Types poster or cheat sheet back in 2013 I didn’t realize there was such a need for it. I originally made this as...

Building DBML syntax from SQL Server

From SQLBlog.org

I recently came across dbdiagram.io, a free, web-b...

Islands T-SQL Challenge

From SQLPerformance

Itzik Ben-Gan introduces another T-SQL challenge; this time, it involves finding islands without explicit sort operators. The post Islands T-SQL Challenge appeared first on SQLPerformance.com.

Tech News

Inside a Data Center Outage: Lessons About Resilience

From Dark Reading: Dark Reading News Analysis

A power failure at a major London data center show...

Google to Invest $9.5 Billion in U.S. Data Centers, Offices

From IT Pro - Microsoft Windows Information, Solutions, Tools

The move comes as data volumes explode, driving de...

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

Choco upgrade, y’all

From SQLServerCentral Blogs

Chocolatey is a package manager for Windows, like the built-in package managers on Linux, and third-party ones on macOS like Homebrew and MacPorts. The idea is this: when you’re... The...

Virtualization and Containers/Kubernetes

Setting the Container Name–#SQLNewBlogger

From SQLServerCentral Blogs

I had started a Stairway series on containers (which I need to get back to), and I got a question. How do we set the name of a container?... The...

 
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

 

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