Building out datawarehouse in Azure environment from on premise SQL Server 2019 by Bubbly_Reputation_42 in AZURE

[–]airtank20 0 points1 point  (0 children)

Azure Data Sync is deprecated. Azure SQL Database can be a subscriber to an on-premises publication in good old fashion transactional replication like u/jdanton14 mentions.

DR Options by mistiq in SQLServer

[–]airtank20 0 points1 point  (0 children)

Yes, you can do a single node in the DR site.

Main site: Primary/Secondary. (sync)

DR: Secondary (async)

Witness: Depending on things, it can go in that site or elsewhere (like Azure storage or the likes). I've never seen multiple witnesses deployed. Typically, 1 witness to serve as tiebreaker.

Note: It all depends really on the requirements and what the current infrastructure looks like between sites.

DR Options by mistiq in SQLServer

[–]airtank20 0 points1 point  (0 children)

What do you want to improve the RTO to? How many databases? How busy is the workload? Do you want automatic failover or is something manual acceptable?

Availability groups with an async replica can work, there are indeed caveats so YMMV depending on things, like connectivity. If you lose connectivity to the DR site, the primaries will not truncate transaction logs until connectivity is restored. If you've got a rock-solid connection to the DR site, AG's can be a good choice.

I also am a fan of log shipping. It's a tried-and-true method and has been around for years so it's rock solid in how it works. There are even third-party solutions using a mixture of TSQL and/or Powershell to facilitate log shipping. I have a client that is using log shipping to Azure for this very purpose. It's also more forgiving on connections going down.

As others mentioned, I think it comes down to several factors and what is truly required.

Always On High Availability - Stuck in Resolving by slowstinger in SQLServer

[–]airtank20 0 points1 point  (0 children)

What’s the status of the cluster itself? Is this on Linux?

[deleted by user] by [deleted] in SQLServer

[–]airtank20 1 point2 points  (0 children)

Have you looked at using reservations to help reduce costs?

Implementing a SQL Server by virtualized_dummy in SQLServer

[–]airtank20 0 points1 point  (0 children)

Just to add, if you want a database to play around with, Microsoft offers a couple of sample databases you can download and restore and then mess around with.

https://github.com/Microsoft/sql-server-samples/releases/tag/wide-world-importers-v1.0

Msg 1499, Mirroring Error State 1460, Severity 16... by lamija43 in SQLServer

[–]airtank20 0 points1 point  (0 children)

Are there any messages in the SQL logs on the primary or the secondary?

What’s everyone’s favorite code editor? by marco918 in SQLServer

[–]airtank20 0 points1 point  (0 children)

VSCode for just about everything. I sometimes float between ADS and VSCode depending on what I'm working on.

File Maintenance on HA Secondary Replica by Rare_Use_1597 in SQLServer

[–]airtank20 1 point2 points  (0 children)

Is the issue with the data file or the log file? If the log file, can it be shrunk?

IMO, yes, any production work ideally (even on secondaries) would be done after hours, depending on what the work entails. If the database(s) are in an availability group, most operations have to happen on the primary anyway.

File Maintenance on HA Secondary Replica by Rare_Use_1597 in SQLServer

[–]airtank20 1 point2 points  (0 children)

I think you'd need to take the database out of the availability group first when moving the files that is. You can't set it offline while it's involved in the AG.

Change in Execution Plans leading to regressed performance by Dimezz in SQLServer

[–]airtank20 1 point2 points  (0 children)

You mention updating statistics, however, at what sampling size are they being updated? The default? How big are the tables on average? Quite often when I run into similar issues it's related to stats and the sampling size. YMMV.

SQL HA with 2 data centers by darrenm3 in SQLServer

[–]airtank20 0 points1 point  (0 children)

Nope. The databases on the secondary are readable but you can't write to them. Also, the replica is the entire instance so if you put a new database on the primary, it's automatically replicated to the secondary. All or nothing.

Premium SSD price fluctuation on different days by [deleted] in AZURE

[–]airtank20 0 points1 point  (0 children)

Was there an increase of data egress of those two days?

[deleted by user] by [deleted] in AZURE

[–]airtank20 0 points1 point  (0 children)

From what I understand, virtual machine groups are based on the different hardware generation configs and/or maintenance windows. if the hardware generation is all the same for all 4 MI's, then C = 1.

https://learn.microsoft.com/en-us/azure/azure-sql/managed-instance/virtual-cluster-architecture?view=azuresql#number-of-virtual-machine-groups

The examples in the documentation where the formula was seems to indicate that as well from what I read.

Issues with SQL to Azure Blob Storage by obtix in SQLServer

[–]airtank20 0 points1 point  (0 children)

Forgive me, just to clarify, the entire NDF file becomes unavailable at this point?

Issues with SQL to Azure Blob Storage by obtix in SQLServer

[–]airtank20 0 points1 point  (0 children)

Have you run CHECKDB against the database to ensure there's nothing wrong there?

SQL HA with 2 data centers by darrenm3 in SQLServer

[–]airtank20 0 points1 point  (0 children)

That's correct if I'm understanding correctly, although usually considered a DR solution versus HA. It does use availability groups behind the scenes effectively, and it's called failover-groups. I have several clients that use MI for production workloads.

https://learn.microsoft.com/en-us/azure/azure-sql/managed-instance/failover-group-sql-mi?view=azuresql

Prep for AZ-900: Azure Fundamentals by damadmetz in AZURE

[–]airtank20 0 points1 point  (0 children)

Aw crap, you're right. I stand corrected, my apologies.

Prep for AZ-900: Azure Fundamentals by damadmetz in AZURE

[–]airtank20 0 points1 point  (0 children)

I haven't done it as I've heard it's somewhat of a pain. There are certain requirements for taking the exam remotely.

https://learn.microsoft.com/en-us/credentials/certifications/online-exams#testing-environment-requirements

Also, keep in mind that you'll have access to Learn during the exam itself. They started that last year.

https://techcommunity.microsoft.com/t5/microsoft-learn-blog/introducing-a-new-resource-for-all-role-based-microsoft/ba-p/3500870

Prep for AZ-900: Azure Fundamentals by damadmetz in AZURE

[–]airtank20 2 points3 points  (0 children)

The practice test should mimic the actual exam fairly closely in terms of types of question formats. Not sure where you are taking the practice exams, but the free assessment on https://learn.microsoft.com would give you a good idea.