SQL SERVER ALIAS
来源:互联网 发布:淘宝遇到黄牛怎么举报 编辑:程序博客网 时间:2024/06/05 06:04
When the lone SharePoint Server (SPWFE1) needs to connect to a database (such as WSS_Content_MyContentDB) on the back-end SQL Server (PRODSQL1), it might create a connection string that looks similar to the following.
Server=PRODSQL1;Database=WSS_Content_MyContentDB;IntegratedSecurity=true;
In this situation, the SharePoint server is directly coupled to the SQL Server because SPWFE1 directly references the production SQL Server (PRODSQL1) by name. This works just fine for day-to-day operations, but it doesn’t provide any real flexibility to accommodate topology changes that might be required (or “just happen”) in the future.
Consider the same farm when a SQL Server alias is used instead of a direct reference to the SQL Server:
The corresponding connection string that is built by SharePoint to connect to the SQL Server looks a little different; note the difference in Server name:
Server=SPSqlAlias;Database=WSS_Content_MyContentDB;IntegratedSecurity=true;
The SQL Server alias serves as an abstraction layer between theSPWFE1 and PRODSQL1. Whenever SharePoint needs to access a database, it indicates that it wants to connect toSPSqlAlias instead of PRODSQL1. When this happens, the SQL Server Native Client maps SPSqlAlias requests through toPRODSQL1 at runtime; SharePoint doesn’t specifically know about PRODSQL1, so direct coupling doesn’t occur.
- SQL SERVER ALIAS
- 七.Sql server alias(别名)的用法
- SQL Alias
- SQL ALIAS的用法
- sql Alias(别名)
- SQL Alias(别名)
- SQL Alias(别名)
- SQL Alias(别名)
- SQL ALIAS的用法
- SQL语句Alias
- SQL Alias(别名)
- Apache2.4 server Alias配置
- alias
- alias
- alias
- alias
- alias
- alias
- lintcode-末尾的零
- leetcode[94]:Binary Tree Inorder Traversal
- 黑马程序员------C语言程序 数组
- JQuery选择器和JQuery库文件引入
- Maximum Subarray
- SQL SERVER ALIAS
- Foundation框架常见结构体(个别)
- mysql插入中文时候编码问题
- 状态模式
- mac安装nginx环境
- javaEE第三~四天
- 7月20日
- SQL小结(五)
- rosbuild