[英]Why is log shipped database invisible over linked server?
We have a lot of linked servers in our SQL Server 2012 instances. SQL Server 2012实例中有很多链接服务器。 While browsing one of those linked servers, I noticed that a log-shipped database is unavailable there. 浏览那些链接的服务器之一时,我注意到那里没有日志传送的数据库。
The database itself is "Standby / Read-Only." 数据库本身是“待机/只读”。
Is it normal for log-shipped databases to be unavailable over linked servers, or is it more likely to be a permissions issue, or could it be something else? 日志传送的数据库在链接服务器上不可用是正常的,还是更有可能是权限问题,还是其他原因? I want to query this database using a linked server query. 我想使用链接服务器查询来查询该数据库。
The cause of my problem is obviously a permission configuration with the linked server entry. 我的问题的原因显然是链接服务器条目的权限配置。 I know this because I set up the same linked server on my local SQL Server instance--using my own login credentials--and was able to see the "Standby / Read-Only" database as I would've normally expected for a standard database. 我知道这一点是因为我使用自己的登录凭据在本地SQL Server实例上设置了相同的链接服务器,并且能够看到“待机/只读”数据库,这与我通常期望的标准数据库。 Clearly, then, there is something about the linked server setup on the other server that is restricting me from viewing one of the databases. 显然,那么,关于另一台服务器上的链接服务器设置的某些问题使我无法查看其中一个数据库。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.