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 ?

1개 답변
0
수락된 답변

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
답변함 3년 전
profile picture
전문가
검토됨 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠