General concepts
Database normalization
Appears inDP-900
A technique that splits data into related tables so each piece of data is stored in only one place. It reduces redundancy and avoids insert, update, and delete anomalies. First normal form (1NF) requires atomic values in each column.
On the exam
In DP-900: storing several comma-separated phone numbers in one column breaks 1NF; a many-to-many relationship is modeled with a junction table. Analytics does the opposite (denormalizes) to reduce joins.
Related terms
- Primary and foreign keysThe primary key uniquely identifies each row in a table and doesn't allow nulls or duplicates. The foreign key is a column that references another table's primary key, which creates the relationship and enables referential integrity.
- OLTP vs. OLAPOLTP (online transaction processing) records many small read and write operations with transactional integrity, such as sales or payments. OLAP (online analytical processing) queries and aggregates large volumes of historical data for reports and trends.
- Star schemaAn analytical model design with a fact table in the center, storing measurable values (amounts, quantities), and dimension tables around it, with descriptive attributes (product, customer, date), joined by one-to-many relationships.