All your data sources.
One place to query them all.

A federated query engine for apps and AI agents. Connect MariaDB, PostgreSQL, ClickHouse and other sources, then read, write and join across all of them through one endpoint. AI agents get live, consistent context over SQL, Arrow Flight SQL, ADBC or MCP. There are no data copies or ETL jobs, and you don’t rewrite application code.

> For backend, data and AI platform teams running more than one data source.

otterstax · localhost:8816
  • −36.8%fraud · trading
  • −23%migration TCO · fintech
  • ~1Mqueries a day · fintech
  • MariaDB partner
  • Apache 2.0
  • On-prem · no telemetry
  • Speed — queries run where the data lives, on current data instead of copies that are hours old
  • Consistency — one view of all sources, CDC keeps them in sync
  • Cost — cut data-processing infrastructure TCO by up to 50%

Why teams trust Otterstax

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

The problem

Your data lives in multiple data sources. Your code holds them together.

Nobody plans a multi-source stack — it just grows. And every new feature pays for it.

Glue code in every service.

Your app opens connections to MariaDB, PostgreSQL and ClickHouse and joins the results in code. Each new query adds code to maintain and another place where data can go out of sync. Joining two data sources for one feature can take about two sprints.

Migrations that take quarters.

Moving a table from PostgreSQL to MariaDB or ClickHouse means changing every service that touches it. Teams postpone the migration, and the old database keeps growing. In one fintech case the upgrade was estimated at 2 years (8 quarters).

Decisions on yesterday's data.

Analytics and ML models read copies made by ETL jobs. Fraud checks, pricing and A/B tests react hours after something happens.

One database that can’t grow.

Everything sits in one monolithic database. Scaling or splitting it is a multi-year project, and every team waits on it.

A slow warehouse on complex queries.

Queries with many JOINs across sources take too long in the DWH, and the data there is already hours old.

Agents that read different copies of the data.

AI agents collect context from three or more data sources through custom tools. Each tool sees a different copy of the data, so the answers don’t match.

What teams told us before switching to Otterstax
20–40%

of backend time on sync and ETL

3 hours

old data in dashboards

2+ years

to migrate a database

How it works

How the federated query engine works without copying data

You can set it up without touching your application code.

1

Connect your sources.

Register MariaDB, PostgreSQL, ClickHouse, S3, Kafka or Spark in the Otterstax catalog. Otterstax doesn’t copy their data.

mariadb_prodconnected
pg_billingconnected
clickhouse_eventsconnected
s3://lake0 bytes copied
2

Point your app at Otterstax.

Use the MariaDB / MySQL or PostgreSQL driver, ORM or BI tool you already have. Analytics tools can use Arrow Flight SQL or ADBC, and AI agents can use MCP.

# .env
- DATABASE_URL=mysql://app@mariadb-prod:3306
+ DATABASE_URL=mysql://app@otterstax:8816
3

Query across everything.

JOIN tables from different data sources, write with INSERT, UPDATE and DELETE, and call ML models as SQL functions (Enterprise).

SELECT u.country, SUM(p.amount)
FROM mariadb_prod.app.users u
JOIN clickhouse_events.analytics.payments p
  ON p.user_id = u.id GROUP BY u.country;
Only the data you ask for moves over the network. Your data sources stay where they are.
How the federated query engine works →
Use cases

Use cases: cross-database joins, analytics without ETL, ML in SQL, database migration

Built for teams running more than one data source

/use-cases/cross-database-joins

One app, many data sources

Situation
An e-commerce team joined MariaDB, PostgreSQL and ClickHouse results in application code.
With Otterstax
The glue code became plain SQL through one endpoint, and the platform scaled horizontally.
Result
+36.4%
daily clients
Read: join MariaDB, PostgreSQL and ClickHouse →
/use-cases/analytics-without-etl

Analytics without ETL

Situation
An online marketplace ran dashboards and A/B tests on copies that ETL jobs refreshed every 3 hours, so results were up to 3 hours behind.
With Otterstax
Dashboards and A/B tests query the live data sources through Otterstax. The ETL jobs are gone.
Result
3 h → real time
data latency in dashboards and A/B tests
Read: real-time analytics without ETL →
/use-cases/ml-in-sqlENTERPRISE

ML in SQL: real-time fraud detection

Situation
A trading company detected fraud about 2 hours after it happened.
With Otterstax
Transactions stream in from Kafka, and an ONNX model scores each one as a SQL function.
ONNX model as a SQL function · Enterprise
SELECT tx_id, fraud_score(tx.*) AS risk
FROM kafka.transactions tx
WHERE fraud_score(tx.*) > 0.9;
Result
−36.8%
fraud
Read: real-time fraud detection in SQL →
/use-cases/database-migration

Gradual database migration

Situation
A fintech company with 80–100 TB on PostgreSQL estimated its database upgrade at 2 years (8 quarters).
With Otterstax
Services switched to Otterstax without code changes. Tables moved to MariaDB one by one, about 2–4 weeks each, with Otterstax keeping both databases in sync. The team rewrote queries for MariaDB on its own schedule.
Result
1 year
instead of the estimated 2
Read: gradual database migration →
Built for AI agents

Your apps and AI agents use the same query engine

Agents query the same federated engine and catalog as your apps. The MCP gateway gives them one more way to connect, and the engine works the same for both.

Agents read live data.

Agents query the sources directly instead of a warehouse snapshot from hours ago.

One MCP endpoint for all sources.

Agents use one open-source MCP gateway instead of a separate connector for every data source.

User permissions and an audit log.

An agent sees only what its user may see, and every query is logged with the user, the query text and the time. Per-user credentials via LDAP or Vault are part of Enterprise.

For engineering leaders

Less infrastructure. Faster delivery. No lock-in.

From heavy to light infrastructure

AI workloads multiply data volume. With Otterstax you don’t need a central warehouse or data copies, and you run fewer pipelines and pay for fewer licenses.

30–50%

faster time-to-production for ML features

payments company
2×

faster developer onboarding

e-commerce platform
60%

fewer DBA incidents

e-commerce platform
Fewer Kafka and database instancesafter replacing multi-step pipelinespayments company
Replaced ETL plus Greenplum, ClickHouse and Databrickswith queries through one enginetrading company
−23%

migration TCO

20%

faster time-to-market

After a PostgreSQL → MariaDB migration run through Otterstax. Fintech, 80–100 TB. Effect of the whole migration, including MariaDB itself. Source: mariadb.org

Self-hosted

Self-hosted, so your data stays in your infrastructure and jurisdiction.

Open core

Open-source core under Apache 2.0, so you are never locked in.

Incremental

Adopt it one service at a time. Check the results first, then retire the pipelines and subscriptions you no longer need.

Proof for engineers

Measured in customer production on complex cross-database queries over MariaDB or PostgreSQL with Kafka and S3. Baseline: the customer's previous setup, with JOINs in application code and through ETL.

Cross-database JOIN, first run

+10–20%
overhead vs the previous setup, worst case

Same query, repeat runs

+5–10%
plan and metadata cache, data cache, warm connections

DWH queries vs Trino

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

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.

Security

Your data stays where it is

Security overview →
● zero copy

Zero copy.

Otterstax has no storage of its own. Queries run where the data lives.

● self-hosted

Runs in your infrastructure and jurisdiction.

Otterstax is self-hosted only. There is no cloud service, no telemetry and no phone-home.

APACHE 2.0

Open-source code.

Your security team can read and audit the core.

ENTERPRISE • TLS • LDAP • SSO

Encryption and access control.

TLS in and out, LDAP / SSO / Vault, roles and an audit log of every query (Enterprise).

COMPLIANCE SCOPE

Fits your existing compliance.

Software you install, with no connection to us afterwards, so your SOC 2 and GDPR scope stays as it is.

FAQ

Frequently asked questions

All questions →

Do I need to change my application code?

No. Your app connects with its existing MariaDB / MySQL or PostgreSQL driver or ORM. You only change the connection string. Otterstax translates part of the SQL for the target database and passes database-specific SQL through as is.

Does Otterstax copy my data?

No. Otterstax doesn't store your data: queries run where the data lives, and only the rows a query needs pass through. You can turn on caching for heavy analytical queries. During a migration, data moves straight from the old database to the new one, and Otterstax keeps them in sync with CDC until you switch over.

How do I query MariaDB and ClickHouse together?

Connect both to Otterstax and query them from one MariaDB / MySQL-compatible endpoint. A single SQL query can JOIN tables from both databases.

Which data sources are supported?

Today: MariaDB / MySQL, PostgreSQL, ClickHouse, S3, Kafka, Redis and ScyllaDB, plus Spark integration via PySpark, Spark Connect and Spark Java. Apps and tools connect over the MariaDB / MySQL and PostgreSQL wire protocols, Arrow Flight SQL, ADBC and MCP. On the roadmap: BigQuery, MongoDB, MS SQL Server, vector databases and Iceberg / Delta.

Can AI agents query Otterstax?

Yes. Otterstax has an open-source MCP server. Agents query all connected sources through the same federated query engine as your apps, with the same source permissions. Per-user access and a full audit log come with Enterprise.

Does Otterstax support ADBC?

Yes, in open source, alongside Arrow Flight SQL and the MariaDB / MySQL and PostgreSQL wire protocols.

Does Otterstax work with Spark?

Yes. Spark jobs can read through Otterstax via PySpark, Spark Connect and Spark Java.

What is the difference between Open Source and Enterprise?

The open-source core runs as a single process with federated queries, cross-database writes, CDC without guarantees, connection pooling, window functions, probabilistic algorithms, ADBC and the MCP gateway for AI agents. Enterprise adds a Kubernetes cluster with auto-failover, spill to disk, a cost-based adaptive optimizer, cross-database transactions, ML in SQL, GPU acceleration, authentication, TLS and support.

What if your company disappears?

The core is open source under Apache 2.0. You can run and fork it without us.

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.

For engineers
Run it locally in 5 minutes

A docker-compose quickstart with demo data, started with one command.

$ git clone https://github.com/otterstax/otterstax
$ cd otterstax/examples/quick_start
$ docker compose up -d
Quickstart →

What happens next

  1. We map your data sources and pick one use case.
  2. We run Otterstax next to your current setup, and nothing is switched off.
  3. We check agreed success criteria together.
For teams
Start a 2-week pilot