Cardinality
The way tables are related. 3 types:
Bridge table
Decomposes the M-to-N table in to one-to-many relationships.
CIF and Programming languages composed of
SQL basic form
Select [fields] from [one or more tables] Where [criteria] Group by [product] Having [criteria]
Join
Generally composed of an equality comparison between foreign key and primary key of related tables.
Different ways of creating joins (Venn Diagrams)
Trends in the database world
Data warehouse
A database that is maintained separately from the organization’s operational databases for the purpose of managerial decision-making.
Data warehousing
The process of constructing and using data warehouses.
Why do we need a separate data warehouse?
Components of a data warehouse framework
Production
Contains the different databases.
ETL
Extract, Transform, Load. Within the component, you want to clean, convert, and link the data to improve the data quality.
Data warehouse:
The data in this part is more ‘formed’ to support the information requirements for managers and decision-making. This data is cleaned, ordered and linked. -> Star and Snowflake modelling. This part does not have up-to-date data. There is a certain delay because of the ETL process.
Data Marts
A subset of a data warehouse. There are less details, history and dimensions. It is user/group oriented.
Dependent Data Mart
Dependent on the central warehouse.
Independent Data Mart
Independent from the central warehouse and is directly linked to the ETL.
Metadata
Data about the data (such as location, meaning, transformations etc.)
BI applications
Connected with the data warehouse or data mart. Two trends:
What is a datawarehouse
Subject oriented
Integrated
Time-variant
Non-volatile