Beyond Facts and Dimensions Flashcards
What are the most common type of tables in Caboodle?
Facts and dimensions.
Aug. 2021, 6.3
Why do bridge tables exist?
To capture many to many relationships.
Aug. 2021, 6.4
Name the columns in a dbo bridge table.
- (Name)ComboKey
- (Name)Key
(Name) = the name of the table to which a bridge has been formed.
(Aug. 2021, 6.4)
In a bridge table, which column can be used as a lookup column to link to the corresponding dimension table?
The (Name)Key column.
Aug. 2021, 6.4
In a bridge table, which column is the surrogate key.
The (Name)ComboKey
Aug. 2021, 6.4
A lookup column to a bridge table ends in ________.
ComboKey
Aug. 2021, 6.4
What is the difference between a bridge table in dbo verses a bridge table in FullAccess?
While both tables join to the same dimension table, the FullAccess view displays additional information.
(Aug. 2021, 6.4-6.5)
What data structure is appropriate to use when attributes change often?
The EAV structure.
Aug. 2021, 6.6
What are the three major components of the EAV structure?
- Entity
- Attribute
- Value
(Aug. 2021, 6.6)
What DMC type uses the EAV model and is easily recognizable?
The AttributeValueDim DMC type.
Ex: PatientAttributeValueDim, DepartmentAttributeValueDim
(Aug. 2021, 6.6)
What tables contain attribute-value pairs and can be created for different entities?
AttributeValueDim
For instance, there is the PatientAttributeValueDim table to go along with PatientDim, or the DepartmentAttributeValueDim table to go along with DepartmentDim.
(Aug. 2021, 6.6)
What table stores the list of all attributes used by the AttributeValueDim system?
AttributeDim
It has one row per attribute and contains the name of the attribute (as well as some additional metadata).
(Aug. 2021, 6.6)
How is the EAV structure of AttributeValueDim different from other DMC types?
AttributeValueDim joins to AttributeDim. Other DMC types store their attributes in separate dimensions.
For example, LabComponentResultFact uses the LabComponentDim DMC as its attribute lookup.
(Aug. 2021, 6.8)
How are data marts similar to fact tables?
They both store data about significant measurable events.
Aug. 2021, 6.9
Why data marts?
A data mart can bring together data points from several DMC’s into one place. Data marts typically serve as comprehensive data sources for a particular reporting need, making it easier for business intelligence developers to write particular reports.
(Aug. 2021, 6.9)