1

我想在 Azure SQL 托管实例中连接只读副本以进行报告。为此,我尝试添加一个ApplicationIntent=ReadOnly参数。

但它仍然没有连接只读副本。那么在 Azure MI 中连接只读副本是否需要任何配置?

4

2 回答 2

3

Azure SQLMI Business critical service tier has Built-in additional read-only database replica that can be used for reporting and other read-only workloads similar to azure sql database premium tier. It is enabled by default no user action required. You need to use 'ApplicationIntent=ReadOnly' flag to access internal replica.

于 2020-03-19T09:43:44.360 回答
0

Azure 支持复制功能,请参阅本教程在 Azure SQL 数据库托管实例数据库中配置复制

但是对于ApplicationIntent=ReadOnly,它在 Azure SQL 托管实例中不受支持或适用。

可以参考这篇文档:SQL Server Native Client Support for High Availability, Disaster Recovery

在此处输入图像描述

希望这可以帮助。

于 2020-03-19T08:58:25.373 回答