Built-in warehouse
A DuckDB warehouse Orcabase hosts for your workspace: add it in a click, then load files, sync apps into it and join it with your Postgres data.
No database of your own, or want a home for synced spreadsheets and uploaded files? Add the built-in warehouse. It’s a DuckDB database that Orcabase hosts for your workspace: there’s nothing to install, connect or log in to.
Add the built-in warehouse
Start a new data source
In the sidebar, open Data Sources. Click New data source and pick Built-in warehouse.
Name it and create it
The name starts as “Warehouse”. Keep it or change it, then click Create data source. That’s all: it’s ready for files, syncs and queries.
Any member can add it, and each workspace gets one. Once yours exists, the choice on the New data source page says so: Already added as “Warehouse” — one per workspace.
What it’s for
| Use | How |
|---|---|
| Uploaded files | CSV, TSV, Parquet and JSON, up to 200 MB, with column types detected. See Upload files. |
| Built-in syncs | Google Sheets and MySQL syncs land here, one schema per source. |
| Joining sources | Attach a Postgres data source and join it with synced or uploaded tables in one query. |
| Tables of your own | Admins can create and change tables with SQL, so you can build summary tables too. See Who can change it. |
Note
Fivetran syncs go into a Postgres data source, not the built-in warehouse. See Fivetran connectors.
Manage it
- Its page shows Hosted by: “Orcabase — nothing to connect”.
- Edit only renames it. There are no connection details to change.
- Remove takes it out of your data sources. Queries and syncs that use it stop working, but its data is kept: add the built-in warehouse again and everything comes back.
Work with it in Data
Open Data in the sidebar and select the warehouse. Besides browsing its tables, you can:
- New schema: make a schema, a folder for tables, before loading data into it.
- Load data: turn a file into a table. See Upload files.
- Profile: on any table, see each column’s type, minimum, maximum, approximate number of unique values, average, spread and share of empty values.
- Attachments: query a Postgres data source from here (below).
- Delete (admins): on a schema or a table, delete it for good. See Delete a schema or table.
Note
Synced tables are rebuilt on every sync, so keep tables you make yourself in a schema of their own.
Delete a schema or table
Workspace admins can delete a schema, with every table and view in it, or a single table or view.
Open it in Data
Go to Data, select the warehouse, and open the schema or table.
Delete it
Click Delete in its header, type its name (like
salesorsales.orders) to confirm, and click Delete.
Important
Deleted data can’t be brought back. Queries, charts and data models that use it stop working.
- A schema a sync writes into can’t be deleted while the sync exists: remove the sync first, under Data sync. A deleted table that a sync still copies comes back on its next run.
- The
mainschema stays, but its tables can be deleted. - Members don’t see Delete, and the server refuses it to anyone but an admin.
Who can change it
Everyone in the workspace can read the warehouse. Only admins can change it, so a member, the Data Agent, an AI assistant over MCP, or a question from Slack can’t delete or overwrite data by accident or on purpose.
| Reads | Changes (CREATE, INSERT, DROP …) | |
|---|---|---|
| An admin’s SQL in the SQL editor | Yes | Yes |
| A member’s SQL in the SQL editor | Yes | |
| Saved queries, dashboards and shared dashboards | Yes | |
| The Data Agent, MCP assistants and chat apps | Yes | |
| Load data, New schema and syncs | Yes | Yes, only what they’re for |
This isn’t done by spotting dangerous SQL. Read-only queries open the warehouse read-only, as a system user that can read its files but not write them, so nothing they run can change your data.
Attach a Postgres database
A DuckDB warehouse, built-in or your own, can reach into any Postgres data source in your workspace and query it in place. Nothing is copied: the connection is made fresh for each query, and it’s read-only. That lets one query join synced data with your app’s live data.
Open the warehouse in Data
Go to Data, select the warehouse, and open its Attachments tab.
Attach
Enter an Alias (a short name like
app), pick the Postgres data source, and click Attach.Query across both
Refer to the Postgres tables as
alias.schema.table:SQL · DuckDBSELECT s.plan, COUNT(*) AS customers FROM app.public.customers AS c JOIN sheets.subscriptions AS s ON s.email = c.email GROUP BY s.plan
How it runs
- Kept apart. Each workspace’s warehouse is its own database file, in its own folder, run as its own system user. One workspace’s queries can’t read another’s.
- One query at a time. A warehouse runs one query at a time, and the rest wait their turn. Like every query, each one stops after 30 seconds.
- Outgrowing it. If you need more room, move the data to a PostgreSQL or BigQuery database of your own and connect it as a data source. See Add a data source.
Your own databases don’t need it: PostgreSQL and BigQuery are added under Data Sources then New data source too, and queried live, where they are.
Something unclear or missing? Troubleshooting covers the common errors, or message us.