سؤال

For Read-Only routing, rather than explicitly using "ApplicationIntent=ReadOnly" into our application connection string or for individual users to specify it in additional properties, can this be configured while creating a login?

For Example: Any user trying to connect to the instance should be routed to read-only replica, even if they don not provide "ApplicationIntent=ReadOnly" in their connection string.

Is this possible?

لا يوجد حل صحيح

نصائح أخرى

No. But you can disable their logins on the instance that normally hosts the primary replica and have them connect directly to an instance that normally hosts a read-only replica.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى dba.stackexchange
scroll top