SQL Server Automate CNOs and VCOs for SQL Server AAG 26.02.2021 by Nathan Courtine During the installation of a new SQL Server environment in a Project, we wanted to automate the whole process deployment and configuration when installing a new SQL Server Always On Availability Group (AAG). This installation requires to prestage cluster(…)
Database Administration & Monitoring, SQL Server SQL Server: Control the size of your Transaction Log file with Resumable Index Rebuild 25.02.2021 by Microsoft Team Introduction In this blog post, I will demonstrate how the Resumable capability of Online index rebuild operation can help you to keep the transaction log file size under control. An index rebuild operation is done in a single transaction(…)
Database Administration & Monitoring, Database management, Development & Performance, SQL Server First steps on Kusto Query Language (KQL) 15.02.2021 by Stéphane Haby Do you know this query language? No, it’s time to explain you and see what it is. “A Kusto query is a read-only request to process data and return results.” dixit Microsoft Documentation here The KQL(…)
Database Administration & Monitoring, SQL Server SQL Server tips: How to migrate database-users in another domain without touching permissions 08.02.2021 by Stéphane Haby By a customer, I must migrate a database from a domain to another. The goal is to keep the database-user permissions, take the new SID from the windows login of the new domain and change the database-user name.
SQL Server SQL Server TCP: Having both Dynamic Ports and Static Port configured 21.12.2020 by Microsoft Team Introduction Have you ever seen an SQL Server instance configured to listen on both “TCP Dynamic Ports” and “TCP (static) Port”? This kind of configuration can be caused by the following scenario: A named instance is installed. By default, it(…)
Database Administration & Monitoring, SQL Server Validate your SQL Server infrastructure with dbachecks 14.12.2020 by Microsoft Team Introduction In this blog post, I’ll do an introduction to the PowerShell module dbachecks. dbachecks uses Pester and dbatools to validate your SQL Server infrastructure. With very minimal configuration you can check that(…)
Database Administration & Monitoring, SQL Server An Introduction to Pester – Unit Testing and Infrastructure checks in PowerShell 03.12.2020 by Microsoft Team Introduction If you never heard of it, Pester is a PowerShell module, written in PowerShell. It’s a framework for writing and running unit tests, integration tests, and also infrastructure checks as we will see in a moment.
Database Administration & Monitoring, Docker, SQL Server Getting started with SQL Server on Linux containers with Docker Desktop and WSL2 31.10.2020 by Microsoft Team 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 Microsoft Team 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 Microsoft Team 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(…)