Google BigQuery vs Trino

BigQuery suits teams that want serverless analytics inside Google Cloud with no cluster to run. Self-hosted Trino on open table formats suits teams that need control over storage, compute and location, and can staff the catalog, security and operations work.

On this page

When BigQuery fits and when a self-hosted Trino lakehouse fits

BigQuery fits teams that want serverless analytics inside Google Cloud and are content to let Google run the engine, storage and scaling. A self-hosted Trino lakehouse fits teams that need their own object storage, their own compute and their own table catalog, usually because of a renewal, a pricing change, a data residency rule or a lock-in concern. The decision turns on four things: the query patterns you run, where the data must physically sit, how much operations skill your team has in-house, and how much migration effort you can absorb while both platforms run in parallel. BigQuery's strengths are real and should be weighed honestly. There are no clusters to size, its on-demand and edition pricing can be cheap for occasional, well-pruned queries, and its integrations with the rest of Google Cloud remove a lot of plumbing.

Trino is a different shape of system. It is a distributed SQL query engine that reads data where it lives through connectors, so you must supply the object storage and a table catalog such as an Iceberg REST catalog or Hive Metastore. Its Iceberg connector supports time travel, schema evolution and MERGE, which covers most warehouse-style workloads, but the catalog, authentication, access control and fault-tolerant execution settings become your responsibility. Ask your team three questions: who will own upgrades and on-call for the coordinator and workers, whether your security team can review file-based or OPA-based access control, and whether your scheduled queries can be rewritten from GoogleSQL. If the answers are unclear, a short proof of concept against one dataset will show more than any comparison table. Confirm the Trino and Java versions you will run against the current release notes before you commit.

Which option fits which scenario

This table matches common situations to the better fit between staying on BigQuery and running a self-hosted Trino lakehouse. Read each row as a condition: the right-hand column names the option that wins when that condition holds, and the reasons it depends on your team and data.

ScenarioBetter fitCondition that makes it so
Ad hoc analytics on Google Cloud data with a small teamBigQueryData already lands in BigQuery, there are no platform engineers to run a cluster, and query volume is modest enough that on-demand pricing stays predictable.
Data residency mandate requiring operator controlSelf-hosted TrinoRegulation requires that data processing and storage run under your control in a specific location, and you can confirm the Trino cluster, object storage and catalog sit inside that boundary.
Gradual move using Trino's BigQuery connectorTrino as a bridge, then a decisionYou need to query BigQuery and an Iceberg lakehouse side by side during transition. Confirm connector behavior and per-query BigQuery charges with your own workloads before relying on it.
Heavy scheduled batch work over large tablesSelf-hosted Trino with fault-tolerant executionLong batch queries must survive worker failures. This needs the TASK retry policy and an exchange manager spooling to object storage, which you must configure and test.
Team without platform engineersBigQueryNobody on staff can own the coordinator, workers, catalog, access control and upgrades. Trino is operated work, and a managed or implementation partner changes the picture only if you contract it.
Multi-cloud or open table format exit plannedSelf-hosted Trino on Iceberg or Delta LakeTables must be readable by several engines over time. Iceberg or Delta Lake files in your own object storage keep the exit path open, and you must verify export and format support for your data.
Interactive dashboards on tight latency targetsBigQuery or a tuned engine, tested firstTrino's latency depends on cluster sizing, file layout and caching. Benchmark your dashboard queries on both before deciding.

Where your data sits and who operates the engine

BigQuery is operated by Google, and the location of your data is chosen per dataset within the regions Google offers. That setting controls where the tables are stored, but the query service, its control plane and its maintenance remain Google's. Trino takes the opposite arrangement: it runs in your own cloud accounts or data centers, and the storage it reads is wherever you put it. The decision you face is less about whether the data can stay in a given region and more about who holds the keys, logs and operating procedures for every layer that touches it.

A Trino lakehouse also needs layers that BigQuery hides. You provide object storage for the Parquet or ORC files, and a table catalog such as an Iceberg REST catalog or Hive Metastore that records table definitions and snapshots. Trino itself stores no table data. That means your team owns the catalog's availability, its access controls and its backups, and a catalog that is lost or mismatched can make intact files unreadable as tables. Before you commit, decide which catalog you will run, where its database lives and who can change it, as documented in the Trino Iceberg connector guide.

For residency and audit teams, confirm a short list of facts in your own environment rather than assuming them. Confirm the regions for each object store, catalog database, coordinator and worker node, and any backup copies. Confirm which identities can read raw files outside Trino, since object storage permissions are a separate control from Trino's own access rules. Confirm how query logs and access events are retained and who can read them. Ask your compliance advisers which evidence they need from each layer, and check whether any cross-region traffic occurs when Trino reads a BigQuery connector source during a transition.

What control, identity and compliance mean for each option

BigQuery and self-hosted Trino differ less in features than in who controls where data sits, who signs in, who decides access and who keeps the platform patched and backed up. Each card below is a decision or check that your security, compliance and platform teams should settle before choosing a path.

Data location and residency

BigQuery datasets are stored in locations you select, but the service is operated by Google. With self-hosted Trino, the query engine, catalog and table files sit wherever you run them, including an EU data center or an air-gapped network. Trino itself holds no data; it reads from the object storage you point it at. Check where the object store, catalog database and query logs physically reside, and whether backups or spool data for fault-tolerant execution cross a region boundary.

Iceberg connector docs

Hosting models

BigQuery is only available as a managed Google Cloud service. Trino can run on Kubernetes with Helm, on virtual machines or on bare metal in your own data center, which the Trino deployment docs support on 64-bit Linux with a 64-bit Java 25 runtime (minimum 25.0.1). Choosing a hosting model decides who operates the coordinator, workers and upgrades. Confirm that your platform team can keep the Java runtime and Trino release current, since release 484 followed 483 and 482 within a few months.

Trino deployment docs

Identity and authentication

Trino supports password file, LDAP, OAuth 2.0, Kerberos, certificate and JWT authentication, so it can sit behind the identity provider you already run. BigQuery relies on Google Cloud identities and IAM. Decide which method fits each client: interactive BI users typically need OAuth 2.0 or LDAP, while service accounts for pipelines may need certificates or JWTs. Confirm that offboarding in your directory removes Trino access and that no shared password file is used for production users.

Trino security docs

Access control policies

Trino offers file-based access control, Apache Ranger or Open Policy Agent. File-based rules are simple to version in Git but are harder to audit at scale. Ranger and OPA centralize policies across engines and support row and column rules when they are configured. BigQuery uses IAM roles on projects, datasets and tables. When you move, map each dataset-level IAM grant to a catalog, schema or table rule and test that denied queries actually fail, since a missing rule can expose a table through a second catalog.

Audit logging and evidence

BigQuery records admin and data access activity in Google Cloud audit logs. A self-hosted Trino cluster does not provide that by default, so you need to decide where query events, authentication events and policy decisions are logged, how long they are kept and who can read them. Ship coordinator logs, access-control decisions and object storage access logs to a central store that your SIEM team controls. Ask your auditor which events they expect to sample before the cluster goes live.

Shared responsibility for patching and backups

With BigQuery, Google operates the service and its infrastructure. With Trino, your team owns the Trino release cadence, Java patching, Kubernetes or VM hardening, catalog database backups and the object storage that holds the Iceberg tables. Object storage durability and versioning must be configured on your side. Write down who patches, who tests upgrades, who restores the catalog and how often restores are tested. DeployOpen can prepare these controls and collect the evidence for compliance assessments, but it does not issue audit reports or certifications; independent auditors and certification bodies do.

Using Trino's BigQuery connector for a gradual move

Trino's BigQuery connector lets one SQL engine read tables in BigQuery and tables in your self-hosted lakehouse in the same session. During a transition, this means analysts can compare results from both sides before any consumer is switched, and teams can move one pipeline at a time instead of cutting over everything on a single date. The connector reads through Google Cloud credentials, so the Trino cluster needs a service identity with read access to the datasets it queries. Plan the network path, the credential rotation and the query audit trail before the first shared query runs, because the BigQuery project remains the system of record until workloads move.

  • Shared catalog view: Register the BigQuery catalog next to the Iceberg catalog so both are visible to users under one set of names.
  • Scoped service identity: Grant the Trino service account read access only to the datasets in scope, and record which teams own each dataset.
  • Cross-source queries: Use joins between BigQuery and Iceberg tables for reconciliation, and keep those queries in version control.
  • Egress and query cost: Each query against BigQuery is still billed by Google, so track which Trino queries touch BigQuery tables.
  • Cutover checkpoints: Record the dates when each consumer moves so that the BigQuery side can be reduced in a controlled order.

Confirm with Google Cloud how your project's billing and data location settings apply to reads made by an external engine, and check the connector documentation for the current authentication options.

What running Trino requires from your platform team

Start by fixing the hosts and runtime before anyone writes a catalog file. Trino's deployment documentation calls for a 64-bit Linux system and a 64-bit Java 25 runtime, minimum 25.0.1, and describes a cluster of one coordinator plus workers, with a dedicated coordinator recommended for larger clusters. Decide early whether the platform team will run these as virtual machines or on Kubernetes, since the Trino docs include a guide to running on Kubernetes with Helm. Confirm with your own infrastructure team that your Java and Linux images can be patched to the supported runtime on your change calendar, and that the coordinator can be sized separately from the workers so query planning does not compete with scan work.

The larger ongoing job is the catalog and security layer. Each data source becomes a catalog, and for a lakehouse the Iceberg connector needs a table catalog such as Hive Metastore, AWS Glue, a JDBC or REST catalog, or Nessie, plus object storage that the platform team must provision, encrypt and back up, because Trino does not hold the data itself. On the access side, Trino documents password file, LDAP, OAuth 2.0, Kerberos, certificate and JWT authentication, and file-based, Apache Ranger or Open Policy Agent authorization. Pick one identity source and one authorization model before go-live, and write down who owns each catalog's credentials. Upgrades also recur: the release notes show releases 482 on June 25, 2026, 483 on July 17, 2026 and 484 on October 15, 2026, so plan a standing review of each release against your connectors and access rules rather than an occasional big-bang upgrade.

If you need long queries to survive worker failures, fault-tolerant execution is off by default and must be enabled with a QUERY or TASK retry policy. The TASK policy is the one the docs recommend for large batch queries, and it needs an exchange manager that spools intermediate data to S3, Azure Blob Storage, Google Cloud Storage or HDFS, which means another bucket with its own lifecycle, access and cost to plan for. Confirm with your team which workloads truly need this, whether your object store meets the exchange manager's requirements, and who will test a forced worker failure before you rely on it. Ask DeployOpen or your internal staff to document these settings in the same change record as the rest of the cluster so that operations, not one engineer, can rebuild it.

Questions buyers ask before choosing Trino over BigQuery

What drives the cost of BigQuery compared with a self-hosted Trino lakehouse?

On BigQuery, the main drivers are how many bytes queries scan and how much storage you keep. Google's pricing page lists on-demand queries at $6.25 per TiB after the first free 1 TiB each month, and the first 10 GiB of storage is free each month. Capacity pricing is billed per slot-hour through BigQuery editions instead. On a self-hosted Trino lakehouse, costs split into servers for coordinator and workers, object storage, a table catalog, backups, engineering time and support. A useful quote separates one-time work (design, migration, query rewrites, testing) from recurring items (compute, storage, staff time, upgrades, on-call). Ask for each line item, the assumed data volume and query volume, and who operates each component. Confirm current rates with Google's pricing page before comparing.

How long does a move from BigQuery to Trino usually take?

The duration depends mainly on the number of datasets, how many scheduled queries and BI dashboards depend on them, how much GoogleSQL needs translating, and how strictly results must match before cutover. Exporting data is usually the simplest step, but BigQuery export jobs to Cloud Storage have per-file size limits that affect how many files you create and how long the export runs. Teams that run Trino beside BigQuery for a period need extra time for connector setup, access control and parallel result checks. Ask any implementer for a phased plan with written milestones, and ask which of your datasets they would move first and why.

What skills does a team need to run Trino in production?

A team running Trino needs people who can operate a distributed Java service on Linux, tune memory and worker sizing, and manage Kubernetes or virtual machines if they deploy that way. Trino's deployment documentation specifies a 64-bit Linux system and a 64-bit Java runtime, and describes a coordinator with workers, with a dedicated coordinator recommended for larger clusters. The team also needs skills in open table formats, the catalog it chooses (such as an Iceberg REST catalog, AWS Glue or Hive Metastore), object storage administration, and identity integration for authentication and access control. Engineers should understand SQL dialect differences from GoogleSQL, and someone must own upgrades, which arrive as numbered releases.

Can our own team do the Trino migration without outside help?

It is possible if you already run data infrastructure and have engineers with time to spare, but the work has several separate parts: the platform, the data move, the query and BI rewrites, security, and ongoing operations. Teams that have not run a distributed query engine before often underestimate the catalog, fault-tolerance and access control work. A practical check is to ask whether your team has already operated Trino, Spark or a similar engine in production, who would be on call, and how much of the BigQuery estate needs rewriting. DeployOpen plans, implements, hardens, backs up, documents and supports self-hosted open-source platforms in your own cloud accounts or data centers, and most engagements are fixed-scope with scope and timelines agreed in writing before work starts.

Can Trino query BigQuery while we move tables over?

Yes. Trino's BigQuery connector is one of the connectors in its list, so a Trino catalog can query BigQuery while the Iceberg or Delta Lake tables on your own storage are being populated. This lets teams compare results and move dashboards one at a time instead of cutting over in a single step. Confirm the connector's current behavior, supported operations and permissions for your BigQuery project and datasets in Trino's connector documentation, and test the query cost of cross-catalog joins, since that work can still be billed by BigQuery on-demand. Keep the BigQuery connector as a temporary path and set a retirement date for it in your plan.

How do BigQuery export limits affect the move to Trino?

BigQuery exports go to Cloud Storage, and the export tooling caps the size of each output file, so large tables become many files that must be planned for. The file count affects load time, object listing costs and how Trino splits work across workers. Export format and compression also change file size and query performance, and nested or repeated fields need a deliberate mapping to Iceberg or Delta Lake types. Ask how the implementer will handle partitioned and very large tables, how they will validate row counts and checksums after export, and where intermediate files will be stored and deleted. Confirm current export limits in Google's documentation before you size the plan.

How does DeployOpen scope a BigQuery to Trino engagement?

DeployOpen scopes each engagement in writing before work begins, so deliverables and timelines are agreed up front. A typical scope covers an inventory of datasets, scheduled queries and BI dependencies, the target design for Trino, catalog and storage, security and access control, the migration plan and validation method, and the handover documentation. Ongoing support, upgrades and continuous testing are available as retainers. DeployOpen does not publish a price list, so a quote follows from the agreed scope. Ask for the inventory output, the list of assumptions, the named acceptance checks and the support terms so you can compare proposals on the same basis.

What moving from BigQuery to a Trino lakehouse involves

The sequence moves BigQuery datasets into a self-hosted Trino and Iceberg lakehouse in stages, with Trino querying BigQuery during validation so each table is checked before the cutover. The client owns the data, the decisions and the cutover date; DeployOpen supports the build, the migration tooling and the checks.

  1. Inventory datasets, queries and consumers

    List every BigQuery dataset, table, view, scheduled query, routine and external connection, along with the dashboards, pipelines and applications that read them. Record which tables are large, which contain nested or repeated fields, and which queries run most often. Your team owns this inventory because only your data owners know which consumers matter. The step is done when each table has an owner, a consumer list and a migration priority agreed in writing.

  2. Stand up object storage and the catalog

    Provision S3-compatible object storage in your infrastructure, deploy Trino on a 64-bit Linux system with a 64-bit Java 25 runtime (minimum 25.0.1), and choose a table catalog such as an Iceberg REST catalog or Hive Metastore. Your platform team decides the storage location, network paths and key management, and DeployOpen can implement the setup in your environment. The step is done when Trino starts on a coordinator and workers, reads from the catalog and writes a test Iceberg table to storage.

  3. Connect Trino to BigQuery for validation

    Configure Trino's BigQuery connector with a service account that has read access only to the datasets in scope, and confirm that Trino can list and query the tables. This connection lets you compare source and target results before any data moves, and it can serve as a bridge for consumers that have not yet been repointed. Confirm the service account's permissions, the project and dataset mapping and the access controls with your Google Cloud administrator. The step is done when sample queries return the same rows from Trino as from BigQuery.

  4. Export tables and land them as Iceberg

    Export each table from BigQuery to Cloud Storage as Parquet or Avro, keeping each file within the 1 GB per file limit, then copy the files into your object storage and register them as Iceberg tables through Trino. Partition and sort keys are set here, based on the query patterns from the inventory, not carried over automatically. Your data engineers own the export jobs and table design, and DeployOpen can script and repeat the transfers. The step is done when row counts and checksums match for every exported table.

  5. Translate GoogleSQL to Trino SQL

    Rewrite GoogleSQL functions, array and struct handling, date and time logic and any BigQuery-specific syntax into Trino SQL, and move scheduled queries and routines into your orchestration tool. Each rewritten statement should be kept in version control with its original for review. Analysts and data engineers do most of this work, and DeployOpen can help with bulk translation and review. The step is done when every query on the inventory has a Trino version that has passed its checks.

  6. Repoint scheduled queries and BI tools

    Change connection settings in BI tools, pipelines and applications so they read from Trino, and confirm that each tool's Trino connector, authentication and access controls work with your identity setup. Test dashboards with their owners, since filters, date handling and nested fields often behave differently. Your BI and platform teams own these changes, and DeployOpen can support the integrations. The step is done when each consumer on the list has been tested against Trino and signed off by its owner.

  7. Compare results and run the parallel period

    Run the same queries against BigQuery and Trino over an agreed period, then compare row counts, aggregates, null handling, timestamps and sample rows for each table. Record every difference and its cause, and decide whether it is a defect in the rewrite, a data issue or an accepted change. Your data owners sign off on the results, and DeployOpen can build the comparison harness and report. The step is done when all differences are resolved or formally accepted and the owners have approved the comparison report.

  8. Cut over and decommission BigQuery access

    Switch production consumers to Trino, freeze writes to the BigQuery source tables, and keep the BigQuery datasets available read-only for a rollback window you set in advance. Confirm that backups, monitoring, access logs and the fault-tolerant execution settings are in place before the switch. Your operations team owns the cutover decision and the rollback plan, and DeployOpen can run the cutover and document the result. The step is done when consumers run on Trino, the rollback window has closed and the BigQuery access is removed.

How Trino, BigQuery and the lakehouse fit during migration

The diagram starts with BI tools and pipelines sending SQL to a self-hosted Trino coordinator. Trino reads BigQuery through its connector while the data is still in Google Cloud, and reads Iceberg tables held in object storage that the client controls, with a catalog tracking table metadata. The trust boundary separates Google Cloud from the client environment, so the key check is which copies of the data cross it, and whether the BigQuery connector's credentials and network path are reviewed before queries run against both sides.

Trino queries BigQuery and client-owned Iceberg tables across a trust boundary.

Licensing and what Apache-2.0 means for Trino

Trino is licensed under Apache-2.0, and the software itself carries no per-query, per-TiB or per-slot fee. That is the central licensing point for this comparison: the engine can be downloaded, run, modified and used inside your own environment without a usage meter from the project. The costs that remain are the ones you already pay for infrastructure: compute nodes for the coordinator and workers, object storage for the table files, a table catalog such as an Iceberg REST catalog or Hive Metastore, and the staff who run it. Trino queries data through connectors rather than loading it into its own storage, so your storage bill and your engineering time become the line items to model, not a query charge.

BigQuery prices differently. On-demand queries are billed per TiB scanned after the first free 1 TiB each month, and capacity pricing is billed per slot-hour through BigQuery editions. Both models tie spend to how much data your queries touch or how much capacity you reserve, so the cost driver sits inside the query workload. Ask your Google Cloud account team for the current rates in your region and edition, and compare them against your own scan volumes and peak concurrency rather than against a generic figure. For Trino, the question to put to your platform team is how many nodes you need at peak, how long they run, and what object storage and catalog hosting cost in the same account.

Confirm the license terms for every add-on or distribution you use. The Trino project itself is Apache-2.0, but a commercial distribution, a managed service built on Trino, a connector maintained by a vendor, or a proprietary access control or governance product added on top may carry different terms. Read the license file of each artifact you deploy, including any container image or Helm chart you pull, and record the version you approved. Apache-2.0 also governs the Trino connectors you enable, so check the connector list against the sources you plan to query, such as the BigQuery connector during a gradual move, before you commit the architecture.

How DeployOpen works on this

DeployOpen plans, implements, integrates, hardens, backs up, documents and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For Google BigQuery vs Trino, that means deciding whether a Trino lakehouse fits your workloads, then building it so your security and compliance teams can review it.

How we scope

  • Inventory the BigQuery datasets, scheduled queries, BI connections and access grants that a Trino lakehouse would need to serve.
  • Agree the written scope, deliverables and timeline before work starts, since most engagements are fixed-scope.
  • Define whether Trino will run alongside BigQuery through its BigQuery connector during a gradual move or replace it outright.

How we build

  • Deploy Trino with a coordinator and workers, plus object storage and an Iceberg catalog such as a REST catalog or Hive Metastore.
  • Configure authentication through your identity provider, and access control through file rules, Apache Ranger or Open Policy Agent.
  • Set up fault-tolerant execution only where your batch workloads need it, with an exchange manager spooling to your chosen object store.

How we hand over

  • Document the architecture, catalog layout, access control model, query routing and the operational runbooks your team will use.
  • Provide evidence of configuration, logging and backup controls so your compliance and security reviewers can assess the platform.
  • Run security testing on the deployed setup, deliver findings with fixes, and retest the items you choose to address.

How we support

  • Offer ongoing support, version upgrades and continuous testing for the Trino platform as a retainer after handover.
  • Keep the platform current with Trino releases, reviewing each release note for changes to connectors and security settings.
  • Agree on the support scope in writing, so your team knows which issues DeployOpen handles and which stay with your staff.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.