-
Notifications
You must be signed in to change notification settings - Fork 4.1k
sql: cache ImmutableTableDescriptor #55960
Copy link
Copy link
Closed
Labels
C-performancePerf of queries or internals. Solution not expected to change functional behavior.Perf of queries or internals. Solution not expected to change functional behavior.T-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Description
Extracting the second observation from #42770:
- We always construct a new
ImmutableTableDescriptor. These things are meant to be cached. I'm not sure how best to plumb a cache (or which one).
cc @ajwerner as I think you've been thinking about this and possibly there already exists a better issue.
Jira issue: CRDB-3608
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-performancePerf of queries or internals. Solution not expected to change functional behavior.Perf of queries or internals. Solution not expected to change functional behavior.T-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)SQL Foundations Team (formerly SQL Schema + SQL Sessions)