Skip to content
Kumar Chandrachooda
Series

KC Star V5 — Three Stars and an Org Chart

In reading order.

  • 5 parts
  • ≈ 21 min total
  • 5 published
Part 1 25 Sep 2025 4 min read

An Org Chart Walks into a Warehouse

KC Star V5 gives the sales star a sibling: a full organizational hierarchy — organisation, regions, offices, personnel — with its own dimension rows, its own fact rows, and its own SCD2. Kicking off the series on the version where one star became three.

Part 2 02 Nov 2025 4 min read

The Bridge Table with Two Passports

KC Star V5 pretends one PostgreSQL instance is two databases, joined by a single un-enforced integer. CrossDatabaseFact carries two reference keys at once, and eight windowed measures value a single sale at every altitude of the org chart.

Part 3 09 Dec 2025 4 min read

Rollups at Every Altitude

KC Star V5 climbs the org chart in a single view - employee to office to region to organisation - and a stored procedure that materialises the rollups. Commission analysis and quote-to-delivery ratios fall out of the same hierarchy.

Part 4 16 Jan 2026 5 min read

One Version, Two Implementations

KC Star V5 exists in two materially different builds under one version number - the folder tells a batch/SCD2 story, the root file tells a real-time story, and they don't contain the same objects. What I learned from letting variants drift instead of forcing them to agree.

Part 5 19 Feb 2026 4 min read

The Analytical Star and Its Update Log

KC Star V5's third star is keyed by a polymorphic ReferenceId and a hierarchy-level string, fed by real-time triggers, and tracked by an update log with a PENDING to COMPLETED status - a queue that isn't actually a queue. Closing the V5 series.