SQL Server SQLBits 2022 – Levelling up my Performance Tuning skills 10.03.2022 by Steven Naudet As a consultant at dbi services, I am lucky enough to have time dedicated to training and conferences. This week I have the chance to attend one of the most important conferences for Data professionals: SQLBits 2022.
Database Administration & Monitoring, Database management SQL Server: Last duration for all SQL Server jobs in TIME format from HHmmss to HH:mm:ss 11.02.2022 by Stéphane Haby For a customer, I want to see all last duration for a job and have a good format for it. The query to do it is very simple (at the beginning…) but when I try to have a better(…)
Database Administration & Monitoring, Database management, SQL Server SQL Server: msdb too big with the table dbo.sysmaintplan_logdetail 28.12.2021 by Stéphane Haby Today, I was by a new customer and the I see that the msdb data file was over 4GB. A little too big… To see which table are so big, in SSMS, I select the msdb database, right-click, go in(…)
Database Administration & Monitoring, Database management, SQL Server SQL Server: Cannot execute as the database principal “dbo” does not exist 27.12.2021 by Stéphane Haby By a customer this month, I see a very big big ErrorLog file (more than 1,5GB). When I open the file, every 5 seconds, the following message is added: The activated proc ‘[dbo].[IdentityServerNotificationCleanup]’ running on queue ‘<database>.dbo.IdentityServerNotificationsQueue’(…)
Database Administration & Monitoring, Database management, SQL Server, Security How to find the TLS used for the SQL Server connection 24.08.2021 by Stéphane Haby For a customer, I do some research to find which TLS is used on the SQL Server environment. The only way is to create an Extended Event. A big limitation is that the event used is only available on SQL(…)
Database Administration & Monitoring, Database management How to view and change SQL Server Agent properties with T-SQL queries 24.08.2021 by Stéphane Haby Few days ago, after a reboot, we had this warning on the Agent Error Logs on many servers: Warning [396] An idle CPU condition has not been defined – OnIdle job schedules will have no effect(…)
Database Administration & Monitoring, Database management, Development & Performance SQL Server: Using Client Statistics to validate a query regression after a change in the database compatibility level 11.08.2021 by Stéphane Haby Few days ago, I have very poor performance on a database that I migrate from SQL 2012 to SQL 2019. The developer Team asks me to upgrade the number of CPU and the Memory to have better performance.
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 Steven Naudet 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(…)