Database Administration & Monitoring, Database management, SQL Server Automate restore from Rubrik with PowerShell (part 2) 16.07.2021 by Stéphane Savorgnano As promised during my last Rubrik blog post I’m writing a second one to explain how to: log your different steps in a file add an integrity check after the restore and also improve my first scripting I will(…)
Database Administration & Monitoring, SQL Server SQL Server: table variables performance limitations 14.07.2021 by Microsoft Team Doing some performance troubleshooting for one of my customers I identified some issues with very large table variables inside Stored procedures. Table variables limitations are not well understood by developers although they are now well documented. Table variable(…)
Database management, SQL Server, Technology Survey SQL Server 2019: What’s new on database scoped configuration options? 06.07.2021 by Stéphane Haby SQL Server 2019 added three new options in sp_configure and sys.configurations. First, how can we find the difference between these SQL Server Versions. This simple query will give us the number of options and the SQL Server Version: select(…)
Database Administration & Monitoring, SQL Server SQL Server: Fixing another huge MSDB database – 80GB+ 01.07.2021 by Microsoft Team I have blogged several times about unusually large MSDB databases like here. Most of the time the problem comes from the backup history which is never purged. This time it’s different. Try to guess, if not the(…)
Database Administration & Monitoring, Database management, SQL Server, Technology Survey SQL Server 2019: What’s new in sp_configure and sys.configurations options? 29.06.2021 by Stéphane Haby SQL Server 2019 added new options in sp_configure and sys.configurations. First, how can we find the difference between these SQL Server Versions. This simple query will give us the number of options and the SQL Server Version: select(…)
Database Administration & Monitoring, Database management, Development & Performance, SQL Server SQL Server SCOM Alert Analysis: The Average Wait Time of SQL instance “xxx” on computer “xxx” is too high 28.06.2021 by Stéphane Haby I have an interested alert on SCOM for SQL Server by a customer two weeks ago. In the SCOM interface, the warning on the server is MSSQL2016: The Average Wait Time of SQL instance “xxx” on computer “xxx” is(…)
Database Administration & Monitoring, Database management, Development & Performance, SQL Server SQL Server SCOM: Many perf.perfHourly and State.StateHourly tables in OperationManagerDW 11.06.2021 by Stéphane Haby By a customer, the SCOM’s Database OperationManagerDW growth fast and becomes very big. To see what’s happens, in SSMS (SQL Server Management Studio), I right-click on the database open Reports>Standard Report> Disk Usage by Top Tables: You have(…)
Database Administration & Monitoring, Database management, SQL Server SQL Server: How to compare Server and Database Collation 09.06.2021 by Stéphane Haby Sometimes during an SQL Server audit, I check the collation of the server and the databases but every time separately. The goal of this blog is to give you a script to have both and compare it. First step(…)
Database Administration & Monitoring, Database management, SQL Server SQL Server: Analysis of SCOM Warning on the Health Check 08.06.2021 by Stéphane Haby Sometimes, it’s hard to find how to analyze a Warning in the SCOM Interface and correct the problem. By a customer, we install new instances in SQL Server 2019 and change the version of SCOM. All new servers have a(…)
Database Administration & Monitoring, SQL Server SQL Server Tips: Get back permissions lost for mount points! 04.06.2021 by Stéphane Haby Recently by a customer, we are facing the case to lose all mount points on a secondary node in a HA SQL Server AlwaysOn infrastructure due to a big problem on the Datacenter. We need to build from scratch(…)