Commit ccf5d0a5 authored by Jessica Severin's avatar Jessica Severin
Browse files

added index on analysis_job_file.hive_id to speed up delete when table

gets large
parent be009c7f
......@@ -159,7 +159,8 @@ CREATE TABLE analysis_job_file (
type varchar(16) NOT NULL default '',
path varchar(255) NOT NULL,
UNIQUE KEY job_hive_type (analysis_job_id, hive_id, type)
UNIQUE KEY job_hive_type (analysis_job_id, hive_id, type),
INDEX hive_id (hive_id)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment