Skip to main content

Questions tagged [read-only-routing]

Filter by
Sorted by
Tagged with
-1 votes
1 answer
177 views

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
22 views

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
45 views

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
203 views

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
  • 133
0 votes
1 answer
926 views

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
72 views

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
  • 497
2 votes
1 answer
1k views

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
1k views

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
99 views

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
425 views

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: server1.domain.com - primary server2.domain.com - sync secondary server3.domain.com - async secondary sql-listener.domain.com - ...
Aleksey Vitsko's user avatar
3 votes
1 answer
954 views

Availability Group Read Only Routing Not Working for SQL Logins

We have following config of Availability Group: server1.domain.com - primary server2.domain.com - sync secondary server3.domain.com - async secondary sql-listener.domain.com - availability group ...
Aleksey Vitsko's user avatar