Table pub.mgd.dag_closure A record in this table represents an ancestor/descendent pair within a DAG. It caches data for performance reasons. Two common queries of a DAG are: 1. retrieve all the descendents of a node 2. retrieve all the ancestors of a node This table provides a mechanism for performing such queries within one SQL statement.
|
Generated by SchemaSpy |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Table contained 1,850,004 rows at Mon Sep 11 06:12 EDT 2023 |
Indexes:
Column(s) | Type | Sort | Constraint Name |
---|---|---|---|
_dag_key + _ancestor_key + _descendent_key | Primary key | Asc/Asc/Asc | dag_closure_pkey |
_ancestor_key | Performance | Asc | dag_closure_idx_ancestor_key |
_ancestorlabel_key | Performance | Asc | dag_closure_idx_ancestorlabel_key |
_ancestorobject_key + _descendentobject_key + _dag_key | Performance | Asc/Asc/Asc | dag_closure_idx_clustered |
_descendent_key | Performance | Asc | dag_closure_idx_descendent_key |
_descendentlabel_key | Performance | Asc | dag_closure_idx_descendentlabel_key |
_descendentobject_key + _ancestorobject_key + _dag_key | Performance | Asc/Asc/Asc | dag_closure_idx_descendentobject_key |
_mgitype_key | Performance | Asc | dag_closure_idx_mgitype_key |
|