-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qiita.slurm_resource_allocations (#3391)
* Update CHANGELOG.md * add db changes including fix #3368
- Loading branch information
Showing
3 changed files
with
231 additions
and
29 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
-- Apr 16, 2024 | ||
-- Adding a new table to contain the basic slurm information to minimize | ||
-- the number of times we need to retrieve this information | ||
|
||
CREATE TABLE qiita.slurm_resource_allocations ( | ||
processing_job_id uuid NOT NULL, | ||
samples integer, | ||
columns integer, | ||
input_size bigint, | ||
extra_info varchar DEFAULT NULL, | ||
memory_used bigint, | ||
walltime_used integer, | ||
CONSTRAINT pk_slurm_resource_allocations_processing_job_id PRIMARY KEY ( | ||
processing_job_id ) | ||
); | ||
|
||
ALTER TABLE qiita.slurm_resource_allocations | ||
ADD CONSTRAINT fk_slurm_resource_allocations | ||
FOREIGN KEY ( processing_job_id ) | ||
REFERENCES qiita.processing_job ( processing_job_id ); |
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
Oops, something went wrong.