30 Commits

Author SHA1 Message Date
cdd6418c79 merge training_duration and training_info into 1 view 2021-09-12 14:18:27 +02:00
364329dc0e more generous Trezzo sull'Adda radius 2021-09-12 11:51:25 +02:00
81551b4890 added more places in the resolve_geo_location lut 2021-09-12 11:51:03 +02:00
868dcb89f2 resolve_geo_location(1) immutable lut function 2021-09-12 11:26:28 +02:00
2d802b67d5 training_duration with the "distinct on" paradigm
This improves performance against the previous "partition by" approach
2021-09-12 11:25:30 +02:00
64c4938c88 btree 2021-09-12 09:50:03 +02:00
4fd00bc8fd hash index on training_data.training_id 2021-09-12 09:31:40 +02:00
aa792ce33a training_info view 2021-03-02 09:00:13 +01:00
2c19532e1b start_location and end_location for training_duration view 2021-03-01 13:55:11 +01:00
a257a08760 training_duration view 2021-03-01 13:38:11 +01:00
6422fff894 training_data(t) btree index 2021-03-01 12:33:26 +01:00
9f01bcafdb drop idx_training_data_training_id 2021-03-01 11:58:40 +01:00
de7b3e5fb2 fixed typo (double col name on index decl) 2021-02-24 17:21:32 +01:00
c60a497285 GIST index on geog col 2021-02-24 16:55:06 +01:00
b9bb919b96 geog not null and speed can be null 2021-02-24 16:51:46 +01:00
69d73b4f6f PostGIS 2021-02-24 16:38:49 +01:00
e4df2727e6 type instead of medium 2021-02-24 16:08:21 +01:00
800d5151b6 removed distance & kcal col from training_data 2021-02-24 14:00:37 +01:00
6c103d512c elevation col instead of altitude 2021-02-24 13:52:35 +01:00
0bf8deff30 moving_distance and stopped_distance col 2021-02-24 11:35:39 +01:00
35f2794d5f moving_time and stopped_time col 2021-02-24 11:32:12 +01:00
b2364b6252 owner column 2021-02-24 11:18:27 +01:00
6084a79b3c rename comment col into description 2021-02-24 11:13:40 +01:00
a123a02ff0 remove duplicate col in training_data table 2021-02-24 11:05:49 +01:00
ecd763dad2 filename column in training table to prevent duplicates 2021-02-24 10:36:04 +01:00
4943a2a3c0 speed col on training_data table 2021-02-24 10:30:31 +01:00
f5f2b60700 index on training_data(training_id) 2021-02-24 10:27:18 +01:00
b22ce1392d training and training_data 2021-02-24 10:26:09 +01:00
6a19ae637b training table 2021-02-23 16:49:24 +01:00
ec6f64dcea DDL file 2021-02-23 16:31:06 +01:00