Side by Side SQL Installation

Vijay Kumar 2,036 Reputation points
2020-10-16T22:32:15.42+00:00

Hi Team,

I am planning to install SQL Server 2019 on same box where already SQL Server 2016 is running.

In this is what is the best practice?

SQL Server | Other
0 comments No comments
{count} votes

Accepted answer
  1. m 4,276 Reputation points
    2020-10-19T02:14:02.103+00:00

    Hi @Vijay Kumar ,

    ...In this is what is the best practice?

    You can do this. However, this is not the best.

    If you have more servers, I recommend you install it in one different server.

    Becasue there are two principles to configure SQL Server memory:

    (1) The Windows system and other key application services must have enough memory to prevent them from grabbing the memory that SQL Server has applied for due to insufficient memory during operation.

    (2) Under the premise of meeting the first point, SQL Server uses as much memory as possible and must ensure the stability of the amount of memory used.

    So it is best to make the server dedicated to the database, and do not install other services (such as IIS, middle-tier application services, etc.) on the same machine. Multiple production services running on the same machine will greatly increase maintenance costs.

    More information: work-with-multiple-versions-and-instances-of-sql-server

    BR,
    Mia


    If the answer is helpful, please click "Accept Answer" and upvote it.


3 additional answers

Sort by: Most helpful
  1. Erland Sommarskog 121.7K Reputation points MVP Volunteer Moderator
    2020-10-17T09:22:55.973+00:00

    It does not have to be a bad practice to have multiple instances on the same computer, and there are no particular precautions if the instances are off different versions.

    The only thing to keep in mind the instances may compete for resources, and it may be a good idea to set "max server memory" so that the total adds up to, say, 90 % of the RAM in the machine.

    2 people found this answer helpful.
    0 comments No comments

  2. Shashank Singh 6,251 Reputation points
    2020-10-17T09:29:09.077+00:00

    Fully agree with Erland here. It is really not a bad practice. MS fully supports such scenario and has documented it work-with-multiple-versions-and-instances-of-sql-server. If you see the document it is mentioned that it is supported so it cannot be bad practice.

    Existing instance	                 Side by side support  
    SQL Server 2019	      SQL Server 2008 through SQL Server 2017  
    SQL Server 2017	      SQL Server 2008 through SQL Server 2016  
    SQL Server 2016	      SQL Server 2008 through SQL Server 2014  
    
    1 person found this answer helpful.
    0 comments No comments

  3. m 4,276 Reputation points
    2020-10-20T01:32:34.067+00:00

    Hi @Vijay Kumar ,

    Is the reply helpful?

    BR,
    Mia


    If the answer is helpful, please click "Accept Answer" and upvote it.

    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.