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, Development & Performance, SQL Server SQL Server: how to have the number of core-based licenses used on my environment? 08.12.2021 by Stéphane Haby This week, a customer asks me to find out how many SQL Server Standard licenses are used in their environment. The licensing is core based and to not be used for Sserver + Cals licenses. To have an idea,(…)
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 Administration & Monitoring SQL Server: “Cannot resolve the collation conflict” in a Stored Procedure 30.07.2021 by Stéphane Haby This week I have a new little challenge by a customer. By executing a “standard” stored procedure, I have the error: Msg 468, Level 16, State 9, Procedure Get_logsessions, Line 56 [Batch Start Line 119] Cannot(…)
Database Administration & Monitoring SQL Server SCOM database: A lot of errors 777970008 in the errorlog file 23.07.2021 by Stéphane Haby Few weeks ago, during a audit, I have a lot of error 777970008 in the errorlog file from the SCOM instance. All 5 minutes, we had 4 lines more in the ErrorLog and the file growth a lot.
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, 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(…)