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 in action
- Kafkatransactions
- Anti-fraud servicereads the score
SELECT t.id, t.amount, fraud_score(t.features) AS score
FROM kafka.transactions t
WHERE fraud_score(t.features) > 0.9; | id | amount | score |
|---|---|---|
| tx_81723 | 2,940.00 | 0.97 |
| tx_81741 | 1,120.50 | 0.93 |
Fraud in real time
Every transaction arrives from Kafka, without an ETL job or a copy in a warehouse.
An ONNX fraud model runs as a SQL function inside Otterstax (Enterprise) and scores the stream as it arrives.
The anti-fraud service reads the score as soon as the transaction lands, instead of about 2 hours later.
mysql://app@otterstax:8816unchangedSELECT u.country, COUNT(o.id) AS orders, SUM(o.total) AS revenue
FROM orders o
JOIN users u ON u.id = o.user_id
GROUP BY u.country
ORDER BY revenue DESC; | country | orders | revenue |
|---|---|---|
| US | 1,284 | 184,920.40 |
| DE | 702 | 96,311.75 |
| GB | 518 | 71,048.10 |
| FR | 391 | 52,776.00 |
| NL | 233 | 31,502.65 |
SELECT u.country, COUNT(o.id) AS orders, SUM(o.total) AS revenue
FROM orders o
JOIN users u ON u.id = o.user_id
GROUP BY u.country
ORDER BY revenue DESC; | country | orders | revenue |
|---|---|---|
| US | 1,284 | 184,920.40 |
| DE | 702 | 96,311.75 |
| GB | 518 | 71,048.10 |
| FR | 391 | 52,776.00 |
| NL | 233 | 31,502.65 |
Move a database without changing the app
- MariaDBorders
- PostgreSQLusers
- ClickHouseevents
- MongoDBcatalog
- ScyllaDBcarts
- S3archive
- Your appMariaDB driver
SELECT u.country, COUNT(o.id) AS orders, COUNT(e.id) AS sessions
FROM mariadb_prod.orders o
JOIN pg_billing.users u ON u.id = o.user_id
JOIN clickhouse_events.sessions e ON e.user_id = u.id
GROUP BY u.country; | country | orders | sessions |
|---|---|---|
| US | 1,284 | 9,870 |
| DE | 702 | 5,114 |
| GB | 518 | 3,902 |
One JOIN instead of glue code
The app opened a connection to every source and joined the results in its own code.
The same join is one SQL statement. The app connects to Otterstax with its usual MariaDB driver.
Otterstax pushes the work down to each source where the data lives and returns one result.
- Live data sourcesproduction
- Dashboards
- A/B tests
SELECT variant, COUNT(*) AS orders, SUM(total) AS revenue
FROM orders
WHERE created_at > now() - INTERVAL 1 HOUR
GROUP BY variant; | variant | orders | revenue |
|---|---|---|
| A | 412 | 38,204.10 |
| B | 447 | 41,950.75 |
Dashboards and A/B tests without ETL
ETL jobs copied data every 3 hours, so dashboards and A/B tests were up to 3 hours behind.
Dashboards and A/B tests query the live data sources through Otterstax.
The ETL jobs are gone, and results include what happened a moment ago.
- MariaDB
- PostgreSQL
- ClickHouse
- AI agentMCP
-- sent by the agent over MCP
SELECT c.name, SUM(p.amount) AS paid
FROM customers c
JOIN payments p ON p.customer_id = c.id
GROUP BY c.name; | name | paid |
|---|---|
| Acme Ltd | 12,400.00 |
| Northwind | 8,915.30 |
An AI agent reads production safely
The agent connects to one MCP gateway instead of a separate connector for every data source.
The agent reads the live sources, so there are no copies to drift apart.
Every MCP call runs with the user’s permissions and lands in the audit log (Enterprise).
every MCP call runs with the user’s permissions and is logged (Enterprise)
How it works for AI agents →- 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
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.
of backend time on sync and ETL
old data in dashboards
to migrate a database
How the federated query engine works without copying data
You can set it up without touching your application code.
Connect your sources.
Register MariaDB, PostgreSQL, ClickHouse, S3, Kafka or Spark in the Otterstax catalog. Otterstax doesn’t copy their data.
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.
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;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.
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.
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.
SELECT tx_id, fraud_score(tx.*) AS risk
FROM kafka.transactions tx
WHERE fraud_score(tx.*) > 0.9;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.
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.
Customer stories
Case studies: MariaDB · ClickHouse (coming soon)
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.
faster time-to-production for ML features
faster developer onboarding
fewer DBA incidents
migration TCO
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
Same query, repeat runs
DWH queries vs Trino
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.
Zero copy.
Otterstax has no storage of its own. Queries run where the data lives.
Runs in your infrastructure and jurisdiction.
Otterstax is self-hosted only. There is no cloud service, no telemetry and no phone-home.
Open-source code.
Your security team can read and audit the core.
Encryption and access control.
TLS in and out, LDAP / SSO / Vault, roles and an audit log of every query (Enterprise).
Fits your existing compliance.
Software you install, with no connection to us afterwards, so your SOC 2 and GDPR scope stays as it is.
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.
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 -dQuickstart →
What happens next
- We map your data sources and pick one use case.
- We run Otterstax next to your current setup, and nothing is switched off.
- We check agreed success criteria together.