Trino or StarRocks for GDPR and EU data residency: which fits
Trino fits an EU team whose personal data stays in source systems the organization already runs in the EU, because Trino queries those systems in place and needs no second copy. StarRocks fits a team that plans to copy personal data into storage it operates, such as StarRocks tables loaded from those sources and served to dashboards. The decision turns on whether personal data stays in source systems or is copied into storage the organization runs, since that choice sets the records, retention and transfer checks you need. This page covers only the GDPR and EU residency angle. The general Trino vs StarRocks comparison has its own page and is not repeated here. Neither side is certified or attested by this page, and the operator carries the data protection duties under both.
Under both platforms, residency is set by where you deploy. Trino is run by the operator, so data stays where the operator runs it, and the operator chooses where the coordinator, workers and connected sources run. In StarRocks shared-data deployments, compute nodes cache data while the data itself lives in object storage such as S3, GCS, Azure Blob Storage, MinIO or HDFS, so both the bucket region and the compute node locations must sit inside the EU. Build a data flow map listing every place personal data lands, including source systems, caches, spill space, object storage, backups and logs. Confirm with each vendor's documentation and your own environment whether cache and temporary storage can be pinned to EU hosts. Start with Trino's security overview for authentication and access settings.
Under GDPR the operator carries the duties in both cases: security of processing under Article 32, breach notification under Articles 33 and 34, and transfer rules under Chapter V if support or administrative access comes from outside the EU. An assessor will ask who queried which personal data, so turn on query auditing before go-live. Trino's HTTP event listener can send query events to an endpoint you control, and StarRocks provides AuditLoader for audit logs. Check which fields those records hold, because query text can carry personal identifiers, and set retention to match your records policy. Keep the evidence pack ready: configuration exports, access reviews, audit samples and the data flow map. DeployOpen can plan and document these controls, but independent auditors and certification bodies issue any attestation.
When each side fits a GDPR and EU residency requirement
Residency depends on where each copy of personal data sits and who runs the systems that touch it. Trino queries data in place, while StarRocks stores copies that the operator must manage. The four situations below show which condition flips the choice.
Personal data queried where it lives
Trino fits when personal data already sits in EU source systems and the organization wants queries to run against it without making a copy. The cluster runs in the operator's own infrastructure, so the operator selects the region and carries controller or processor duties for it. Confirm that the coordinator, the workers and any logs all sit in the EU, and that query results are not exported to tools hosted outside the EU. Trino reads the sources but does not move them, so confirm where those databases and their backups are hosted.
Trino security overviewEU object storage for analytics copies
StarRocks in shared-data mode fits when the organization keeps analytics copies of personal data in object storage it controls. The data lives in object storage such as AWS S3, Google GCS, Azure Blob Storage, MinIO or HDFS, while stateless compute nodes run queries and cache data. The operator chooses the bucket region, so pick an EU region and confirm that compute nodes, caches, backups and replicas also stay in the EU. Ask each storage provider where it holds metadata and where its support staff can access the data.
Multi-source queries with non-EU endpoints
When one query joins several sources and some of them sit outside the EU, Trino's connector list becomes a residency question. Trino's documentation lists 37 connectors, and each one opens a network path from the cluster to a database, API or hosted service whose location must be known. Run a connector-by-connector review covering endpoint location, provider support access and any outbound calls the connector makes. Where a source cannot stay in the EU, record it as an exception and decide whether that query may run at all.
Trino connector docsRetained copies and scheduled deletion
Deletion and retention work differently on each side. Trino leaves personal data in its sources, so deletion and retention are carried out in those systems. Copies loaded into StarRocks belong to the organization, which must delete or expire them on a schedule and show that the deletion reached every replica and backup. Assign each copy an owner, a retention rule and a deletion job before the design is approved, and set a separate retention period for the audit logs that record who queried the data.
GDPR text on EUR-LexWhat GDPR asks of a warehouse or lakehouse holding personal data
The GDPR (Regulation (EU) 2016/679) has applied since 25 May 2018, and its duties fall on the controller, which decides why and how personal data is used, and on any processor that handles it for the controller. Chapter IV (Articles 24 to 43) sets those obligations. For a query layer, the most practical is Article 32, security of processing, which asks for controls sized to the risk: access control on catalogs and tables, encryption in transit, audit logs of who queried what, and tested recovery. Articles 33 and 34 then require a breach to be reported to the supervisory authority and, where the risk is high, to the people affected, within deadlines you should confirm in the article text. The software licence changes none of this. Trino and StarRocks are both Apache-2.0, and a self-hosting operator carries the controller or processor duties with either one.
Chapter V (Articles 44 to 50) governs transfers of personal data to third countries, and a query engine raises transfer questions that a storage product alone does not. Trino reads data where it lives through connectors, so a query run from one region can pull personal data from a source system in another, and the results, intermediate data and any cached copies move through the cluster. StarRocks in shared-data mode keeps data in object storage such as AWS S3, Google GCS, Azure Blob Storage, MinIO or HDFS, with stateless compute nodes caching it, so the region of the storage bucket and of the compute nodes both need a decision. In a self-hosted cluster, the operator picks those regions. The practical step is a data flow map that names every region a query, cache or log touches, and that map becomes the first exhibit an assessor asks for.
Article 83 sets the ceiling for fines: up to EUR 10 million or 2% of total worldwide annual turnover for infringements such as Articles 25 to 39, and up to EUR 20 million or 4% for infringements of the principles and transfer rules, whichever amount is higher in each case. National supervisory authorities, under Article 51, enforce the regulation in their own countries. The European Data Protection Board, established by Article 68, issues guidelines and, under Articles 65 and 70, makes binding decisions when authorities disagree. Before you choose a platform, ask your supervisory authority or counsel which guidance applies to query engines, and keep evidence such as configuration exports, access reviews, audit logs and transfer assessments ready. The regulation text is on EUR-Lex.
How Trino and StarRocks each meet GDPR duties as documented
This table sets out what Trino and StarRocks document against six GDPR-relevant needs for a self-hosted query layer: data location, transport encryption, access control, audit logging, runtime patching and transfers. Read each cell as the documented capability plus the check you still own, since the operator carries the controller or processor duties for either engine. Where a cell says to confirm, the documentation does not show the outcome, so verify it in your own environment before relying on it.
| Requirement | Trino as documented | StarRocks as documented |
|---|---|---|
| Data location and region | Stays where you run the cluster. Queries read sources in place, so each source's region also counts. | Stays where you run it. In shared-data mode (from version 3.0), the object storage or HDFS location you choose sets residency. |
| Encryption in transit | TLS page covers securing client and cluster connections. Confirm TLS is enabled on every coordinator, worker and connector path. | No TLS settings are shown in the pages reviewed. Confirm FE, BE or CN and client encryption for your version. |
| Authentication and access control | Security overview covers authentication and access control options. Confirm the authenticator and access rules for each catalog. | FE nodes handle client connections, but authentication and role setup are not shown here. Confirm users, roles and SSO. |
| Query audit logging | HTTP and MySQL event listeners send query events to an HTTP endpoint or MySQL database. Confirm captured fields meet your audit scope. | AuditLoader docs cover loading audit logs. FE log configuration covers server log settings. Confirm retention and who can read logs. |
| Runtime patching | Requires 64-bit Java 25, minimum 25.0.1. Patching the runtime and Trino releases stays with the operator. | 4.1.3 was published September 17, 2026. Patching and upgrades are operator tasks; confirm the patch process for your version. |
| Transfers to third countries | Connectors to BigQuery, Snowflake and Redshift reach services that may host data outside the EU. Confirm each source's location. | Object storage and HDFS locations set where data rests. Confirm that backups, replicas and any connected sources stay in approved regions. |
Where personal data flows and where the trust boundary sits
This illustrative flow starts at the BI or client tool inside the EU-hosted trust boundary. The upper path is a Trino query: the coordinator plans it, workers call connectors, and the coordinator's event listener is the first audit sink to check. The lower path is a StarRocks query: FE nodes plan it, BE or CN nodes read data, and the FE audit log records it. The connector endpoint and the object storage location are the two places where personal data can leave the boundary if they sit elsewhere. Confirm each location, and where every log is shipped, in your own environment.
Illustrative flow for both engines, with locations to confirm in your own environment.
Where EU residency breaks: connectors, object storage and logs
Running Trino yourself keeps the query engine where you run it, but residency is decided at every point where a query can reach outside your boundary. For Trino, the first of those points is the connector. Trino documents 37 connectors, including BigQuery, Snowflake, ClickHouse, MongoDB and Redshift. A federated query that touches Snowflake or BigQuery sends data to a service whose region is set by the account you connected, so your EU boundary now includes that account. For each catalog, confirm the endpoint, the region of the source system and any copies the connector makes, then record the decision alongside the catalog name. The connector list is the place to start.
StarRocks shared-data deployments move the storage question into object storage. In that model, table data lives in a bucket on AWS S3, Google GCS, Azure Blob Storage, MinIO or HDFS, while stateless compute nodes run queries and cache data locally. The bucket can sit in any region you select, so the residency decision is made when the bucket is created. Confirm the region of each bucket, any cross-region replication or backup target your storage team configures, and where compute node caches sit on disk. Caches hold copies of the data, so a compute node in another country may count as a transfer even if the bucket is in the EU. Confirm that question with your data protection officer, and record the bucket region and cache location in the same register as your Trino catalogs.
Logs are the part most teams leave out. Query and audit logs record who ran which SQL, and SQL text often contains literal values such as customer identifiers or email addresses, so the logs themselves can hold personal data. Trino's event listeners, including the HTTP and MySQL listeners in its documentation, send query events to an endpoint you configure. StarRocks writes audit records through AuditLoader into tables, which makes the cluster's own storage the sink. Apply the same region decision to these sinks as to the data: confirm where the HTTP endpoint or MySQL server runs, where the AuditLoader tables are stored, and how long each keeps records. Then add both sinks to your record of processing activities, with the owner and the retention period. The AuditLoader documentation explains how the tables are populated.
Evidence an assessor asks for under GDPR and how each side produces it
Trino is Apache-2.0 licensed and runs inside your own infrastructure, so query data stays where you deploy it and the operator carries the data protection duties. The project supplies documentation and settings an assessor can read, but the processing records, transfer map and incident procedures are yours to write. Release 484 was published on October 15, 2026, so your patch record should name the build each cluster runs and the date it was upgraded.
- Architecture and data locations: The deployment guide describes a coordinator with workers, and connectors reach each source. You must draw the diagram yourself, placing each node, connector endpoint and storage bucket in a named EU region.
- TLS and access control: The TLS configuration guide and the security overview describe the options available. Export your live configuration to show what is set, and document who approves each access rule.
- Query audit trail: The HTTP event listener and the MySQL event listener can send query records to a system you control. Confirm they capture the user and statement fields your assessor will sample, and set a retention period in writing.
- Runtime and patch records: Deployments need a 64-bit Linux system and a 64-bit Java 25 runtime, minimum 25.0.1. Keep a dated inventory of Trino and JVM versions per cluster, with the change ticket for each patch.
Confirm that event listener output lands in storage under your control and that its retention matches your written policy, because an assessor will ask where each record lives.
StarRocks is Apache-2.0 licensed and a Linux Foundation project. In a self-hosted cluster the operator chooses the region and carries controller or processor duties, so the location of every frontend, backend, compute node and bucket belongs in your evidence. Version 4.1.3 was published on September 17, 2026, and your records should name the version each cluster runs.
- Architecture and data locations: Frontend nodes handle metadata, query planning and scheduling. Backend nodes store and compute in shared-nothing deployments, while shared-data deployments keep data in object storage such as S3, GCS, Azure Blob Storage, MinIO or HDFS, so the bucket region goes on the diagram.
- TLS and access control: Confirm the encryption and privilege settings for your version in the StarRocks documentation, then export them. Record which user groups hold which grants, and who approved each grant.
- Query audit trail: AuditLoader loads audit records into StarRocks tables for querying. Confirm the target database, the retention you apply, and which accounts can read or delete the audit tables.
- Log retention and patch records: The FE log configuration reference lists the settings to export alongside your retention period. Keep the version history and a change ticket for each upgrade.
Check that the audit tables fall under the same access control policy as the data they describe, because a reviewer will test whether audit records can be altered.
Whichever engine you choose, the assessor and the supervisory authority look for the same organizational evidence. Under Article 51, independent national supervisory authorities enforce the GDPR, and the EDPB issues guidelines under Article 70, so both shape what a reviewer expects to see. The Article 32 security duties and the breach notification duties in Articles 33 and 34 apply to you as operator on either side.
- Record of processing activities: Neither engine produces this. Write one entry per dataset covering purpose, legal basis, recipients and retention, and link each entry to the architecture diagram.
- Transfer map: Chapter V (Articles 44 to 50) governs transfers to third countries. Map every place support staff, a vendor or a backup copy can reach the data, including remote access paths, and record the transfer safeguard for each.
- Breach response runbook: Write the runbook with named roles, the decision point for notifying the supervisory authority, and the systems it covers, including the query engine, the audit store and the storage bucket. Test it and keep the test record.
- Dated evidence pack: Export the diagram, TLS settings, access policy and an audit sample on a regular schedule, and record who approved each change.
Ask your assessor which EDPB guidelines and which national supervisory authority practice they apply, because that choice decides which samples they request.
Configuring the chosen side for an EU residency boundary
This sequence turns a chosen Trino or StarRocks deployment into a bounded EU environment, with every compute node, storage location, connection and log path mapped and checked. Most steps are organization decisions, and the vendor documentation governs how TLS, authentication and audit logging are switched on. The output is a dated evidence pack an assessor can read against the GDPR's security and transfer provisions.
Fix the EU region for every component
Organization choice. Name the EU region or data centers where every Trino coordinator and worker, or every StarRocks FE, BE or compute node, will run, and where the data sits, including any object storage bucket or HDFS cluster. Because you run the software yourself, the operator selects the region and carries the controller or processor duties, so this decision belongs to your data protection owner and infrastructure lead. Record the decision in an architecture note. The check is a written region register that names every host, zone and storage location, and an audit that no node, backup or log target sits outside it.
Inventory every connector and storage endpoint
Organization choice. List every catalog or connector the cluster can reach, which in Trino covers the 37 connectors in its documentation such as Iceberg, Hive, PostgreSQL and Snowflake, and for StarRocks every external catalog and object storage endpoint such as S3, GCS, Azure Blob Storage, MinIO or HDFS. For each one, confirm in writing where the endpoint runs, whether it is a managed service with a region setting, and whether it is reachable from outside the EU. Treat any cross-border endpoint as a transfer question under Chapter V before it is enabled. Done when the inventory matches the running configuration and every entry has a confirmed location.
Enable TLS following vendor documentation
Vendor documentation step. Turn on encryption for client connections, for traffic between nodes, and for each connection to an endpoint in the inventory, following the Trino TLS guide if you chose Trino, or the StarRocks security documentation for your release if you chose StarRocks. Use certificates from an authority your organization controls and record where each certificate and key lives. Done when test clients connect over the encrypted path and the unencrypted path you disabled is refused. This supports the security of processing duty in Article 32 of the GDPR.
Set authentication and role-based authorization
Vendor documentation sets the mechanisms, and the role design is an organization choice. Connect the platform to your identity provider so that every user and service account is individually named, then map each catalog, schema and table to the roles that need it. Remove shared or default accounts and document who approves access changes. The check is a test matrix showing that an account without a role is denied on each sensitive source, and that an access review export lists every grant. Assessors will look for this under the security of processing duty in Article 32.
Turn on query audit logging to your sink
Vendor documentation describes the logging hooks, and the destination is an organization choice. For Trino, use an event listener such as the documented HTTP or MySQL options to send query records to a log store you run inside the EU boundary. For StarRocks, use the audit loader documented by StarRocks to load audit records into a table you control. Make sure each record captures the user, the query text, the time and the outcome, and that no record is written to a third-party service outside your control. Done when a test query from a named user appears in the sink with all those fields.
Set log and audit retention to policy
Organization choice. Set how long audit records and service logs are kept in the sink and on each node, based on your retention policy and your own legal obligations, and confirm that deletion runs on schedule. Where the platform's own log settings control rotation or retention, follow the vendor documentation for the relevant option, such as the StarRocks FE log configuration reference for frontend logs. Keep the retention period in writing so the assessor can compare it with the policy. Done when a log older than the period is removed in a test run and the policy document cites the same period.
Pin a tested release before adoption
Organization choice, guided by release notes. Pin the exact version you deploy and do not follow the latest build automatically. At time of writing, the releases to evaluate include Trino 484, published on October 15, 2026, and StarRocks 4.1.3, published on September 17, 2026. Test whichever you choose before adopting it, including against the TLS, authentication and logging settings in this sequence, and read its release notes for changes that touch them. Record the version and approval in your change register. Done when the pinned version passes the retest in the next step and the approval is on file.
Retest and file the evidence pack
Organization choice, with the vendor's documentation as the reference. Rerun the residency, TLS, access, audit and retention tests against the pinned release, and have someone other than the engineer who configured it witness the results. Save the region register, the endpoint inventory, configuration exports with secrets removed, a sample of audit records and the retention test output in one dated folder. The check is a written sign-off that every step has evidence. DeployOpen can prepare and test this evidence, but independent auditors and certification bodies decide what it proves.
What buyers ask before hiring help with GDPR residency
How much effort does GDPR data residency work take?
Effort grows with the number of sources, regions and connectors in scope, and that count matters more than the engine you choose. Trino's documentation lists 37 connectors, and each connector that reads personal data needs its own inventory entry, region decision and access rule. A single StarRocks cluster in one region is a much smaller exercise than a federated estate that spans several clouds and jurisdictions. Ask any provider to size the work against your own source list and to show what is included and what is excluded. Effort is difficult to size before discovery, so expect a scoping phase that produces the source list the rest of the estimate depends on.
How long does a GDPR residency engagement take?
The duration is set by the scope that both parties agree in writing before work starts, and most DeployOpen engagements are fixed-scope on that basis. The main drivers are how many sources and regions the scope covers, how quickly your team can provide the source inventory and data map, and how long internal approvals and access requests take. Testing and evidence collection also depend on the review calendar of your assessor or supervisory contact, which you do not control. Ask for the timeline in the written scope, along with the assumptions behind it, such as who provides access and who signs off each deliverable.
What does the organization need to provide before GDPR residency work starts?
Five inputs determine how quickly the work can move, and each one needs a named owner on your side. Prepare these before scoping is signed off:
- A source inventory listing every database, lakehouse table store and query engine that holds personal data
- A data map showing which personal data each source holds, where it is processed and who receives it
- Region decisions for where storage, compute, backups and logs sit
- An access model that defines who can query which datasets and how those identities are issued
- An owner for the evidence who keeps the records an assessor or supervisory authority may request
Trino and StarRocks both leave these decisions with the operator, so the organization carries them whichever engine it picks.
Can an in-house team handle GDPR residency for Trino or StarRocks?
Yes, if the team already has the skills to deploy, secure, document and test the platform, and the steps above can serve as the checklist. Work through the same sequence an outside team would: build the source inventory, map personal data to each source, set region decisions, define the access model, then assign an owner for the evidence. Teams often underestimate the last step, because assessors ask for records of configuration, access and audit logging over time, not just a working setup. Be honest about capacity: if the same people run production, the evidence work competes with operations. Outside help makes most sense for the parts where you lack the skills or the time to finish.
What makes GDPR residency project costs go up or down?
Three drivers matter most: the number of connectors and regions in scope, the audit scope, and whether you need a retainer for upgrades and retesting. Scoping, configuration, hardening, documentation and testing are one-time project work paid to the implementer, while the infrastructure you run is a recurring cost paid by your organization. A retainer adds a recurring fee for ongoing support, upgrades and continuous testing, and it may be optional if your own team can absorb those tasks. Costs tend to fall when the source list is tight, when regions are fixed early and when the evidence owner is in place before work begins. DeployOpen does not publish a price list, so the quote follows from the written scope, and you should ask for connectors, regions, audit scope and retainer terms to be priced as separate lines.
Does DeployOpen make Trino or StarRocks GDPR compliant?
No. DeployOpen prepares systems, controls and evidence for GDPR assessments, but it does not issue audit reports, attestations or certifications. Independent national supervisory authorities enforce the GDPR, and independent assessors evaluate whether a given setup meets it. Under the regulation, the operator of a self-hosted Trino or StarRocks cluster carries controller or processor duties for the data it holds, so compliance depends on how you run the platform as well as how it is configured. Read the regulation text on EUR-Lex and confirm the scope of your obligations with your data protection officer or legal counsel.
How DeployOpen prepares EU residency and evidence for either side
DeployOpen plans, implements, hardens and documents self-hosted Trino or StarRocks inside your own cloud accounts, data centers or air-gapped networks, so data stays where your team chooses to run it. We prepare the systems, controls and evidence your compliance and security teams review. We do not issue audit reports or certifications; independent assessors and certification bodies do that.
How we scope
- Written scope fixes which engine, regions, storage locations and data categories are in and out before work starts.
- We map where personal data enters, moves and rests, including catalogs, object storage and connected source databases.
- Engagements are fixed-scope, and ongoing support is available as a retainer after handover.
How we build
- We deploy the chosen engine in your own infrastructure and configure encryption in transit as its documentation specifies.
- We configure access control and audit logging, including query event listeners where the engine supports them.
- We run security testing against the deployment and record each finding and its fix in the evidence file.
How we hand over
- Documentation covers data location settings, regional deployment choices and the operator's controller or processor responsibilities.
- Evidence pack lists configuration exports, access rules, logging settings and test reports for your assessor to review.
- Runbooks cover upgrades, backups and restore steps so your team can operate the cluster after handover.
How we support
- Retainers can cover upgrades, continuous testing and ongoing support once the deployment is live.
- Before the engine version changes, we can plan the upgrade and retest the residency controls.
- Confirm with your legal and privacy team which transfers, if any, leave the EU before signing.

