Read Scaleout- Performance

Nitya V 20 Reputation points
2024-04-24T14:17:32.82+00:00

Hi Team, We have enabled read scaleout on out Production work load

We see that performance is not improved in the read only intent for select queries .What could be the cause

Azure SQL Database
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Alberto Morillo 32,891 Reputation points MVP
    2024-04-24T16:20:45.6633333+00:00

    Please verify what are the top waits on the replica. If you find that SOS_SCHEDULER_YIELD is on the top and using close to 100% then the whole issue may be caused by spin locks created by the replication. You can verify that using the following query:

    SELECT * 
    FROM sys.dm_os_wait_stats 
    ORDER BY signal_wait_time_ms DESC
    
    
    

    One suggestion is to examine the query plans of those queries with bad performance and see if they need optimization. You can use the queries shared on this article to identify those queries.

    0 comments No comments