mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-11-10 08:57:25 +01:00
Remove VACUUM
This commit is contained in:
parent
8b6a1c8045
commit
5ca4bdbd91
@ -33,7 +33,6 @@ file_data_vol_total REAL NOT NULL DEFAULT 0.0;
|
|||||||
INSERT INTO job_new SELECT * FROM job;
|
INSERT INTO job_new SELECT * FROM job;
|
||||||
DROP TABLE job;
|
DROP TABLE job;
|
||||||
ALTER TABLE job_new RENAME TO job;
|
ALTER TABLE job_new RENAME TO job;
|
||||||
VACUUM;
|
|
||||||
|
|
||||||
CREATE INDEX IF NOT EXISTS job_stats ON job (cluster,subcluster,user);
|
CREATE INDEX IF NOT EXISTS job_stats ON job (cluster,subcluster,user);
|
||||||
CREATE INDEX IF NOT EXISTS job_by_user ON job (user);
|
CREATE INDEX IF NOT EXISTS job_by_user ON job (user);
|
||||||
|
@ -33,7 +33,6 @@ UNIQUE (job_id, cluster, start_time));
|
|||||||
INSERT INTO job_new SELECT * FROM job;
|
INSERT INTO job_new SELECT * FROM job;
|
||||||
DROP TABLE job;
|
DROP TABLE job;
|
||||||
ALTER TABLE job_new RENAME TO job;
|
ALTER TABLE job_new RENAME TO job;
|
||||||
VACUUM;
|
|
||||||
|
|
||||||
CREATE INDEX IF NOT EXISTS job_stats ON job (cluster,subcluster,user);
|
CREATE INDEX IF NOT EXISTS job_stats ON job (cluster,subcluster,user);
|
||||||
CREATE INDEX IF NOT EXISTS job_by_user ON job (user);
|
CREATE INDEX IF NOT EXISTS job_by_user ON job (user);
|
||||||
|
Loading…
Reference in New Issue
Block a user