Long running query that occurs every 3 hours, can't tell WHERE it is coming from
There is a query running every three hours that spikes my DTU upto 100% . It is: subscriptions - Query ID 10126 I can not tell who or what is calling this query, how could find out what it is? This is my…
SQL Server Database Engine
Cores Per Socket Best Practices for VMs
Hello, What configuration offers better performance for SQL Server Enterprise Edition Running on virtual machines like VMWare: multiple sockets with one core each (e.g., 8 sockets, 1 core per socket) or a multi-core setup (e.g., 1 socket, 8 cores)?…
SQL Server Database Engine

I have a 2019 SQL database which is the primary, I want to set up a secondary server using logshipping. What is the highest version on SQL server I can install. Upgrading the primary is not an option.
The supplier has a transactional database that is on a SQL 2019 server. They provide us a reporting copy using logshipping. We would like to install the latest possible version of SQL server that would be compatible. Will be able to get away with a SQL…
SQL Server Database Engine
Cannot connect to SQL Server - username issue
Trying to connect to SQL Server and getting "Login failed for user '<username>'. (Microsoft SQL Server, Error: 18456). My other colleagues are using the same credentials to log in with success. Don't know what else to do.
SQL Server Database Engine

Performance degrade after migrating to SQL server 2022
Application performance degraded by 15-20 % after moving the database from SQL server 2019 to 2022 on a stand alone server. The resources and maintenance remains the same as the 2019.
SQL Server Database Engine

Can I safely use NORECOVERY option when restoring a database by a BAK file?
Hello, I am trying to extract the data from a customer-provided BAK file and then discard the SQL server container after. I am using the syntax below. RESTORE DATABASE [ABC123] FROM DISK = '/var/opt/mssql/data/ABC123.bak' WITH MOVE 'ABC123.mdf'…
SQL Server Database Engine

SQL 2025 release candidate - 180day expiration too for (free edition) express version?
SQL 2025 release candidate - 180day expiration too for (free edition) express version?
SQL Server Database Engine
installation Signing Certificate Authority pour MSSQL.
Il semble que le problème ne soit pas lié à l'application, mais plutôt à SQL Server qui tombe en panne. Ainsi, si MM Server et Client sont en cours d'exécution et que SQL Server tombe en panne, MM Client ne peut pas charger/actualiser les données de la…
SQL Server Database Engine

Best practice with sp_syspolicy_events_reader and ##MS_PolicyEventProcessingLogin##
The SQL Server logs on our primary replica (Microsoft SQL Server 2022 with Always On) has been filling up with this repeated message: The activated proc '[dbo].[sp_syspolicy_events_reader]' running on queue 'SQLAG1_msdb.dbo.syspolicy_event_queue'…
SQL Server Database Engine

"Is it okay to run Ola Hallengren’s index rebuild and stats update script from a separate database instead of master, and will this impact fragmentation handling?"
In my organisation, we run Ola Hallengren’s index rebuild and update stats script on a separate database instead of the master database. Is this a recommended practice, and will it affect index fragmentation or reorganisation?"
SQL Server Database Engine

How to simulate "DB Offline Errors" in SQL server
The SQLServer:SQL Errors object provides counters to monitor errors in Microsoft SQL Server. I wanted to get the DB Offline Errors metric value through performance counters. when i set a particular database offline the offline event is showing as User…
SQL Server Database Engine

Patching is breaking the Master Database of SQL Server Installed
Hello, I am operating Microsoft SQL Server 2019 Enterprise Edition within our environment. One of our SQL Server instances, which is hosted on a virtual machine (VM), has SQL Server Integration Services (SSIS) installed. We’ve encountered a recurring…
SQL Server Database Engine

Using Parallels, am I able to run MS SQL Server 2019 Dev Edition on a Macbook Pro M1?
Hello all, I'm currently a student and need to have this software for my class. My professor warned us that Macbook users with apple chips are unable to use these programs. I already have Parallels installed but I'd like to get the communities' input.…
SQL Server Database Engine
How to fix transactional replication latency
Good Morning All, We are facing replication latency issue. I checked for blocking, long running transactions or bulk operations running. I tried re-running the distribution agent job also. But still the latency exists. Could you please tell me what all I…
SQL Server Database Engine
Cannot connect to MS SQL Server. "encrypt" property is set to "false" and "trustServerCertificate" property is set to "false"
Hi all, Im trying to connect to MSSQL server (enabled with forced encryption and which uses a self signed certificate) from a java application using the sql jdbc connection. But unfortunately im getting the following error even though i set enabled=false…
SQL Server Database Engine
how to fix
I’ve tried downloading and reinstalling many times, and this error keeps appearing. I even tried using AI to help with the installation, but everything failed. Error detail Action required: Use the following information to resolve the error, and then…
SQL Server Database Engine
Microsoft SQL Server 2022 process: 'SQL Server Windows NT - 64 Bit' keep CPU on 100% usage
I have installed on my computer an instance of Microsoft SQL Server version 2022. The process: SQL Server Windows NT - 64 Bit keeps my CPU usage to 100% all the time even is nothing running on the server. What can I do to trace what is wrong with…
SQL Server Database Engine
Did VMWare Tools break msdb?
Had a VMWare Tools upgrade from 12.5.1.52451 to 12.5.3.52671. The SQL servers were not rebooted after the upgrade was pushed. Weeks later after the SQL servers were rebooted, many of the instances came back up with msdb in a recovery pending state. We…
SQL Server Database Engine
How to verify which user applied the cu patches on SQL servers in organization's.
How to verify which user applied the cu patches on SQL servers in organization's.
SQL Server Database Engine

How to correct the CU20 - KB5063814 security SQL patching failure
We are trying to apply the security SQL patching - KB5063814 into an Azure SQL2022 instance; however, the patching is failed during the installation and we cannot even bring the SQL instance backup. Finally, we decided to restore the disks backup (good…