Databricks vs ClickHouse for HIPAA and healthcare

Databricks fits when a BAA and its compliance security profile cover the lakehouse, and ClickHouse fits when a designated Cloud Enterprise service or a server you run is the target. Either way, your organization carries the HIPAA obligations.

On this page

Databricks vs ClickHouse for HIPAA: which side fits which workload

Choose Databricks when PHI will land in a lakehouse your team already runs on AWS and the work centers on Spark, notebooks or machine learning. Choose ClickHouse when PHI will land in a column store built for fast SQL analytics and your team is ready to operate it in its own infrastructure, or on ClickHouse Cloud under an Enterprise agreement. The decision turns on three questions: where PHI lands, who signs the business associate agreement (BAA) for each component, and who operates the platform. This page covers only the HIPAA angle. The general comparison sits on its own page, and no product label settles HIPAA, because obligations attach to how the organization configures, operates and evidences the system.

On Databricks, PHI sits in Delta tables, which the Databricks documentation describes as Parquet files plus a transaction log in your cloud object storage. The control plane is managed by Databricks, but classic compute runs in your own AWS account while serverless compute runs in the Databricks account, so check which plane will touch PHI for each workload. Databricks' AWS HIPAA guidance says that enabling HIPAA controls through the compliance security profile means you agree to Databricks' BAA unless a separate one is in place, and an active BAA is required before PHI is processed. Each PHI workspace needs the compliance security profile, customer-managed keys or the notebook results storage feature, and no unsupported preview features. Confirm your region appears in the feature availability table, since availability varies by feature. Databricks HIPAA on AWS

With self-hosted ClickHouse, the server is open source under the Apache-2.0 license, so PHI lives on infrastructure your team builds, hardens, backs up and upgrades, and the operating controls fall to your staff. ClickHouse Cloud is a different arrangement: ClickHouse's compliance documentation says HIPAA safeguards for ePHI apply to designated services on the Enterprise plan, and its HIPAA onboarding covers the steps to complete a BAA. Before you shortlist either side, build a table with three columns: each component that touches PHI, the party that signs its BAA, and the team that operates it. Ask ClickHouse which services are designated and whether a self-hosted deployment involves any agreement with it.

What the HIPAA Security Rule asks of a platform holding ePHI

The Security Rule applies to covered entities and business associates for electronic protected health information. Appendix A lists 18 standards and 36 implementation specifications across administrative, physical and technical safeguards, and sections 164.314 and 164.316 add organizational and documentation requirements. The platform does not carry these obligations alone, so each card marks what the database or lakehouse can support and what your policies, contracts and evidence must still cover.

Who the rule binds

The Security Rule binds covered entities and business associates, and it reaches only electronic protected health information. Your warehouse or lakehouse is in scope wherever it stores or processes ePHI, including backups, logs and derived tables. For Databricks on AWS, the vendor's HIPAA guidance says an active business associate agreement is required before PHI is processed. For ClickHouse, the documented HIPAA safeguards cover designated ClickHouse Cloud services on the Enterprise plan, so a server you operate yourself needs its own assessment.

Databricks HIPAA docs

Administrative safeguards

Administrative safeguards under 45 CFR 164.308 cover the program around the platform: a documented risk analysis, who may reach ePHI, workforce training, incident handling and contingency planning. For a lakehouse, the risk analysis has to name every place ePHI lands, including the object storage behind Delta tables on Databricks, any ClickHouse server disks, exports and notebook results. Before the first PHI load, check that access reviews, incident procedures and restore tests each have a named owner in your organization.

Physical safeguards

Physical safeguards under 45 CFR 164.310 cover facility access, workstation use and the handling of devices and media. Where the platform runs decides who holds much of that work. Databricks classic compute runs in your own cloud account, while serverless compute runs in the Databricks account, so the physical controls for each mode differ. A ClickHouse cluster you run in your own data center puts facility access and disk disposal on your team. Ask each vendor which physical controls it provides and which fall to you.

Databricks architecture overview

Technical safeguards

Technical safeguards under 45 CFR 164.312 cover access control, audit controls, integrity, authentication and transmission security. On Databricks, the vendor's HIPAA guidance requires the compliance security profile on every PHI workspace, plus customer-managed keys or the notebook results storage feature. ClickHouse Cloud documents a database audit log, so compare its events against what your audit team expects to see. Confirm encryption, unique user identity and log retention in your own environment, because a product page cannot show how your configuration was set.

ClickHouse audit log

Organizational and documentation requirements

Sections 164.314 and 164.316 add organizational and documentation standards on top of the safeguards. In practice, the documents are the evidence trail: written policies, data flow maps, configuration baselines and records of decisions made under the rule. Keep them current through each platform upgrade, because an assessor compares what the documents say with what the running system does. Name a single owner for each document so the record survives staff changes.

Required and addressable specifications

Of those specifications, 14 are required and 22 are addressable. For an addressable one, 45 CFR 164.306(d) asks you to assess whether it is reasonable and appropriate for your environment. If it is not, you must document why and implement an equivalent alternative measure where that is reasonable and appropriate. Record each decision per platform, because an assessor will ask for the reasoning as well as the outcome.

Appendix A matrix

How Databricks and ClickHouse each document the HIPAA controls

This table sets out what each vendor documents against the HIPAA control areas an assessor will ask about, and the plan, setting or deployment each statement applies to. Read the Databricks column as conditions to meet before PHI enters a workspace, and the ClickHouse column as a question of which Cloud services are designated on the Enterprise plan. The main takeaway is that both vendors leave gaps you must close in writing, so work through each closing confirm point before you sign.

RequirementDatabricks as documentedClickHouse as documented
BAA and plan gatingCompliance security profile means you agree to Databricks' BAA unless you hold a separate one. Confirm an active BAA and AWS BAA before PHI.HIPAA safeguards apply to designated Cloud services on the Enterprise plan. Complete the BAA through HIPAA onboarding. Confirm which services are designated.
Encryption and customer-managed keysPHI workspaces must use customer-managed keys or the notebook results storage feature. Confirm which keys cover workspace, Delta and results data.Documentation does not set out encryption or key options here. Confirm encryption at rest, key ownership and customer-managed key support for Cloud and self-hosted.
Access controlThe HIPAA guidance does not set out access control detail. Confirm SSO, role model and Unity Catalog permissions for PHI workspaces.Not covered in the ClickHouse compliance overview. Confirm SSO, role grants and table-level permissions for Cloud and self-hosted.
Audit loggingThe HIPAA guidance does not set out audit log detail. Confirm log delivery, retention and which events cover PHI workspaces.Cloud offers a database audit log. Confirm it covers the events your assessor samples, its retention and whether self-hosted servers have an equivalent.
Data location and regionsClassic compute runs in your AWS account, serverless in Databricks'. Confirm your region is among the 18 listed and where serverless data sits.Cloud regions are on the supported regions page; self-hosted runs where you deploy. Confirm the region and backup location meet your boundary.
Vendor attestationsCompliance material is on the Databricks trust page. Confirm which reports and FedRAMP entries cover your services and region.Compliance overview covers ClickHouse Cloud. HIPAA safeguards apply to designated Enterprise services. Ask which reports cover the designated services.

Where PHI sits decides which components enter the audit scope

The first scoping decision is which Databricks components touch PHI, because the architecture divides them by account. The control plane holds backend services managed in the Databricks account. The classic compute plane runs clusters inside your own cloud account, so the instances, disks and network paths that process PHI become your infrastructure and belong in your evidence. The serverless compute plane runs in the Databricks account, so confirm with Databricks how that plane is covered by the BAA you sign before any PHI runs there. A classic workspace also requires a customer-provided S3 bucket holding workspace system data, the default Unity Catalog workspace catalog and legacy DBFS content. Treat that bucket as PHI-bearing whenever users write PHI into the default catalog or DBFS.

The Delta Lake documentation states that Delta Lake is the default table format on Databricks and that it stores all data and metadata for Delta tables in cloud object storage as Parquet files plus a transaction log. That means PHI does not stay inside the compute layer. It lands as files in the bucket or storage account you control, and the transaction log records what those files contain and how they changed. Your scope therefore includes the object storage account, its encryption keys, access policies, versioning and retention settings, and any backup copies. Ask Databricks and your storage team how deleted records and older file versions are removed from the Parquet files and the log, because a deletion that clears the table view may leave PHI in older files until they are cleaned up. Document that cleanup procedure as part of your evidence.

ClickHouse splits the audit scope along a different line. The ClickHouse Cloud compliance overview says HIPAA safeguards for ePHI apply to designated ClickHouse Cloud services on the Enterprise plan, and its HIPAA onboarding covers the steps to complete a Business Associate Agreement. Only designated services are covered, so confirm by service name which clusters hold ePHI and that each one sits in the designated set. Self-hosted ClickHouse, the Apache-2.0 server you run yourself, has no such designation. Your organization operates the servers, operating system, storage, backups, network and access controls, and all of that falls into its own audit scope. Decide early which tier each PHI workload uses, because moving a workload between the managed service and self-hosted servers changes the evidence you must produce.

How PHI moves across each trust boundary

The path starts at source systems, where PHI extracts are ingested and land as Delta tables in object storage inside the customer's cloud account. Classic compute runs in that same account, while the control plane and serverless compute run in the Databricks account. Confirm how serverless compute reaches the customer's storage and where each plane writes audit logs. On the Databricks side, the BAA attaches through the signed agreement before PHI is processed. On ClickHouse, HIPAA safeguards cover designated services on the Enterprise plan only, so check that onboarding is complete before loading PHI into either branch.

Trust boundaries for PHI on Databricks and ClickHouse, with items to confirm.

Who covers what: vendor, platform settings and your organization

The four cards separate what the vendor documents, what your team must configure on Databricks, what ClickHouse Cloud covers on the Enterprise plan, and what stays with your organization when ClickHouse runs on your own servers. Check each boundary before you sign, because a BAA covers only the services and workspaces it names.

What Databricks documents

Databricks' AWS HIPAA documentation says that enabling HIPAA controls through the compliance security profile means you agree to Databricks' BAA, unless a separate BAA is already in place. An active BAA must exist before any PHI is processed. The feature-availability table on the same page lists 18 AWS regions, including eu-central-1, eu-west-1 and us-gov-west-1, and availability varies by feature. Check each service you plan to use in your chosen region, then use the trust page for current compliance materials and ask your account team which of them cover your cloud and region.

Databricks HIPAA on AWS

Your PHI workspace settings

Databricks requires the compliance security profile on every PHI workspace, so each workspace that will hold PHI needs its own check. Your team also chooses between customer-managed keys and the notebook results storage feature, and it must keep unsupported preview features out of PHI workloads. Classic workspaces need a customer-provided S3 bucket for workspace system data, the default Unity Catalog workspace catalog and legacy DBFS content, so decide where that bucket sits and who can read it. Confirm each setting in your own account before loading PHI, and record the result for your assessor.

What ClickHouse Cloud covers

ClickHouse's compliance documentation says HIPAA safeguards for ePHI apply to designated ClickHouse Cloud services on the Enterprise plan. Only services designated under that plan fall under the statement, so list every service that will hold PHI and confirm its designation in writing. The Business Associate Agreement is completed through HIPAA onboarding, which the documentation points to for the steps. Ask for the onboarding steps and the designation record before you load PHI, and keep both in your evidence file.

ClickHouse Cloud compliance overview

Self-hosted ClickHouse responsibilities

ClickHouse server is open source under Apache-2.0, and open-source software cannot sign a BAA, so no vendor takes on the HIPAA obligations of a self-hosted deployment. Covered entities and business associates must comply with the Security Rule for electronic PHI, which means your organization owns the administrative, physical and technical safeguards, the risk documentation and every addressable-specification decision. For each addressable specification, record whether it is reasonable and appropriate and, where you decide against it, a documented reason and a reasonable alternative. Confirm the full scope with your counsel and assessor.

Security Rule text

Which side fits which HIPAA situation

Choose Databricks when PHI already sits in a lakehouse, data engineers already build pipelines on Delta tables, and the same team must give analysts, data scientists and reporting teams governed access. The advantage matters most when a second analytical system would add copies of PHI, extra access policies and extra audit scope. The implied plan is a Databricks workspace on AWS under a signed Business Associate Agreement, with the compliance security profile enabled on every PHI workspace.

  • Delta tables already in place: Delta Lake stores table data as Parquet files plus a transaction log in cloud object storage, so existing PHI tables can be governed where they are.
  • Compliance security profile: Databricks' AWS guidance says enabling it means you agree to its BAA unless a separate agreement is in place, and an active BAA is required before PHI is processed.
  • Key management choice: PHI workspaces must use customer-managed keys or the notebook results storage feature, so confirm which one your key management team will operate.
  • Preview features excluded: Databricks says PHI workloads should avoid unsupported preview features, which narrows what a pilot can test.
  • Condition that sends you to ClickHouse: If most PHI queries are interactive dashboards with tight latency targets and the lakehouse is not the system of record, a column database serving those queries may be a smaller footprint.

Before choosing a region, check the feature availability table in Databricks HIPAA on AWS, because availability varies by feature.

Setting up a PHI workload on the side you choose

This sequence takes a PHI workload from contract to evidence on either platform. Each step names who acts, what it produces, and the check that closes it. Confirm the BAA first, because no PHI should move before it is in place.

  1. Confirm the BAA path before any PHI moves

    The legal or compliance lead confirms the Business Associate Agreement before any PHI is loaded. On Databricks on AWS, enabling the compliance security profile means you agree to Databricks' BAA unless a separate one is in place, and an active BAA is required before PHI is processed, so a BAA with AWS is also needed. On ClickHouse, the agreement is completed through HIPAA onboarding for a designated Cloud service on the Enterprise plan. Done means a countersigned agreement sits in the compliance file, dated before the first PHI load.

  2. Enable HIPAA controls on each PHI environment

    The platform owner turns on HIPAA controls for every environment that will hold PHI. On Databricks, enable the compliance security profile on every PHI workspace, and keep PHI out of any workspace that lacks it. On ClickHouse, designate the specific Cloud service on the Enterprise plan that will hold ePHI, then complete HIPAA onboarding with ClickHouse. Done means a settings export or service configuration record for each PHI environment, showing the profile or designation in place before data loads.

  3. Set key management for stored PHI

    The security architect decides how encryption keys are controlled and records that decision before any data is stored. On Databricks, the documentation asks customers to use customer-managed keys or the notebook results storage feature, so choose one and confirm it covers each PHI workspace. For ClickHouse, ask the vendor to document key management, rotation and ownership for the designated service in writing before go-live. Done means a key decision record that names the key owner, the rotation process and the workspaces or services it covers.

  4. Fix where PHI and metadata live

    The cloud architect maps every place PHI, metadata and backups will sit before the first load. On Databricks, classic compute runs in your cloud account, while serverless compute runs in the Databricks account, so choose the compute plane with that difference in mind. Classic workspaces also require a customer-provided S3 bucket for workspace system data, and Delta tables keep data and metadata as Parquet files plus a transaction log in cloud object storage, so those buckets count as PHI locations too. On ClickHouse, confirm the region against the supported regions list and document where backups are kept. Done means a data location map, signed off by the data owner, that names each bucket, region and compute plane.

  5. Restrict access through identity and roles

    The identity lead and data owner set who can reach PHI and how they sign in. Connect each platform to your single sign-on provider and grant access through named roles with least privilege, keeping administrative rights separate from analyst rights. Coverage of access controls and authentication methods can differ by feature and plan, so check each control against the vendor's HIPAA documentation before go-live. Done means an access review export that lists each PHI user, role and approver.

  6. Turn on audit logging for PHI access

    The security operations lead sends platform audit events to the log store your team already reviews. On ClickHouse Cloud, the database audit log is the documented starting point, so confirm which events it records for the designated service. On Databricks, confirm which audit events are delivered for each PHI workspace, where they land, and how long they are kept under your policy. Done means sample events from a test query and a permission change on each platform, visible in the log store with timestamps and user identity.

  7. Pin supported versions and avoid preview features

    The platform engineering lead records the running version and support window for each component before go-live. On Databricks, do not enable unsupported preview features in PHI workspaces, and check the feature-availability table for each region and feature you rely on. On ClickHouse, the security policy lists versions 26.9, 26.8, 26.7 and 26.3 as receiving security updates, all other versions are unsupported, and LTS releases are supported for a year after release, so plan upgrades inside those windows. Done means a version inventory with a support end date for each component and a named owner for the next upgrade decision.

The evidence an assessor asks for and how each side produces it

Assessors start with the agreements that make each vendor a business associate, then check that those agreements cover every place PHI goes. Databricks documents that enabling its HIPAA controls through the compliance security profile means you agree to its BAA unless a separate one is in place, and that an active BAA is required before PHI is processed. You also sign a BAA with AWS for the cloud layer. The Databricks HIPAA on AWS guide sets out these steps. ClickHouse documents HIPAA safeguards for designated ClickHouse Cloud services on the Enterprise plan, with HIPAA onboarding for the BAA steps. Self-hosted ClickHouse runs on your own infrastructure, so confirm with ClickHouse Inc. whether any agreement applies to that copy.

  • Native to Databricks: the BAA path through the compliance security profile, plus the AWS BAA that covers the cloud provider.
  • Native to ClickHouse Cloud: BAA onboarding for designated Enterprise-plan services, which covers only those services.
  • Native to self-hosted ClickHouse: the Apache-2.0 license, which sets usage terms and does not work as a BAA.
  • Built by the organization: an agreement register that maps each PHI workspace, cluster or bucket to the signed agreement covering it.
  • Built by the organization: a subcontractor list covering every service that touches PHI, with a check that none of the enabled features are unsupported preview features.

The assessor reviews your register and signed agreements, and DeployOpen issues no certificate that replaces them, so confirm each scope in writing before the assessment begins.

What buyers ask before bringing in help on a HIPAA workload

What drives the effort on a HIPAA workload in Databricks or ClickHouse?

The effort grows with the number of PHI workspaces or services, the number of data sources feeding them, and the keys and existing policies that must be mapped into the design. A deployment with one ClickHouse service and one feed is a different job from a Databricks estate with several workspaces, separate catalogs and multiple ingestion paths.

  • PHI workspaces or services: each boundary needs its own review of access, logging, encryption and backup.
  • Data sources: each feed needs an agreed owner, a data classification and a route into the platform.
  • Keys and policies: teams that already have a key management process and an access model usually have less to map than teams starting from default settings.

Illustrative: a platform with three PHI workspaces and five feeds carries more configuration and evidence than one with a single workspace and one feed. Ask any implementation partner to size the work from your own inventory of services, sources and keys.

How long does a HIPAA data platform engagement take?

The timeline comes from a written scope agreed before work starts, because the duration depends on your environment and how much of it is already documented. Most engagements are fixed-scope, so the scope should state which PHI workspaces or services are included, which data sources, keys and policies must be aligned, and which tests and retests are in the plan. Ask for milestones that name what they wait on, such as a signed BAA, a granted cloud account role or access to a log destination. Delays on these projects usually trace back to those inputs, so agree on the dates for them as part of the scope.

What does the organization need to provide before a HIPAA engagement starts?

Before work starts, your organization needs named owners, the people who can sign the BAA, and access to the cloud accounts and logs the work touches. The usual inputs are:

  • Named owners: one owner for each PHI workspace or service, plus a decision maker for access, retention and incident response.
  • BAA signatories: Databricks' AWS HIPAA documentation says an active BAA is required before PHI is processed, and that customers must also sign a BAA with AWS. ClickHouse's compliance documentation points to its HIPAA onboarding steps for completing a BAA for designated Cloud services.
  • Cloud account and log access: the configuration, the audit trail and the evidence all depend on being able to read and change settings in your environment.

Confirm with each vendor who signs what and when, since the platform vendor and the cloud provider each carry their own agreement.

Can our own team configure the platform and keep the risk analysis and sign-off?

Yes, a team can do the configuration itself, but the risk analysis and the sign-off stay with your organization under any delivery model. The Security Rule requires covered entities and business associates to assess risk to electronic PHI, and Appendix A to Subpart C lists 18 standards with 36 implementation specifications, of which 14 are required and 22 are addressable. For each addressable specification, you must decide whether it is reasonable and appropriate, document why it is not implemented if that is the case, and put an equivalent alternative in place where reasonable. An implementation partner can prepare controls, configuration evidence and test results for that review, but the assessment and the decision to accept residual risk belong to your compliance and security owners.

What does a DeployOpen quote for a HIPAA workload depend on?

A quote follows from a written scope, because DeployOpen does not publish a price list. The scope sets the work being priced: the PHI workspaces or services, data sources, key management and policy alignment, integrations, testing, documentation and any retainer for upgrades or continuous testing. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. Ask the quote to separate one-time implementation from recurring items such as support, upgrades and retests. Platform and cloud charges come from the vendors. Databricks bills pay-as-you-go per second in Databricks Units, with storage and networking billed by the cloud provider, so ask which costs the quote covers and which your team will still carry.

Can DeployOpen make Databricks or ClickHouse HIPAA compliant or issue a HIPAA certificate?

No. DeployOpen cannot make a platform HIPAA compliant, and it does not issue audit reports, attestations or certifications. DeployOpen plans, implements, hardens and documents the deployment in your infrastructure, then prepares the systems, controls and evidence that your compliance team and assessors review. Compliance depends on how your organization handles PHI across people, processes and technology, and a vendor BAA covers only part of that. If anyone offers a HIPAA certificate for a platform or a deployment, ask what they issue, who signs it and how your assessor will treat it. The HHS FAQ on certification is a useful starting point for that question.

Which Databricks and ClickHouse settings must be confirmed before PHI enters?

For Databricks on AWS, confirm the compliance security profile, the key or results storage choice and the list of preview features before any PHI is processed. The Databricks AWS HIPAA guidance says the profile must be enabled on every PHI workspace, paired with customer-managed keys or the notebook results storage feature, and that unsupported preview features should be avoided. For ClickHouse, confirm that the service in scope is a designated ClickHouse Cloud service on the Enterprise plan, because the documented HIPAA safeguards apply to those services. Open-source ClickHouse running in your own infrastructure needs its own coverage review, since the cloud service documentation does not cover it.

Does Databricks run compute inside our own cloud account?

It depends on the compute type you choose. Databricks documents a control plane of backend services managed in the Databricks account, a classic compute plane where compute runs in your own cloud account, and a serverless compute plane that runs in the Databricks account. For PHI, that difference decides where data is processed and which account your logging, network and key controls must cover. Confirm the compute type for each PHI workload in writing, and check that the data path, storage and audit settings for that type fall within the scope your assessor will review. Classic workspaces also need a customer-provided S3 bucket for workspace system data, so plan that bucket as part of the same review.

How DeployOpen helps prepare the platform and the evidence

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For ClickHouse, that covers the server, replication, backup and the evidence an assessor will request. For Databricks, the written scope should confirm which parts fall inside it. DeployOpen prepares controls and evidence for compliance assessments but does not issue audit reports, attestations or certifications.

How we scope

  • Fixed-scope engagements, with scope, deliverables and timelines agreed in writing before work starts.
  • The written scope should name which PHI workloads, workspaces or clusters are covered and which are out of scope.
  • Confirm BAA status with each vendor and cloud provider before the scope is signed, since PHI processing depends on it.

How we build

  • Enable the compliance security profile on each PHI workspace and set the key or results storage controls Databricks documents.
  • For self-hosted ClickHouse, configure access control, encryption, and audit logging, then test those settings against the written scope.
  • Test the setup, including preview features, identity integration and data exposure paths, and fix findings before handover.

How we hand over

  • Deliver written configuration records, access and permission matrices, and backup and restore procedures for the platform owners.
  • Document which Security Rule safeguards each control supports, using 45 CFR 164 Subpart C as the reference.
  • Record addressable implementation specification decisions, including why a measure was not adopted and what equivalent measure replaced it.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover, scoped in writing.
  • For ClickHouse, plan upgrades around the supported version list in the security policy and the LTS release cycle.
  • Agree in writing which evidence artifacts the retainer keeps current for the next assessment cycle.

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.