apply sql server service pack in servers with high usage

Alessandro Kiffer 0 Reputation points
2023-03-13T19:40:23.9366667+00:00

Hello Guys,

On a server with large databases, should we stop sql server services before installing service pack?

Or should stoped the database utilizations?

Thanks

SQL Server Other
{count} votes

2 answers

Sort by: Most helpful
  1. Erland Sommarskog 121.4K Reputation points MVP Volunteer Moderator
    2023-03-13T22:07:56.1233333+00:00

    You don't need to stop SQL Server. Setup will take care of that. But, yes, you should announce to users that the database(s) will be unavailable for some time, and make sure that they are disconnected. If you have users connected when Setup runs, they will be kicked out and it will not be a very good userr experience.

    0 comments No comments

  2. Seeya Xi-MSFT 16,586 Reputation points
    2023-03-14T03:08:44.5933333+00:00

    Hi @Alessandro Kiffer ,

    It is generally recommended to stop database utilization before installing a service pack on a SQL Server instance. This will ensure that no transactions are being processed during the installation process and that the databases are in a consistent state after the installation is complete.

    Stopping the SQL Server service itself is not necessary, but it may be useful to stop any other applications or services that are using the SQL Server instance to avoid potential conflicts during the installation.

    Additionally, it is always a good practice to back up all databases and configuration settings before applying any service pack or update to ensure that you have a reliable restore point in case any issues arise during or after the installation process.

    Best regards,

    Seeya


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.