Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_int-interactive-sql-engine

Federated Interactive SQL (Trino / Presto) Internals (Coordinator, Splits & Pipelined MPP)

6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Federated Interactive SQL (Trino / Presto) Internals (Coordinator, Splits & Pipelined MPP) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_int-interactive-sql-engine/opengraph-image)](https://archos.sageideas.dev/d/dgm_int-interactive-sql-engine)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_int-interactive-sql-engine)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_int-interactive-sql-engine" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Federated Interactive SQL (Trino / Presto) Internals (Coordinator, Splits & Pipelined MPP) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["BI / Ad-Hoc SQL"]
  n1_1["Trino Coordinator"]
  n2a_2[("Catalog Connectors")]
  n2b_3["Stateless MPP Workers"]
  n3_4[("Data Sources")]
  downstream_5["Downstream & OTel"]
  client_0 -->|"1. Plan DAG · HTTP/SQL"| n1_1
  n1_1 -->|"2a. List · SPI"| n2a_2
  n1_1 -.->|"2b. Exec stage · HTTP/2"| n2b_3
  n2a_2 -->|"3a. Scan cols · S3/SQL"| n3_4
  n2b_3 -->|"3b. Sync · Control"| n3_4
  n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5

COMPONENT STACK (6)

  • BI / Ad-Hoc SQLSTATELESS
    Federated Cross-Store SQL
  • Trino CoordinatorSTATELESS
    Parses SQL, CBO & schedules splits
  • Catalog ConnectorsSTATEFUL
    Iceberg, PG & Kafka split meta
  • Stateless MPP WorkersSTATELESS
    Pipelined SIMD stages + hash exch
  • Data SourcesSTATEFUL
    Predicate & projection pushdown
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. BI / Ad-Hoc SQL → Trino Coordinator (Plan DAG)[HTTP/SQL]
  2. Trino Coordinator → Catalog Connectors (List)[SPI]
  3. Trino Coordinator → Stateless MPP Workers (Exec stage)[HTTP/2]
  4. Catalog Connectors → Data Sources (Scan cols)[S3/SQL]
  5. Stateless MPP Workers → Data Sources (Sync)[Control]
  6. Data Sources → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →