Skip to content
Snippets Groups Projects
Commit 8d505a25 authored by Chad Hanna's avatar Chad Hanna
Browse files

Update inj_simplify_and_cluster.sql for faster segment query

parent e31b64e5
No related branches found
No related tags found
No related merge requests found
......@@ -115,7 +115,7 @@ DROP TABLE _idmap_;
-- references to their IDs in other tables
--
CREATE INDEX tmpindex ON segment(segment_def_id, start_time, start_time_ns, end_time, end_time_ns);
CREATE INDEX tmpindex ON segment(segment_def_id, start_time, start_time_ns, end_time, end_time_ns, segment_id);
DELETE FROM
segment
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment