惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
DataBreaches.Net
IT之家
IT之家
The Cloudflare Blog
Apple Machine Learning Research
Apple Machine Learning Research
WordPress大学
WordPress大学
N
Netflix TechBlog - Medium
阮一峰的网络日志
阮一峰的网络日志
P
Proofpoint News Feed
L
LangChain Blog
博客园 - Franky
美团技术团队
J
Java Code Geeks
Microsoft Security Blog
Microsoft Security Blog
博客园 - 叶小钗
小众软件
小众软件
Y
Y Combinator Blog
B
Blog RSS Feed
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
D
Docker
Hugging Face - Blog
Hugging Face - Blog
Jina AI
Jina AI
罗磊的独立博客
大猫的无限游戏
大猫的无限游戏
Vercel News
Vercel News

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Modelling, Joins, Relationships and different Schemas
Pepsy-11y · 2026-06-21 · via DEV Community

Pepsy-11y

Data Modelling is the invisible architecture that structures your data so it is fast accurate and scalable.
It is the process of identifying, organizing and defining the types of data a business collects and the relationship between them.

Joins
1.Left OuterJoin
Keeps all rows from the first(left) table and adds the matching rows from the second (right) table.
If there is no match,it returns null for the right table's column.

2.Right Outer Join
It returns all the rows from the right table that are specified in the right outer join clause, not just the rows in which the columns match.

3.Inner Join
Also known as a simple join, returns rows from joined tables that have matching rows.

4.Full Outer Join
It returns all joined rows from both tables, plus one row for each unmatched left row(extended with nulls on the right), plus one row for each unmatched right row(extended with nulls on the left).

5.Cross Join
A cross join returns all possible combinations of rows of two tables(also called a Cartesian product).

Relationships
1.Cardinality

  • One-to-Many
    On the one-side of the relationship the column must have unique values; on the many-side the value can(and usually does) contain duplicates.

  • One-to-One
    On both sides of the relationship the columns need to have unique values. A more accurate name would be "zero-or-one"-to-"zero-or-one" relationship because the presence of a row in one table does not imply the presence of a corresponding row in the other table.

  • Many-to-Many
    On both sides of the relationship the columns can have duplicates.
    These occur when neither table has unique values, or when you are trying to directly connect two fact tables.

2.Active vs Inactive relationships
Active: Represented by a solid line; used automatically by Power BI visuals.
Inactive: Represented by a dashed line ; ignored by default unless explicitly invoked.

Different Schemas

  1. Star Schema It is a straightforward and commonly used data modeling approach in Power BI. It consists of a central fact table connected to multiple dimension tables, forming a star-like structure. Advantages are:
  • Simplicity
  • Query Performance
  • User-Friendly

2.Snowflake Schema
It is an extension of the star schema, where dimension tables are further normalised into multiple related tables, forming a snowflake-like structure.
Advantages are:

  • Reduced Redundancy
  • Scalability
  • Detailed data organization.