Choosing a Data Model

Choosing a Data Model A workflow diagram generated by Archify. 01 / Classify 02 / Flexible Shapes 03 / Structured History Understand shape and access Pick the model Data Shape · tree, web, or events · Classify › Understand shape and access · start Data Shape tree, web, or events start Access Pattern · tree, hops, scans · Classify › Understand shape and access · read or write Access Pattern tree, hops, scans read or write Document · embedded JSON tree · Flexible Shapes › Pick the model · one-to-few Document embedded JSON tree one-to-few Graph · vertices and edges · Flexible Shapes › Pick the model · many-to-many Graph vertices and edges many-to-many Relational / Star · tables, joins, facts · Structured History › Pick the model · normalized Relational / Star tables, joins, facts normalized Event Log + CQRS · log plus read views · Structured History › Pick the model · append-only Event Log + CQRS log plus read views append-only tree, one-to-few writes, many reads hops joins, analytics classify Legend Agent logic Tool action Context / trace External system