Skip to content

distsql: add support for locality-awareness in distributed queries in multi-tenant environments #80678

@rharding6373

Description

@rharding6373

In order to support multi-region serverless, DistSQL should create locality-aware distributed plans. This would create table readers on SQL instances located in regions/zones where data is on a local KV node, or on the closest possible SQL instances.

Dependencies:

JIRA: https://cockroachlabs.atlassian.net/browse/CRDB-14202

Jira issue: CRDB-15554

Epic CRDB-14202

Metadata

Metadata

Assignees

Labels

C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-sql-queriesSQL Queries Team

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions