You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
144309: jobs: add jobs.avoid_full_scans.enabled r=mgartner a=mgartner
#### jobs: add jobs.avoid_full_scans.enabled
The `jobs.avoid_full_scans.enabled` cluster setting has been added which
adds `AVOID_FULL_SCAN` hints to two internal, jobs-related queries:
`find-running-jobs-of-type` and `find-all-running-jobs-of-type`. This
hint prevents the optimizer from choosing bad query plans with full
table scans.
The setting is disabled by default. It will be enabled in a future
commit.
Release note: None
#### jobs: enable jobs.avoid_full_scans.enabled by default
Epic: None
Release note (performance improvement): Some internal queries executed
by the jobs system are now less likely to perform full table scans of
the `system.jobs` table, making them more efficient. This change can be
reverted by disabling the `jobs.avoid_full_scans.enabled` cluster
setting.
Co-authored-by: Marcus Gartner <[email protected]>
0 commit comments