Which data warehouse or lakehouse fits healthcare and HIPAA workloads
A healthcare team that must keep PHI analytics under its own access, audit and backup controls should shortlist engines it can run inside its own infrastructure, and move to a vendor-run platform only when vendor HIPAA terms outweigh that control. For most such teams the open-source shortlist is ClickHouse, Trino and StarRocks, with Snowflake Business Critical or Databricks as the commercial alternatives. HIPAA is an organizational obligation that a warehouse supports but cannot satisfy alone. Whichever you choose, confirm the vendor agreements and your own configuration: who can read PHI tables, how queries and exports are logged, and where backups are stored and tested for restore.
Choose ClickHouse when the workload is fast columnar analytics over large PHI event tables and your team will run the cluster itself. Its server is Apache-2.0 licensed, and its documentation covers replication, backup and restore, external authenticators and access control, which are the areas your security team will review first. Choose Trino when PHI already sits in a lakehouse or in several databases and you want to query it where it lives, which means your access and audit controls must cover every connector you enable. Choose StarRocks when you want MPP analytics with shared-data storage, where stateless compute nodes read from object storage such as S3, GCS, Azure Blob or MinIO. That model is supported from version 3.0, so confirm your deployment version before you plan around it.
Choose Snowflake Business Critical or Databricks when a vendor-run platform and vendor HIPAA terms are the priority. Snowflake's documentation lists HIPAA PHI support as part of Business Critical, and it runs only on public cloud infrastructure, so you cannot install it in your own data center. Databricks splits work between a control plane managed in its account and compute that either runs in your cloud account (classic) or in its account (serverless), so ask which compute plane will touch PHI. For either vendor, request the business associate agreement terms, confirm which regions and features they cover, and write down the responsibility split for access, logging and backup before any PHI is loaded.
Which option fits each healthcare and HIPAA scenario
This table matches each healthcare and HIPAA analytics scenario to the option that fits it best, with the condition that makes the fit hold and the one that breaks it. Read each row as a test of your operating model, since no option is the default for PHI. Confirm every compliance point, including the scope of any vendor agreement and who owns upgrades and access, before you shortlist.
| Scenario | Best fit | Why it fits, and when it fails |
|---|---|---|
| Self-hosted PHI analytics in your own cloud, with platform engineers on staff | ClickHouse, self-hosted in your cloud account | Holds when platform engineers own replication, backups and upgrades in your cloud. Fails when nobody owns upgrades, or queries are mostly single-row lookups. |
| Data already in an object-store lakehouse, queried from several sources | Trino, querying tables in place | Holds when data already sits in Iceberg, Delta or Hive. Fails when access control to PHI tables is not settled. |
| Shared-data MPP analytics on object storage | StarRocks, shared-data mode | Holds when you want MPP queries on object storage with cached compute nodes. Fails when nobody on the team has run MPP clusters. |
| Vendor-run platform with HIPAA PHI support as a stated edition | Snowflake Business Critical (confirm PHI scope with the vendor) | Holds when a managed service on AWS, Google Cloud or Azure is acceptable. Fails when it must run in your data center or air-gapped network. |
| Lakehouse shared with Spark or ML teams | Databricks, classic workspace | Holds when Spark and ML teams share a lakehouse on classic compute in your cloud. Fails when the control plane must run in your infrastructure. |
ClickHouse, Trino, StarRocks, Snowflake and Databricks in brief
These five options split into two groups: open-source engines you can run in your own infrastructure, and commercial platforms whose compute or storage may sit in a vendor's environment. Each card names the license and hosting model, the advantage, and the condition under which that advantage matters for PHI.
ClickHouse: self-hosted column store
ClickHouse is an Apache-2.0 column-oriented SQL database that you can run in your own cloud account or data center. Its strength is scanning and aggregating large tables, since column storage speeds filtering over many rows but makes retrieving single rows slower. It matters when analysts run population-level queries over large PHI tables and your team can operate a cluster. Check replication, backup and restore, and authentication options, and confirm your version appears on the supported list in ClickHouse's security policy. ClickHouse Cloud is a separate managed service sold by ClickHouse Inc.
ClickHouse introductionTrino: query engine without storage
Trino is an Apache-2.0 distributed SQL query engine that holds no data of its own and reads from sources in place. Its advantage is one SQL layer over many stores, with 37 connectors including Iceberg, Delta Lake, Hive, PostgreSQL, MySQL and Snowflake. It matters when PHI already sits in several systems and you want to query them without copying everything into one warehouse. The condition is that access control, encryption and audit must be enforced in each source and in Trino's own configuration, so confirm each connector's security settings before granting access.
Trino connectorsStarRocks: shared-nothing or shared-data
StarRocks is an Apache-2.0 MPP analytics database and a Linux Foundation project. You choose between two deployment models. Shared-nothing backend nodes both store and compute data. Shared-data keeps data in object storage such as S3, GCS, Azure Blob Storage, MinIO or HDFS, with stateless compute nodes that cache hot data locally. It matters when you want your own storage layer and can control where buckets sit and how they are encrypted. Shared-data is supported from version 3.0, so confirm the version you plan to run and its storage configuration with your team.
Snowflake: managed, public cloud only
Snowflake is a proprietary, managed data cloud that runs only on public cloud infrastructure on AWS, Google Cloud or Microsoft Azure, and it is not open source. You cannot install it on-premises or on private cloud. HIPAA PHI support sits in the Business Critical edition, which also adds Tri-Secret Secure and private connectivity. It matters when your governance team accepts a managed platform hosted by a third party. Confirm with Snowflake which edition, regions and contract terms cover your PHI, and plan for consumption-based billing that depends on edition, cloud and region.
Databricks: proprietary platform, open catalog
Databricks is a proprietary platform and is not open source. Its open-source piece is Unity Catalog OSS, a separate Apache-2.0 component that implements the Iceberg REST Catalog APIs. Compute placement is the decision point: classic compute runs in your cloud account, while serverless compute runs in the Databricks account. It matters when you want an open catalog layer but still accept a proprietary control plane and compute runtime. Ask where each workload runs, where workspace storage lives (classic workspaces require your own S3 bucket), and whether PHI would ever reach serverless compute.
How the options compare on license, hosting and HIPAA-related controls
This table compares Snowflake and Databricks, both proprietary, with the open-source engines ClickHouse, Trino and StarRocks on license, hosting, data location, table formats, HIPAA offering, editions, upgrade cadence and pricing. Read the HIPAA row as a list of questions for each vendor, because the open-source projects carry no vendor agreement and your controls are your own. Where a cell says to confirm, the answer depends on vendor terms or your environment, so ask in writing or test it yourself.
| Capability | Snowflake (proprietary) | Databricks (proprietary) | ClickHouse, Trino, StarRocks |
|---|---|---|---|
| License | Proprietary. Use is governed by the vendor's contract, so review the data processing terms before loading PHI. | Proprietary platform. Unity Catalog OSS is a separate Apache-2.0 project that implements Iceberg REST Catalog APIs. | All three are Apache-2.0. Confirm the terms of any commercial distribution or add-on separately. |
| Hosting model | Public cloud only, on AWS, Google Cloud or Azure. Customers cannot run it on-premises or in a private cloud. | Control plane runs in Databricks' account. Classic compute runs in your cloud account, while serverless compute runs in Databricks' account. | Self-hosted in your cloud, data center or air-gapped network. ClickHouse Inc. also sells ClickHouse Cloud separately. |
| Where data lives | Stored with the cloud provider the account runs on. Confirm storage region, backup location and key management in writing. | Delta files and transaction logs sit in your cloud object storage. Classic workspaces need a customer-provided S3 bucket for workspace storage. | You choose the storage: ClickHouse on servers you run, Trino reading files in place, StarRocks on local disks or object storage. |
| Query or warehouse role | Managed cloud data warehouse for SQL analytics, running on virtual warehouses that bill by consumption. | Lakehouse platform on Delta Lake for data engineering, SQL and machine learning over shared tables. | ClickHouse is a columnar analytical database. Trino is a query engine over lakes and databases. StarRocks is an MPP analytics database. |
| Table formats | Confirm native and external table support, including Iceberg, for your edition. Unloads to Parquet, CSV or NDJSON. | Delta Lake is the default for all tables, stored as Parquet files plus a transaction log. Confirm which features expose Iceberg access. | ClickHouse uses its own table engines. Trino's Iceberg connector reads and writes Parquet, ORC and Avro, with Iceberg v3 experimental. |
| Vendor HIPAA offering | Business Critical edition adds HIPAA PHI support. Get the business associate agreement scope and shared responsibilities in writing. | Confirm in writing whether a business associate agreement covers the control plane, classic and serverless compute, and your storage. | The projects offer no BAA. Encryption, access control and audit logging are your responsibility. Confirm any managed provider's BAA terms. |
| Editions | Standard, Enterprise, Business Critical and Virtual Private Snowflake. HIPAA PHI support starts at Business Critical. | Confirm with Databricks which tiers include compliance features and serverless compute in your region. | Apache-2.0 cores are free to run. Confirm whether each vendor sells paid distributions or support tiers. |
| Upgrade cadence | Confirm the release and upgrade schedule with Snowflake for your account, edition and region. | Confirm the runtime and platform upgrade schedule, and which compute versions you can pin, with Databricks. | ClickHouse ships stable releases roughly monthly and LTS twice a year, each LTS supported one year. Check Trino and StarRocks support windows. |
| Pricing model | Consumption-based, bought on demand or as pre-paid capacity. Warehouses bill per second with a 60-second minimum on start, and storage bills monthly. | Pay-as-you-go per second in Databricks Units, with committed-use discounts. Storage and networking are billed by your cloud provider. | No license fee for the Apache-2.0 engines. You pay for infrastructure, staff time and any managed service you add. |
How storage and compute split across the self-hosted engines
For PHI, the first question is whether the engine owns the data or reads it where it already sits. ClickHouse owns it. It stores data in columns, so filtering and aggregating across many rows is fast, but retrieving one patient's full record is slower than in a row store. Every table, every replica and every backup is a copy of the same sensitive data, and the team that runs the cluster owns all of them. Before you shortlist ClickHouse, read the replication and backup documentation and write down three answers: how many replicas hold each PHI table, where backups are written and who can restore them, and whether a restored copy keeps the same encryption and access controls as the live cluster. Confirm these against your own architecture, not the defaults.
Trino sits at the other end of that spectrum because it stores nothing itself. It reads Iceberg tables through a catalog such as Hive Metastore, AWS Glue, JDBC, REST, Nessie or Snowflake, and it reads Delta Lake and Hive tables in place. A coordinator plans each query and the workers read the files, so PHI stays in the object storage or HDFS location you already control, but it still passes through worker memory and any worker disk used during a query. The cluster must run on a 64-bit Java 25 runtime, minimum 25.0.1. The decisions to make are which catalog holds the authoritative table definitions, who may change them, and whether worker nodes and their logs fall inside the same access boundary as the data. Confirm how spill files on worker disks are encrypted and removed in your configuration and version.
StarRocks gives you two boundaries, and the mode you choose decides where PHI sits. In shared-nothing mode, backend (BE) nodes both store data and run queries, so PHI lives on BE disks that your team operates. In shared-data mode, available from version 3.0, the data lives in object storage such as AWS S3, Google GCS, Azure Blob Storage, MinIO or HDFS, and stateless compute nodes (CNs) run queries. The CNs keep a tiered cache across memory, local disk and remote storage, so cache volumes become PHI locations that belong in your scope. Shared-data mode shifts day-to-day storage work toward whoever runs the object store, and it makes the bucket policies, keys and network paths reaching each CN the controls to review. Confirm the mode and version before deployment, because the two modes are configured differently.
Where PHI sits in a self-hosted stack versus a vendor-run platform
The diagram starts with source systems holding PHI, which feed an ingestion pipeline. In a self-hosted stack, object storage and the query engine sit inside the client's cloud account, so the client's access control, logging and key management cover every hop before BI tools read results. The Databricks branch splits: the control plane and serverless compute plane run in the Databricks account under vendor terms, while the classic compute plane runs in the client's account. Snowflake runs on AWS, Google Cloud or Microsoft Azure under vendor terms, and its documentation ties HIPAA PHI support to the Business Critical edition. Before deciding, confirm which Databricks plane your workload uses and which vendor-side components touch PHI.
Illustrative flow: client-controlled components versus vendor-run planes and accounts.
What healthcare and HIPAA reviews ask of a data warehouse
HIPAA is an obligation of your organization, and a data warehouse only supplies controls that help you meet it. Reviewers will look for access control that limits PHI to named roles, identity integration that ties those roles to your single sign-on and offboarding process, audit logging of queries and administrative changes, encryption at rest and in transit, tested backup and restore, and replication that keeps a recovery copy in a location you have approved. For a self-hosted ClickHouse estate, verify each control against the ClickHouse access control documentation, then check the external authenticators, backup and restore, and replication pages in the same documentation set. Test each one with a restore drill and a permission review, not only on paper.
The commercial options differ in what must be settled before a review starts. Snowflake's documentation ties HIPAA PHI support to the Business Critical edition, along with Tri-Secret Secure and private connectivity, so confirm the edition before anything else. Databricks classic workspaces require a customer-provided S3 bucket as workspace storage, and that bucket holds workspace system data, the default Unity Catalog workspace catalog and legacy DBFS content, so reviewers will ask what lands there and who can read it. Classic compute runs in your own cloud account, while serverless compute runs in the Databricks account. Each compute type you plan to use needs its own review of where PHI is processed and how traffic reaches it.
Before you shortlist any vendor, ask each one in writing whether a business associate agreement covers the specific product, edition, cloud, region and configuration you plan to use, because coverage may depend on those choices. Ask the vendor to name the features in scope, such as private connectivity or customer-managed keys. Self-hosted open-source server software such as ClickHouse or Trino has no vendor agreement of its own, so the evidence for those deployments comes from your configuration and records. DeployOpen prepares controls, configuration evidence and review material for these checks and can test them, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies do that work, so plan your team's ownership of the controls and the proof that they operate.
How to shortlist a healthcare and HIPAA warehouse in five steps
The five steps narrow a healthcare and HIPAA warehouse shortlist to one tested choice. Each step closes with a written answer from the vendor or partner, so the final decision rests on your data, your operating model and your own evidence.
Map PHI datasets and their readers
You decide which tables and files hold protected health information, where each one lands (raw zone, staging, marts), and which pipelines, dashboards and applications read it. Draw this as a data flow with the PHI boundary marked, and keep it with your compliance records because every later step depends on it. Ask each candidate vendor or partner to confirm in writing which edition or deployment option covers PHI, whether they will sign a business associate agreement, and which access and audit logs they produce. This step is done when every PHI path has a named owner and a named reader.
Choose self-operated engine or vendor platform
You decide whether your team operates the engine inside your own cloud account or buys a vendor-run platform that operates it for you. Self-operated engines such as ClickHouse, Trino and StarRocks run where you deploy them, so upkeep moves to your staff. Snowflake runs only on public cloud (AWS, Google Cloud or Microsoft Azure) and cannot be installed in a private data center. Databricks' classic compute plane runs in your cloud account, while its serverless plane runs in the Databricks account. Ask each vendor to confirm in writing where compute, storage, logs and encryption keys sit, who holds administrative access, and which edition covers PHI. This step is done when every component has a documented location and owner.
Test candidates in pre-production with representative data
Stand up the shortlisted engine in a pre-production environment and load representative data and queries, following the ClickHouse production guidance. Include your heaviest dashboards, your most sensitive joins and the access paths your analysts use, with PHI replaced by de-identified or synthetic records wherever the test allows. Measure query behavior, permission handling and resource use, and record the exact versions tested. Ask the vendor or partner to confirm in writing whether the pre-production environment carries the same security controls as production, and list any differences. This step is done when someone other than the test author can repeat the results.
Check upgrade cadence and read changelogs first
Decide which release line you will run and how often you will upgrade it. The ClickHouse production guidance recommends stable releases for most production use, with stable releases shipping roughly monthly and LTS releases twice a year, each supported for a year. Its security policy currently covers versions 26.9, 26.8, 26.7 and 26.3. Trino published releases 482, 483 and 484 between June 25 and October 15, 2026, so plan for frequent upgrades. Read the changelog before every upgrade, because minor backward-incompatible changes can occur. Ask the vendor or partner to confirm in writing the support end date for your line and how security fixes reach it. This step is done when an upgrade owner and a calendar of supported versions are in place.
Run a fixed-scope pilot with controls tested
Run a pilot with a written, fixed scope covering access control, audit logging and a restore test. Check role-based access against your identity provider and single sign-on, confirm that queries touching PHI are logged with user and time, and restore a backup into a clean environment to test recovery. ClickHouse documents its backup and restore and access control features, which give these checks a starting point. DeployOpen plans and implements pilots like this as fixed-scope engagements agreed in writing before work starts, and prepares the evidence your compliance team reviews, but it does not issue audit reports or certifications. Ask the partner to confirm deliverables and sign-off owners in writing. This step is done when the access review, log sample and restore record are signed off by your security and compliance owners.
What healthcare teams ask before choosing a warehouse
What does it cost to self-host a healthcare data warehouse, and who gets paid?
ClickHouse, Trino and StarRocks are all Apache-2.0 licensed, so the recurring cost sits in infrastructure and people. Your cloud provider or data center is paid for compute, storage and networking, and your engineers are paid for upgrades, monitoring, access reviews and incident response. If you hire DeployOpen, the fee follows a fixed scope covering planning, implementation, hardening, backup and documentation, agreed in writing before work starts. Ongoing support, upgrades and continuous testing are separate retainers. DeployOpen does not publish a price list, so request a quote built from that written scope.
Costs rise with data volume, replica count, the number of source systems and the amount of compliance evidence you need. They fall when you reuse existing cloud accounts, monitoring and identity services.
Ask each quote to separate:
- one-time work: design, migration, identity integration and hardening
- recurring work: infrastructure, retainers, upgrades and testing
- handover: who holds on-call duties after go-live
Can our team run ClickHouse, Trino or StarRocks without outside help?
Possibly, if your engineers already run stateful services and can own upgrades, but confirm the skills before you commit. ClickHouse ships stable releases roughly monthly and LTS releases twice a year, each LTS supported for a year, and its security policy currently covers 26.9, 26.8, 26.7 and 26.3. Trino needs a 64-bit Java 25 runtime (minimum 25.0.1) and a coordinator with workers, and its docs include a Kubernetes guide that uses Helm. StarRocks runs frontend nodes for metadata and planning and backend nodes that store and compute in shared-nothing mode, or stateless compute nodes over object storage in shared-data mode, which the project supports from version 3.0.
All three ask for the same habits: a pre-production environment with representative data, a changelog review before each upgrade, monitoring of node health and tested backups. If nobody on the team has run a distributed database before, plan for training or outside operations support.
How long does a warehouse pilot take, and what sets its length?
No duration applies to every team, so the length is set by the written scope and should be stated there before work starts. The main drivers are the number of source systems to connect, whether PHI is in scope from day one, how many identity groups and access rules must map to warehouse roles, which table format and query engine you choose, and how many approvers must sign off on evidence. A pilot limited to one data domain and a few representative queries takes less work than one that must also prove audit logging and access reviews end to end.
Before signing, ask for:
- the systems in scope and the data classes they hold
- the success criteria and who signs them off
- what happens to pipelines and evidence at handover
How does Snowflake billing work, and what drives the bill up?
Snowflake bills consumption, either on demand or as pre-paid capacity, and the price per credit depends on edition, cloud provider and region, so get that figure from a quote or Snowflake's pricing page. Compute comes from virtual warehouses, billed per second with a 60-second minimum each time a warehouse starts or resumes. Credits per hour roughly double with each size step, for example 2 credits per hour for Small and 4 for Medium. Cloud services are charged only above 10% of daily warehouse usage, and storage is billed monthly on the average compressed amount stored.
Costs rise with warehouse size, frequent resumes, long scans and longer Time Travel retention. The edition also drives the bill: Business Critical is the tier that adds HIPAA PHI support, so the tier choice affects both price and compliance scope.
Ask the quote for:
- the per-credit price for your edition, cloud and region
- expected warehouse hours by size
- compressed storage volume and retention settings
Can we move our data out of Snowflake later?
Yes, for data you export in an open format, and you should test that path before you sign. Snowflake's COPY INTO can unload to an external stage on Amazon S3, Google Cloud Storage or Azure, in delimited text (CSV by default), NDJSON or Parquet, and it splits output into multiple files by default. Parquet, Apache Iceberg and Delta Lake are open formats. Delta Lake stores table data and metadata as Parquet files plus a transaction log, and Trino's Iceberg connector reads and writes Parquet, ORC and Avro, so an Iceberg lakehouse can be queried by several engines.
What decides how hard the exit is: the table format you chose on the way in, the total volume to move, the egress charges your cloud provider applies (confirm these with the provider, since it sets those rates), and whether views, roles, policies and pipeline code move with the data. Run a full export and reload during the pilot to measure the effort.
Does HIPAA support come built into the warehouse software?
No. Warehouse software does not carry HIPAA compliance with it, and the outcome depends on how you configure the deployment and which agreements you sign with each provider. Snowflake's Business Critical edition adds HIPAA PHI support, so whether PHI can go into a Snowflake account depends on that edition, the account setup and the contracts in place. Self-hosted ClickHouse, Trino and StarRocks are software you run, so controls come from your design: encryption, SSO and role-based access, audit logging, network isolation, backup, retention and the agreements with any cloud provider that hosts the data.
DeployOpen configures and documents these controls in your own infrastructure and prepares evidence for your compliance team. It does not issue audit reports, attestations or certifications, which independent auditors and certification bodies do. Confirm with your compliance counsel and each vendor which agreements apply before any PHI is loaded.
How DeployOpen scopes a warehouse selection and pilot
DeployOpen starts by writing down which warehouse or lakehouse fits your healthcare data, residency rules and existing stack, and agrees that scope in writing before work begins. For self-hosted options, the pilot runs in your own cloud account, data center or air-gapped network, so your compliance and security teams can review the setup directly.
How we scope
- The written scope names the workloads, data sets and PHI flows the warehouse or lakehouse must handle.
- It lists which engines are in the shortlist, such as ClickHouse, Trino, StarRocks, Snowflake or Databricks.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before any work starts.
How we build
- The pilot loads representative test data, de-identified where possible, and runs your production-style query patterns.
- Self-hosted engines deploy in your cloud account, data center or air-gapped network, with SSO, access control and audit logging.
- For Snowflake or Databricks, the pilot records edition, region and storage settings for compliance review.
How we hand over
- Documented architecture, data flow and access model, written for your security and compliance reviewers.
- Runbooks cover backup and restore, upgrade steps and version selection, including release support windows.
- Compliance evidence is prepared for your assessor, who alone issues any audit report or certification.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, scoped separately from the pilot.
- Security testing of the pilot can be repeated after fixes, so access and data exposure findings are checked again.
- Before go-live, confirm the support window, upgrade policy and vendor terms in writing with each platform owner.

