Concepts

Architecture and the two data planes

How Goni separates its control plane (Postgres) from the warehouse (external ClickHouse), and how data flows from source to chart.

Architecture and the two data planes

Goni operates against two databases. Understanding the split makes every other decision (which region, who can query what, how you back up, what happens during an outage) obvious.

You’ll learn:

  • Which database holds your users and dashboards versus which holds your analytical data
  • The path a row takes from a source system to a chart your team sees
  • The deployment options you can choose from, and what changes between them
  • Why the split matters for security, portability, and cost

The two data planes

Goni is a multi-tenant analytics product. Your account runs against control-plane state that belongs to Goni, and warehouse state that belongs to your business. They are never the same database, and they are never mixed.

The control plane is Goni’s own Postgres. It stores your workspace, users, roles, sessions, subscription, audit trail, and the metadata that describes what your BI does: dashboards, saved queries, notebooks, connections, pipelines, alerts, reports, policies, and glossary terms. When you click Save on a chart, the chart definition (title, semantic reference, filters, colours) lands here. When a teammate signs in, the session lives here.

The warehouse is ClickHouse, and it is the analytical store where your actual rows live. Sales numbers, event streams, product usage and financial ledgers live here, not in Goni’s control plane. Every query a dashboard fires runs against the warehouse, and Goni’s API passes the rows on to the browser. The control plane keeps a copy of warehouse data where a feature needs one, such as a scheduled report’s output in its run history; the Privacy Policy, section 4 lists those copies.

The rule of thumb: the control plane holds data about your analytics; the warehouse holds the analytics data itself.

Your rows never comingle with another tenant’s rows, because your warehouse is either your own ClickHouse or a set of databases on Goni’s shared ClickHouse server that only your workspace can query. Goni’s control plane knows the shape of your BI.

How data flows

A row makes the same journey every time.

source database or file
   -> Goni connectors        (streaming, columnar)
   -> warehouse raw landing
   -> semantic layer         (staging + marts, compiled from YAML)
   -> Goni API
   -> dashboards, SQL IDE, AI Ask, embeds

Goni’s connectors read from relational and warehouse sources (Postgres, MySQL, Aurora variants, BigQuery, Databricks, Cassandra, Greenplum, and more) and from uploaded CSV, Parquet, JSON, and Excel files. See Connectors for the full inventory and Pipelines for how batches are scheduled.

Rows land in the warehouse. Your semantic layer then compiles the YAML models and metrics you author (sources, models, metrics, tests) into warehouse SQL and materialises staging and mart tables. From that point on, dashboards, charts, SQL IDE sessions, grounded AI Q&A, and embeds all read from marts through a single API.

Deployment options

Goni ships in three shapes: Cloud, Bring Your Own Warehouse, and Dedicated. See Deployment models for the full comparison, isolation guarantees, and setup steps for each.

What the split gets you

Portability. Your semantic layer, dashboards, alerts, and policies are versioned artifacts. If you switch warehouses, you re-point the connection and Goni re-materialises.

Independent scaling. The warehouse scales with your query volume and row count. The control plane scales with your team size and dashboard count. Warehouse compute cost does not scale with user count.

Warehouse-degraded posture. A warehouse outage does not take Goni offline; sign-in, opened dashboards, admin, and workspace management stay up. Only query execution reports the outage.

Auditability. Every write to a Goni artifact (a dashboard save, a policy edit, a semantic model change) lands in the control-plane audit log with the actor, timestamp, and diff. Every query that runs against the warehouse lands in query history.

Last updated