Skip to main content

Questions tagged [read-only-routing]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
1 answer

AlwaysOn Availability Secondary replica not work as read only

We have configured SQL Server - Always On Availability group with SQL SERVER 2022 Enterprise Edition. where there is 2 instance which are also configured with Readable secondary 'Yes'. According to my ...
user3024056's user avatar
0 votes
1 answer

Routing List Empty, and cant add using SQL either

Question: Why is my routing list empty? I have removed the secondary from the AG and re-added back, everything is healthy and synchronized. lets assume for the example that server1 is currently the ...
Mike Kay's user avatar
0 votes
1 answer

always on ha availabity group force read only connection without specifying ApplicationIntent=ReadOnly

We have an AlwaysOn HA sql cluster set up, with read-only replicas in place, and read-only routing in place. We know how to properly route a connection to the read only replica (by specifying ...
bradvido's user avatar
  • 101
0 votes
0 answers

SQL Server 2019 AOAG - ReadOnly ConnectionString Not working with error 80004005 Invalid connection string attribute

(I hope this is the proper place for posting, as it is about the database and its connection.) SQL Server 2019 / ASP Classic / ASP.NET I followed the information from this page. ReadOnly Routing (...
CodingEE's user avatar
0 votes
1 answer

How to redirect read queries transparently to Secondary replica in Always on [duplicate]

We have Always ON setup for our database. Users are connecting to our database using listener URL. We are currently asking users to use ApplicationIntent = ReadOnly to redirect users to secondary ...
Venkataraman R's user avatar
1 vote
1 answer

In azure sql db how to enforce the rule users should only connect using applicationintent=Readonly

For sql server availability groups we enforce the rule “users should only read from DR nodes” by first creating logins and users in the primary node and then dropping /disabling the logins on the ...
yegnasew's user avatar
  • 487
2 votes
1 answer

SELECT query in a SP in AlwaysOn Availability Group Read Only Routing

There is a stored procedure which has select statement as well as insert and other statements. What will be the behaviour of the stored procedure in a Read Only Routing configured in AlwaysOn ...
SSS's user avatar
  • 397
1 vote
1 answer

Can we configure logins to only connect to read-only replicas in Azure SQL Database automatically?

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 ...
Venkat's user avatar
  • 131
0 votes
2 answers

Always-on Avaialbility Group Secondary replica NOT identical to Primay

Can I have Always-on availability group primary node not identical to secondary? example: Primary Replica RAM 64, Cores 8 Secondary Replica RAM 256, Cores 32 As I estimate read-only queries to be ...
Amr Waheed's user avatar
1 vote
1 answer

Availability Group Read Only Routing Not Working for Azure App Service that connects over Hybrid Connection

We have following config of Availability Group On-Premise: - primary - sync secondary - async secondary - ...
Aleksey Vitsko's user avatar
3 votes
1 answer

Availability Group Read Only Routing Not Working for SQL Logins

We have following config of Availability Group: - primary - sync secondary - async secondary - availability group ...
Aleksey Vitsko's user avatar