Trino vs DuckDB for GDPR and EU data residency: which side fits
Trino fits when one query layer must reach several stores and the organization needs central query logs. DuckDB fits when analysis runs on one or a few hosts that the organization operates and no shared query server is wanted. Both options run wherever the operator deploys them, so residency depends on where each engine is deployed and what it reads. This page covers only the GDPR and EU data residency angle. The general Trino vs DuckDB comparison, including licensing, architecture, deployment effort and integrations, is on its own page. For this question, the decision turns on three things: where the data sits, how many systems and people query it, and which logs must exist when a supervisory authority asks how access was controlled.
Consider an EU organization (illustrative) whose analytics data must stay in the EU and must be explained to a national supervisory authority. It has to show where personal data is processed, who can reach it and what the records say. With Trino, the operator runs a coordinator and workers, so the cluster, its TLS settings and its access control stay in the operator's hands. Trino's HTTP event listener documentation describes sending query events to an endpoint the organization controls, which is the starting point for a central query log. With DuckDB, the engine runs inside the operator's own process and storage, so there is no shared server to harden, but each host or application must keep its own access records. Confirm that the logs you choose capture every query path your assessor will ask about, including any Trino connector that reaches a cloud service such as BigQuery or Snowflake outside the EU.
Neither project issues certifications, attestations or audit reports, and neither one makes an organization compliant on its own. Independent auditors and certification bodies assess the evidence, and DeployOpen prepares systems, controls and evidence for those assessments without issuing them. Under either option, the organization carries the GDPR duties, including security of processing under Article 32, breach notification under Articles 33 and 34, and the transfer rules in Chapter V. Before choosing, write down for each store where it sits, who queries it, and which logs will prove that. Then ask the vendor or your own team to confirm how each engine handles those logs and encryption in your environment.
How Trino and DuckDB each meet GDPR as documented
This table sets out what each platform documents against the GDPR points that shape a Trino or DuckDB design, from where processing happens to the vendor role. Read the cells as a starting position, since most rows depend on your own deployment, connectors and host application. The main takeaway is that Trino gives you server-side controls to configure and evidence, while DuckDB leaves more logging and access recording to the application you build around it.
| Requirement | Trino | DuckDB |
|---|---|---|
| Where data is processed | Data stays wherever the operator runs the coordinator and workers. The operator holds the data protection duties for that location. | Data stays wherever the operator runs the host process and storage. The operator holds the data protection duties for that setup. |
| Encryption in transit | TLS is documented in the Trino security guidance. Confirm which client, coordinator and worker links your version secures. | No network service is installed, so transit protection depends on the host application. Confirm the protocols any remote file or extension access uses. |
| Encryption at rest | At-rest encryption depends on the source systems, object storage and any spill or exchange storage you configure. Confirm each store's encryption and key handling. | Data-at-rest encryption is documented in a 2025 DuckDB post. Confirm current status, supported ciphers and key handling for your version. |
| Access control | The security overview covers authentication and authorization. Confirm which methods and access rules your chosen version offers. | Access depends on who can run the host process and read the database file. Confirm what, if anything, the database itself enforces. |
| Query and audit logging | HTTP and MySQL event listeners exist for query events. Confirm which fields each one records and where the events can be sent. | Confirm whether a built-in audit log exists. If not, the host application must log access to the data. |
| Security of processing (Article 32) | Article 32 expects risk-based technical and organizational measures. Trino's documented controls cover TLS, authentication and logging, but the operator must configure, test and document them. | Article 32 measures sit with the host application, since there is no separate server to harden. The operator must document key handling, access and logging. |
| Transfers outside the EU (Chapter V) | Connectors such as BigQuery, Snowflake and Redshift can reach sources hosted outside your infrastructure. Map each source's location and confirm transfer terms with counsel. | Transfers depend on any remote files or endpoints the host application or extensions read. Map those sources and confirm transfer terms with counsel. |
| Vendor role | Apache-2.0 licensed, and the vendor does not host your data in this model. Counsel should confirm whether any vendor-side terms apply. | MIT licensed, and the vendor does not host your data in this model. Counsel should confirm whether any vendor-side terms apply. |
Where personal data flows and where the trust boundary sits
The diagram starts at the Trino client endpoint, where analyst connections enter the operator controlled EU boundary over TLS. The coordinator plans each query and hands tasks to the workers, which read lakehouse storage in place. Query events go through an event listener into the organization's own log store, so the query log can stay inside the boundary. DuckDB runs in a separate host process and reads its own storage. The external cloud source sits outside the boundary, so residency depends on the hosting region of that account. Check the Trino TLS documentation to see which internal links it covers, and confirm the rest in your own environment.
Trino stays inside the EU boundary; connected cloud sources depend on region.
Where personal data physically sits in each design
Trino is run by the operator, so queries execute in systems the operator controls, and the operator carries the data protection duties. Trino reads data where it already lives, which makes each connected system a residency point. A connector to a hosted warehouse in another region moves the residency question to that source.
- Catalogs as a residency map: Each catalog points at one source. Record the country, region and operator of every catalog in a register an assessor can read, and update it whenever catalogs are added, moved or retired.
- Hosted sources outside your estate: A connector to a hosted warehouse, such as BigQuery or Snowflake, places data under that provider's region settings, subprocessors and contract terms. Get its hosting region in writing before you rely on it.
- Connector support by release: The Trino connector documentation lists 37 connectors. Confirm that each connector and version you need is supported in the release you pin, such as release 484, published on October 15, 2026.
- Query events and logs: The HTTP event listener can record query activity. Query text can contain personal data, so confirm where those records land, who reads them and how long they are kept.
- Transport between components: Confirm that traffic between clients, the coordinator and workers is encrypted in your topology.
Open question: which region hosts the source behind each catalog, and who in your organization can name it for every catalog running in production?
DuckDB runs inside the operator's own process and storage, so residency follows the host and the disk location. There is no database server to place in a region. The main risk is less the engine than the copies people make, because each copy is a new place where personal data sits and needs its own controls.
- The database file: Data lives in files on the host where the embedding process runs. That disk, along with its backups and snapshots, decides where the data physically sits.
- Laptops and workstations: An analyst who opens an extract locally creates a residency point on a device. Device encryption, loss handling and deletion of local copies after use are controls you must define and evidence.
- Object storage buckets: Writing Parquet or CSV output to a bucket places a copy in that bucket's region, under its access policy. Confirm the region and access rules for every bucket that receives output.
- Exported files and shared drives: Files sent by email, chat or shared folders leave the controls of the database. Set a written rule on what may be exported, where it may go and how long it may stay.
- Encryption at rest: DuckDB documents data-at-rest encryption. Confirm the feature and the version you pin, such as v1.5.6, published on September 28, 2026, before you rely on it for a residency claim.
Open question: which laptops, buckets and shared folders hold copies of DuckDB files or exports today, and can your team produce that list from an inventory?
Evidence an assessor will ask for on GDPR and EU data residency
An assessor reviewing a Trino deployment will test whether you can show where personal data is processed, who reached it and what happened when something went wrong. Trino is run by you, so the evidence comes from your coordinator, workers, catalogs and log stores. The central query record is the event listener output.
- Data map: each catalog, its connector (Trino's documentation lists 37 connectors, including Iceberg and PostgreSQL) and the region and host of each store behind it. Produced by you: catalog files and the infrastructure inventory.
- TLS configuration: proof that client and internal traffic is encrypted, drawn from settings you can export, with certificate expiry dates. Trino's TLS guide lists what to capture. Produced by you: the exported settings and certificate inventory.
- Authentication and authorization: the authenticator and access rules in force on the assessment date, with records of who approved each change. Produced by you: access-control files, identity provider settings and approvals.
- Query event records: event listener output kept in a log store with retention set by your policy. Trino documents HTTP and MySQL listeners, so name yours and prove events arrive and persist. Produced by you: retention settings and delivery monitoring.
- Transfer and breach records: Chapter V assessments for access from outside the EU (Articles 44 to 50) and the Article 33 and 34 records for notifying authorities and affected people. Produced by you: the legal and incident processes behind them.
Before the assessment, check that each catalog's location matches your residency statement and that log retention matches your policy.
DuckDB has no server to audit, so the evidence concerns files and the host application that embeds it. Because DuckDB is MIT-licensed and runs inside its host process, personal data sits wherever that host and its storage run. An assessor will ask about each file and each host that opens it.
- File location record: for each
.duckdbfile, the host, disk or object store that holds it and the region where that host runs. With no central server, this record serves as the data map. Produced by you: the host and storage inventory. - Encryption settings: the data-at-rest configuration for each file, including how keys are supplied and stored, tied to your Article 32 security measures. DuckDB's encryption write-up explains the options. Produced by you: key records and per-file settings.
- Host application access logs: Host application access logs matter because DuckDB runs inside the host, so who opened a file is recorded by that host's application and operating system. Set retention to match your policy. Produced by you: those audit logs and retention settings.
- Transfer records: Chapter V assessments (Articles 44 to 50) for any copy, export or remote access from outside the EU, since a copy carries its personal data with it. Produced by you: copy logs and the assessments.
- Breach response records: Article 33 and 34 records for incidents involving a host or a copied file, showing which files and locations were affected. Produced by you: incident logs tied to the file location record.
Confirm the encryption options in your DuckDB version and that every file copy appears in the location record.
Configuring the chosen side for GDPR and EU data residency
This sequence applies to whichever side you choose, Trino or DuckDB, and runs from mapping data locations to a retest after each upgrade. Each step names the control, the check that closes it and the record an assessor can inspect. Confirm every version and requirement against the current release notes before you deploy.
Map sources, storage and hosting regions
List every data source, storage location and connector, and record the region where each one is hosted. For Trino, cover each catalog and the object storage behind its lakehouse tables. For DuckDB, cover each database file, each host running the process and each external file it reads. Then confirm the runtime. Trino needs a 64-bit Linux system and a 64-bit Java 25 runtime, minimum 25.0.1. DuckDB needs the host requirements for the version you deploy. Check both against Trino release 484 (October 15, 2026) and DuckDB v1.5.6 (September 28, 2026). The step is done when the data owner signs the map.
Enable TLS for client access
Turn on TLS for client connections to the Trino coordinator, following the Trino TLS guide. Read that guide to confirm which internal links it covers, such as coordinator to worker traffic and connector traffic. For each internal link it does not cover, record the control that protects it, or set that protection before go-live. For DuckDB, TLS matters only where your application exposes results over a network, so confirm that path in the application design. The step is done when a plaintext connection attempt fails in testing and the result is saved with the configuration.
Set authentication, authorization and file controls
For Trino, configure authentication and authorization following the Trino security overview, and decide who may query which catalog and table before anyone receives access. For DuckDB, restrict which accounts can run the host process, set file permissions on each database and export directory, and apply encryption at rest where the data requires it, following DuckDB's data-at-rest encryption guidance. Write the access matrix as a short table with user or service, data set, permitted action and approver. Assign a named owner to each entry. The step is done when the matrix matches the live configuration and a sample of denied requests is recorded.
Send query events to log storage
For Trino, enable the Trino HTTP event listener or the MySQL event listener, point it at the organization's log store, and set retention to the period your records policy requires. Confirm in the listener documentation that the events carry the fields your audit needs, such as user, query text and catalog, and that the store restricts who can read them. Because DuckDB runs inside the host process, nothing emits events for you, so the application must write a log of each query and export with the same fields. Apply the same retention rules to that log. The step is done when a test query appears in the log store with the expected fields and the retention setting is saved to the change record.
Document and cut forbidden transfer paths
List every path that moves data out of the chosen region: query results sent to other systems, exports and file downloads, backups, replicas and remote connectors. Trino's connector list includes managed services such as BigQuery, Snowflake and Redshift, and a query that reads from a remote service, or sends results to a client outside the region, is a transfer that needs an owner and a decision. Remove each path that policy or counsel forbids, and record the rest with the legal basis reviewed. Chapter V of the GDPR governs transfers to third countries, so counsel should review anything that crosses that boundary. The step is done when a signed transfer register exists and the removed paths are confirmed closed.
Test controls, keep evidence and retest
Test each control from the first five steps against the configuration you deployed, not against the design document. Save the outputs: configuration files, the TLS test result, the access matrix, sample log entries with retention settings and the signed transfer register, each dated and tied to a version. Assessors will ask how these controls support the security of processing duties in Article 32 of the GDPR, so keep the evidence in one place with a named owner. Repeat the full test after each Trino or DuckDB upgrade, re-checking against the current references, including Trino release 484 and DuckDB v1.5.6, or whatever is current at that time. The step is done when a retest after the latest upgrade is filed.
What buyers ask before bringing in help on GDPR residency
Does the GDPR require personal data to stay inside the EU?
No, the GDPR does not generally require personal data to stay inside the EU. Chapter V (Articles 44 to 50) regulates transfers to third countries, so residency is usually a policy or contract choice that your organization sets and must be able to evidence. Whether a given storage location or transfer is lawful depends on your processing activities, your role as controller or processor, and the transfer mechanisms you rely on. Confirm the position with your counsel or data protection officer before you design the cluster. You can read the regulation text in the GDPR on EUR-Lex. Both Trino and DuckDB run wherever the operator runs them, so the location decision and the duties that come with it stay with your team.
Can our team run Trino or DuckDB without outside help?
Your team can run either one alone if it has the skills for the work, and skills are the deciding factor. Trino needs a coordinator, one or more workers and a 64-bit Java 25 runtime (minimum 25.0.1), and every node needs TLS, authentication, query logging and cluster operations handled in production. DuckDB needs less to get started because it is embedded in a host process and has no database server to patch, but the host process then carries the controls: file permissions, encryption of database files where you use it, secrets handling and a record of who ran which job. Ask whether you have people who can own those controls after go-live, not only during a test. If the answer is unclear, a scoped skills review is a reasonable first step before you choose a build path.
How long does a GDPR residency engagement take?
No duration can be fixed without a written scope, so ask each provider for a timeline tied to named deliverables. The main drivers are the number of sources and connectors in scope, how much logging and monitoring already exists and whether it can serve as evidence, and how many data owners must approve the inventory and access model. Projects that start with a complete data inventory and a named log store tend to move faster than projects that start with discovery. DeployOpen plans most engagements as fixed-scope, and scope, deliverables and timelines are agreed in writing before work starts. Treat any timeline that is not linked to a written scope as a starting assumption, and ask the provider to show which inputs it depends on.
What drives the cost of help with GDPR residency?
The cost follows the written scope. DeployOpen does not publish a price list, so a quote follows from the scope you agree. The main drivers are the number of systems and sources in scope, the depth of evidence your assessor will expect, the number of environments to harden and document, and whether you want ongoing support through a retainer. Design, deployment and the first evidence pack are one-time work, while upgrades, continuous testing and retainers recur. Neither Trino (Apache-2.0) nor DuckDB (MIT) adds a license fee to the base software, so most of the spend goes to people, infrastructure and evidence work. Ask every provider for a quote that lists deliverables, what your team must supply, exclusions and which costs recur, then compare quotes on those items.
What do we need to provide before a GDPR residency project starts?
Your team needs to provide a data inventory, named data owners, the access model, the log store and legal input before design work can finish. The inventory should list datasets, their personal data categories, where they sit today and which jurisdictions they touch. Data owners approve retention, access and sharing decisions, so they must be available during scoping. The access model covers your identity provider, roles and which people or services may query which datasets. The log store is where query and access events will be kept, and counsel or your data protection officer should confirm transfer and retention positions in writing. Providing these inputs early reduces rework, and each one should appear in the written scope.
Does DeployOpen certify our GDPR compliance?
No. DeployOpen does not certify your organization, and it does not issue audit reports, attestations or certifications. It plans, implements, hardens and documents self-hosted platforms inside your own infrastructure, and it prepares the systems, controls and evidence that your compliance assessment will ask for. Independent auditors and certification bodies issue reports and certificates where a framework provides for them. The GDPR itself is enforced by independent national supervisory authorities under Article 51, so no vendor can certify GDPR compliance on your behalf. Ask any implementation partner which evidence it will produce, and which party issues each piece of evidence.
How DeployOpen helps prepare the evidence for either option
DeployOpen works on Trino vs DuckDB for GDPR and EU data residency as a fixed-scope implementation and evidence project inside your own infrastructure. We map the GDPR duties each option leaves with the operator, then build and document the controls your assessors will ask about. We do not issue audit reports or certifications; independent auditors and certification bodies do that.
How we scope
- The written scope names which Trino or DuckDB deployments, data stores and access paths are in and out.
- Scope records whether your organization acts as controller or processor for each dataset in the warehouse.
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
How we build
- We configure Trino's TLS, authentication and access control, and document each setting for the assessor.
- For DuckDB, we define where database files live, how they are encrypted at rest, and who can open them.
- We run security testing against the deployed setup before handover, with findings and retests documented.
How we hand over
- Documents map controls to Article 32, breach steps in Articles 33 and 34, and Chapter V transfer records.
- You receive configuration records, test results and runbooks as written deliverables listed in the scope.
- Supervisory authorities and independent auditors make the assessment decisions; DeployOpen does not issue attestations.
How we support
- Retainers cover ongoing support, upgrades and continuous testing as Trino and DuckDB versions move on.
- Ask whether a retainer covers re-checking transfer and access controls after each Trino or DuckDB release.
- Confirm which records of processing, impact assessments and vendor files your team keeps.

