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

Always Check on the Basics

I've been working with SQL Server for a long time, and one of the things I've learned is to not assume others view the platform and its administration needs in the same way that I do. I have usually started examining new instances with the same skepticism I'd use if my Mom told me she'd installed the software. I'm sure she could do it, and likely use some wizard and Google to get some backup scheme implemented, but I don't know that it would be the schema I'd want to use.

This week I noticed a piece from Lori Brown, of SQLRx, which talked about a few basic settings that I'd always want running on my systems. One of these is the CHECKSUM setting. It's a checkbox in the SSMS dialog, and an option in T-SQL. Most third party tools, like SQL Backup Pro, include similar settings. To me, this ought not to be a setting, but rather a default that always runs. NO_CHECKSUM is the default, which is silly in 2019.

In any case, I've seen more than a few presentations on the backup process in SQL Server. They always seem to be beginner sessions, always have more people than I expect, and remind me that this process, which is solid and stable, still has a lot that people don't think about. There are certainly nuances to performing backups, and restores, in a manner that doesn't generate any RGEs.

I don't usually use the VERIFYONLY option, as to me the file isn't really tested until it's restore. This is one reason I recommend having a process to regularly restore your backup files on a test system. Not for use, though you can certainly use them, but more just to ensure your file system, your storage network, all the hardware involved hasn't caused any issues with the backup file. If you build a server for this process, make sure you add enough RAM, as someone recently learned.

My feeling is that backup and restore is the most critical aspect of managing your SQL Server instances. This is the first thing I get working, and the number one ongoing concern I have to ensuring data is available. Second would be security, and everything else follows from there, but having a solid backup and restore process is the foundation of all other system administration.

There are lots of ways you can learn more. We have articles, a free ebook, and more at SQLServerCentral. The best way, however, is what Lori has done. Do some testing. Run through some scenarios, check how long things take in your environment, and ensure that your backups are capable of meeting the RTO and RPO needs of your organization.

Steve Jones - SSC Editor

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

 
Redgate Data Masker
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

Learn the fundamentals of Redgate Products

Redgate invite you to look around their newly refurbished University. If you are new to their tools there are simple, easy to follow courses to get you up and running, and if you are a long-time customer you can check out the recently added courses which take you through some more technical tips, tricks and troubleshooting.

Are you making the most of your Redgate Tools?

Whether you are a long time Redgate customer or have recently made a purchase you can find helpful and easy to follow video courses on Redgate University. With the brand-new look and the recently added courses you will soon be getting the most from your Redgate tools.

Learn how to get a lot more out of your Redgate tools.

You probably have a favored Redgate tool but if you’ve been using it for a while, you may not be making the most of the features. Learn how to fully utilize your products starting with our Redgate University ‘Getting Started’ courses, then move on to the newly added ‘Advance your skills’ section.

New Redgate University Courses to Advance your Skills 

You may have seen our getting started courses which show you the fundamentals of your Redgate tools. If you are already up to speed and using the tools then you may want to revisit the site as we have added some exciting new courses for SQL Change Automation and SQL Test. These courses aim to give you tips, tricks and ideas on how to utilize your tools to their full potential.

Self-service and Delegation with SQL Clone 4 Teams

SQL Clone 4 introduces a new access control feature called Teams, allowing granular control over the SQL Server instances, images and clones to which each group of users has access. James Murtagh explains how Teams makes it easier to manage the safe distribution of database copies throughout the organization, to the various teams that need them for development, testing, training or analysis.

Introducing a fresh new look for Redgate University

Last September Redgate University opened its doors online, and since then, with their selection of getting started courses they have been helping customers get up and running with their tools. Now, along with a brand-new look, new courses have been added to help you advance your skills past the basic usage of the tools. Come and check it out and leave your suggestions for future courses.

Monitoring TempDB Contention using Extended Events and SQL Monitor

Phil Factor shows you how to capture latch waits, the most telling wait type for detecting stress in tempdb, using an Extended Events session, and then track it over time, using a SQL Monitor custom metric.

Neglecting to Use, or Misusing, the RETURN Keyword (BP016)

Phil Factor demonstrates the correct use of the RETURN keyword in stored procedures or batches, to pass back a non-zero RETURN code to the calling process, informing it of the error. He also explains some of its misuses.

Self-service and Delegation with SQL Clone 4 Teams

SQL Clone 4 introduces a new access control feature called Teams, allowing granular control over the SQL Server instances, images and clones to which each group of users has access. Redgate's James Murtagh explains how Teams makes it easier to manage the safe distribution of database copies throughout the organization, to the various teams that need them for development, testing, training or analysis.

AI/Machine Learning/Cognitive Services

Becoming a machine learning practitioner

The O’Reilly Data Show Podcast: Kesha Williams o...

How organizations are sharpening their skills to better understand and use AI

To successfully implement AI technologies, compani...

Administration

Backup and Restore Databases with CHECKSUM and VERIFYONLY

I found out that I have been missing something fro...

Deleting a Column: Meta-data-only operation

Microsoft’s SQL Server development team is const...

SQL SERVER – Using Query Hint ENABLE_PARALLEL_PLAN_PREFERENCE

There are so many options you should experiment be...

The Ironic DBA—Rock Around the Clock

Welcome back to The Ironic DBA Files, a series whe...

Are My SQL Server Indexes Being Used?

Indexes can be incredibly beneficial to your datab...

Finding SQL Configuration Manager in Windows 10–#SQLNewBlogger

Another post for me that is simple and hopefully s...

Recompress Heaps

Heaps, or tables without a clustered index, suffer...

SQL SERVER – Stop Using DBCC DBREINDEX and Use ALTER INDEX

It has been over a decade since the comment DBCC D...

Analysis Services / BI on the MS Stack

Snowflake for SQL Server users – Part 2 – Cloud First Design

In recent years, I've done a lot of work in softwa...

Setting Azure Analysis Services Server Properties Not Visible In SQL Server Management Studio

Users of on-premises Analysis Services will know t...

Azure SQL Database

Moving to Azure SQL Database Serverless

In a previous post, I discussed the public preview...

Career Growth and Certifications

Why is as important as How

I recently had someone tell me, and I’m paraphra...

DBA Training Plan 14: POP QUIZ!

AH-HA! You didn’t know there would be one of the...

DBA Training Plan 15: What’s Your SQL Server Waiting On?

You’re here, dear reader, because you weren’t ...

Goodbye Microsoft Professional Program and a Question

I was sad to read the announcement of the retireme...

DBA Training Plan 13: Why Do Cached Plans Go Bad?

It’s a little bit of a trick question: what coul...

Certifications are a Bonus, Not A Path to Employment

I’ve never been terribly shy about my beliefs ab...

Computing in the Cloud (Azure, Google, AWS)

Getting Started with Azure Ultra Disks

Ultra Disk is a new managed disk for workloads dem...

Using AzCopy with Batch Files and Task Scheduler

As regular readers of this blog will know, I’m a...

New – Port Forwarding Using AWS System Manager Sessions Manager

I increasingly see customers adopting the immutabl...

Conferences, Classes, Events, and Webinars

What You Need to Know About the 2019 DORA Accelerate State of DevOps Report

Wednesday September 18 16.00-17.00 BST/ 10.00-11.00 Central - Join Jez Humble and Steve Jones to learn the latest insights from the 2019 DORA Accelerate State of DevOps Report.

Using Redgate, AKS and Azure to bring DevOps to your Database

Tuesday 17 September 11.30-12.30 BST - Join Microsoft MVP's Hamish Watson and Rob Sewell to learn practical solutions on how to bring DevOps to your database.

What You Need to Know About the 2019 DORA Accelerate State of DevOps Report

Wednesday September 18 16.00-17.00 BST/ 10.00-11.00 Central - Join Jez Humble and Steve Jones to learn the latest insights from the 2019 DORA Accelerate State of DevOps Report.

Using Redgate, AKS and Azure to bring DevOps to your Database

Tuesday 17 September 11.30-12.30 BST - Join Microsoft MVP's Hamish Watson and Rob Sewell to learn practical solutions on how to bring DevOps to your database.

SQL in the City Streamed: 20 Years of Redgate

Wednesday September 4 14.00-19.00 BST/ 08.00-13.00 Central - Register for our free virtual learning event, to enjoy educational and entertaining sessions from Microsoft MVPs and celebrate 20 years of Redgate.

SQL in the City Streamed next week!

I don’t know when I first heard about Redgate, b...

Upcoming Events: 24 Hours of PASS: Summit Preview

Key Details What: 24 Hours of PASS: Summit Previe...

SQLskills at 24 Hours of PASS: Summit Preview 2019

On September 10, 2019, SQLskills will have three s...

Data Privacy, Compliance, and GDPR

Ring has more than 400 police “partnerships,” company finally says

The arrangements are particularly abundant in Texa...

Google defends tracking cookies—some experts aren’t buying it

Google: Banning tracking cookies "jeopardizes the ...

Data Science

Data Science in 90 Seconds: Artificial Neural Networks

 

Data and Analytics Innovation using SAS & Spark - part 1

This article is not a tutorial on Hadoop, Spark, o...

Find Insights with Ranked Cross-Correlations

 

DevOps and Continuous Delivery (CI/CD)

Here’s How to Create a Successful DataOps Framework for Your Business

Click to learn more about author Mark Marinelli. M...

Local Database CI Builds with Jenkins in a Container

In two previous posts, I’ve showed how to config...

DocumentDB/Key-Value/Graph/other NoSQL Databases

Graph Data – Basic Structure

In the last post I covered briefly the history aro...

ETL/SSIS/Azure Data Factory/Biml

Agile Data Warehouse Design with Biml Videos

I had such a great time at SQL Saturday Indianapol...

General

From and To Date Slicers in Power BI: Filtering Based on Two Fields

Power BI date slicers can be used to filter based ...

Hardware

ASUS ZenBook Pro Duo UX58: A Dual Screen Laptop with 100% DCI-P3 OLED

Modern notebooks can offer performance and feature...

Lenovo’s 2019 ThinkPad X1 Yoga: An Ultralight Convertible with Comet Lake

Lenovo on Tuesday formally unveiled its 4th Genera...

When NVMe is Simply Not Enough: The Future of Storage for Edge Workloads

Click to learn more about author Scott Shadley. SS...

Dell’s New Latitude 5300 2-in-1 and Latitude 5400: Chromebooks for Enterprise

Most laptops running Chrome OS are aimed at stude...

Microsoft News

Microsoft is offering some enterprise users a one-year Windows 7 extended security update promo

Microsoft is running a limited-time promotion for ...

Performance Tuning SQL Server

What’s The Point of 1 = (SELECT 1)?

In Shorts That silly looking subquery avoids two t...

AMD EPYC 7002 Series Processors and SQL Server

Glenn Berry talks about AMD's current streak of pr...

How I Troubleshoot SQL Server Execution Plans

Watch this week’s video on YouTube. Today I’m ...

Can SQL Server 2019 Rescue Our Sneaky Function?

Snakey TOP

New Feature: OPTIMIZER_FOR_SEQUENTIAL_KEY

Once upon a time a SQL Server version that hadn’...

How to Update SQL Server Statistics for Big Tables

In my previous article, I have briefly covered dat...

SQL SERVER – Identify Read Heavy Workload or Write Heavy Workload Type by Counters

Let us understand how we can quickly identify the ...

Performance Tuning Steps Query by looking an execution plan and effectiveness of the index Part 2

How to read execution plan to improve poorly... [[...

Query Performance Tuning with Filtered Statistics

Introduction I recently got a call from our DBA te...

A Sneaky Place For A Function

Sneaky TOP

PowerPivot/PowerQuery/PowerBI

What the heck are BUILD PERMISSIONS in Power B?!?

 

Scheduled Snapshot of the Power BI Data and Report

How many times you have been thinking to see is th...

Power BI Premium Query Profiling with DAX Studio and SQL Profiler

Patrick looks at how you can use DAX Studio, or SQ...

Power BI – Fixing Dates from Sharepoint Lists (converting UTC Dates to Local Dates)

Originally posted on: http://coolcat.de/archive/20...

Data modeling best practices – Part 1 – in Power BI and Analysis Services

Patrick looks at a few data modeling best practice...

Some of Key Influencers Visual Features

Key Influencers visual is now generally available ...

Power BI Project Good and Best Practices

The purpose of this article is to outline a set of...

Killer Power BI Custom Branding and more… (August 26, 2019)

Thanks for watching this week's Power BI news roun...

PowerShell

migrating super old app databases

Recently, a colleague asked me to assist with the ...

Product Reviews and Articles

DevOps Self-Service for Databases with SQL Clone

Phil Factor describes the freedom of being able to...

You just Build It don’t you? 12 Common Database Build Blockers

Database deployments, like the sheep of exasperate...

Git Command Line Tutorial with SQL Change Automation for SSMS (video)

I’m really excited for Redgate’s new SQL Chang...

Product Upgrades and Releases

Released: General Availability of Microsoft.Data.SqlClient 1.0

We have released for general availability Microsoft.Data.SqlClient 1.0. This .NET Data Provider for SQL Server provides general connectivity to the database and supports all the latest SQL Server features for applications targeting .NET Framework and .NET Core.

Updated First Responder Kit and Consultant Toolkit for August 2019

sp_DatabaseRestore can now restore to Azure blobs ...

DAX Studio 2.8.0 Released

Originally posted on: http://coolcat.de/archive/20...

sp_RestoreScript 1.6 Release – @Credential Added For Backups In Azure BLOB Storage

Releases seem to be coming out thick and fast at t...

Azure Active Directory Basic Edition is Being Retired

AAD Basic edition is ‘going away’ because it i...

R Language

How to create multiple variables with a single line of code in R

Are you interested in guest posting? Publish at Da...

SQL Server Security and Auditing

SQL SERVER – Security Risk of Public Role – Very Little

During the Comprehensive Database Performance Heal...

Sneaky SQL Injection

One More Thing I always try to impart on people th...

Security News and Issues

Rash of ransomware continues with 13 new victims—most of them schools

Elsewhere, dentists get in on the fun and Baltimor...

How insurance companies are fueling a rise in ransomware attacks

Insurers prefer to pay the ransom. Why? ProPublica...

The Myth of Consumer-Grade Security

The Department of Justice wants access to encrypte...

Three Ways to Extend Windows 7 Security Updates

If you find that you need updates for Windows 7 af...

Software Development

Opinion: The best apps tolerate user mistakes

Over the years, I've been noticing which apps user...

T-SQL

SDU Tools: Calculate number of days in a month using T-SQL

When I'm working with dates, I often need to calcu...

Splitting Functions from Scripts in bulk

Time to read: 2.5 minutes Words: 504 Previously on...

Performance of CAST vs CONVERT

This post is a follow-up to my prior post inspecti...

Why does ALTER let me DROP?

I was recently chatting with a coworker, discussin...

How to Use a CASE Statement in the WHERE Clause? – Interview Question of the Week #239

Question: How to Use a CASE statement in the WHERE...

T-SQL 101: #32 Repeating T-SQL batches with GO n

In my last T-SQL 101 post, I mentioned that GO was...

Setting Trigger Order

If you can help it you probably shouldn’t be usi...

Testing Software

Integration Testing with xUnit

A few years back, I had given up on xUnit in favor...

The Lighter Side

Cameras that replace side mirrors could be allowed on US vehicles

Current federal regulations do not allow for activ...

 
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

 

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