It is not possible yet in SQL to have an active/active cluster and support one database in a read-write mode on both of the replicas. (stack overflow)
With SQL 2019 and above it is possible for SQL to redirect non-write traffic to another replica and this is something we are exploring for BAQ and report type workloads we can infer.
That will give cloud users and anyone else using high available SQL another performance boost.
I guess I was asking to much of Microsoft expecting them to implement multi-phase read/write lock mechanism to accommodate at least a cluster of two SQL Server Instances.
They must have achieve that on Azure Multi-Region N-tier Architecture, but we may want to do more with our DB server then just hosting Epicor which may be available on Azure in the required architecture.
Thanks @Olga That’s interesting. But would this only hold true for external BAQs only? Is it possible to configure the SSRS reports to use the readonly replica? (That is the application side of querying the ERP tables to populate the SSRS reports database tables).
A bit of reading later…Unless I’m mistaken, and happy to be told otherwise, that setting ApplicationIntent=ReadOnly in the connection string, and if you a have the Read/Write routing configured in sql correctly it should work. Allowing reading of erp.x tables from the replica and still updating the ice.sysx tables in the primary master. This is all conceptual at this stage, I am just trying to understand this a bit more before I go and attempt to put it into a lab.
I have not seen any documentation about this, from an Epicor side of things, (and I know it is the customers responsibility to manage the SQL side of things), some guidance around the current limitations from a configuration perspective would be helpful. Does anything exist in the Epicor Technical world that could be shared?
Open help in browser and search for Execution Settings for example. It will tell about this option in BAQ (not only external)
Also I see info about “ReadOnly Database” but it is in cloud specifics, so I don’t know if this help available to everyone.