-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
3 changed files
with
25 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.28 | ||
0.29 |
29 changes: 0 additions & 29 deletions
29
cuebot/src/main/resources/conf/ddl/postgres/migrations/V18_Add_New_Indexes
This file was deleted.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
cuebot/src/main/resources/conf/ddl/postgres/migrations/V18__Add_New_Indexes.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--Performance issue, Created new index on column int_gpus_min and int_gpus_mem_min | ||
|
||
CREATE INDEX IF NOT EXISTS i_layer_int_gpus_min | ||
ON layer USING btree | ||
(int_gpus_min ASC NULLS LAST); | ||
|
||
|
||
CREATE INDEX IF NOT EXISTS i_layer_int_gpus_mem_min_1 | ||
ON layer USING btree | ||
(int_gpu_mem_min ASC NULLS LAST); | ||
|
||
CREATE INDEX IF NOT EXISTS i_layer_int_cores_max ON layer(int_cores_max); | ||
|
||
CREATE INDEX IF NOT EXISTS i_job_resource_int_priority ON job_resource(int_priority); | ||
|
||
CREATE INDEX IF NOT EXISTS i_job_int_min_cores ON job(int_min_cores); | ||
|
||
CREATE INDEX IF NOT EXISTS i_layer_limit_pk_layer ON layer_limit(pk_layer); | ||
|
||
CREATE INDEX IF NOT EXISTS i_folder_resource_int_cores ON folder_resource(int_cores); | ||
|
||
CREATE INDEX IF NOT EXISTS i_job_ts_updated ON job(ts_updated); | ||
|
||
CREATE INDEX IF NOT EXISTS i_layer_str_tags ON layer(str_tags); |