/tools

Dimensional-model designer

Design facts, dimensions and many-to-many bridges. Declare each fact’s grain, document shared dimensions and measure additivity, then review the star and warehouse bus matrix. All work stays in this browser.

Edit one form at a time and use its Save button. Selecting another item or saving restores other forms to saved values. Exports pause while a form has unsaved edits. Reload clears the design; export dimensional JSON to save it.

Star view

Select a box to edit it. Direct dimension roles appear on the left; fact-grain membership bridges appear on the right. Different roles can reuse the same dimension. Lines show declared relationships, not verified data, conformance or safe aggregation.

Warehouse bus matrix

Each row is a fact table at its declared grain. Columns are dimension identities, including bridge membership. Reuse is visible; conformance status records your declaration and is not verified against data.

Shared-dimension agreements
Design review
Open dimensional JSON

Open a dimensional-model document up to 1 MB. Undo restores the previous saved design. Model-designer JSON exports the supported physical subset, without the bridge weight CHECK. Use dimensional DDL to include that range check, and keep dimensional JSON to retain grain, conformance and measure metadata.

Scope and references

The bus matrix is a detailed fact-table matrix: business process, fact table and grain per row, dimension identity per column. Sharing a dimension object documents reuse; it does not establish conformed data or business agreement. Date roles, conformance definitions, business keys, change-tracking intent and additivity remain declarations.

The physical draft supports ordinary tables, declared dimension primary keys, optional fact grain primary keys, direct dimension-role FKs and fact-to-member bridges. Bridge keys combine the referenced fact grain with the member dimension key. Weighted bridges get a fixed numeric(18,12) column and row-level 0–1 range check, without a per-fact sum rule. No reusable group-key bridge, temporal bridge, aggregate allocation, loading, SCD maintenance, source mapping or data verification is generated.

DDL is a new-design draft using the physical subset of the data-model designer, not a migration or complete PostgreSQL model. Business-key constraints, calendar population, unknown-member handling, indexes, partitions, history/version columns, temporal uniqueness, aggregation SQL and ETL require separate design. Types, NULL behavior and keys need review in a disposable database; this browser executes no SQL.

Limits: 1 MB input, 30 dimensions, 30 facts, 30 bridges, 800 user-defined columns, 100 columns/object, 16 key columns, 32 direct roles/fact and 100 measures/fact. The physical subset also caps total derived columns at 1,000. Star view shows the first 12 direct roles and 8 bridges of the selected fact, with limited attribute previews; JSON and the inspector retain all objects. Undo/Redo stores 20 revisions in memory. No input is stored or transmitted.

Grain · Bus matrix · Bridge design considerations