Add indices to nexrad_afos_message
This commit is contained in:
parent
c12d250d3e
commit
0dc2358a9b
1 changed files with 5 additions and 0 deletions
|
@ -60,6 +60,11 @@ create table nexrad_afos_message (
|
|||
forecaster TEXT NOT NULL
|
||||
);
|
||||
|
||||
create index nexrad_afos_message_timestamp_idx on nexrad_afos_message (timestamp_start, timestamp_end);
|
||||
create index nexrad_afos_message_wfo_idx on nexrad_afos_message (wfo);
|
||||
create index nexrad_afos_message_phenom_idx on nexrad_afos_message (phenom);
|
||||
create index nexrad_afos_message_sig_idx on nexrad_afos_message (sig);
|
||||
|
||||
select
|
||||
AddGeometryColumn('nexrad_afos_message', 'location', 4326, 'POINT'),
|
||||
CreateSpatialIndex('nexrad_afos_message', 'location');
|
||||
|
|
Loading…
Add table
Reference in a new issue