# 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.

[Start with open source](https://github.com/otterstax/otterstax/tree/main/examples/quick_start) · [Talk about a pilot](https://otterstax.com/demo)

- **−36.8%** fraud · trading
- **−23%** migration TCO · fintech
- **~1M** queries 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

**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](https://mariadb.org/from-postgresql-12-to-mariadb-11-a-gradual-fintech-migration-with-23-lower-tco/)

**Security:** On-prem / self-hosted only; no telemetry, no phone-home; zero copy: queries run where the data lives. [Security overview →](https://otterstax.com/security)

**Talks:** As presented at Internals Berlin 2025 and PyData Yerevan 2026

## 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 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_prod: connected
- pg_billing: connected
- clickhouse_events: connected
- s3://lake: 0 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.

```diff
# .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).

```sql
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 →](https://otterstax.com/how-it-works)

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

Built for teams running more than one data source

### 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 →](https://otterstax.com/use-cases/cross-database-joins)

### 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 →](https://otterstax.com/use-cases/analytics-without-etl)

### ML in SQL: real-time fraud detection (Enterprise)

**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:

```sql
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 →](https://otterstax.com/use-cases/ml-in-sql)

### 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 →](https://otterstax.com/use-cases/database-migration)

## 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.

[How Otterstax works with AI agents →](https://otterstax.com/ai-agents)

## Customer stories

Case studies: [MariaDB](https://mariadb.org/from-postgresql-12-to-mariadb-11-a-gradual-fintech-migration-with-23-lower-tco/) · ClickHouse (coming soon)

- **Trading company:** Fraud detected ~2 hours after it happened → Detection in real time. −36.8% fraud.
- **Payments company:** ML features waited on multi-step Kafka pipelines → Models in production under 2 s latency, with fewer Kafka and database instances. 30–50% faster ML delivery.
- **E-commerce platform:** Growth limited by one database → Scaled horizontally across several databases. +36.4% daily clients.
- **Online marketplace:** A/B tests read data 3 hours old → A/B tests run on real-time data. Data latency: 3 h → real time.
- **Fintech company:** Database upgrade estimated at 2 years (8 quarters) → PostgreSQL → MariaDB table by table, apps unchanged. 1 year instead of 2.

[All customer stories →](https://otterstax.com/customers)

## 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 instances** after replacing multi-step pipelines (payments company)
- **Replaced ETL plus Greenplum, ClickHouse and Databricks** with queries through one engine (trading 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](https://mariadb.org/from-postgresql-12-to-mariadb-11-a-gradual-fintech-migration-with-23-lower-tco/)

### 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.

[Benchmark harness on GitHub →](https://github.com/otterstax/otterstax/tree/main/benchmark)

## Your data stays where it is

### Zero copy.

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

### Runs in your infrastructure and jurisdiction.

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

### Open-source code.

APACHE 2.0. Your security team can read and audit the core.

### Encryption and access control.

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

### Fits your existing compliance.

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

[Security overview →](https://otterstax.com/security)

## Frequently asked 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.

### Run it locally in 5 minutes

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

```sh
git clone https://github.com/otterstax/otterstax
cd otterstax/examples/quick_start
docker compose up -d
```

[Quickstart →](https://github.com/otterstax/otterstax/tree/main/examples/quick_start)

### Start a 2-week pilot

[Book a call](https://otterstax.com/demo) — Main use case: One app, many data sources, Analytics without ETL, ML in SQL: fraud detection and scoring, Gradual database migration, Context for AI agents, Other.

---

Source: https://otterstax.com/ · Otterstax · info@otterstax.com
