cockroachdb / cockroachdb/cockroach

sql: separate protobuf for session variables used in optimizer

Open
#122,537 0 comments 0 reactions 0 assignees View on GitHub
A-sql-optimizer C-enhancement O-premortem P-3 T-sql-queries
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

To make the memo staleness check easier to maintain (and possibly cheaper) we could group all the session variables used in the optimizer into a sub-protobuf of `LocalOnlySessionData` which we then store fully in the memo.

Jira issue: CRDB-37949

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.