Skip to content

Commit

Permalink
perf: add indexes to tasks and allocations (#8757)
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasBlaskey committed Feb 2, 2024
1 parent e0e6cf0 commit 71db4e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
DROP INDEX ix_allocations_task_id;

DROP INDEX ix_tasks_job_id;
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CREATE INDEX ix_allocations_task_id ON allocations USING btree (task_id);

CREATE INDEX ix_tasks_job_id ON tasks USING btree (job_id);

0 comments on commit 71db4e1

Please sign in to comment.