Revision 11867
Added by Aaron Marcuse-Kubitza about 11 years ago
inputs/GBIF/raw_occurrence_record_plants/postprocess.sql | ||
---|---|---|
3 | 3 |
SELECT create_if_not_exists($$CREATE INDEX raw_occurrence_record_plants_institution_code ON raw_occurrence_record_plants ("specimenHolderInstitutions")$$); |
4 | 4 |
|
5 | 5 |
-- Remove institutions that we have direct data for |
6 |
-- runtime: 3.5 min ("208377.225 ms") @starscream |
|
6 | 7 |
-- rerun time: ~0 ("Time: 4.924 ms") thanks to index |
7 | 8 |
DELETE FROM :table |
8 | 9 |
WHERE "specimenHolderInstitutions" IN ( |
Also available in: Unified diff
inputs/GBIF/raw_occurrence_record_plants/postprocess.sql: Remove institutions that we have direct data for: documented runtime (3.5 min)