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

The Managed Cloud Database Options

There are many, many choices for cloud database services these days. I would hope everyone is aware of the various IaaS options in public clouds with EC2, Azure VMs, GCP Compute Engine, and others. These are often the easiest way to move your workload, but you've really just moved a VM from one place to another (likely more expensive) place.

For managed databases, there are lots of choices, but you might not be aware of your options. I ran across an article that discusses the various flavors of managed databases in the big three public clouds for SQL Server. In the piece, there is a section that talks about when a managed database makes sense. I like that it discloses the development on a managed service is expensive.

The problem I have is that I know lots of companies that struggle when they don't have a development environment that matches product. Invariably developers will use something in their local SQL Server/MySQL/Oracle/PostgreSQL database that doesn't work in a managed service and causes no shortage of pain. Containers can help, but they're not always available.

I won't delve into details, but the article lightly looks at RDS (Amazon), Azure SQL DB and Managed Instance (Microsoft), and Cloud SQL (Google). There are pros and cons for all of them, but to me, the Google option is interesting. It gives you an instance (with SSIS/SSRS) and a proxy, but it does have limit you to instance restores. Same for RDS, which is a limitation I'd be worried about. Often I have an issue with a database, really often with just a table. Restoring a whole instance instead of a db might be a delay I wouldn't want to deal with. I hope this changes over time, as not recovering a database from an instance is a big hole to me.

The comparison of hardware resources and performance seems to show Azure has the highest capacities, but as the article notes, if you approach the maximums, the cost is very high. I tend to agree there, and I think this is one of the things that gets lost when companies consider the cloud for workloads. They look at the maximums with an eye towards growth if they need it. Rarely, however, do they compute the increased cost if they've under-provisioned resources. There's also the concern that trying to match CPU/RAM/disk from on-premises to the cloud isn't easy. This often isn't the same type of comparison that most of are used to with local machines.

The main thing I find too many people forgetting is that moving to the cloud is a new architecture. You likely need to rework/refactor/rewrite your application to work better. Part of that work is reducing the amount and frequency of data queries. Without changing those things, you likely will end up spending a lot more money than you expect. Possibly without getting the workload response you expect.

The cloud can work well for your application and database, but it's not easy and it's not quick.

Steve Jones - SSC Editor

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

 
 
  Featured Contents
Stairway to Snowflake icon

Stairway to Snowflake Level 6 - Creating and Cloning Snowflake Databases

Mike McQuillan from SQLServerCentral

In this next level of the Stairway to Snowflake, learn about creating and dropping databases, with some options for cloning from different sources.

External Article

Five changes to SQL Server I’d love to see

Additional Articles from SimpleTalk

I’ve had lots of wish lists over the years, from Ladybug to Connect to UserVoice, and very few of my dreams ever come true. Still, it’s fun every once in a while, to be whimsical about the way I wished SQL Server worked. Especially in January because, you know, new beginnings.

Blog Post

From the SQL Server Central Blogs - Using Flyway Prepare for State-Based Deployments

Steve Jones - SSC Editor from The Voice of the DBA

One of the neat enhancements made to Flyway was the addition of state-based workflows and tooling. A lot of people have loved SQL Compare or SQL Source Control for...

Blog Post

From the SQL Server Central Blogs - How to Convert FileTime to DateTime

Patrick Keisler from Everyday SQL

One of my customers recently wanted to rename each of the SQL audit files will the datetime stamp of when it was created. I explained to them the filename...

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

 

  Question of the Day

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

 

Sparse Column Storage

When does a column declared as SPARSE use no storage?

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)

The AG Secondary Logs

What happens when an AG secondary receives a log record from the primary?

Answer: It is cached (hardened in the log), then applied to the database

Explanation: The log records are cached and then applied to each database. Ref: Overview of Availability Groups - https://learn.microsoft.com/en-us/sql/database-engine/availability-groups/windows/overview-of-always-on-availability-groups-sql-server?view=sql-server-ver16

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 2017 - Administration
Proc cache slowly decreasing in size until restart is required - In SQL 2017 (14.0.3475.1) the size of the proc cache is slowly decreasing. The workload on the instance has the same profile every day and does not change with time. The proc cache size started at a little over 5G and after about 3 weeks is down to below 1G. Just before the previous restart, […]
Proc cache slowly decreasing in size until restart is required - In SQL 2017 (14.0.3475.1) the size of the proc cache is slowly decreasing. The workload on the instance has the same profile every day and does not change with time. The proc cache size started at a little over 5G and after about 3 weeks is down to below 1G. Just before the previous restart, […]
SQL Server 2019 - Administration
EXTENDED EVENTS Track What's Logging In - Simple one looking for a script that can track what's logging in from where for UPGRADE discovery.  
SQL Server 2019 - Development
Using ROW_NUMBER() to increment every time a value occurs - Hello folks, I have some rather unstructured data coming into a staging column from a file. I can guarantee the order of the data on load using a column I am calling RowNumber. I like to group the data using ROW_NUMBER() every time the value 'CreateDate' occurs. Here is current my effort. Thanks if you […]
how to keep report from running automatically when my params all default to null - Hi I'm standing up a report with 9 visible cascading params , none of which needs to be entered.   all will default to null, If i remember correctly , once i set it up, the report will run automatically without the user hitting the run button because all params default that way.  how can i […]
SQL Azure - Administration
Issue with Creating Linked Server from Azure SQL Managed Instance to On-Premises - Hi, Interestingly, I was able to create a linked server in the reverse direction—from the on-premises SQL Server to my Azure SQL MI—using a remote login and password for authentication. However, when I attempt to establish the link from Azure SQL MI to the on-premises SQL Server, it consistently fails. Additional Details: I have an […]
General
When trying to use a LocalDB, I get an error - I tried to find an appropriate forum to post the question. This one seems to be the closest. I'm sorry if I'm wrong. This is a long story, which I haven't time to go into now. I'm starting a new Blazor Web app using .NET 9 and include what's called Individual Accounts (or Individual Users, […]
Powershell
display bytea image - I moved a table from MsSql to Postgresql that had a field defined as Image in Mssql now in Postgres it's a Bytea field. How can I make sure data copied across with success? Is there some code I could run to make sure Image looks correct from PostgreSQL ? Thanks.
Analysis Services
MDX SSAS Calculated measure for last totals + turnovers - I have a measure with totals for specific dates with the LastNonEmpty aggregation, and a measure with turnovers with the Sum aggregation. Help create a measure with totals for each day that would take into account the last known totals + turnovers from the date of the last totals to the current date. I tried […]
Integration Services
PowerQuery.... don't meet SSIS - I have a powerQuery that reads and transforms a table in a PDF.  Works a champ. If I wanted to write the resulting table's data to SQL Server, I can use DAX Studio (kind of) because it creates a newtable and writes the data to it. But I wanted to just map the columns to […]
SSIS package 'Unexpected Termination' status when running from SSISDB catalog - We are trying to run SSIS package to read Access Database (.mdb) files using Native OLE DB\Microsoft Office 12 Access Database Engine OLE DB Provider in the Source Connection Manager. This package ran successfully from Visual Studio 2019 and also from SSISDB catalog in lower end servers. However, executing the package in higher environments resulted in 'Unexpected […]
T-SQL
Count of Total Appointments within 30 days of each Appointment Date - Good Afternoon. I have a Table where each Record: 1) Represents an Appointment. 2) Has a field Appointment Date. What I am trying to achieve is this: For each Appointment date in the dataset I wish to count up all the Appointments which occur within 30 days. For example, for 1st July 2024, I wish […]
SQL Server 2022 - Administration
I need help accessing my local SQLExpress - My PC has been causing me problems for months. I've told my desktop support team. They reimaged my machine, but it hasn't helped. I cannot run SSMS against the LocalDB I get this error: and that's as far as that goes. If I try to connect to LocalDB I get this error: and that ends […]
SQL Monitoring tools - our client wants to implement Third Party SQL Monitoring tool to monitor SQL server Performance. I would like to understand any recommendation that is being implemented to monitor the performance.
Reporting Services in Managed Instance - Hi , one of my on-premises servers one server is having databases and one more server maintain the reporting services . above 2 servers having connectivity between them . we are planning migrate into Azure Managed Instance .do we need 2 managed instance single managed instance . If Single Managed Instance how can we add […]
 

 

RSS FeedTwitter

This email has been sent to newsletter@newslettercollector.com. 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

 

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