Remove VACUUM

This commit is contained in:
Jan Eitzinger 2023-06-05 16:01:14 +02:00
parent 8b6a1c8045
commit 5ca4bdbd91
2 changed files with 0 additions and 2 deletions

View File

@ -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);

View File

@ -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);