ClickHouse vs Trino for PCI DSS

Choose ClickHouse when cardholder data sits in the analytics store and you want the vendor's documented external QSA audit, listed as an Enterprise plan feature. Choose Trino when it queries sources in place and your team can map its TLS, authentication, access control and event listeners to PCI DSS itself, since its docs do not make that mapping.

On this page

ClickHouse vs Trino for PCI DSS: which side fits your cardholder data scope

Start with one question: does analytics data sit inside your cardholder data environment (CDE)? If the analytics store will hold primary account numbers or other cardholder data, that store and everything that touches it are in scope under PCI DSS, and the engine choice follows from that. ClickHouse fits when the store itself holds in-scope data and you want a documented external audit by a Qualified Security Assessor (QSA). Trino fits when it queries sources in place and your team will map its controls to the standard itself. This page covers the PCI DSS angle only. The general ClickHouse vs Trino comparison, covering architecture and workload fit, is on its own page.

The ClickHouse side rests on a vendor audit that you must scope. ClickHouse's compliance documentation says the company has undergone an external audit with a QSA for PCI DSS since 2025, and lists this as an Enterprise plan feature. Treat that as the vendor's audit. It does not certify your environment. Ask in writing whether the audit covers the open-source server you run in your own infrastructure or only the managed service, because ClickHouse server is Apache-2.0 licensed and ClickHouse Inc. sells ClickHouse Cloud separately. Read the ClickHouse Cloud compliance overview to see what is covered. Also confirm that your version is one the security policy lists as supported, which currently includes 26.9, 26.8, 26.7 and 26.3.

The Trino side keeps cardholder data in the source systems, which remain in scope, but it does not take Trino out of scope. Any cluster that reads a database holding card data processes that data in memory and over the network, so the coordinator, the workers and any intermediate storage must be documented as in-scope components. Trino's documented TLS, authentication, access control and query event listeners give you building blocks for access control and logging. Trino's documentation does not map them to PCI DSS, so your team writes that mapping against PCI DSS v4.0.1, the only active version, and keeps evidence for each mapped control. Start by listing which of Trino's 37 connectors can reach cardholder tables and which users can query them.

Where cardholder data can reach the analytics layer

The diagram starts inside the cardholder data environment, where PostgreSQL or MySQL sources and Iceberg tables can hold primary account numbers (PAN). Two paths carry PAN into the analytics layer: direct loads into ClickHouse, and Trino connector reads that query the data where it stays. A tokenization service can feed ClickHouse with tokenized values or truncated values, which only keeps ClickHouse out of PAN scope if those values cannot be reversed there. Each engine also writes logs to a central log store, which exports to the evidence store the assessor reviews. Check where your boundary actually sits, which engine is in scope, and which connector credentials can read PAN.

Trust boundary, data paths and log flows for ClickHouse and Trino.

What PCI DSS v4.0.1 asks of a warehouse or lakehouse

Scope decides whether the analytics store carries PCI DSS obligations at all. The PCI Security Standards Council owns and maintains PCI DSS, which applies to any entity that stores, processes or transmits cardholder data or sensitive authentication data, and to any entity that could affect the security of that cardholder data environment. A warehouse that holds primary account numbers, or a lakehouse that copies them into object storage, is in scope, and so is any system that can reach it. v4.0.1 is the only active version: v4.0 retired on December 31, 2024, and v3.2.1 retired on March 31, 2024. Of the 64 new requirements introduced in v4.0, 51 became effective on March 31, 2025, so assessors now test them. Before any design work, ask your QSA whether the analytics store and the pipelines feeding it sit inside the cardholder data environment or can affect it.

Map the control areas an analytics store touches to specific requirements. Requirement 3.5.1 covers making stored primary account numbers unreadable, which you must decide at the pipeline (encryption, truncation or tokenization) as well as in the table. Requirement 4.2.1 covers strong cryptography for data sent over open networks, so check TLS between clients, the Trino coordinator and its workers, and every connector link. Requirements 7.2.1 and 7.2.2 cover a defined access control model and access granted by job need, which means roles in ClickHouse and access rules in Trino, not shared accounts. Requirement 8.2.1 requires unique IDs, and 8.4.2 covers multi-factor authentication for access into the environment. Requirement 10.2.1 covers audit logs. Trino's HTTP and MySQL event listeners can send query events to your own log store, but Trino's documentation does not map them to PCI DSS.

Three decisions carry the most risk. First, security patching under Requirement 6.3.3 means tracking ClickHouse releases: the security policy lists 26.9, 26.8, 26.7 and 26.3 as supported, and all other versions are unsupported, so set your upgrade calendar against the line you run. Second, Requirement 12.8.1 requires a maintained list of third-party service providers, which includes any managed support or hosting contract, and Requirement 12.5.2 requires documented scope that is confirmed at least every 12 months. Third, ClickHouse Cloud's compliance documentation describes an external audit with a Qualified Security Assessor since 2025, offered as an Enterprise plan feature. That statement applies to the managed service and does not carry over to a cluster you run yourself. Confirm the current wording of each requirement against the standard and with your QSA.

How ClickHouse and Trino meet PCI DSS controls as documented

This table sets each platform's documented controls against the PCI DSS requirement areas that touch a warehouse or lakehouse. Treat the cells as vendor documentation to review, not as a finished control set, and note that open-source software cannot be certified, so your organization carries the PCI DSS obligations for its cardholder data environment either way. The main takeaway is that ClickHouse offers an external PCI DSS audit as an Enterprise plan feature, while Trino's documented controls need your own mapping to the standard.

Requirement areaClickHouse as documentedTrino as documented
Data locationClickHouse Cloud regions are listed on the supported regions page. Self-hosted location is your choice.Trino queries sources where they live, so data location follows your connected systems and deployment. Confirm residency for each connector.
Encryption in transitConfirm the TLS setup for your ClickHouse version and deployment before relying on it.Documented TLS configuration in the Trino security docs. Confirm certificate and cipher choices for your cluster.
Authentication and access controlDocumented authentication and access controls. Confirm the methods and settings for your version and deployment.Documented authentication and access control features. Trino's docs do not map them to PCI DSS, so you must build that mapping.
Audit loggingDatabase audit log in ClickHouse Cloud. Confirm the logging and retention options for self-hosted servers.HTTP and MySQL query event listeners can record query activity. Route them to your log store and confirm the fields you need.
Vendor attestationExternal audit by a Qualified Security Assessor for PCI DSS since 2025, offered as an Enterprise plan feature.No vendor PCI DSS attestation is documented. Ask Trino's maintainers or your commercial support provider for any evidence you need.
Supported versions and patchingSecurity updates for 26.9, 26.8, 26.7 and 26.3. LTS releases are supported for one year after release.Recent releases 482, 483 and 484. Requires a 64-bit Java 25 runtime, minimum 25.0.1.
LicensingApache-2.0 for the server. ClickHouse Cloud is a separately sold managed service.Apache-2.0.
Who carries PCI DSSYour organization, for the systems it runs. Vendor evidence informs your assessment but does not replace it.Your organization, for every cluster and connected source it operates.

Does the analytics layer put your environment in PCI DSS scope?

The warehouse or query layer enters PCI DSS scope when it stores, processes or transmits cardholder data, or when it could affect the security of the cardholder data environment. The first design decision is whether primary account numbers reach the analytics layer at all. A system that never sees a primary account number can still be in scope if it sits on a path that could affect the cardholder environment, so a clean data model does not settle the question on its own. Tokenization or truncation before load is a common design choice to test with your QSA. In that design the platform holds tokens or masked values, and the assessor will check that the real number cannot be recovered from inside the analytics segment. Get the boundary confirmed in writing before the first load job runs. The standard is maintained by the PCI Security Standards Council.

A Trino cluster widens the question. Trino reads from every catalog you connect, and its connector list covers 37 connectors, including ClickHouse, PostgreSQL, MySQL, Snowflake and SQL Server. Each connected source joins the path that card data could take, so each source database, lakehouse catalog and connector credential needs its own scope decision. A connector to a system outside the cardholder environment can still carry card data into the analytics segment if that source holds it. Trino's documented TLS, authentication, access control and query event listeners give an operator the controls for access control and logging, but Trino's docs do not map them to PCI DSS, so the mapping is your work. Ask your QSA which catalogs are in scope and where the query event logs are stored. Trino security overview

Document three things and keep them current. First, the data flow: every path a primary account number or token takes from the payment system through the load job, the query engine and each dashboard, with the connector credentials and network route used at each hop. Second, the segmentation controls that separate the analytics segment from the cardholder data environment, with their owners, rule sets and the test evidence that they hold. Third, the scope statement the assessor will check, which names each system in scope, each system out of scope and the reason for each decision. If you use ClickHouse Cloud, its compliance overview describes an external PCI DSS audit with a Qualified Security Assessor since 2025, offered as an Enterprise plan feature. Request the current attestation and confirm it covers the services and regions you use. That report covers ClickHouse Inc.'s service, so a self-hosted server falls under your own assessment.

What the vendor covers and what your organization still evidences

Each card separates what a vendor documents from what your organization must still show. Vendor material covers the software, its releases or its hosted service, while your team owns the boundary, the access settings, the source systems and the assessor's conclusion. Check each card against your own scope before you rely on it.

ClickHouse Cloud vendor audit

ClickHouse Cloud is the managed service from ClickHouse Inc., and its compliance documentation says ClickHouse underwent an external audit with a Qualified Security Assessor for PCI DSS, since 2025, as an Enterprise plan feature. Ask which services and regions that audit covered, and whether you can obtain the assessor's report under your agreement. That audit speaks to the vendor's service. Your own cardholder data flows, user accounts and configuration inside that service still need evidence from your team.

Cloud compliance overview

Self-hosted ClickHouse hardening

ClickHouse server is Apache-2.0 licensed. Your team runs the server on its own hosts and takes vendor releases and the security policy as inputs. The project currently lists versions 26.9, 26.8, 26.7 and 26.3 as receiving security updates, and every other version is unsupported, so an out-of-window line becomes a finding. Your team owns the hardening: TLS, user and role access, network exposure and audit logging on every node. Map each of those to a PCI DSS requirement and keep the configuration as evidence.

ClickHouse security policy

Trino documented security features

Trino is Apache-2.0 licensed, and its documentation covers TLS, authentication, access control and query event listeners that an operator can use for access control and logging. Those docs do not map the features to PCI DSS, so your team writes the mapping from each control to the requirement it supports. Expect to show which users can query card-bearing tables, how TLS is configured between clients and the cluster, and where event logs are sent and retained.

Trino security overview

Hosting, network and segmentation

Whichever engine you choose, your organization draws the cardholder data environment boundary and writes the firewall rules at its edges. Segmentation is yours to prove: which subnets reach the database or query coordinator, which reach object storage, and which sit outside the scope entirely. An assessor will test that boundary, so keep current network diagrams, rule sets and change records. Managed and self-hosted deployments both need this work, and a vendor's audit does not replace it.

Source systems and connectors

Trino's documentation lists 37 connectors, including BigQuery, MySQL, PostgreSQL, Snowflake and SQL Server. Each source that holds card data keeps its own PCI DSS controls, so a federated query does not inherit the warehouse's evidence. Inventory every source, the tables that hold primary account numbers and the credentials each connector uses, and confirm that each owner can produce its own evidence. Copies that land in a warehouse with card data are in scope too.

Your QSA relationship

Your Qualified Security Assessor decides what evidence is enough for your environment, and a vendor's audit does not settle that question for you. No DeployOpen report or certificate exists for this comparison, and DeployOpen does not issue audit reports or attestations. Agree the scope, sampling and evidence format with your assessor early, and ask each vendor for the documents they would hand an assessor. Your assessor's view overrides any product page.

ClickHouse vs Trino for PCI DSS evidence: what the assessor asks for

ClickHouse's compliance documentation says ClickHouse underwent an external audit with a Qualified Security Assessor (QSA) for PCI DSS, starting in 2025, and lists this as an Enterprise plan feature. The Cloud compliance overview and the database audit log give you vendor-side material to cite. ClickHouse server is Apache-2.0 licensed and self-hosted, so the operator owns the configuration, and the Cloud audit work should not be assumed to cover your own servers. Ask ClickHouse which attestation material applies to a self-hosted deployment before you rely on it.

  • Compliance overview references: the Cloud compliance overview section describing the PCI DSS audit, which you can cite for the vendor's side of the responsibility split.
  • Audit log entries: the Cloud database audit log records database activity. Confirm which events a self-hosted server writes, where they go and how long they are kept.
  • Configuration exports: TLS settings, server configuration and log retention settings, exported on a schedule and stored under change control.
  • Role grant listings: exported users, roles and grants, reviewed against who needs access to tables that hold cardholder data.
  • Version and patch records: the supported version list from the security policy, matched to the release you run and the dates you applied updates.

Check with ClickHouse in writing which Cloud compliance and audit outputs have a self-hosted equivalent, then file your own exports beside them.

Configuring ClickHouse or Trino for PCI DSS scope

This sequence sets a ClickHouse or Trino deployment up so a QSA can trace cardholder data through it, the controls around it and the logs for it. It ends with an evidence pack the assessor can test, with each step closed by a written record.

  1. Confirm card data scope with the QSA

    Ask your Qualified Security Assessor whether cardholder data or sensitive authentication data will reach the store, through ingestion, replication, query results, exports or backups. Your team owns the data flow map that answers the question, and the assessor confirms the scope view. The step is done when the scope decision and the data flow diagram are recorded in writing, with the assessor's response on file.

  2. Choose and document the deployment model

    Pick one of three layouts and write it down: self-hosted ClickHouse in your own infrastructure, ClickHouse Cloud in a region from the supported regions list, or Trino querying source systems in place. The platform team makes the choice with the scope decision from step one in hand, because each layout puts different systems inside the cardholder data environment. ClickHouse's compliance documentation describes its PCI DSS audit with a Qualified Security Assessor as an Enterprise plan feature, so confirm which plan and region that audit covers. Done when a deployment record lists hosts or cloud account, region, data stores, network paths and an owner for each component.

  3. Enable TLS on client and internal paths

    Turn on TLS for every connection that carries queries or data: clients to the server, coordinator to workers, node to node, and connections to sources and catalogs. For ClickHouse, follow its TLS configuration documentation for the server and inter-node traffic. For Trino, follow the TLS guide for coordinator and worker certificates. Your engineer checks each listening port with a handshake test, confirms plaintext listeners are disabled, and records certificate owners, expiry dates and cipher settings. Done when every path passes the test and the results are in the evidence pack.

  4. Set authentication and need-to-know roles

    Configure how people and services sign in, then grant each role only the tables, columns and functions its work needs. Trino's security overview describes the authentication and access control options an operator can configure, and ClickHouse's user, role and grant model covers similar ground inside the database. Trino's documentation does not map these features to PCI DSS, so that mapping is your work, and the QSA will test it. Remove shared and default accounts, and confirm the identity provider and group sync design with your identity team. Done when an access review export lists each account, its role and an accountable owner, and the reviewer has signed it.

  5. Turn on audit logging and central retention

    Enable an audit trail on the engine and send it to a store your security team controls. In ClickHouse Cloud, the database audit log is the documented route, while for self-hosted ClickHouse you should confirm with ClickHouse which logging options apply to your version. For self-hosted Trino, configure the HTTP or MySQL event listener so query events are written to an endpoint or database you run. Set retention to the period your QSA confirms the current standard requires, and protect the log store from edits by administrators. Done when a test account's query appears in the central store with user, time and statement, and the retention setting is in the evidence pack.

  6. Keep the engine on a supported version

    Run ClickHouse on a line that still receives security updates. The ClickHouse security policy lists 26.9, 26.8, 26.7 and 26.3 as supported, with 26.8 as the LTS line and 26.9 as the current stable line. Run Trino on a current release on a 64-bit Java 25 runtime, at 25.0.1 or later, and check the Trino release notes for the latest release before you pick one. Record the exact version of each component, schedule each upgrade before its line leaves support, and keep the patch history. Done when a version inventory with support status and a named owner for patch cadence is filed in the evidence pack.

  7. Assemble the evidence pack for assessment

    Gather the artifacts from steps one through six into one pack, organized by PCI DSS requirement, and walk the assessor through it in a scheduled session. The pack usually holds the scope decision, data flow diagram, deployment record, TLS test results, access review, audit log sample, retention setting, version inventory and change records. DeployOpen can prepare and organize this evidence, but the independent QSA decides whether the controls meet the standard. Done when the assessor has walked through every artifact, each question is logged with an owner, and any gaps have a dated remediation plan.

Questions buyers ask before hiring help for PCI DSS

How much effort does PCI DSS scoping and control mapping take?

The effort depends mostly on how much of the data estate falls in scope. Scoping must establish which systems store, process or transmit cardholder data, or could affect the security of that environment. The main drivers are the number of data sources feeding the platform, whether primary account numbers reach the analytics store at all, and the number of users and log sources that touch it. Each source that holds card data adds mapping work, because every in-scope component needs its controls traced to a setting, an owner and a record. Removing or tokenizing account numbers before they reach the warehouse can reduce that work, but confirm the design with your QSA first. DeployOpen plans this work as a fixed-scope engagement, with scope, deliverables and timelines agreed in writing before work starts.

How long does PCI DSS preparation take for an analytics platform?

No fixed duration can be stated for this work from general information, so ask for a written scope and timeline before you plan around one. Timing follows the same drivers as effort, plus the number of remediation cycles that the first control evidence needs and the availability of your QSA for review. Ask any implementation partner to set out the phases, the deliverables in each phase, the client actions that gate each phase and the assumptions behind the dates. A timeline without those assumptions is hard to check against your own environment. Ask your QSA early when they can review draft evidence, because their calendar often sets the final pace of the work.

What does a PCI DSS engagement need from our team?

The engagement depends on inputs that only your organization can provide. Expect to supply:

  • Current network diagrams and data flow diagrams for every system that touches the analytics platform.
  • Configuration access for the database or query engine, identity provider, load balancers and log pipelines, granted under least privilege.
  • Log access, including retention settings and the destinations where audit events are sent.
  • Named owners for each control area, plus a QSA contact who can confirm assessor expectations early.

Agree on the access model and the named owners before work starts, so that reviews do not stall while people wait for approvals. Your internal change control process also needs to accept the evidence the engagement produces.

Can our own team handle PCI DSS for a self-hosted analytics database alone?

Yes, if your team already has the skills and the time to do the work, but the control mapping must be assessor-ready. Your team needs people who can configure the database and its identity, logging and network controls, and who can write evidence that a QSA can follow without a translator. Each requirement should link to a specific setting, an owner, a procedure and a record. Recurring evidence work, such as access reviews, log reviews and change records, is easy to underestimate because it continues after the first assessment. Decide who owns each recurring task, and confirm with your QSA which artifacts they expect to see directly from your team.

Does ClickHouse's QSA audit cover a self-hosted ClickHouse deployment?

Confirm this in writing with ClickHouse before you rely on it. ClickHouse's compliance documentation says the company has undergone an external audit with a Qualified Security Assessor for PCI DSS since 2025, and lists it as an Enterprise plan feature. That page is part of ClickHouse's cloud compliance documentation, so do not assume the audit extends to software you run on your own servers. Ask ClickHouse which environments, versions and services the audit covers, which documents it produced and whether you may share them with your own QSA. Your QSA then decides how much weight any vendor audit carries for your cardholder data environment.

Does DeployOpen certify our PCI DSS environment?

No. DeployOpen prepares systems, controls and evidence for a PCI DSS assessment, but it does not issue audit reports, attestations or certifications. Only the QSA and the PCI Security Standards Council process decide compliance. DeployOpen's part is the configuration, hardening, logging and evidence work that your assessor will review, scoped in writing before work starts. Scope that work against PCI DSS v4.0.1, the only active version, and confirm with your QSA which version applies to your assessment. Ask any provider to list the deliverables they hand over, and confirm that the final determination comes from your assessor.

How DeployOpen helps prepare, implement or harden either option

DeployOpen helps teams choose and prepare either ClickHouse or Trino for PCI DSS work, then implements the chosen option inside your own infrastructure. We plan and document the controls, build and harden the platform, and prepare the evidence your assessor will request. We do not issue audit reports or certifications; your qualified assessor makes that determination.

How we scope

  • The written scope names which ClickHouse or Trino deployments, data stores and access paths touch cardholder data.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and continuous testing can follow under a retainer once the initial work is delivered.

How we build

  • We configure TLS, authentication, access control and query logging, then map each setting to a PCI DSS control.
  • Where Trino reads a lakehouse, we review object storage, catalog and connector credentials.
  • For ClickHouse, we plan the release line against the supported versions in its security policy.

How we hand over

  • Handover includes configuration documents, a control-by-control evidence map and runbooks for access reviews and backups.
  • Where security testing is in scope, the written deliverables set out how findings get fixed and retested.
  • Your assessor reviews the evidence; DeployOpen prepares it but does not issue audit reports or attestations.

How we support

  • Retainers can cover upgrades, continuous testing and control evidence refreshes after your PCI DSS assessment.
  • For ClickHouse, ongoing upgrade work follows monthly stable and twice-yearly LTS releases.
  • For Trino, we track its release notes and Java runtime requirements, which currently require a 64-bit Java 25 runtime, minimum 25.0.1.

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.