What Metabase transforms do and when teams need them
Dashboards that repeat the same joins and aggregations on every load are slow, hard to audit and easy to get subtly wrong. Metabase transforms are queries or Python scripts that write a persistent table back to your database, and they run on a schedule through tags and jobs. Each run replaces the target table, so analysts get a clean, named table in the warehouse that dashboards, saved questions and other tools can read without repeating the logic.
Pre-aggregation in the warehouse is the right move when many questions share the same cleaning, joins or grouping, when the source tables are large enough that repeated aggregation costs warehouse time, or when several teams need one agreed version of a number. Saved questions remain the better choice for one-off exploration and for presenting results to people on a dashboard, because they compute on demand and do not write anything. A transform is about data preparation, not dashboard display: it changes what sits in the database, so the owner of the target table should be clear before anyone schedules it.
Before you build the first transform, confirm three things with your team: which database engine holds the source and target tables, whether your plan includes the features you need, and who will review changes to the output table. Because every run overwrites the target, a transform that drops a filter or a join will silently change every downstream dashboard on its next run. Treat the SQL as production code, keep the target table name and owner documented, and check the output after the first scheduled run.
Which plan and transform type you need
Self-hosted Metabase on the open source edition can run basic query-based transforms. A query-based transform is a SQL or query builder definition that writes its result back to the database as a persistent table, so you can prepare data once and reuse it in dashboards and questions. Nothing in the supplied facts says that the open source edition can run Python transforms, the transform inspector or writable connections, so treat those as out of reach until you confirm otherwise.
- Included: basic query-based transforms on self-hosted Metabase, which replace the target table on each run.
- Scheduling: you schedule query-based transforms through tags and jobs, which are part of the same transform workflow.
- Not included: Python transforms, the transform inspector and writable connections.
- Source database limits: the supported databases list still applies, so confirm your warehouse is on it before planning.
- Open source license: the open source edition is distributed under the AGPL, which is separate from the plan terms that govern add-ons.
Before you commit, confirm the current plan contents on Metabase's pricing page, since editions and add-on availability can change.
Python transforms, the transform inspector and writable connections require self-hosted Pro or Enterprise together with the Advanced transforms add-on. Python transforms suit logic that is awkward to express in SQL, such as calling external libraries or shaping data in code, while the inspector helps you review how a transform was built and run. Writable connections are the piece that lets Metabase write to the database beyond the basic transform output, so review them with your data owners before enabling them.
- Python transforms: code-based transforms that write back to a persistent table on the same schedule model as query transforms.
- Transform inspector: a tool for examining transform behavior, which helps during review and troubleshooting.
- Writable connections: connections that allow Metabase to write, which need a clear owner and an access review.
- Plan pairing: the add-on is tied to self-hosted Pro or Enterprise, so the plan decision and the add-on decision belong together.
- Cost driver: the add-on adds to the plan cost, and quotes for Enterprise are made by quote from a stated starting figure.
Ask Metabase or your reseller to confirm the add-on price and whether it is billed per year or per month before you budget for it.
Transforms are supported on a defined set of warehouses and databases, and the list matters as much as the plan. The supported set includes BigQuery, ClickHouse (only ClickHouse Cloud), MySQL and MariaDB, PostgreSQL, Redshift, Snowflake and SQL Server. A self-managed ClickHouse deployment is not on that list, which is a common surprise for teams that run ClickHouse in their own data centers.
- Supported list: BigQuery, ClickHouse Cloud, MySQL, MariaDB, PostgreSQL, Redshift, Snowflake and SQL Server.
- ClickHouse limit: only ClickHouse Cloud is supported, so self-managed ClickHouse needs another approach.
- Permissions: the database account Metabase uses must be allowed to create tables in the target schema.
- Naming and schemas: plan target schema names and ownership so transform output does not collide with source tables.
- Version checks: confirm your specific database version against the transform documentation before rollout.
Confirm your warehouse and its version against the transform overview before you pick a plan.
The practical choice is between staying on open source with query-based transforms and moving to a paid plan for Python transforms, the inspector and writable connections. Query-based transforms cover many cleaning, join and pre-aggregation jobs, especially when the logic already lives in SQL that your analysts maintain. Python transforms earn their cost when the transform logic depends on code or libraries that SQL cannot express cleanly.
- Start with SQL: if the job is a join or aggregation, a query-based transform is usually the first option to test.
- Need code: move to Python transforms only when a SQL definition becomes hard to review or maintain.
- Need review: the transform inspector helps when reviewers must see how a transform behaves.
- Need writes: writable connections belong to a separate decision with data owners and security reviewers.
- Plan timing: if you already run Pro or Enterprise for SSO or permissions, the add-on decision is smaller.
Document which transform types each team needs before you request a quote, so the scope matches the plan you buy.
Transform options and when each fits
This table compares SQL, query builder and Python transforms, along with tags, scheduled jobs and full-table replacement, against the fit and plan requirement for each. Read it by first matching your team's skills and plan, then checking the trade-off that comes with replacing the target table on every run.
| Option | Best fit | Plan requirement | Main trade-off |
|---|---|---|---|
| SQL transform | Joins, cleaning and pre-aggregation that your analysts already express in SQL against a supported warehouse | Included on self-hosted Metabase (basic query-based transforms) | Each run replaces the target table, so incremental logic must be written into the SQL yourself |
| Query builder transform | Simple filters, joins and summaries built in the editor without writing SQL | Included on self-hosted Metabase (basic query-based transforms) | Less control over complex logic, so confirm the generated SQL suits your performance needs |
| Python transform | Logic that is awkward in SQL, such as multi-step processing or custom libraries | Self-hosted Pro or Enterprise with the Advanced transforms add-on | Adds a Python runner to operate and secure, and more code to review and test |
| Tags and scheduled jobs | Running several transforms in a defined order on a recurring schedule | Basic scheduling for query-based transforms on self-hosted Metabase; confirm which job features need Pro or Enterprise | Schedules run on a fixed cadence, so dependencies and failure handling must be planned around them |
| Full-table replacement | Reference tables and aggregates small enough to rebuild on each run | Applies to all transform types | Rebuilding large tables costs warehouse compute and can leave consumers reading stale data during a run |
| Incremental logic in SQL | Large fact tables where only new or changed rows should be processed | Depends on the transform type you choose | More complex to design and test, and a logic error can silently drop or duplicate rows |
How a transform moves from query to scheduled warehouse table
The flow starts in Metabase, where a SQL or query builder transform (or a Python script, which needs the Pro or Enterprise add-on) is defined and given a tag. A scheduled job picks up the tag and runs the transform, which writes back to the connected database and creates a persistent table. Each run replaces that table. The warehouse is the trust boundary: check which account the transform writes with, and confirm your database is on the supported list before you rely on the output.
A transform runs on a schedule and rebuilds its target table inside the warehouse.
Setting up your first transform safely
This sequence takes a transform from a supported database and plan check through a tested query, a dedicated write target and a scheduled run, so the first output can be verified before anyone depends on it. The result is a persistent table you can trust and a clear record of what the job wrote.
Confirm database and plan support
Check that your warehouse is on the supported list for transforms: BigQuery, ClickHouse (ClickHouse Cloud only), MySQL or MariaDB, PostgreSQL, Redshift, Snowflake or SQL Server. Then confirm your plan covers the transform type you need: basic query-based transforms are included on self-hosted Metabase, while Python transforms, the transform inspector and writable connections need self-hosted Pro or Enterprise with the Advanced transforms add-on. Ask your Metabase account contact to confirm the add-on status for your instance. Done means you have a written note of the database, the transform type and the plan that covers both.
Create a dedicated target schema
Ask your database administrator to create a separate schema that only transform output will land in, rather than writing into a schema that holds source or reporting tables. Keep the name clear so downstream users can recognize generated tables. Done means the schema exists, is empty, and is documented with its owner and purpose.
Grant a write-scoped database role
Create a database role for the Metabase connection that can read the source tables and write only to the target schema. Avoid reusing an administrator account or a role with rights across other schemas. Confirm the connection actually permits writes, since a read-only connection will fail when the transform runs. Done means a test write into the target schema succeeds and a write to any other schema is refused.
Build and test the query on a copy
Write the SQL or build the query in the query builder against a non-production copy of the source data. Check join keys for duplicates, null handling and the grain of the aggregation before the query goes anywhere near production. Compare results with a figure you already trust, such as a total from the source system. Done means the query returns the expected grain and a reconciled total on the copy.
Define the target table name
Set a stable, descriptive table name in the target schema and record who owns it and which dashboards or models depend on it. Because each run replaces the target table, a rename later breaks anything that points at the old name. Done means the name is written in your change record and nobody else is creating a table with the same name.
Add a tag and schedule the job
Attach a tag to the transform so it can be grouped and scheduled through a job, and create the job with a schedule that matches how often the source data changes. Keep the first schedule conservative and avoid overlapping with heavy source loads. Done means the job appears in the transforms list with the tag and schedule you set.
Verify the first run's output
After the first run, compare the row count in the target table with the count from the same query run manually on the copy, and check the totals against your trusted figure. Confirm the database role can read the table as intended and that no other schema was touched. If counts or permissions differ, pause the job and fix the query or role before the next scheduled run. Done means the counts match, the permissions are as designed, and the result is recorded for your team.
Which databases support transforms
Metabase transforms write results back as persistent tables, so the database connection must allow writes, not just reads. The seven supported platforms below differ in how you confirm that write access and whether your deployment qualifies.
BigQuery
BigQuery is supported for transforms. Confirm that the service account Metabase uses has permission to create and replace tables in the target dataset, not only to read from source datasets. Check which project and dataset the transform output lands in, and whether your data governance policy allows a reporting tool to create tables there. Test one transform in a non-production dataset first.
Transforms docsClickHouse Cloud only
Transforms are supported on ClickHouse only when the instance is ClickHouse Cloud. Self-managed ClickHouse clusters are not covered by the supported list, so confirm your deployment type before planning. If you run ClickHouse Cloud, confirm that the database user can create tables in the target database and that the write path is allowed by your network and access policies.
Transforms docsMySQL and MariaDB
MySQL and MariaDB are supported for transforms. Confirm that the Metabase database user holds the privileges needed to create and replace tables in the target schema, and that it can drop or rename the previous table during each run. Because every run replaces the target table, check that no other process depends on that table's structure or name.
Transforms docsPostgreSQL
PostgreSQL is supported for transforms. Confirm that the role Metabase uses has CREATE privilege on the target schema and that it is not restricted by row-level security policies on the output table. Decide which schema holds transform output so analysts can distinguish persistent tables from source data, and confirm that the schema is writable from the Metabase connection.
Transforms docsRedshift
Redshift is supported for transforms. Confirm that the database user can create tables in the target schema and that workload management queues allow the transform query to run within your timeout expectations. Check whether the cluster is shared with production reporting, since a full table replacement on each run adds load and storage churn.
Transforms docsSnowflake
Snowflake is supported for transforms. Confirm that the role Metabase uses holds CREATE TABLE on the target schema and USAGE on the warehouse that runs the transform. Decide which warehouse runs scheduled transforms so that compute cost is attributed correctly, and confirm that the role cannot write to schemas that hold raw source data.
Transforms docsSQL Server
SQL Server is supported for transforms. Confirm that the login Metabase uses has permission to create and drop tables in the target schema, and check whether any database-level policies or auditing rules block table creation. Confirm that the output schema is separate from source schemas and that backup scope includes the tables transforms create.
Transforms docsQuestions buyers ask about Metabase transforms
How much does it cost to run Metabase transforms?
The cost depends on the plan and on whether you need the add-on, so confirm the current figures with Metabase before you budget. Basic query-based transforms are included on self-hosted Metabase, while Python transforms, the transform inspector and writable connections need self-hosted Pro or Enterprise with the Advanced transforms add-on. Metabase's pricing page lists Pro at $575 per month or $517.50 per month billed yearly, with the first 10 users included, and Enterprise priced by quote starting at $20,000 per year. The add-on price is not in our reference material, so ask Metabase for it in writing. Other recurring costs include your warehouse compute for each scheduled run and the people who maintain the queries.
How long does it take to get a first working transform?
A first query-based transform on a supported database can be built quickly once the database connection, write permissions and target schema are in place, and the time mostly goes into those prerequisites. The duration depends on how many sources you join, how clean the data is, and whether your warehouse permits the write-back your team expects. We do not have a reliable timeline to publish, so ask for a scoped plan that lists the connections, permissions and test runs before any work starts. Your own team can estimate its effort from the number of transforms and the review steps it needs.
What does the work need from our data team?
Your data team needs to define which tables feed each transform, who owns the output tables, and which schema the results should land in. Someone must also confirm that the database account used by Metabase can create and replace tables in that schema, and that the warehouse is one of the supported platforms. Plan for a reviewer who checks each query, row counts, null handling and join keys before a transform is scheduled. Without named owners, transforms tend to accumulate and nobody knows which table a dashboard depends on.
Can our own team run Metabase transforms without a consultant?
Yes, a team that already writes SQL and runs Metabase can build basic query-based transforms on its own, provided the database is supported and the plan allows them. Python transforms and the transform inspector need the Advanced transforms add-on on Pro or Enterprise, and the Python runner setup is a larger task. A consultant is most useful for designing the schema, access model and scheduling, and for documenting the handover. Ask Metabase to confirm which features your plan includes before your team relies on them.
Which factors decide whether we need Pro or Enterprise?
The main factors are whether you need Python transforms, the transform inspector or writable connections, and how many users need access. Basic query-based transforms run on self-hosted Metabase without these features. SSO, row and column level permissions and usage analytics and auditing are included only in Pro and Enterprise according to Metabase's pricing page, so teams with access control requirements often need the higher plan regardless of transforms. Check the feature table on the pricing page against your requirements, and ask Metabase whether a plan change can be applied mid-contract.
Does the transform output go through our normal data governance?
Each transform writes a persistent table in your warehouse, and every run replaces that table, so the output is governed like any other warehouse table. Set access on the target schema, document the source queries and record who approved them. Keep transforms in version control if your team already reviews SQL changes, because Metabase's in-app history is not a substitute for a code review. Confirm with your security team how scheduled runs authenticate to the warehouse and which account they use.
When is a consultant or a dbt-style pipeline tool a better fit?
A dbt-style tool or a dedicated pipeline platform is usually the better fit when you need version-controlled models, tests, lineage across many teams, or incremental logic on large tables. A consultant is worth considering when the transforms span several systems, the warehouse is not on the supported list, or the schema design needs experienced review before the first build. Metabase transforms suit teams that want to pre-aggregate data for dashboards and keep the work close to their analytics. Compare both options against your release process and the number of people who will maintain the logic.
Limits to confirm in your environment
Transforms depend on four things outside the query itself: the database engine and hosting model, the Metabase edition and add-on, the permissions the connection holds, and how scheduled runs behave under load or failure. Confirm each one against your own environment and the current documentation before you plan the build.
ClickHouse support is Cloud only
Transforms support ClickHouse only on ClickHouse Cloud, not on a self-managed ClickHouse cluster. If your analytical data sits in a self-hosted ClickHouse deployment, a transform cannot be the build method there. Confirm your hosting model with Metabase and the transforms documentation, and plan an alternative such as an upstream pipeline if your cluster is self-managed.
Transforms docsWritable connection requirement
Transforms write a persistent table back to the database, which means the connection Metabase uses must allow writes. Read-only connections used for dashboards will not create transform output. Ask which connection settings your database and edition require, and whether a separate writable connection is needed alongside your read-only analytics connection. Also confirm who can change that connection.
Plan and add-on match
Basic query-based transforms are included on self-hosted Metabase, but Python transforms, the transform inspector and writable connections require self-hosted Pro or Enterprise with the Advanced transforms add-on. Check your current edition and add-on status before designing around Python or inspector features. Ask Metabase to confirm pricing for the add-on, since it is quoted separately from the base plan.
Metabase pricingDatabase permissions and ownership
A transform runs with the credentials of the connection it uses, so it can only create or replace tables that those credentials allow. Review which schema the output lands in, whether the account can drop or overwrite existing tables, and how those rights match your separation of duties. Confirm these grants with your database administrator before the first scheduled run.
Overlapping and failed scheduled runs
Each run replaces the target table, so a run that fails midway or a second run that starts before the first finishes can leave consumers reading incomplete or inconsistent data. Ask Metabase how overlapping jobs are handled, what state the target table is left in after a failure, and whether retries occur. Then design checks, such as row count comparisons, that catch a bad output before dashboards use it.
Version fit for your upgrade plan
Transform behavior and availability can change between releases, so the version you run determines which features you can use. Confirm that the transform features you need exist in the version you plan to deploy, and check its support window against your upgrade schedule. Record the version in your runbook so that future upgrades are tested against the same transform jobs.
Version supportHow transforms compare with pipelines and semantic layers
Choose the home for each piece of logic before choosing a tool. Metabase transforms suit preparation that a Metabase user owns and that should land as a persistent table in the warehouse, such as a cleaned join or a daily pre-aggregation that several dashboards read. Logic that is complex, reviewed by engineers in version control, or shared by many systems usually belongs in a pipeline or transformation framework that your data team already operates. Metabase's own docs describe transforms as queries or Python scripts that write back to the database and replace the target table on each run, which is a narrower job than a full orchestration platform handles.
Python transforms add a second boundary. They run through a separate Python runner, so the team that operates that container, its S3-compatible storage and its auth token becomes part of the design, not only the analyst writing the script. Confirm with your platform team who will own that runner, how it is patched, and whether it is allowed in your environment before you commit Python logic to it. For scheduling beyond what Metabase tags and jobs provide, such as cross-system dependencies, retries across tools or alerting to on-call staff, confirm what your orchestrator will call and whether it should trigger Metabase or own the schedule itself.
Metrics and the Library answer a different question. They define official calculations and curated tables for people asking questions, while a transform changes the stored data. A metric does not persist a table, and a transform does not create a governed definition for business users. Decide where each official definition is authored and reviewed, and avoid defining the same revenue or churn logic in a transform, a metric and a dbt model at once. Ask your data owners which system is the source of truth for each definition, and record that choice before the first transform goes into production.
How DeployOpen scopes and supports Metabase transforms
DeployOpen plans, builds, documents and supports in-warehouse data preparation on self-hosted Metabase inside your own infrastructure. We start from the databases your transforms write to, the plan your instance runs on and the scheduling and access rules your data team already follows.
How we scope
- Confirm which warehouse platform the transforms write to and whether it is on the supported list.
- Confirm the self-hosted plan and whether Python transforms, the inspector or writable connections are needed.
- Agree in writing which transforms, tags, jobs and target tables are in the fixed scope.
How we build
- Build query-based transforms with a named target table, owner and documented replacement behavior on each run.
- Set up tags and scheduled jobs so run order and frequency follow the agreed data dependencies.
- Test each transform against sample data and check row counts and column types before scheduling.
How we hand over
- Document each transform's source tables, logic, target table, schedule and the database account it uses.
- Record the plan requirements, add-on needs and known database limits for the instance.
- Walk your data and platform teams through the runbook, including how to pause a job and rerun a failed transform.
How we support
- Offer ongoing support, upgrades and continuous testing for transforms as a retainer.
- Review transform logic and schedules again after each planned Metabase upgrade and database change.
- Keep the documentation current with changes to transforms, tags and jobs agreed in the retainer.

