cockroachdb / cockroachdb/cockroach
sql: separate protobuf for session variables used in optimizer
Open
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
Assessment
This issue has not been assessed yet.