Database Administration & Monitoring, Docker, SQL Server Getting started with SQL Server on Linux containers with Docker Desktop and WSL2 31.10.2020 by Steven Naudet In this blog post, I will show you the steps I went through to run SQL Server inside a Linux Docker container on my Windows 10 laptop. The aim here is to deploy quickly and easily SQL Server instances(…)
Database Administration & Monitoring, Database management, SQL Server SQL Server: Generating SQL script using PowerShell and Template file 18.10.2020 by Steven Naudet In this blog post, I will share with you a small PowerShell script I did recently. I have noticed that my customer performs a very repetitive and time-consuming task almost every day. New columns are added to tables on(…)
Database Administration & Monitoring, SQL Server SQL Server AlwaysOn node “Add all eligible storage to the cluster” 14.10.2020 by Steven Naudet I made a mistake recently when adding a new node to an existing Windows Failover Cluster supporting AlwaysOn SQL Server instances. When adding a new node using the GUI there’s this option checked by default named “Add all eligible storage(…)
Database Administration & Monitoring, SQL Server SQL Server: High SQLCONNECTIONPOOL Memory Clerk consumption 13.08.2020 by Steven Naudet In this blog post, I will show you what I did to troubleshoot an interesting problem with Memory on SQL Server. It all started with a job performing DBCC CHECKDB on all databases taking hours to complete instead of 10(…)
Database Administration & Monitoring, SQL Server SQL Server Installation Wizard error : Failed to retrieve data for this request 29.07.2020 by Steven Naudet Today I faced a strange issue when I tried to install a new SQL Server instance : Failed to retrieve data for this request This error occurred just after clicking on “New SQL Server stand-alone installation…”(…)
Database Administration & Monitoring, SQL Server SQL Server: Change Availability Group Endpoint Ownership 27.07.2020 by Steven Naudet I’m doing some cleaning on my customer’s instances. I want to delete the login of a previous DBA for 2 reasons; this person does not work anymore in my customer’s company and all DBA are members of a group(…)
Azure, Cloud, Database Administration & Monitoring, SQL Server Introduction to Azure SQL Database Auto-failover groups 03.06.2020 by Steven Naudet SQL Azure Database by default offers a 99.99% availability SLA across all its service tiers. This means that for any database, the downtime should not exceed 52 minutes per year. Using Zone redundancy increases availability to 99.995% which is(…)
Azure, Cloud, Database Administration & Monitoring, SQL Server How to create an Azure SQL Database using Azure PowerShell 02.06.2020 by Steven Naudet In this blog post, I’ll go through the steps to create an Azure SQL Database using Azure PowerShell. Introduction to Azure SQL Database The SQL database services provided by Microsoft on the cloud are now grouped under the(…)
Database Administration & Monitoring, SQL Server SQL Server: Synchronize logins on AlwaysOn replicas with dbatools 19.05.2020 by Steven Naudet The SQL Server environment I worked with today has dozens of SQL Server instances using AlwaysOn Availability Groups for High Availability. When a login is created on the Primary replica of an Availability Group it is not synchronized automatically(…)
Database Administration & Monitoring, SQL Server SQL Server: Quickly clean backup history with dbatools 27.03.2020 by Steven Naudet I just had to restore a database in production for my customer. Before doing the restore I have the habit to query the msdb.dbo.backupset table to get an overview of the last backups. When running my query, I felt it(…)