Same category: SQL federation

Otterstax vs Trino

Is Otterstax an alternative to Trino? For many teams, yes. Both run federated queries. Otterstax differs in four ways: apps connect over the MariaDB / MySQL and PostgreSQL protocols with their own driver or ORM, not only HTTP and JDBC / ODBC; it supports CDC, dual writes and gradual migration; it runs ONNX models as SQL functions and uses GPUs (Enterprise); and on DWH queries over complex clusters its overhead is 5–15 p.p. lower.

  • Apps connect with their own MariaDB or PostgreSQL driver or ORM
  • Writes across databases, CDC and dual writes for gradual migration
  • Runs as a single process, without a cluster
  • Apache 2.0 core, self-hosted only
  • −36.8%fraud · trading
  • −23%migration TCO · fintech
  • ~1Mqueries a day · fintech
  • MariaDB partner
  • Apache 2.0
  • On-prem · no telemetry

Why teams pick Otterstax

OtterstaxTrino
Apps connect as to MariaDB / PostgreSQL, with their own driver or ORM ✓— (HTTP, JDBC / ODBC)
CDC, dual writes and gradual migration ✓—
Runs without a cluster ✓—
ML models as SQL functions (ONNX) ✓ (Enterprise)—
GPU-accelerated SQL ✓ (Enterprise)—
Open-source license Apache 2.0Apache 2.0

Based on public documentation of each product, September 2026.

Why teams trust Otterstax

In production

  • Banking PostgreSQL → MariaDB migration, 80–100 TB, in 1 year instead of 2
  • Payments 30–50% faster time-to-production for ML features
  • Trading −36.8% fraud with real-time scoring in SQL
Case study on mariadb.org Customer stories →

Security

  • On-prem / self-hosted only
  • no telemetry, no phone-home
  • zero copy: queries run where the data lives
Security overview →

Live project

  • 9 commits in the last 90 days
GitHub →

Talks

As presented at Internals Berlin 2025 and PyData Yerevan 2026

Proof for engineers

Proof for engineers

DWH queries vs Trino

5–15 p.p.
lower overhead than Trino on the same clusters

On DWH queries over PostgreSQL / MariaDB clusters with Kafka, Otterstax overhead is 5–15 p.p. lower than Trino’s. Source: customer production.

Trade-offs: every query adds one network hop, and a query across several data sources waits for the slowest one. The planner pushes heavy work down to the sources to compensate.

Migration

Moving from Trino or Starburst

What changes

  • Apps connect with their MariaDB or PostgreSQL driver or ORM instead of JDBC / ODBC or the HTTP client.
  • Data sources are registered in the Otterstax catalog.
  • Queries that rely on Trino-specific functions are checked and rewritten where needed.

What stays

  • Your data stays in the same databases. Otterstax has no storage of its own.
  • Federated SQL across all your sources.
  • Self-hosted, in your own infrastructure.

How long it takes

Start with one service, check the results, then move the rest one service at a time.

Guide

Do you need a Trino cluster?

What Trino needs to run, what Otterstax needs, three typical scenarios and a four-question decision tree.

For your CTO

The short version for whoever signs off

Money and speed

  • −36.8%fraud after moving to real-time detection · a trading company
  • 1 yearmigration time, instead of the estimated 2 · a fintech company
  • 30–50%faster time-to-production for anti-fraud ML features · a payments company

Risk, taken off the table

  • On-prem and self-hosted only, no telemetry: data never leaves your infrastructure.
  • Apache 2.0 core: your team can read, audit and fork the code.
  • Start with a 2-week pilot on your own data sources.
For engineers

Speaks your stack: MariaDB / MySQL and PostgreSQL wire protocols

Wire protocols
MariaDB / MySQL, PostgreSQL, Arrow Flight SQL, ADBC, MCP (AI agents), Spark Connect.
Scale
Open source: one process. Enterprise: a Kubernetes cluster with auto-failover, spill to disk and a cost-based adaptive optimizer.
FAQ

Frequently asked questions

All questions →

Why so few connectors?

We focus on complex DWH queries with many JOINs and go deep rather than wide. Otterstax also writes (INSERT / UPDATE / DELETE) to MariaDB, PostgreSQL and ClickHouse, and apps connect to it over the MariaDB / MySQL and PostgreSQL protocols. We cover the databases that carry live application traffic and add new sources when a task needs them, for example after a merger.

See Otterstax on your own data sources

In a 30-minute call we'll map your stack and show a working query across your data sources.