cockroachdb / cockroachdb/docs

PR #100949 - sql: add `unbounded_parallel_scans` session variable

Open
#16,726 0 comments 0 reactions 1 assignee Claimed by @taroface View on GitHub
C-product-change
Dominant language
HTML
Stars
212
Forks
476
Avg merge
40m
Merged PRs (30d)
3

Description

Exalate commented:

Related PR: https://github.com/cockroachdb/cockroach/pull/100949
Commit: https://github.com/cockroachdb/cockroach/commit/9989de4c2a4d00fbf5943e986f19a65fc2208302
Epic: CRDB-25448

---

Release note (sql change): New session variable `unbounded_parallel_scans`
has been introduced which controls whether scans will be parallelized across
ranges in more cases. Note that using this feature can lead to increased
likelihood of OOMs, so it should be used with care (namely when you
expect that the scan should read "reasonable" number of rows - probably
less than 10k). Also note that queries with LIMITs aren't affected by
this variable - cross-range parallelism of scans continues to be
disabled for those.

Jira Issue: DOC-7432

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.