- Notifications
You must be signed in to change notification settings - Fork1k
Commit9db265d
authored
fix(coderd/database): optimize provisioner daemon with status query using index (#19703)
Fixescoder/internal#724This change adds an index to optimize the`GetProvisionerDaemonsWithStatusByOrganization` query.Execution time dropped from `18s 838ms` to `107ms`.1 parent38028df commit9db265d
File tree
3 files changed
+8
-0
lines changed- coderd/database
- migrations
3 files changed
+8
-0
lines changedSome generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + |
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + |
0 commit comments
Comments
(0)