Problems displaying this newsletter? View online.
SQL Server Central
Featured Contents
Question of the Day
Ad for State of Database Landscape survey
The Voice of the DBA
 

Do You Really Need HA?

I ran across a thought-provoking post from Chrissy LeMaire asking if we should reconsider SQL Server HA. The post actually asks if you've considered not using it. The default from Chrissy, for most installations, is to use standalone SQL Servers. This isn't to say she's against HA solutions (FCIs or AGs), but that they often cause problems and might not be needed.

It's an interesting position to consider. For a long time, I avoided SQL Server clusters as they were hard to setup with a lot of complexity, hardware requirements, etc., and didn't really provide enough benefits over using log shipping with a second server for me.  These days I have clients with mostly AGs, and they seem to run fine. That being said, Chrissy notes that after she left a job, a network outages caused a bunch of downtime. I could see there being downtime, as the old database mirroring (and the it-will-never-die replication) needed a working network. If you have network issues, you better know how to manage your HA technology's issues.

I also Brent reposted this on LinkedIn, with some fun comments. There was one great one, which said, "Can confirm. FCI is literally my friend's largest downtime cause." That one got me to stop and think a bit. If I were having stability issues with any of these technologies, I'd certainly look to replace them. I value my time off and my sleep.

I know people who default to using AGs with most servers, mostly to avoid someone calling when a system is down, but to be fair, I also think these are some of the more talented data people I know, so perhaps they can handle minor issues and prevent them from turning into major ones. However, Chrissy brings up a great point. SQL Server HA (or Oracle, PostgreSQL, Linux, etc.) isn't simple. If you have staff turning over, are they qualified to keep things running?

Or do things just happen to run without these people until something breaks?

There is also the RTO issue. If you have a high RTO, like a day or two, is HA worth any amount of effort? Isn't it better to rebuild things and restore? Especially in the cloud, where I might be able to redeploy a new VM/db/etc. and put data in it? Note, I'd want to be sure that I can get to my backups. The SLA on getting older files might be slow, and if it is, I'd want separate backups.

I do think that small to medium companies ought to rely more on backups and tools, like dbatools, to provide the ability to recreate a system. Adding in the complexity of HA certainly shouldn't be the default, especially if you aren't sure the staff will be around for the long term. The caveat with that might be if you use a company like ProcureSQL, StraightPath Solutions, Dallas DBAs or someone else, maybe you don't worry about staff turnover.

Steve Jones - SSC Editor

Join the debate, and respond to today's editorial on the forums

Ad for State of Database Landscape survey
 
 Featured Contents
SQLServerCentral Article

MySQL’s BLACKHOLE Storage Engine: The Odd Feature I Wish SQL Server Shipped With

Chandan Shukla from SQLServerCentral

Learn about a MySQL feature that could be useful in some scenarios for SQL Server.

External Article

Unlocking the Power of FULL OUTER JOIN in SQL: Performance, Use Cases & Examples

Additional Articles from SimpleTalk

Discover how the FULL OUTER JOIN in SQL can simplify queries, improve performance, and solve real-world data problems

From the SQL Server Central Blogs - Disable the sa login in SQL Server (and sleep better)

peter.skoglund from SQL Development Wizard

Disable the sa login in SQL Server (and sleep better)If you run SQL Server in 2025 and your sa login is still usable, you’re giving attackers a giant, blinking...

Blog Post

From the SQL Server Central Blogs - Microsoft Purview: The Key Benefits of Data Governance

James Serra from James Serra's Blog

I still see a lot of confusion about the functionality of Microsoft Purview ever since multiple products were combined into it, so I wanted to write this blog to...

T-SQL Fundamentals

Site Owners from SQLServerCentral

For anyone else who needs to write queries or develop T-SQL code for SQL Server, Azure SQL Database, or Azure SQL Managed Instance

 

 Question of the Day

Today's question (by Steve Jones - SSC Editor):

 

The New Database CheckDB

I run this code:
create database experiment
go
use Experiment
go
select DATABASEPROPERTYEX('Experiment', 'LastGoodCheckDbTime')
What is returned?

Think you know the answer? Click here, and find out if you are right.

 

 

 Yesterday's Question of the Day (by Steve Jones - SSC Editor)

Getting the Indexed Columns

I run this code on SQL Server 2022 to get a list of all the indexes and their key columns. What is returned?

SELECT   
    INDEX_COL (N'AdventureWorks2017.Sales.SalesOrderDetail')

Answer: An error

Explanation: This returns an error. The INDEX_COL() function requires three arguments: the table or view, the index_id and the key_id. Ref: INDEX_COL() - https://learn.microsoft.com/en-us/sql/t-sql/functions/index-col-transact-sql?view=sql-server-ver17

Discuss this question and answer on the forums

 

 

 

Database Pros Who Need Your Help

Here's a few of the new posts today on the forums. To see more, visit the forums.


SQL Server 2019 - Administration
SSIS packages failing with a status "ended unexpectedly" (SSL/TLS timeout ?) - We have an issue where SSIS packages are failing with a status of "ended unexpectedly" within 30 - 60 seconds after scheduled start. This issue is transient and not specific to any SSIS package. After rebooting the server, packages will run normally for a couple of weeks but then start to fail a few at […]
SQL Server 2019 - Development
count the number of NULLs in a row - Hi everyone I have a SP that finds the average based on 3 tables.  I need to know how many NULLs are in a row, not column.  The only way I know how to do this is to first find all combinations of outcome and then second use a CASE statement.  This is fine for […]
SQL Azure - Administration
SQL MI Next-gen general purpose tier - Has anyone used Azure SQL MI on the next-gen general purpose tier, Microsoft documentation says it offers better IOPS compared to the regular tier. If the IOPS limit is stated as 10k, is this limit applied per database or is it the upper limit for the entire SQL Managed Instance? Does the IOPS we get […]
General
Can Flyway work with GitHub Self-Hosted Runners? - I work on the CI/CD team. We're considering different applications for helping us with database migrations and, if necessary, rollbacks. Red-Gate's Flyway is one of the solutions we are considering. I've got experience writing SQL Scripts to create tables, views, stored procedures, etc., but I am not a DBA. I've started watching some of Red-Gate's […]
SSDT
ETL Framework In Production - Hello, I am leveraging Python within SQL Server Integration Services (SSIS) packages, primarily through the Execute Process Task.   I am extracting Data from E2 SQL to Azure SQL Server. The connection has already been established. I am building complete ETL using Function Extraction of Data (Full load/Incremental Load) Transformation Logging Audit Table Loading The […]
Editorials
The Selfish Case for Learning AI - Comments posted to this topic are about the item The Selfish Case for Learning AI
SQLServerCentral.com Website Issues
Are topic notifications working? - This is a topic to test whether reply notifications are working or not.
Article Discussions by Author
The Last Good DBCC Run - Comments posted to this topic are about the item The Last Good DBCC Run
SQL Server Ghosts - Comments posted to this topic are about the item SQL Server Ghosts
Regular Expressions in SQL Server 2025 - Comments posted to this topic are about the item Regular Expressions in SQL Server 2025
Slip Streaming Installs - Comments posted to this topic are about the item Slip Streaming Installs
SQL Server 2022 - Development
Varchar(max) to lines - I have an issue with a varchar(max) field with up to 7000 characters needing to be put in to lines of 85 characters long and keep formatting with char(13) in it and not to break words. Basically it is to take a memo field from a software to import into Business Central Extended Text lines. […]
Deleting data in large table - I have a large table with 17M+ rows for our package record audits.  I've decided to clear out anything older than 3 months which would clear all but 1.2M records.  The table doesn't currently have any indexes.  What's the recommended way to clear the records from the table?  Should i consider adding an index to […]
SQL Newbie HELP: The query references an object that is not supported in distr.. - Hi everyone! I'm new to SQL and am trying to query a view (dbo.) made from a D365 table. My goal is to do a recursive joins on 4 different views but to start with I tried something basic and received the following error: The query references an object that is not supported in distributed processing […]
Connecting ERP system E2 and Extract Data , perform Transformation - Hello, May someone please help me how can I pull data from ERP named as E2. E2 is using SQL Server. Looking for detailed steps of connecting to E2 System. I am planning to use python scripting. Do I need to Install any driver. what all configuration details we have to paas in the scripting. […]
 

 

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.
©2019 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved.
webmaster@sqlservercentral.com

 

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