Skip to content

Commit d425e1e

Browse files
committed
Merge branch 'sql-database-batch2' of https://github.com/paulth1/azure-docs-pr into sql-database-batch2
2 parents 7eba737 + 166cb0b commit d425e1e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

articles/azure-sql/database/elastic-scale-data-dependent-routing.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ ms.author: sstein
1212
ms.reviewer:
1313
ms.date: 01/25/2019
1414
---
15-
# Use Data-dependent routing to route a query to an appropriate database
15+
# Use data-dependent routing to route a query to an appropriate database
1616
[!INCLUDE[appliesto-sqldb](../includes/appliesto-sqldb.md)]
1717

18-
**Data-dependent routing** is the ability to use the data in a query to route the request to an appropriate database. Data-dependent routing is a fundamental pattern when working with sharded databases. The request context may also be used to route the request, especially if the sharding key is not part of the query. Each specific query or transaction in an application using data-dependent routing is restricted to accessing one database per request. For the Azure SQL Database Elastic tools, this routing is accomplished with the **ShardMapManager** ([Java](/java/api/com.microsoft.azure.elasticdb.shard.mapmanager.shardmapmanager), [.NET](https://docs.microsoft.com/dotnet/api/microsoft.azure.sqldatabase.elasticscale.shardmanagement.shardmapmanager)) class.
18+
**Data-dependent routing** is the ability to use the data in a query to route the request to an appropriate database. Data-dependent routing is a fundamental pattern when working with sharded databases. The request context may also be used to route the request, especially if the sharding key is not part of the query. Each specific query or transaction in an application using data-dependent routing is restricted to accessing one database per request. For the Azure SQL Database elastic tools, this routing is accomplished with the **ShardMapManager** ([Java](/java/api/com.microsoft.azure.elasticdb.shard.mapmanager.shardmapmanager), [.NET](https://docs.microsoft.com/dotnet/api/microsoft.azure.sqldatabase.elasticscale.shardmanagement.shardmapmanager)) class.
1919

2020
The application does not need to track various connection strings or DB locations associated with different slices of data in the sharded environment. Instead, the [Shard Map Manager](elastic-scale-shard-map-management.md) opens connections to the correct databases when needed, based on the data in the shard map and the value of the sharding key that is the target of the application’s request. The key is typically the *customer_id*, *tenant_id*, *date_key*, or some other specific identifier that is a fundamental parameter of the database request.
2121

@@ -171,6 +171,6 @@ Transactional properties are guaranteed for all operations local to a shard. For
171171

172172
## Next steps
173173

174-
To detach a shard, or to reattach a shard, see [Using the RecoveryManager class to fix shard map problems](elastic-database-recovery-manager.md)
174+
To detach a shard, or to reattach a shard, see [Using the RecoveryManager class to fix shard map problems](elastic-database-recovery-manager.md).
175175

176176
[!INCLUDE [elastic-scale-include](../../../includes/elastic-scale-include.md)]

articles/azure-sql/database/elastic-scale-working-with-dapper.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Using elastic database client library with Dapper
3-
description: Using elastic database client library with Dapper.
2+
title: Using the elastic database client library with Dapper
3+
description: Using the elastic database client library with Dapper.
44
services: sql-database
55
ms.service: sql-database
66
ms.subservice: scale-out
@@ -12,7 +12,7 @@ ms.author: sstein
1212
ms.reviewer:
1313
ms.date: 12/04/2018
1414
---
15-
# Using elastic database client library with Dapper
15+
# Using the elastic database client library with Dapper
1616
[!INCLUDE[appliesto-sqldb](../includes/appliesto-sqldb.md)]
1717

1818
This document is for developers that rely on Dapper to build applications, but also want to embrace [elastic database tooling](elastic-scale-introduction.md) to create applications that implement sharding to scale out their data tier. This document illustrates the changes in Dapper-based applications that are necessary to integrate with elastic database tools. Our focus is on composing the elastic database shard management and data-dependent routing with Dapper.

0 commit comments

Comments
 (0)