Frequently asked questions
Answers about Otterstax, open-source SQL federation for MariaDB, PostgreSQL and ClickHouse: application changes, data copies, performance, Enterprise features, security and pricing.
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.
What is the latency overhead?
On complex cross-database JOINs, 10–20% on the first run and 5–10% on repeat runs, compared with JOINs in application code or through ETL. Repeat runs are cheaper thanks to plan and metadata caching, data caching and warm connections. Measured in customer production.
What happens if Otterstax goes down?
In Enterprise, Otterstax runs as a cluster in Kubernetes: another node takes over automatically and no writes are lost. The open-source version is a single process, so the service is down until the process restarts.
Do you support transactions across databases?
Yes, in Enterprise. Cross-database transactions use Otterstax's own WAL with retries, plus 2PC and Raft. The open-source version doesn't support them.
What SQL is not supported?
Otterstax translates part of the SQL for each target database and passes database-specific SQL through as is.
Where does Otterstax get slow?
When a JOIN brings hundreds of millions of intermediate rows into Otterstax, and when a source database is already overloaded. Every query also 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.
Can it handle transactional and analytical load together?
Yes. Otterstax sends transactions to row-store databases and analytics to column stores such as ClickHouse or ColumnStore, or runs heavy analytics itself on its columnar engine and GPUs. Query priorities and queues, resource limits, replicas and separate cluster nodes keep analytics from slowing down transactions. It works poorly for transactions that span several databases, analytics on an OLTP database with no replicas, and large JOINs over a slow network.
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.
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.
How do ML models run in SQL?
In Enterprise, you put an ONNX model with its weights in S3, register it through SQL and call it as a SQL function. New models go live without a restart and run on Otterstax CPU or GPU nodes. Only inference runs inside Otterstax. Training happens elsewhere, and the model must fit in a node's memory. Any external feature store can read from Otterstax over SQL.
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.
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.
Is it production-ready?
Yes. The largest public case is a fintech company with 80–100 TB on MariaDB, about 1 million queries a day and up to 10 million during promotions. Some deployments are larger.
How long does a typical rollout take?
Migrations go table by table, about 2–4 weeks per table, without a long maintenance window. In the MariaDB case, an upgrade estimated at 2 years took one year.
Where can I deploy it?
Open source runs as a single process and starts with a docker-compose quickstart. Enterprise runs as a cluster in Kubernetes. Installation and updates work without internet access (air-gapped).
Do you have SOC 2? Do we need to re-audit?
Otterstax is software you install in your own infrastructure. After installation it has no connection to us: we don't receive your data, have no access to your environment and make no changes to it. So your SOC 2 and GDPR scope doesn't change, and no vendor certification is involved.
How is Enterprise priced?
Enterprise pricing depends on your setup: the number of data sources, data volume, cluster size and support level. We share a quote after a call about your stack. The open-source version is free.
Who is behind Otterstax?
Otterstax is built on the Otterbrix query engine (C++), open source under Apache 2.0. You can reach the team at info@otterstax.com; technical questions go to alex@otterstax.com.
What if your company disappears?
The core is open source under Apache 2.0. You can run and fork it without us.
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 a database MCP server?
A program that connects an AI agent to a database through the Model Context Protocol. It gives the agent tools to list tables, read schemas and run SQL, while database credentials stay in the server's config. Otterstax is a database MCP server for many databases at once.
Can one MCP server connect to multiple databases?
Yes. Otterstax connects to MariaDB, PostgreSQL, ClickHouse, S3 and Kafka through one endpoint, and one SQL query can join tables from several of them.
Do I still need a PostgreSQL, ClickHouse or MariaDB MCP server?
Not if the databases are registered in Otterstax. The agent then reaches all of them through one server. A dedicated server still makes sense for a single database that nothing else needs to join with.
Does it work with MySQL?
Yes. Otterstax registers MySQL databases the same way as MariaDB and also speaks the MySQL wire protocol.
How do I connect Claude to my databases?
Add the Otterstax MCP server to Claude Code with one claude mcp add command, or to Claude Desktop with the .mcpb bundle or claude_desktop_config.json. Claude then sees every database registered in Otterstax.
Is it a text-to-SQL agent?
No. Your agent (Claude, Codex or your own) turns questions into SQL. Otterstax gives it one schema to explore and runs the query across your databases.
Does my data leave my infrastructure?
No. Otterstax is self-hosted, with no telemetry. Queries run inside your network, and only the result goes back to the agent you run.
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.