Skip to content

Instantly share code, notes, and snippets.

📊 Data Modeling Comparison: Dimensional vs Data Vault

🔷 Top 5 Characteristics

Dimensional Modeling (DM)

  1. Star/Snowflake Schema: Organizes data into fact and dimension tables for intuitive querying.
  2. Business-Oriented: Designed for ease of understanding by business users and analysts.
  3. Denormalized Structure: Optimized for performance in OLAP systems.
  4. Slowly Changing Dimensions (SCD): Handles historical changes in dimension data.
  5. Query Performance: Highly efficient for aggregations and slicing/dicing.

Ubuntu

% sudo apt install docker.io
% sudo systemctl enable --now docker
% sudo docker --version
% service docker status
% sudo docker run hello-world
@leoricklin
leoricklin / res_gcp.md
Last active May 15, 2024 06:12
20221109
@leoricklin
leoricklin / PySpark DataFrame from many small pandas DataFrames.ipynb
Created September 30, 2020 07:26 — forked from linar-jether/PySpark DataFrame from many small pandas DataFrames.ipynb
Convert a RDD of pandas DataFrames to a single Spark DataFrame using Arrow and without collecting all data in the driver.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import wordcloud.PolarWordCloud
import wordcloud.CollisionMode
import wordcloud.PolarBlendMode
import wordcloud.bg.CircleBackground
import wordcloud.bg.PixelBoundryBackground
import wordcloud.bg.RectangleBackground
import wordcloud.font.CloudFont
import wordcloud.font.FontWeight
import wordcloud.font.scale.LinearFontScalar
import wordcloud.font.scale.SqrtFontScalar