HabsiBlog
LearningBuildingExploring it all
عربي
Skip to content
Habsi Blog

Learn something useful every day

  • Home
  • Technology
    • AI
    • Home Lab
    • Programming
  • Science
  • Space
  • Nature
  • Health
  • History
  • PlayStation
  • LinkedIn
  • Gitea
  • GitHub
  • Instagram
  • Games
  • PSN Alt
  • عربي

sql

  • Home
  • sql
SQL Gaps and Islands Explained: How Row-Number Differences, Boundary Flags, and Running Maximums Find Consecutive Runs
Posted inTechnology

SQL Gaps and Islands Explained: How Row-Number Differences, Boundary Flags, and Running Maximums Find Consecutive Runs

Many data questions are about continuity. How many days in a row did a customer log in? When did a machine stay in the same state? Which clicks belong to…
Posted by KHAMIS ALHABSI 29/11/2026
SQL Fan Traps and Chasm Traps Explained: How Join Grain, Row Multiplication, and Pre-Aggregation Keep Totals Correct
Posted inTechnology

SQL Fan Traps and Chasm Traps Explained: How Join Grain, Row Multiplication, and Pre-Aggregation Keep Totals Correct

A SQL query can run without errors, use valid join keys, and still report totals that are badly wrong. A common cause is that a join repeats rows before an…
Posted by KHAMIS ALHABSI 29/11/2026
As-Of Joins Explained: How Match Direction, Staleness Tolerance, and Tie-Breaking Align Time-Series Data
Posted inTechnology

As-Of Joins Explained: How Match Direction, Staleness Tolerance, and Tie-Breaking Align Time-Series Data

Many data questions come down to what was known about something at a particular moment. Which price quote was in effect when a trade executed? What was the latest temperature…
Posted by KHAMIS ALHABSI 28/11/2026
Bitemporal Data Modeling Explained: How Valid Time, Transaction Time, and Corrections Let You Query What Was True and What You Knew
Posted inTechnology

Bitemporal Data Modeling Explained: How Valid Time, Transaction Time, and Corrections Let You Query What Was True and What You Knew

Most databases store a single answer to the question "what is the current state?" When a record changes, the old value is overwritten or, at best, preserved in an audit…
Posted by KHAMIS ALHABSI 26/11/2026
Slowly Changing Dimensions Explained: How Type 1, Type 2, and Type 3 Patterns Preserve or Overwrite History in Warehouses
Posted inTechnology

Slowly Changing Dimensions Explained: How Type 1, Type 2, and Type 3 Patterns Preserve or Overwrite History in Warehouses

Every analytics warehouse eventually faces the same awkward question: when a customer moves to a new city, a product changes category, or a sales rep switches teams, what should happen…
Posted by KHAMIS ALHABSI 25/11/2026
Database Indexing Explained: How B-Trees, Query Plans, Composite Keys, and Write Costs Shape Query Speed
Posted inTechnology

Database Indexing Explained: How B-Trees, Query Plans, Composite Keys, and Write Costs Shape Query Speed

Almost every application that stores data eventually meets the same problem: a query that felt instant with a few hundred rows becomes painfully slow with millions. In many cases the…
Posted by KHAMIS ALHABSI 24/11/2026
Database Indexing Explained: How B-Trees, Composite Keys, Covering Indexes, and Query Plans Make Lookups Fast
Posted inTechnology

Database Indexing Explained: How B-Trees, Composite Keys, Covering Indexes, and Query Plans Make Lookups Fast

Almost every slow database query has the same root cause: the engine is reading far more data than it needs to. An index is the main tool for fixing that.…
Posted by KHAMIS ALHABSI 24/11/2026
Slowly Changing Dimensions Explained: How Type 1, Type 2, and Type 3 Patterns Preserve History in Data Warehouses
Posted inTechnology

Slowly Changing Dimensions Explained: How Type 1, Type 2, and Type 3 Patterns Preserve History in Data Warehouses

Business data changes constantly. Customers move, products are reclassified, sales representatives switch territories, and accounts change plans. A data warehouse that simply overwrites old values with new ones can quietly…
Posted by KHAMIS ALHABSI 23/11/2026
Database Indexing Explained: How B-Trees, Composite Keys, Selectivity, and Query Plans Make Lookups Fast
Posted inTechnology

Database Indexing Explained: How B-Trees, Composite Keys, Selectivity, and Query Plans Make Lookups Fast

Every database eventually faces the same problem: a table grows, a query that once felt instant starts to crawl, and the team asks whether an index will fix it. Sometimes…
Posted by KHAMIS ALHABSI 23/11/2026
Database Indexing Explained: How B-Trees, Composite Keys, Covering Indexes, and Write Costs Shape Query Speed
Posted inTechnology

Database Indexing Explained: How B-Trees, Composite Keys, Covering Indexes, and Write Costs Shape Query Speed

Almost every slow database query has the same root cause: the engine is reading far more data than it needs to. An index is the most common tool for fixing…
Posted by KHAMIS ALHABSI 23/11/2026

Posts pagination

1 2 3 4 Next page

Recent Posts

  • Why Wet Sand Turns Pale Around Your Foot: The Strange Science of Dilatancy
  • Enteric Coatings Explained: How Some Tablets Wait Until They Leave the Stomach to Open
  • Tsunami Earthquakes: Why Some Gentle-Feeling Quakes Unleash Outsized Waves
  • The Greenwich Time Lady: How the Belville Family Delivered Accurate Time to London by Hand
  • The Kirkendall Effect: How Unequal Atomic Traffic Moves Buried Markers and Hollows Out Solids
© 2026 Habsi Tech. Part of habsi.net.
Scroll to Top
🤖
Habsi ButlerOnline • blog & homelab assistant