Commit dd68a5a4 authored by Erik Alexandre Pucci's avatar Erik Alexandre Pucci

database: Replanning the database and its data marts 8

Signed-off-by: default avatarErik Alexandre Pucci <eap08@c3sl.ufpr.br>
parent aa447afe
......@@ -19,10 +19,10 @@
* USA.
*/
create index on dm_avail_state_history (project, contact_date);
create index on dm_avail_city_history (project, contact_date);
create index on dm_invent_machine (project, state, city);
create index on dm_audit_zm_school (project, state, city);
create index on dm_alert_machine (project, state, city);
create index on dm_alert_state_history (project, contact_date);
create index on dm_alert_city_history (project, contact_date);
create index on dm_avail_state_history (contact_date desc);
create index on dm_avail_city_history (contact_date desc);
create index on dm_invent_machine (state, city);
create index on dm_audit_zm_school (state, city);
create index on dm_alert_machine (state, city);
create index on dm_alert_state_history (contact_date desc);
create index on dm_alert_city_history (contact_date desc);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment