ClickHouse vs DuckDB for GDPR and EU data residency

ClickHouse fits when many users, central audit logs and an EU-hosted server or EU cloud region are required, while DuckDB fits when personal data stays inside one application process on infrastructure the organization already controls. This page covers only the GDPR and EU residency question; the general comparison is on its own page.

On this page

ClickHouse or DuckDB for GDPR and EU data residency: which fits

Choose ClickHouse when an EU organization needs many users querying one analytics store, central audit logs, and an EU-hosted server or EU cloud region that an assessor can point to. Choose DuckDB when the personal data stays inside one application process on infrastructure the organization controls, with no shared database server to review. This section covers only the GDPR and EU data residency question for these two products, and the general ClickHouse vs DuckDB comparison sits on its own page. The choice turns on three decision points: where the data physically sits, who outside the EU can reach it, and whether a server must enforce access for each user or whether the application can do that.

On the ClickHouse side, the vendor's ClickHouse compliance overview says ClickHouse self-certified to the EU-US Data Privacy Framework in 2024 and appears on the Data Privacy Framework List, and it names GDPR internal compliance programs. ClickHouse Cloud offers European regions on AWS, Google Cloud and Azure, including Frankfurt, Ireland and Stockholm on AWS. The other route is self-hosting the Apache-2.0 server, where data stays wherever you run it. Ask the vendor which region your cluster will use, what the certification covers under your contract, and whether any support access from outside the EU is possible. For a self-hosted build, confirm how audit logging is configured, since the server's audit trail becomes your evidence to produce.

DuckDB runs inside the host process and its storage, so the data stays wherever that process runs, and there is no database server to install, patch or place in a region. That makes location straightforward to document: the database file, the host and the backup target are the records an assessor will read. The cost is access control. With no server between users and the data, the access control is yours to design, through the application or the operating system, and you must show how it holds for every copy of the file. DuckDB documents data-at-rest encryption in Data-at-Rest Encryption in DuckDB, but key handling, backups and copies remain your responsibility under the security of processing duties in Article 32. Confirm your design against that article before you choose.

Four questions that settle which side fits

Each card is a question your privacy team or an assessor will ask, with the side that usually answers it and the condition that would change the answer. None of them settles the choice alone, because the answers depend on where your data flows and who operates each system.

Where personal data must physically sit

Start with where the records must sit and who decides that. A self-hosted ClickHouse server or a DuckDB file keeps personal data wherever the operator runs it, so location alone usually favors neither side. ClickHouse Cloud lists European regions across several clouds, which lets you pin a region in a contract. Check the copies too: backups, replicas, CI runners and developer laptops can move personal data outside the EU even when the primary store sits in Frankfurt.

Supported regions

Non-EU access to the data

Ask who outside the EU can reach the data: vendor administrators, support engineers, or a transfer to a non-EU processor. A self-hosted ClickHouse server or an embedded DuckDB process keeps that path inside your own systems, so this usually favors self-hosting on either engine. The answer changes once the vendor operates the service. ClickHouse's compliance documentation says it self-certified to the EU-US Data Privacy Framework and appears on its list, but that is one transfer mechanism to test against your own transfer record, along with support access terms and subprocessors.

Compliance overview

Server-enforced access and logs

Decide whether many users need access rules and audit trails enforced by the database itself. ClickHouse runs as a server with its own user accounts and server-side settings, so it usually favors teams with many analysts, dashboards and service accounts. DuckDB is embedded in a host process with no database server, so access control sits in the application and in file permissions. That usually suits one service or a small group reading the same files. The answer changes if per-user logs must be shown to an assessor, which you should confirm for your ClickHouse version and deployment mode before you commit.

Who carries patching and upgrades

Name who patches the engine and runs each upgrade before you choose. A ClickHouse server needs a scheduled cycle: stable releases ship roughly monthly and LTS releases twice a year, so the team must track which line is current. Versions outside the supported list get no security updates, so older lines must be retired on time. DuckDB has no server to patch, but every application that embeds it must rebuild with a newer library version, which usually favors teams with one or two applications. The answer changes if the team cannot keep a server on a supported line, or if a managed service takes that work.

LTS support window
1 year
ClickHouse version guidance

What GDPR asks of a warehouse that holds EU personal data

The GDPR issues no product certificate, so no database earns GDPR approval on its own. Regulation (EU) 2016/679 has applied since 25 May 2018 under Article 99, and Chapter IV places duties on controllers and processors, including security of processing under Article 32 and breach notification under Articles 33 and 34. An assessor judges how your organization processes personal data, and the warehouse is one part of that evidence. Start by mapping which team is the controller, which vendor or operator is the processor, and where each copy of the data sits, including backups, logs and exports. Put that map in front of your privacy counsel before any engineering decision is made.

Chapter V governs transfers to third countries, and each access path needs its own answer. Storage location is only one path. A support engineer at a vendor, a remote analyst, a restored backup or a BI tool hosted outside the EEA can each raise a transfer question. ClickHouse's compliance overview states that ClickHouse self-certified to the EU-US Data Privacy Framework in 2024 and appears on the Data Privacy Framework List. Confirm with counsel whether that covers the entity and service you will buy, and whether it reaches each access path you mapped. Self-hosted ClickHouse keeps data where you run it, and DuckDB runs inside your own process and storage, so the transfer question moves to the machines and people who reach them.

The stakes are set in Article 83. Infringements such as those in Articles 25 to 39 can draw fines of up to EUR 10 million or 2% of total worldwide annual turnover. Infringements of the principles, lawful basis, data subject rights and transfer rules can draw up to EUR 20 million or 4% of turnover, in each case whichever is higher. Enforcement sits with independent national supervisory authorities under Article 51, so the authority competent for your organization is the one most likely to send questions. The European Data Protection Board, established under Article 68, issues guidelines and can settle disputes between authorities through binding decisions under Articles 65 and 70. Ask counsel which authority is competent for you before you assemble the evidence pack.

How ClickHouse and DuckDB each meet the GDPR controls that touch data location

This table sets out how ClickHouse and DuckDB each address the GDPR controls that decide where personal data sits, who can move it and how it is protected. Read each row as the documented position, then the confirmation step you still need with the vendor or in your own testing. The main takeaway is that ClickHouse has more published residency and transfer evidence, while DuckDB's data location is wherever you run it.

ControlClickHouseDuckDB
Data locationListed EU Cloud regions on AWS, Google Cloud and Azure. Self-hosted data stays wherever you run the servers.Data stays in the process, files and storage the operator controls, such as a laptop, server or cloud VM.
Transfers to third countriesSelf-certified to the EU-US Data Privacy Framework since 2024 and on the DPF List. Confirm it covers your data flows.Embedded use involves no vendor hosting in the data path. Confirm extension downloads and other network calls in your build.
Security of processingSecurity policy lists 26.9, 26.8, 26.7 and 26.3 as supported. Your configuration and hardening remain your duty.No server to harden or patch. Controls fall to the host application, its operating system and file permissions.
Access controlUsers, roles and network access are set by the operator in self-hosted deployments. Confirm the settings your assessor expects.Access follows the host application and file permissions on the database file. Confirm how multi-user access is handled.
Audit loggingCloud has a documented database audit log. For self-hosted servers, confirm which logs you enable and where they are stored.No vendor audit log is documented. Log access and queries in the host application and test that the evidence exists.
Encryption at restConfirm encryption at rest with the vendor for Cloud. For self-hosted servers, set disk or volume encryption and key management yourself.The project documents data-at-rest encryption in a November 2025 write-up. Confirm the cipher, key handling and tests in your build.
Breach notification supportArticles 33 and 34 place notification on the controller. Confirm vendor incident notice terms in the contract and DPA.No vendor incident channel for an embedded library. Your incident process must cover the host application and storage.
Vendor documentation and patch currencyStable releases roughly monthly, LTS releases twice a year and supported for a year. Confirm your upgrade plan.Latest release v1.5.6 (September 28, 2026). Confirm the project's support window and your upgrade process for embedded builds.

Where EU data residency actually holds under each deployment option

ClickHouse Cloud offers European regions on AWS, Google Cloud and Azure, so the storage location can be chosen and written down. The supported regions page lists AWS Frankfurt, Stockholm, Ireland and London; Google Cloud London, Frankfurt, Netherlands and Zurich; and Azure France Central and Germany West Central. ClickHouse also states that it self-certified to the EU-US Data Privacy Framework in 2024 and is on the Data Privacy Framework List.

  • Pick and record the region: Choose one of the listed regions and record it in your data map. Zurich and London are outside the EU, so check with counsel whether they fit your transfer position.
  • Read the Data Privacy Framework correctly: Self-certification concerns transfers to a certified recipient. It does not by itself place data in the EU, so the region choice still carries the residency answer.
  • Confirm the processing entity: Ask which ClickHouse entity processes your data under the contract and which sub-processors sit in the chain.
  • Confirm where support access comes from: Support and engineering access to customer data can originate outside the chosen region. Ask for the countries and access controls in writing.
  • Check backups and exports: Confirm where service backups are held and whether they stay in the chosen region. Any export you pull into other tools creates a copy outside the service.

Before you sign, check the region, the processing entity and the support access location together, because a correct region alone does not settle who processes the data or who can see it.

Where the trust boundary and transfer line fall for each option

The diagram starts at the application inside the EU boundary, which queries one of two stores: a ClickHouse service or cluster, in an EU cloud region or on servers you run, or a DuckDB file inside the application's process. Both options send access and audit records to logs that stay within the boundary. Two nodes sit outside it. For a managed ClickHouse service, vendor-side administration and support may reach your environment, so confirm under Chapter V of the GDPR and in your contract where that access happens and whether personal data leaves the EU. Backup and export copies are another landing point, so list every target, including copies of a DuckDB file made from a host.

Every copy and admin path can leave the EU boundary.

What the organization still has to do before an assessor visits

Most of the work stays with the organization under either option, and it should start before any platform is configured. Build a data map that shows which personal data reaches the analytics store, from which source systems, in which tables or files, and for how long it stays there. Record the analytics store as a processing activity in the record of processing, and run a data protection impact assessment where the processing is likely to be high risk, which large-scale profiling or sensitive data often is. The transfer analysis is the step teams skip most often. List every non-EU access path, including vendor support staff, offshore contractors with read access, BI tools hosted outside the EU and laptops holding copied database files. Each path needs a documented transfer basis or a decision to block it.

Next, review who can reach the data and how long it stays. Role reviews should cover database administrators, engineers who run ingestion jobs, analysts with shared dashboards and pipeline service accounts. On ClickHouse, check grants, row policies and whether the database audit log is enabled and retained, and confirm the equivalent logging if you self-host. With DuckDB, the access question moves to file systems, object storage buckets and the hosts running notebooks or scheduled jobs, so the access review has to reach those places too. Write retention and deletion rules per table, then test that deletions reach backups, exports and Parquet copies. Finally, write a breach process that meets the notification duties in Articles 33 and 34, with notification timelines confirmed by counsel and rehearsed in a tabletop exercise.

Vendor documentation supports this work but does not replace it. The ClickHouse compliance overview says ClickHouse self-certified to the EU-US Data Privacy Framework and is on the Data Privacy Framework List, and it names GDPR internal compliance programs. Confirm the current listing yourself, read the contract terms for the Cloud region you choose, and record the result as one input to your transfer analysis. DuckDB's documentation describes data staying wherever the operator runs the process, which is a design property you must still document and control. Supervisory authorities judge the processing the organization runs: its purposes, who can access the data, how long it is kept and how breaches are handled. A certified vendor cannot make an unreviewed access path compliant, and an embedded engine cannot make an unmapped data flow compliant.

Evidence an assessor asks for on GDPR and EU data residency

An assessor will ask where the data sits, who can show it, and whether the software still gets security fixes. For ClickHouse, part of that evidence is vendor documentation and part is what the organization records itself.

  • Chosen region. Record the ClickHouse Cloud region you selected and match it to the European regions on the supported regions page. For a self-hosted server, record the facility, its country and the cloud account or data center that hosts it.
  • Vendor compliance documents. The Data Privacy Framework listing and the compliance overview describe the vendor's program, so they belong in your vendor file. The framework covers transfers to a US recipient, so it does not decide where stored data resides.
  • Database audit log exports. Export the database audit log for ClickHouse Cloud to show who ran which activity and when. For a self-hosted server, confirm which logs it writes, where they are kept and for how long.
  • Version line against the security policy. Record the running build and compare its line with the security policy. The policy lists 26.9, 26.8, 26.7 and 26.3 as supported with security updates, and all other versions as unsupported.
  • Organization processing records. List ClickHouse in your records of processing activities with its region, data categories, purposes, recipients and retention period. Vendor documents cannot stand in for that record.

Check that the region and version in your records match what the vendor lists and what your servers actually run.

Setting up GDPR and EU data residency controls, step by step

This sequence takes a ClickHouse or DuckDB deployment from a data inventory to a tested, documented set of GDPR and EU residency controls. Most steps are executed differently on each engine, but scoping and the evidence pack apply to both.

  1. Scope personal data tables and EU locations

    The data owner and privacy lead list every table, file or extract that holds personal data, and record the EU country or region each one may occupy. For ClickHouse, this decides between an EU region of ClickHouse Cloud and a self-hosted cluster in your own EU facility. For DuckDB, the question is which workstations, job runners and storage paths may hold database files and exports. Differs between the two: the ClickHouse decision is about service regions, while the DuckDB decision is about every host that runs the process. Done when a data register names each dataset, its permitted location and the approver.

  2. Choose the deployment model

    Decide where the engine runs before building anything else. ClickHouse can be self-hosted, so data stays wherever you run it, or used as ClickHouse Cloud in the European regions listed on the supported regions page, which places operation with ClickHouse Inc. DuckDB has no server: it runs inside your application or job process, so data stays wherever that process and its storage run. Confirm with the vendor which regions and contract terms apply to you. Done when a written architecture decision names the hosts, regions, accounts and operators for each store.

  3. Enable audit logging, export and retention

    Turn on logging for who queries, changes or exports personal data, and set how long logs and data are kept. ClickHouse Cloud documents a database audit log, while self-hosted servers need you to confirm which query and access logs your pinned version writes and how they reach your SIEM. Differs between the two: DuckDB has no server process and therefore no central audit log to switch on, so the host application must record queries, file access and exports. Restrict who may write Parquet or CSV extracts. Done when a test query appears in the log store and each log type has a documented retention period.

  4. Enable encryption at rest and key ownership

    Encrypt stored data and decide who holds the keys. For self-hosted ClickHouse, confirm the encryption options available in your pinned version and whether keys sit in your own key management service. For DuckDB, the Data-at-Rest Encryption article describes encrypted database files that use a key you supply, so your application team owns key storage, rotation and recovery. Encrypt Parquet and other files separately, since file-level encryption is its own decision. Done when a key register names the custodian, rotation method and recovery procedure for each store, and a test file cannot be read without its key.

  5. Restrict access by role or host permission

    Limit access to personal data to named roles and map each role to explicit grants. In ClickHouse, create users and roles with the minimum privileges on the tables from the first step, and keep administrative accounts separate from analyst accounts. Differs between the two: DuckDB has no database users, so access is controlled by operating system permissions on the database file, the host process and the machines that run it. Confirm which identity integration your team needs on each side. Done when an access review shows every role can query only approved tables, and a denied attempt is recorded.

  6. Pin a supported ClickHouse version line

    Choose a version line that receives security updates and write the upgrade rule into your change process. The ClickHouse security policy lists 26.9, 26.8, 26.7 and 26.3 as supported with security updates and marks all other versions as unsupported. LTS releases are supported for a year after release, while stable releases ship roughly monthly. Differs between the two: DuckDB has no server to patch, but each application and job embeds a library version that must be pinned, tracked and retested. Done when the pinned version is recorded in your configuration inventory with a named owner for upgrades.

  7. Set backup location and deletion rules

    Decide where backups and replicas live and how deletion reaches them. Backups of personal data should stay in the same permitted EU location as the source, and their retention period must be written down. For ClickHouse, backups and replicas are separate copies, so a deleted row can persist in a backup until that backup expires. Differs between the two: DuckDB has no server-side replication, so the copies are the database files, snapshots and exports your team creates, and each needs its own deletion rule. Confirm with the vendor and your own tests how deletes propagate on your version. Done when a deletion procedure lists every copy and its expiry.

  8. Build the evidence pack and run tests

    Assemble the records an assessor will request: the data register, architecture decision, provider region documents, key register, access review, version record, audit log samples and deletion procedure. Then run a restore test by restoring a backup into a separate EU environment and confirming the data and access controls match. Run an erasure test by deleting a known test record and confirming it is gone from live tables, in-scope backups and exports. Both tests should be signed by the data owner. DeployOpen prepares these controls and evidence, but audit reports and certifications come from independent auditors or certification bodies.

What buyers ask before hiring help with GDPR residency work

What drives the cost of GDPR residency work for ClickHouse or DuckDB?

Scope size is the main driver, and the written scope sets the quote. The factors that move cost up or down are the volume and sensitivity of personal data, the number of EU sites or regions where data is stored or processed, whether the platform runs in ClickHouse Cloud or on infrastructure you operate, how long logs and audit records are retained, and how many source systems feed the platform. Each one adds mapping, configuration and evidence work. Costs fall into one-time work (scoping, deployment, hardening and the evidence pack) and recurring work (upgrades, retests, and retainers for ongoing support). Ask each bidder to price these separately and to name who does what, so you can compare quotes on the same basis.

How long does a GDPR data residency engagement take?

The written scope sets the timeline, so no fixed duration applies across projects. Timing depends on how many systems and regions are in scope, how much personal data must be mapped, whether the platform is new or already running, and how quickly the organization can answer questions from data owners and reviewers. Your provider should give a timeline in the written scope with milestones for scoping, deployment, evidence collection and the retest. Ask what happens if a dependency, such as a cloud account approval or counsel review, slips, and who carries that delay. Treat any duration quoted before scope is agreed as a guess.

What does our organization need to provide for a residency project?

The organization supplies the people who hold the knowledge and the access, so plan their time before work starts. Data owners confirm which personal data exists, why it is processed and how long it is kept. Cloud or infrastructure administrators provide accounts, networking, encryption keys and region choices. Security and compliance staff review access controls, audit logging and the evidence pack. Counsel should review the processing record and any transfer position, since a technical setup cannot settle legal questions on its own. Name one internal owner who can make decisions and sign off changes, because open questions are a common cause of delay.

Can our own team handle GDPR residency work for DuckDB or ClickHouse?

A single DuckDB application is usually a smaller task than a multi-user ClickHouse deployment, but confirm the skills in your own team before deciding. DuckDB runs inside the application or job that uses it, with no server to install, patch or secure, so the work often centers on the application, the data files and the storage location. A ClickHouse server with several users adds cluster setup, access control, backup, upgrades and audit logging, which takes database operations experience. Check whether your staff have run SQL databases in production, have handled encryption at rest and key management, and can document controls for an assessor. If gaps remain, an outside partner can cover them in a fixed-scope engagement.

Does an EU Cloud region alone satisfy GDPR data residency?

No. A Cloud EU region is one control among several and does not establish GDPR compliance on its own. ClickHouse Cloud offers European regions on AWS, Google Cloud and Azure, so you can select an EU location for the managed service, as listed on the ClickHouse Cloud supported regions page. Residency also depends on where backups, logs, replicas and support access go, which sub-processors touch the data, and the transfer safeguards for any access from outside the EU under Chapter V of the GDPR. Confirm the location of every copy and document the configuration. With self-hosted ClickHouse or DuckDB, the data stays wherever you run it, so your own infrastructure sets the location.

What should we ask for in a quote for residency work?

Ask for a written scope that lists systems, data categories, regions, copies and retention periods in and out of scope, then a price tied to that scope. Request a deliverables list that names each document, configuration record and evidence item, with the owner for each. Ask how handover works: who receives the runbooks, which credentials and keys move to your team, and what training is included. Confirm the retest, its timing and whether it is part of the fixed scope or a separate retainer. Finally, ask which costs recur after go-live, such as upgrades, reviews and support, and whether each is priced per month, per year or per engagement. Compare bids on the same written scope so that differences in price reflect differences in work.

How DeployOpen helps with GDPR residency work, without favoring either option

DeployOpen treats ClickHouse vs DuckDB for GDPR and EU data residency as an implementation question about where data sits, who can reach it and what evidence the setup produces. Both options can keep data inside infrastructure the operator controls, so the decision depends on your workload, team and the controls your assessor will test.

How we scope

  • Written scope names the ClickHouse or DuckDB workloads, data sets and EU locations under review.
  • Scope covers where data is stored, processed, backed up and logged, including any replicas, exports and Parquet files.
  • Fixed-scope engagements agree deliverables and timelines in writing before work starts, and ongoing support is available as a retainer.

How we build

  • We deploy the chosen engine in your cloud account, data center or air-gapped network.
  • Access control, SSO, audit logging and encryption settings are configured and tested against the written residency controls.
  • Security testing covers the database, its connectors and the pipelines that load it, with findings fixed and retested.

How we hand over

  • A written data flow map showing where each dataset sits, which region hosts it and which systems read it.
  • Configuration records, runbooks and backup and restore procedures for the chosen engine and its storage location.
  • Evidence pack for the assessor: control mapping, test results, retest records and open items with owners and dates.

How we support

  • Retainers cover upgrades, continuous testing and changes to regions, replicas or access as your workload grows.
  • DeployOpen prepares the evidence, while auditors and supervisory authorities judge whether it is sufficient.
  • Vendor questions on Data Privacy Framework status, supported regions and audit logs are confirmed with each vendor before go-live.

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.