Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GstLAL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lscsoft
GstLAL
Commits
05e11057
Commit
05e11057
authored
5 years ago
by
Ryan Michael Magee
Browse files
Options
Downloads
Patches
Plain Diff
snr_simplify_and_cluster.sql: improved indexing for cluster info table
parent
cbf71659
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gstlal-inspiral/share/snr_simplify_and_cluster.sql
+6
-0
6 additions, 0 deletions
gstlal-inspiral/share/snr_simplify_and_cluster.sql
with
6 additions
and
0 deletions
gstlal-inspiral/share/snr_simplify_and_cluster.sql
+
6
−
0
View file @
05e11057
...
...
@@ -172,6 +172,9 @@ FROM
-- create a look-up table of info required for clustering
--
CREATE
INDEX
tmpindex1
ON
coinc_event_map
(
coinc_event_id
);
CREATE
INDEX
tmpindex2
ON
coinc_event
(
coinc_event_id
);
CREATE
TEMPORARY
TABLE
_cluster_info_
AS
SELECT
coinc_event
.
coinc_event_id
AS
coinc_event_id
,
...
...
@@ -185,6 +188,9 @@ CREATE TEMPORARY TABLE _cluster_info_ AS
JOIN
coinc_inspiral
ON
(
coinc_inspiral
.
coinc_event_id
==
coinc_event
.
coinc_event_id
);
DROP
INDEX
tmpindex1
;
DROP
INDEX
tmpindex2
;
CREATE
INDEX
tmpindex1
ON
_cluster_info_
(
coinc_event_id
);
CREATE
INDEX
tmpindex2
ON
_cluster_info_
(
category
,
end_time
,
ranking_stat
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment