Skip to content

Commit

Permalink
sql: add virtual index on status to crdb_internal.jobs table
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jayshrivastava committed Nov 4, 2022
1 parent 02ff871 commit ee5ad9d
Show file tree
Hide file tree
Showing 3 changed files with 251 additions and 214 deletions.
Loading

0 comments on commit ee5ad9d

Please sign in to comment.