Project

General

Profile

« Previous | Next » 

Revision 11868

inputs/GBIF/raw_occurrence_record_plants/postprocess.sql: CREATE INDEX ... specimenHolderInstitutions: documented runtime (45 min)

View differences:

inputs/GBIF/raw_occurrence_record_plants/postprocess.sql
1 1
SELECT util.search_path_append('util');
2 2

  
3
SELECT create_if_not_exists($$CREATE INDEX raw_occurrence_record_plants_institution_code ON raw_occurrence_record_plants ("specimenHolderInstitutions")$$);
3
SELECT create_if_not_exists($$CREATE INDEX raw_occurrence_record_plants_institution_code
4
ON raw_occurrence_record_plants ("specimenHolderInstitutions")$$)
5
; -- runtime: 45 min ("2629095.310 ms") @starscream
4 6

  
5 7
-- Remove institutions that we have direct data for
6 8
-- runtime: 3.5 min ("208377.225 ms") @starscream

Also available in: Unified diff