ClickHouse vs StarRocks for PCI DSS

ClickHouse has a documented external QSA audit on its Enterprise plan, and StarRocks documents audit logging that your team must configure and retain. The choice turns on whether payment data reaches the analytics store and who will own the controls.

On this page

ClickHouse or StarRocks for PCI DSS: which side fits which scope

Choose ClickHouse for this PCI DSS scope when your assessor will want a vendor-level external assessment on file, and your team can buy the Enterprise plan and confirm which deployment that assessment covers. Choose StarRocks when your team will run the logging, retention, encryption and access controls itself and can evidence each one in its own environment. This section covers the PCI DSS angle only. The general ClickHouse vs StarRocks comparison is on its own page, so architecture, licensing and day-to-day operations are not repeated here. Either way, the cardholder data environment and its scope remain your responsibility.

ClickHouse's compliance documentation says the product underwent an external audit with a Qualified Security Assessor (QSA) for PCI DSS, and lists this as an Enterprise plan feature. Read that as evidence about the vendor's assessment, and keep it separate from your own compliance status. Before you rely on it, ask ClickHouse in writing which deployment model the audit covers, whether that is ClickHouse Cloud, self-hosted open-source ClickHouse, or both, and which PCI DSS version and services it included. Your network segmentation, access reviews, key management and application controls still need your own evidence. The compliance overview is at ClickHouse Cloud compliance overview.

StarRocks documents audit logging of SQL and connections that can support the logging expectations in Requirement 10 of PCI DSS v4.0.1, the version that is currently active. The operator configures retention, encryption and access control for these records, so those are your tasks to design, implement and evidence. Check where the audit records are written, who can read, change or delete them, how long they are kept, and whether they reach the log review process your security team already runs. The AuditLoader documentation describes one way to collect the audit log, and its behavior should be tested against your retention rules before you depend on it. Neither DeployOpen nor this page certifies either product or your environment. DeployOpen prepares systems, controls and evidence for assessment, and the assessor decides whether the requirements are met.

Four questions that decide how much of the warehouse is in PCI DSS scope

Answer these four questions before comparing features, because each one sets how much of the warehouse an assessor will treat as in scope. The answers pull in different directions: some favor ClickHouse's documented external assessment, while others favor the operator-owned controls you must build and evidence with StarRocks.

Does cardholder data reach the store

Start with whether primary account number or sensitive authentication data reaches the store through ingestion, staging, logs or backups. If it does, the store is in scope on its own, and the platform's documented evidence matters more. ClickHouse's compliance documentation describes an external PCI DSS audit by a Qualified Security Assessor, offered on its Enterprise plan, so confirm that its stated scope matches your deployment. If card data is tokenized upstream, StarRocks's operator-owned controls can be scoped narrowly, and the tokenization evidence carries the decision. Check sample tables and export paths before deciding.

Could the store affect the CDE

A warehouse can fall in scope with no card data in it, if it could affect the security of the cardholder data environment through a shared network segment, a service account that reaches payment systems or a connector that writes into that environment. Map network paths and credentials first. If the store could reach the CDE and you want an outside assessor's statement about the platform itself, ClickHouse's documented assessment is the nearer reference. If you can isolate the store with segmentation you test and own, StarRocks's operator-owned controls keep the boundary in your hands.

Self-hosted or vendor-managed

ClickHouse server is Apache-2.0 open source, and ClickHouse Inc. separately sells ClickHouse Cloud as a managed service. A vendor-managed answer points toward ClickHouse's documented assessment, but you still need the shared-responsibility split in writing and a check that its scope covers your plan and region. A self-hosted answer points toward operator-owned controls, which cover hosts, network, patching and key management for either product. StarRocks is also Apache-2.0, so confirm whether a managed option exists before you assume one.

Cloud compliance overview

Who owns logs, retention and access

Name one owner each for audit logs, log retention, encryption and access reviews, and keep evidence for each. StarRocks documents audit logging of SQL and connections that can support PCI DSS logging requirements, but the operator configures retention, encryption and access control. If your team can own those controls, StarRocks's operator-owned model fits. If no one can own them, ClickHouse's documented assessment and its Cloud audit log documentation carry more of the evidence, so read what the database audit log records before deciding. Settle the owner during design, before the assessment starts.

AuditLoader docs

What PCI DSS v4.0.1 asks of data warehouses and lakehouses

A data warehouse or lakehouse is in scope for PCI DSS as soon as it stores, processes or transmits cardholder data or sensitive authentication data. It is also in scope when it could affect the security of the cardholder data environment, for instance a reporting cluster that shares service accounts or network paths with payment systems, even if it holds no full card numbers (illustrative). The PCI DSS standard is maintained by the PCI Security Standards Council. Version 4.0.1, published on 11 June 2024, is the only active version, since v4.0 retired on 31 December 2024. v3.2.1 retired on 31 March 2024, so any plan built on it is out of date. Of the 64 new requirements introduced in v4.0, 51 became effective on 31 March 2025, so assessments now test the full set. Confirm with your Qualified Security Assessor which version and reporting template applies to your assessment before you design controls.

For a warehouse, six control areas carry most of the work: logging, access, encryption, retention, data location and patching. Logging means each query, connection and administrative change traces to a named person or service account, and the logs sit where database administrators cannot quietly edit them. Access means least-privilege roles, individual identities for people, separate service accounts for loaders and BI tools, and strong authentication for administrators. Encryption covers traffic between clients and nodes, data at rest, and any object storage bucket a lakehouse reads, along with who holds the keys. Retention sets how long query logs, extracts and backups live and how they are deleted. Data location covers where replicas, backups and buckets sit. StarRocks documents audit logging of SQL and connections that can support logging, but the operator still configures retention, encryption and access control.

Vendor evidence does not close your own scope. ClickHouse's compliance documentation says ClickHouse underwent an external audit with a Qualified Security Assessor for PCI DSS, since 2025, as an Enterprise plan feature. Ask for the audit scope, whether it covers the open-source server you run yourselves or only ClickHouse Cloud, and whether the report is current. Patching stays with you: the ClickHouse security policy lists 26.9, 26.8, 26.7 and 26.3 as the lines receiving security updates, and other versions are unsupported, so schedule upgrades onto one of those lines before the assessment window opens. For StarRocks, ask the project for any independent assessment evidence and for the release lines that receive security fixes, then record those answers in your change control documentation.

How ClickHouse and StarRocks each meet PCI DSS controls as documented

This table sets out what ClickHouse and StarRocks document for six PCI DSS-relevant control areas. Where a cell asks you to confirm, the vendor has not documented an answer for self-hosted deployments, so settle it in writing before scope is fixed. The main takeaway: ClickHouse's PCI DSS audit and audit log are documented alongside its Cloud service and Enterprise plan, while StarRocks documents logging and leaves retention, encryption and access control to the operator.

Control areaClickHouseStarRocks
Assessment and vendor evidenceExternal QSA audit for PCI DSS documented since 2025 as an Enterprise plan feature. Confirm whether it covers self-hosted servers.No vendor PCI DSS assessment is documented. Ask for any third-party evidence and whether it covers your deployment.
Audit loggingDatabase audit log is documented for ClickHouse Cloud. For self-hosted servers, confirm what is logged, where it is stored and how long it is kept.Audit logging of SQL and connections is documented and can support PCI DSS logging. Retention is set by the operator.
EncryptionConfirm which TLS and at-rest encryption options apply to self-hosted servers, and who manages the keys.Encryption is configured by the operator. Confirm which options cover FE, BE or CN nodes and object storage.
Access controlConfirm which role, user and SSO options apply to self-hosted servers and whether any need a paid plan.Access control is configured by the operator. Confirm role, user and authentication options for your version.
Data locationCloud region list is documented for ClickHouse Cloud. Self-hosted data stays in the locations you choose.Shared-data mode, supported from 3.0, keeps data in S3, GCS, Azure Blob, MinIO or HDFS. Confirm the region you choose.
Supported versionsSecurity-supported lines are 26.9, 26.8, 26.7 and 26.3. Other versions receive no security updates.Apache-2.0 licensed. Latest release noted is 4.1.3, published September 17, 2026. Confirm which lines get fixes.

Where cardholder data should and should not reach the analytics cluster

This illustrative diagram traces where cardholder data can and cannot go. It starts at payment systems, where card data originates. Before anything reaches the analytics cluster, your organization decides whether to remove card data or replace it with tokens, and that decision needs its own documented control. The analytics cluster and its database audit logs sit inside the PCI DSS trust boundary, with audit logs flowing to a retained log store. BI readers sit outside and receive results only. Under shared-data mode, the cluster also writes to object storage, drawn as a separate boundary. Check with your assessor whether that storage falls in scope and how retention, encryption and access control are set.

Illustrative flow: card data stops at the tokenization decision before the analytics cluster.

What the vendor documents and what your team still configures, per side

The four cards separate what each vendor can document from what your team must configure and prove itself. For PCI DSS, a vendor assessment is scoped to the vendor's own service, so each card names the artifact your team must hold for its own cardholder data environment.

ClickHouse vendor assessment

ClickHouse's compliance documentation describes an external audit by a Qualified Security Assessor for PCI DSS, running since 2025 and offered as an Enterprise plan feature. The audit sits with the managed service documentation, so confirm whether its scope reaches a self-hosted deployment. Request the assessor's report, the scope statement and any shared responsibility list in writing before you rely on it. Ask the vendor which controls it counts as yours, then map each one to an owner on your side.

Compliance overview

ClickHouse self-hosted controls

Self-hosted ClickHouse is Apache-2.0 software, so logging, encryption, access and patching are settings your team chooses, sets and records. Patching depends on the release line: ClickHouse lists 26.9, 26.8, 26.7 and 26.3 as receiving security updates, and every other version as unsupported. Keep a dated record of the running build on every node, and check the audit log and encryption settings against the docs for your exact version before the assessor asks. Plan upgrades to stay on a listed line.

Production version guidance

StarRocks vendor documentation

StarRocks is licensed under Apache-2.0 and describes itself as a Linux Foundation project, so its license and governance facts are straightforward to file. Its documentation covers audit logging of SQL and connections that can support PCI DSS logging requirements. No vendor PCI DSS assessment is documented, so the assessor-facing evidence falls to your team. Keep the license record and the audit logging configuration, and ask the project in writing whether any assessment exists for the version you run.

AuditLoader docs

StarRocks operator controls

For StarRocks, the documentation leaves retention, encryption and access control to the operator. Audit records only help a logging requirement if someone sets how long they are kept, who can read them and where they sit. In shared-data deployments, object storage such as S3, GCS, Azure Blob or MinIO holds the data, so bucket encryption and access are settings to verify. Your team owns the retention schedule, the encryption settings and the access list, and must produce them as evidence.

The evidence a PCI DSS assessor asks for from a ClickHouse or StarRocks deployment

ClickHouse's compliance overview says the company underwent an external audit with a Qualified Security Assessor for PCI DSS, and lists that work as an Enterprise plan feature. Procurement should confirm whether that audit covers the open-source server you run or only the managed service, because the scope decides how much of the evidence the vendor can carry. Your platform and security teams produce the rest.

  • QSA audit documentation: Procurement requests the assessment material from ClickHouse in writing and records the product, version and deployment model it covers. Ask before purchase, since the documentation is tied to the Enterprise plan.
  • Audit log exports: The platform team exports audit logs on a set schedule, stores them under your retention rule and tests that a sample can be pulled on demand. Confirm which log sources your self-hosted servers write, because the audit logging documentation describes the managed service.
  • Supported version list: The security team saves the ClickHouse security policy with the date it was checked. At the time of the source, versions 26.9, 26.8, 26.7 and 26.3 were listed as supported, and every other version was listed as unsupported.
  • Vendor responsibility statement: Ask ClickHouse to state in writing which controls it operates and which fall to you, so the shared responsibility split sits in your evidence file.
  • Region and deployment records: The platform team records the region or data center for each cluster, replica and backup target, along with the ClickHouse version each node runs.

Check that every running node sits on a listed version on the day of the assessment, because the assessor samples the live system rather than the install record.

Configuring the chosen side for PCI DSS scope, step by step

This sequence takes a team from an undefined cardholder data environment to a configured ClickHouse or StarRocks side, with the evidence an assessor will ask for. Each step names the check that closes it, so the sequence can be audited in order. Start with scope, because every later control depends on which systems touch cardholder data.

  1. Confirm scope and remove card data where possible

    Map every system that stores, processes or transmits cardholder data, including the warehouse, loaders, BI tools and object storage, and draw the cardholder data environment boundary around them. Ask the QSA or internal assessor which PCI DSS v4.0.1 requirements apply, since v4.0.1 is the only active version. Then remove primary account numbers before they reach the store, using tokenization or truncation at ingestion where the analysis does not need the full number. Output: a signed data-flow diagram and a field-level inventory showing which columns still hold account data.

  2. Choose deployment model and confirm assessed scope

    Decide whether the side runs self-hosted in your own cloud account or data center, or on a vendor-managed service where one exists for your choice, because the assessed scope follows that decision. For ClickHouse, the documented external audit with a Qualified Security Assessor is an Enterprise plan feature of ClickHouse Cloud, so ask the vendor whether it covers the exact deployment you pick. For StarRocks, confirm in writing with the vendor which components, if any, sit inside a vendor assessment. Output: a responsibility matrix that assigns each control to the vendor or to your team.

  3. Pin to a supported version line

    Select a release line that still receives security updates, and record the choice in change management before any data is loaded. The ClickHouse security policy lists 26.9, 26.8, 26.7 and 26.3 as supported and treats every other version as unsupported, so an older pin needs an upgrade first. StarRocks 4.1.3 was published on September 17, 2026, but confirm the support window for any StarRocks line you pin with the vendor. Output: a version record for each environment and a plan for moving off any line nearing end of support.

  4. Enable audit logs and protected retention

    Turn on auditing so that every login and SQL statement is recorded, which can support the logging expectations of Requirement 10. For StarRocks, the audit loader captures SQL and connections, so confirm exactly which fields it writes and where they land. For ClickHouse, the documented database audit log is described for the Cloud service, so confirm what your self-hosted build records. Ship logs off the database host to a store that database administrators cannot edit, and agree the retention period with your assessor. Output: sample events from a test query and a read-only access list for the log store.

  5. Configure encryption and document key handling

    Encrypt data in transit between clients, loaders, nodes and object storage, and encrypt data at rest using keys you control. The operator configures encryption for StarRocks, so the configuration is your responsibility and must be written down. Confirm the same for ClickHouse with the vendor or your own build, including whether keys sit in a KMS you manage. Document who creates, rotates and revokes keys, how often rotation happens under your policy, and what happens during a key compromise. Output: configuration exports for TLS and storage encryption, and a key-management procedure signed by the data owner.

  6. Grant least-privilege roles through SSO

    Connect the platform to your identity provider so that people sign in with single sign-on and lose access when they leave the company. Build roles from job functions such as loader, analyst and auditor, and grant each only the databases, tables and columns it needs, with cardholder columns limited to a small named group. Remove shared and default administrative accounts, and confirm which SSO and role features your chosen edition provides before you rely on them. Output: an exported role matrix and test logins showing that a restricted account is refused a query against a protected table.

  7. Segment the network and lock object storage

    Place the database nodes, loaders and BI clients in separate network zones, and allow only the flows the design needs, such as loader to database and analyst to query endpoint. For StarRocks shared-data deployments, compute nodes cache data while the data itself sits in object storage such as S3, GCS, Azure Blob Storage, MinIO or HDFS, so restrict that storage to the compute nodes' identity, block public access, and keep cardholder-data buckets separate from other data. Test the rules from outside the zone. Output: a current network diagram and bucket policy tests showing that denied requests fail.

  8. Assemble the evidence pack and retest

    Collect the documents and records an assessor will sample: the scope statement and data-flow diagram, the responsibility matrix, version records, configuration exports, audit log samples, access reviews and key-management procedures. Then have an independent tester retest the data path, access controls and storage permissions, and fix any failure before the evidence is frozen. DeployOpen can prepare this evidence and run the retest, but only the assessor can issue the assessment. Output: a dated evidence index that maps each item to the requirement it supports, with the retest report attached.

Questions buyers ask before hiring PCI DSS help for an analytics store

Can DeployOpen make ClickHouse or StarRocks PCI DSS compliant?

No. Neither product can be made PCI DSS compliant by a partner or a vendor, because PCI DSS applies to the organization and the cardholder data environment it runs, not to a database on its own. DeployOpen plans, implements, hardens and documents self-hosted platforms inside your infrastructure, and it prepares the systems, controls and evidence an assessment will examine. An independent Qualified Security Assessor (QSA) performs the assessment and decides whether your environment meets the requirements. DeployOpen does not issue audit reports, attestations or certifications. In practice, the build partner delivers configured controls and an evidence trail, the QSA tests them, and your compliance owner signs off on scope. Ask any partner to list in writing which deliverables stop at evidence preparation.

Does a self-hosted ClickHouse server inherit ClickHouse's QSA audit?

Do not assume it does, and confirm it with ClickHouse before you rely on it. The ClickHouse compliance overview describes an external audit with a Qualified Security Assessor for PCI DSS and lists it as an Enterprise plan feature. ClickHouse server is open source under Apache-2.0, but the audit attaches to a plan and a deployment model, so the same coverage may not extend to your own install. Your servers, network paths, backups, staff access and card data flows remain in your scope either way. Ask ClickHouse in writing which products, versions and deployment models the audit covers, whether a self-hosted Enterprise setup is included, and what evidence they will share with your QSA. Then plan your scope as if your organization carries the full assessment for its own environment.

How much work is PCI DSS for an analytics store, and what drives it?

The effort depends mostly on how far cardholder data reaches into the analytics stack, not on which database you pick. The main drivers are scope size, the number of log sources, key management, the access model and whether you already run a SIEM. A store that never receives primary account numbers has a much smaller cardholder data environment than one that ingests raw transactions, and that difference shows up in every control that touches the data. Each log source, such as applications, database query logs and authentication events, must be collected, protected and reviewed, so a long list adds ongoing work. Encryption keys need a documented lifecycle, and access reviews multiply with each role. An existing SIEM can absorb log handling, but its retention and access settings also need review. Ask for a written scope and a list of controls the partner will evidence before you compare proposals.

Can our own team run PCI DSS work on a ClickHouse or StarRocks store?

Often yes, if the team already has skills in logging, encryption and access review, and has time to keep evidence current. The database configuration is usually the smaller part. Most of the effort sits in the surrounding controls: centralized audit logs protected from tampering, retention that matches your policy, encryption at rest and in transit with managed keys, unique accounts with reviewed permissions, and documented change control for upgrades. StarRocks documents audit logging of SQL and connections that can support logging requirements, but you configure retention, encryption and access control yourself. A team without those skills can use an implementation partner for the build while keeping the operating runbooks, access reviews and evidence collection in its own hands. Decide early who owns each control, because an assessor will ask the owner to explain it.

What costs are one-time and what recurs for PCI DSS on an analytics database?

One-time work covers scoping, architecture, initial hardening, logging and key setup, and the first evidence pack. Recurring work covers upgrades on supported release lines, log retention and review, access reviews, periodic testing and the assessment itself. Storage for retained logs also grows over time. The assessor's fees are set by the assessor according to the scope they agree to test, so request their own written quote rather than relying on a partner's estimate. ClickHouse server is Apache-2.0 licensed, but managed or Enterprise options carry their own terms, so confirm which features you need. Upgrade effort depends on how often you move. ClickHouse ships stable releases roughly monthly and LTS releases twice a year, with each LTS supported for a year, so plan upgrades around a supported line. Ask any partner to split its quote into one-time work and retainer work.

Does card data have to be loaded into the analytics warehouse at all?

Usually not. Analytics rarely needs the full primary account number, so the cleanest scope reduction is to keep raw card data out of the warehouse. Tokenize or truncate the value at ingestion, or pass only the fields reporting needs, such as card brand, last four digits or a token. Every system that stores, processes or transmits cardholder data falls into scope, so a warehouse that holds it becomes part of the cardholder data environment with all the logging, access and retention controls that implies. This applies to ClickHouse and StarRocks alike. Confirm the design with your QSA before the build, because they will test the data flows you draw. Document where each field originates, who can query it and how it is removed, since an assessor will ask for that map first. (Illustrative: a token replaces the card number at ingestion, so analysts never query the original value.)

How DeployOpen helps prepare PCI DSS evidence without certifying it

DeployOpen plans, implements and documents the self-hosted ClickHouse or StarRocks environment inside your own infrastructure, so your QSA or internal assessor can review it. We prepare systems, controls and evidence for a PCI DSS assessment, but we do not issue audit reports, attestations or certifications. Independent assessors and certification bodies do that work.

How we scope

  • Written scope that names which ClickHouse or StarRocks clusters and access paths sit inside the cardholder data environment.
  • Scope, deliverables and timelines agreed in writing before work starts, including the evidence list agreed with your QSA.
  • Fixed-scope by default, with ongoing support, upgrades and continuous testing available as a retainer after handover.

How we build

  • Self-hosted deployment inside your cloud account, data center or air-gapped network, with cardholder data kept in that environment.
  • For StarRocks, configuring audit logging of SQL and connections, with retention, encryption and access control set by your team.
  • For ClickHouse, confirm whether the external PCI assessment it cites covers your exact deployment, since self-hosted and managed differ.

How we hand over

  • Documentation of data flows, network segmentation, access roles and configuration baselines for the ClickHouse or StarRocks cluster.
  • Testing results for access controls, logging and configuration, with fixes and a retest where agreed in the written scope.
  • A handover pack that maps each PCI DSS v4.0.1 requirement in scope to its evidence location.

How we support

  • Ongoing support for upgrades and configuration changes, available as a retainer after the initial handover.
  • Continuous testing of the ClickHouse or StarRocks environment as a retainer, so evidence stays current between assessments.
  • Confirm with your QSA which evidence they accept and how often they expect it refreshed.

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.