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 ?

エキスパート
質問済み 3年前685ビュー
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
エキスパート
レビュー済み 1ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ