Use cases: cross-database joins, analytics without ETL, ML in SQL, database migration
Otterstax is open-source SQL federation for teams running more than one data source. These are the four jobs it does most often: cross-database joins, analytics without ETL, ML in SQL and gradual 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 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
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.