|
|
@ -79,9 +79,13 @@ drop table tmp_${basetable.runtime_tablename}; |
|
|
|
</#if> --Ende Summierung |
|
|
|
</#if> --Ende Summierung |
|
|
|
|
|
|
|
|
|
|
|
--TODO: indizes |
|
|
|
--TODO: indizes |
|
|
|
create index ix_geschlecht_dashboard_mw on ${basetable.runtime_tablename}(geschlecht); |
|
|
|
<#foreach basetable_column in basetable_columns> |
|
|
|
create index ix_tid_stg_dashboard_mw on ${basetable.runtime_tablename}(tid_stg); |
|
|
|
<#if basetable_column.is_sum=0> |
|
|
|
create index ix_sem_rueck_beur_ein_dashboard_mw on ${basetable.runtime_tablename}(sem_rueck_beur_ein); |
|
|
|
create index ix_${basetable_column.name}_dashboard on ${basetable.runtime_tablename}(${basetable_column.name}); |
|
|
|
|
|
|
|
--create index ix_tid_stg_dashboard_mw on ${basetable.runtime_tablename}(tid_stg); |
|
|
|
|
|
|
|
--create index ix_sem_rueck_beur_ein_dashboard_mw on ${basetable.runtime_tablename}(sem_rueck_beur_ein); |
|
|
|
|
|
|
|
</#if> |
|
|
|
|
|
|
|
</#foreach> |
|
|
|
|
|
|
|
|
|
|
|
</#if> --Ende is_virtual=0 |
|
|
|
</#if> --Ende is_virtual=0 |
|
|
|
</#foreach> |
|
|
|
</#foreach> |
|
|
|