What's a MS SQL "named instance" ?

0

Customer asked in a RFP the ability to use named instances with RDS for Microsoft SQL Server. It probably sound obvious to specialists, is this the DB Instance identifier we pass at the RDS creation phase ?

EXPERTO
preguntada hace 3 años684 visualizaciones
1 Respuesta
0
Respuesta aceptada

When installing SQL Server on Windows Server (like on EC2) you have the option to "name" the service running the SQL Server Database Engine. You can install multiple copies of SQL Server Database Engine side-by-side by providing different names. This is often used in clusters to optimize the use of hardware. When connecting to SQL Server you need to then specify both the host name as well as the service name in the connection string, like

Server=myServerName\myInstanceName;Database=myDataBase;User Id=myUsername;Password=myPassword;

RDS does not provide this level of control and will always use the default service name internally. So you would have to connect using the just the hostname and database name, like

Server=myServerName;Database=myDataBase;User Id=myUsername;Password=myPassword;

AWS
respondido hace 3 años
profile picture
EXPERTO
revisado hace un mes

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas