Problems displaying this newsletter? View online.
SQL Server Central
Featured Contents
Question of the Day
The Voice of the DBA
 

The Slow Growing Problems

Both as a DBA and developer, I've had plenty of immediate, this-is-broken, fix-it-quickly issues. Usually, I, or someone else, wrote some bad code and somehow got it deployed. I mean, I do test things, and I would (probably) never change code after I'd tested it to fix that one little annoying thing, like the formatting. I'd (almost) never do that, and I'm sure you wouldn't either.

Yet somehow bugs slip in at times.

Those are the acute issues, and they can be hard to fix at times, but often we can reproduce the problem in development and build a fix. Sometimes we even spot the issue quickly and just fix it in production. I'm sure you never do that, but I have had that experience myself a few times.

However, in the database world, we can have other, slow-growing problems. I saw this post from Jacob Sebastian about production issues that don't trigger alarms. There are just slowdowns that trickle across multiple systems and cause issues for clients. These aren't things you instrument for, as a slowdown isn't necessarily an issue. These things can resolve themselves, or they can develop into a major issue.

I think about this like vehicle traffic. A minor fender bender on a highway might not be a problem, but it can become one. Cars don't get out of traffic quickly enough, or traffic police don't arrive soon and move the cars. Traffic starts to back up, which slows down the response, including that important tow truck that might keep things moving. Suddenly, it's not a few people inconvenienced by an accident, but thousands.

There are likely signals in your environment that would let you know about a potential issue coming soon. These are subtle and not always indicative of a problem individually, but taken together, they indicate a production issue is going to occur. To me, this is a place AI can eagerly be taught to look for these signals and then happily keep looking for them every day.

The future of monitoring is the active examination of correlated data that precede an issue, hopefully giving humans, or other AIs, enough time to respond and prevent customers from experiencing a slowdown.

I'd certainly welcome this in both traffic motorways and database systems.

Steve Jones - SSC Editor

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

 
 Featured Contents
SQLServerCentral Article

Calculating the Harmonic Mean in Power BI

Dinesh Asanka from SQLServerCentral

Learn how you can add a harmonic mean calculation in Power BI.

External Article

Display Active Slicers in Power BI using Dynamic DAX

Additional Articles from MSSQLTips.com

Learn how to enhance visibility using slicers in Power BI for better report filtering and user experience.

Blog Post

From the SQL Server Central Blogs - Distance Metrics for Semantic Similarity Searches in SQL Server 2025

dbafromthecold@gmail.com from The DBA Who Came In From The Cold

Next up in my series talking about The Burrito Bot is diving into the different distance metrics used to calculate how a vector generated from a query compares to...

Blog Post

From the SQL Server Central Blogs - PowerShell Strikes Back: A New Script

gbargsley from GarryBargsley

This is it. The final chapter of PowerShell Strikes Back. Over the past four weeks, you’ve built a real foundation. You know that single quotes are literal and double...

Definitive Guide to DAX cover

The Definitive Guide to DAX: Business Intelligence for Microsoft Power BI, SQL Server Analysis Services, and Excel

Site Owners from SQLServerCentral

Now expanded and updated with modern best practices, this is the most complete guide to Microsoft’s DAX language for business intelligence, data modeling, and analytics. Expert Microsoft BI consultants Marco Russo and Alberto Ferrari help you master everything from table functions through advanced code and model optimization.

 

 Question of the Day

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

 

Displaying Money

I want to get the currency sign displayed with my amount stored in a money type. Does this work?
DECLARE @Amount MONEY;
SET @Amount = '?1500';

SELECT CAST( @Amount  AS VARCHAR(30)) AS Euros

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)

Running SQLCMD II

I run this command to start SQLCMD:

sqlcmd -S localhost -E -c "proceed"

At the prompt, I type this (the 1> and 2> are prompts):

1> select @@version
2> go

What happens?

Answer: I get another prompt

Explanation: Once I use the -c parameter, GO is no longer the batch terminator. Ref: SQLCMD utility - https://learn.microsoft.com/en-us/sql/tools/sqlcmd/sqlcmd-utility?view=sql-server-ver17&tabs=go%2Cwindows-support&pivots=cs1-bash

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.


Editorials
Over or Under Provisioned - Comments posted to this topic are about the item Over or Under Provisioned
Celebrating 30 years of PostgreSQL, A Thank you message - Comments posted to this topic are about the item Celebrating 30 years of PostgreSQL, A Thank you message
Everything I Needed to Know Used to be Found in One Book - Comments posted to this topic are about the item Everything I Needed to Know Used to be Found in One Book
Article Discussions by Author
Secure Cached Plans - Comments posted to this topic are about the item Secure Cached Plans
Complex Data Processing with dbt Python Models: The Fabric Modern Data Platform - Comments posted to this topic are about the item Complex Data Processing with dbt Python Models: The Fabric Modern Data Platform
Fuzzy String Matching in SQL Server 2025 - Comments posted to this topic are about the item Fuzzy String Matching in SQL Server 2025
Representing Money - Comments posted to this topic are about the item Representing Money
No More Deadlocks - Comments posted to this topic are about the item No More Deadlocks
Five SQL Server 2022 T-SQL Functions You Should Be Using Right Now - Comments posted to this topic are about the item Five SQL Server 2022 T-SQL Functions You Should Be Using Right Now
Unraveling the Mysteries of the Ephemeral Model: The Fabric Modern Data Platform - Comments posted to this topic are about the item Unraveling the Mysteries of the Ephemeral Model: The Fabric Modern Data Platform
QUOTENAME Behavior - Comments posted to this topic are about the item QUOTENAME Behavior
Stop Prompting Your AI Agent. Give It a Playbook. - Comments posted to this topic are about the item Stop Prompting Your AI Agent. Give It a Playbook.
Finish the quote - Comments posted to this topic are about the item Finish the quote
SQL Server 2022 - Administration
provisioning sql server via VMware Cloud Foundation - Hello, has anyone here ever provisioned and actually used an MS SQL Server with this tool: https://blogs.vmware.com/cloud-foundation/2026/02/12/mssql-adds-wsfc-vcf/ Are there already any experiences regarding advantages or disadvantages? I’m particularly interested in feedback from real users. What’s written on websites isn’t always easy to verify. Thank you in advance. Best regards, Andreas
SQL Server 2022 - Development
Running script without having permission to Function - Good Morning. I have a T-SQL Script which has been developed to execute a Function1 (which itself calls another Function2). Unfortunately I do not have permission to execute these functions. Hence I am trying to re-write the Script to enable the core logic of these functions to be incorporated in to it. Function1 takes TWO […]
 

 

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

 

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