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

Planning for the Right Emergency Response

I'm currently testing a pair of POC radios

 

No, go away.

So, where was I, oh yeah, POC radios. What are they, I hear you asking.

 

Hush.

Push-to-talk Over Cellular. POC or PoC. In short, you get a SIM card with data. That goes in your radio. The radio transmits digitally to local cel towers. Ta-da. You have a "radio" that can reach around the world and back. These things are sold as "rely on POC radios for emergencies" and "stay in touch with the family during an emergency." Stuff like that.

Let's talk emergency for a moment. Last year, and this year (sadly, for both), there were two big weather events in the US: the hurricane and subsequent floods around the Carolinas, the floods in Texas. There have been a number of other, much smaller, more localized, events as well, just here in the US (lots overseas too, put in your own examples, power outage in Spain is just one). Want to know one of the things that failed at both these events (and Spain)? Cel service. But, why do so many people suddenly want radios? So they can communicate with loved ones in an emergency... when the cel service goes out... and you're using a cel serviced based radio as your emergency backup communication. Anyone else see the problem here?

Same with databases.

 

Hush I said.

If nothing has ever happened to the databases under your care, great! I'm jealous. Me, I've seen a ton of issues. I've researched even more, both to help better prepare myself, and to help teach preparedness. However, a whole lot of us have experienced data outages. From simple things like someone deleted a row they didn't mean to, to dropped databases, to actual outages caused by natural catastrophes (or unnatural ones, I still remember the data center that was taken out when a truck drove through the wall by accident).

What's more, I've seen, and read about, people's planning for the emergency go horribly awry. Myself, we had a database die, corruption. Went to restore it only to find that backups had been failing, without an error, for about four months. We didn't have monitoring in place to look at backup age. Oops. There's the case where people said, "Oh, we don't need a backup, we have disk redundancy," only to find that database corruption doesn't care about your redundant storage. There's the one where they only took log backups... for years... and never planned for, let alone tested, a restore. I can keep going (and going, and going, and...).

Planning for an emergency is good. However, your planning must be realistic. It must be tested. And it has to be resilient enough to actually survive the emergency that you're currently experiencing. Don't make the mistake of thinking that, hey, you don't need to mess with that weird radio technology when you can get a POC radio and talk around the world, no licensing or knowledge necessary. Oops. Maybe a bit of knowledge is useful. Same thing goes for your databases.

 

I said hush. I finished with databases.

Grant Fritchey

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

 
 Featured Contents
SQLServerCentral Article

How a Legacy Logic Choked SQL Server in a 30-Year-Old Factory

Chandan Shukla from SQLServerCentral

When a SQL Server Express-based factory app started crawling, the culprit wasn’t hardware or network — it was a decades-old WHILE loop migrated from C/C++ to SQL. This real-world story breaks down how procedural habits, memory grants, and lack of window functions nearly derailed a production floor.

SQLServerCentral Article

How to optimize queries using AI (SQL Expert)

Daniel Calbimonte from SQLServerCentral

Introduction ChatGPT can help you with your queries. However, some customized GPTs inside ChatGPT can be useful for your job. This time, we will teach the SQL Expert (QueryGPT). It is a specialized GPT created by a third-party developer within ChatGPT. Everyone can create a custom GPT inside ChatGPT and teach it more specialized things. […]

Learn Microsoft Fabric: A practical guide to performing data analytics in the era of artificial intelligence

Site Owners from SQLServerCentral

A step-by-step guide to harness the power of Microsoft Fabric in developing data analytics solutions for various use cases

 

 

 

 

 Yesterday's Question of the Day (by dbakevlar)

TCP Provider Errors in SQL Server

You're troubleshooting a connectivity issue between a client application and a remote SQL Server instance. The client receives a "provider: TCP Provider, error: 0 - No such host is known" message. You verify that SQL Server is running and reachable on the server. The SQL Server instance is configured with a named instance and uses dynamic ports. Which of the following steps is most likely to resolve the issue?

Answer: Configure the SQL Server Browser service to run and ensure UDP port 1434 is open.

Explanation:

When using named instances with dynamic ports, the SQL Server Browser service is essential because it tells clients which TCP port the named instance is listening on. The Browser service listens on UDP 1434, so if it’s not running or blocked, clients won’t know how to connect.

  • A only applies if using the default instance on static port 1433, which isn’t the case here.

  • C could work but isn’t the most likely fix.  Changing to a static port adds unnecessary changes, so I didn't mark this as the correct answer for our QotD.

  • D is often enabled by default and wouldn’t cause a "host not known" error.

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 2016 - Administration
How to fix transactional replication latency - Good Morning All, We are facing replication latency issue. I checked for blocking, long running transactions or bulk operations running. I tried re-running the distribution agent job also. But still the latency exists. Could you please tell me what all I need to do to fix the latency Thanks, Chaitanya
Editorials
Transactional DDL in SQL Server: In Oracle, It Does Not Compute - Comments posted to this topic are about the item Transactional DDL in SQL Server: In Oracle, It Does Not Compute
How Microsoft Fabric Is Reshaping Data Value - Comments posted to this topic are about the item How Microsoft Fabric Is Reshaping Data Value
Article Discussions by Author
How a Legacy Logic Choked SQL Server in a 30-Year-Old Factory - Comments posted to this topic are about the item How a Legacy Logic Choked SQL Server in a 30-Year-Old Factory, which is is not currently available on the site.
Database Architecture Considerations for Implementing Content Moderation Services - Comments posted to this topic are about the item Database Architecture Considerations for Implementing Content Moderation Services
Database Architecture Considerations for Implementing Content Moderation Services - Comments posted to this topic are about the item Database Architecture Considerations for Implementing Content Moderation Services
TCP Provider Errors in SQL Server - Comments posted to this topic are about the item TCP Provider Errors in SQL Server
Migrate from Linux to Windows with Availability Groups - Comments posted to this topic are about the item Migrate from Linux to Windows with Availability Groups
We Gave Memory-Optimized Tables a Hash Lookup — Then Tried Pattern Matching Instead - Comments posted to this topic are about the item We Gave Memory-Optimized Tables a Hash Lookup — Then Tried Pattern Matching Instead
Always On AG Latency for Read-Only Workload After Failover? - Comments posted to this topic are about the item Always On AG Latency for Read-Only Workload After Failover?
Unlocking Interoperability: A Guide to Foreign Data Wrappers in PostgreSQL and Aurora PostgreSQL AWS RDS - Comments posted to this topic are about the item Unlocking Interoperability: A Guide to Foreign Data Wrappers in PostgreSQL and Aurora PostgreSQL AWS RDS
An Introduction To Database Diagrams - Comments posted to this topic are about the item An Introduction To Database Diagrams
SQL Server 2022 - Administration
Disaster Recovery for Azure SQL - I am creating a Disaster Recovery plan for Below Data pipeline. I need to plan for Azure SQL Data recovery and Partial Data recovery. May someone please help me with list what all I must consider while doing DR Plan for Azure SQL Data recovery and Partial Data recovery. Thanks a lot.    
SQL Server 2022 - Development
Archiving data older than 5 years - Hi We have databases with data stored for over 20 years, this is required by law. We though want to move data to a Archive database where is can be accessed at any time, at times directly using a view linking the 2 databases and at other times manually having to select the data using […]
Database growth - Hi all I am currently using the following script to store database growth at clients. There are 2 issues though. One is that it is not taking into account free space on the database, so if there is as an example 100GB free space we do not see any growth until the 100GB is used […]
 

 

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

 

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