Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| observation_id | int8 | 19 | null |
|
|
The consuming observation whose rolled-up results use the depended-on data. |
|||||
| substratum_history_id | int8 | 19 | null |
|
|
The substratum’s history in the consuming observation’s snapshot. |
|||||
| depends_on_observation_id | int8 | 19 | null |
|
|
The observation whose substratum results are rolled forward; equals observation_id when the substratum was observed in the consuming observation. |
|||||
| depends_on_substratum_history_id | int8 | 19 | null |
|
|
The substratum’s history in the depended-on observation’s snapshot. |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| observation_dependent_substrata_pkey | Primary key | Asc/Asc | observation_id + substratum_history_id |
| observation_dependent_substra_depends_on_observation_id_dep_idx | Performance | Asc/Asc | depends_on_observation_id + depends_on_substratum_history_id |