coder / coder/internal

GetProvisionerDaemonsWithStatusByOrganization taking excessive time

Open
#634 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

This query is taking approx. 15 seconds to complete on dev.coder.com.

Explain plan: https://explain.dalibo.com/plan/c713cc8a42248ahc#plan

It appears that a seq scan on `provisioner_jobs` is taking the bulk of the time.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.