title: How to query secondary replicas in Azure Cosmos DB
body: <p>As per this article, <a href="https://docs.microsoft.com/en-us/azure/cosmos-db/distribute-data-globally" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/cosmos-db/distribute-data-globally</a>, each partition consists of four replicas for high availability.</p>
  
  <p>Also, I understand that Stored procedures always run against the primary replica (where all writes go).</p>
  
  <p>When we use DocumentClient to issue client side queries, there are options to set to query across specific regions. But I am not able to find how to query the secondary replicas.</p>