Skip to content

Commit

Permalink
Merge #90453
Browse files Browse the repository at this point in the history
90453: sql: add virtual index on status to crdb_internal.jobs table r=jayshrivastava a=jayshrivastava

Previously, performing a query on the crdb_internal.jobs table would require the entire virtual table to be generated, even if there was a filter being used. This change makes it so that only relevant rows are generated when filtering on `status`, which reduces the amount of rows which need to be processed.

Informs: #85467

Release note: None
Epic: None

Co-authored-by: Jayant Shrivastava <[email protected]>
  • Loading branch information
craig[bot] and jayshrivastava committed Nov 4, 2022
2 parents b1b3489 + ee5ad9d commit 02a5bec
Show file tree
Hide file tree
Showing 3 changed files with 251 additions and 214 deletions.
Loading

0 comments on commit 02a5bec

Please sign in to comment.