Trino vs Apache Druid for HIPAA and healthcare

Trino fits when PHI already sits in lakehouse or database tables that you query in place. Druid fits low-latency analytics on data your team ingests, but its security features are disabled by default and must be configured by you.

On this page

Which side fits a HIPAA workload, and what the decision turns on

Choose Trino when protected health information already sits in lakehouse or database tables that analysts query in place. Choose Apache Druid when the workload is low-latency analytics on data your team ingests and can secure end to end. Neither engine carries HIPAA obligations for you. The organization that runs it carries them, including the Security Rule duties for electronic protected health information. This page covers only the HIPAA angle. The general comparison of licenses, architecture, deployment and operating effort is on the Trino vs Apache Druid page.

The decision turns on where the ePHI lives and who controls each hop. Trino's documentation says client connections can use HTTPS with TLS 1.2 and 1.3, and older TLS versions are rejected, so confirm that every client and BI tool connects this way. That setting covers the client link only. Trino reads data held in other systems through its connectors, so you must confirm encryption, access control and audit logging in each source. For Druid, the security features are disabled by default, and production deployments must configure TLS, authentication and authorization before any PHI is loaded. Druid also does not encrypt files in deep storage, so at-rest protection depends on the native encryption of your storage system, which you should verify and document.

Before go-live, ask your compliance lead to map each safeguard to a named control and owner. The Security Rule applies to covered entities and business associates, and its implementation specifications are either required or addressable. For an addressable specification, you must document whether it is reasonable and appropriate and, if not, implement an equivalent measure. Ask your auditor which of these specifications they expect to see evidence for, such as audit logs of query access and proof of encryption at rest. Trino ships HTTP and MySQL event listeners, so confirm which one feeds your audit trail. For the regulatory text, start with the Security Rule in 45 CFR Part 164 Subpart C.

Five decisions that set which side fits your HIPAA scope

Trino and Apache Druid can both carry protected health information, but they differ in where the data lands, who controls the security settings and what a vendor will commit to in writing. The five decisions below are the ones that change the answer. Each card names the side it tends to favor and the condition that makes that true.

Where ePHI lives and gets copied

Trino tends to fit when protected data already sits in lakehouse tables or source databases, because it queries those systems in place through its connectors. Druid tends to fit when you accept a copy in its own storage for fast analytics. Every copy is another system to encrypt, back up, log and dispose of under your policy, so map each place ePHI will land before you choose. Confirm that your source systems have connectors for the data paths you need.

Trino connector list

Who queries and how they authenticate

Druid's security features are off by default, and its security overview says production deployments must configure TLS, authentication and authorization before they hold protected data. Trino's security overview describes its own authentication and authorization options, and those are where analyst identities would be checked. The side that tends to fit is the one your identity team can connect to your directory with per-user identities and no shared service accounts. Confirm the mechanisms, role model and default posture of the version you deploy, for either side, before you assume anything.

Trino security overview

Business associate position in writing

Druid is open source, so no vendor signs a BAA for it, and the organization running it carries the HIPAA obligations itself. Trino is also open source under Apache-2.0, so put the same question to any distributor, managed service or support provider you buy from. The side that tends to fit is the one where a vendor will sign a BAA for the exact product, version and plan you purchase, which matters only when that vendor will hold ePHI for you. Ask for the signed text before procurement closes.

Encryption in transit and at rest

Trino's TLS documentation says client connections can use HTTPS with TLS 1.2 and 1.3, and older versions are rejected, which gives you a documented floor to test against. Druid does not encrypt files in deep storage, so at-rest protection depends on the storage system's native encryption. The side that tends to fit is the one whose encryption layers your team can configure, verify and evidence. For Druid that means owning the storage encryption settings and key management. Check what your cloud or data center already provides.

Trino TLS docs

Query and request log retention

Trino tends to fit when you want query events written to a store you run, using its documented HTTP or MySQL event listeners. Druid documents request logging on its own, so plan to capture those logs and route them the same way. Confirm what each side records, which identities appear in it, and whether the logs contain query text that may hold ePHI. Then set the retention period and review schedule your policy requires, and record who reviews the logs.

HTTP event listener docs

What the HIPAA Security Rule asks of a warehouse or lakehouse

The HIPAA Security Rule applies to electronic protected health information (ePHI), and under 45 CFR 164.302 the obligation falls on covered entities and business associates. Covered entities include health plans, health care clearinghouses and covered health care providers. For a warehouse or lakehouse, any component that holds or moves ePHI is in scope, whether it is a query engine, a storage bucket, a log or a backup. The standards sit in 45 CFR Part 164 Subpart C, sections 164.302 to 164.318. Appendix A groups 18 standards into administrative (164.308), physical (164.310) and technical (164.312) safeguards, with 36 implementation specifications: 14 required and 22 addressable. Sections 164.314 and 164.316 add organizational and documentation standards that apply on top of them.

Addressable specifications still require a decision. Under 45 CFR 164.306(d), for each one you must assess whether it is reasonable and appropriate for your environment. If it is not, you document why, and you then implement an equivalent alternative measure if one is reasonable and appropriate. In a Trino or Druid deployment, the decisions usually sit around configuration. Trino documents client connections over HTTPS with TLS 1.2 and 1.3 and says older versions are rejected, so confirm that every client path uses it. Druid's security overview says its security features are disabled by default and that production deployments must configure TLS, authentication and authorization. Druid also does not encrypt deep storage files itself, so at-rest protection depends on the storage system's native encryption. Record each decision with its owner and review date, because that record is what an assessor will ask to see.

The rule was first published at 68 FR 8334 on February 20, 2003. Most covered entities had to comply by April 20, 2005, and small health plans had until April 20, 2006 (45 CFR 164.318). A query engine is one component of the ePHI path, and it is rarely the whole answer. An assessor will trace ePHI from the point it enters the environment through access, transmission, logging and storage, and will ask for evidence at each step: who can query which tables, how client connections are protected, what the audit trail records and where it is kept, and how stored data and backups are protected. Map the query layer and every system around it before you choose. To confirm what HHS expects as evidence, start with its FAQ on whether certification is required. Have counsel review how these requirements apply to your organization before you rely on this mapping.

How Trino and Druid each document the controls HIPAA reviews

This table sets each platform's documented position against the control areas a HIPAA review usually asks about, with the official page named in each cell. Read the cells as what each project documents, since the Security Rule applies to the organization running the system. The main takeaway: Trino documents TLS 1.2 and 1.3 for client connections, while Druid requires you to configure security features that are off by default.

Requirement areaTrino as documentedApache Druid as documented
Transmission encryptionClient connections can use HTTPS with TLS 1.2 and 1.3, and older TLS versions are rejected (Trino TLS page).Security features are disabled by default, so production deployments must configure TLS (Druid security overview).
Authentication and authorizationUse the Trino security overview as the reference, and confirm which mechanisms your deployment uses (Trino security overview).Production must configure both authentication and authorization, since security features are off by default (Druid security overview).
Encryption at restProtection for data at rest depends on the source system, so confirm per connector with your storage team (Trino connectors page).Druid does not encrypt deep storage files and relies on the storage system's native encryption (Druid security overview).
Audit loggingHTTP and MySQL event listeners document routes for query events; confirm which fields you capture (Trino event listener pages).Request logging is documented; confirm which fields it records and your retention period (Druid request logging).
Business associate agreementApache-2.0 licensed open-source software; ask any commercial provider in writing which product and plan a BAA covers (Trino LICENSE).Apache-2.0 licensed, so no vendor signs a BAA for it; your organization carries the HIPAA obligations (Druid LICENSE).
Deployment and data locationOne coordinator plus workers, a Helm guide for Kubernetes, and 37 connectors that query sources in place (Trino deployment and connectors docs).Coordinator, overlord, broker, router, historical, middle manager or indexer, with ingested data held in deep storage (Druid architecture docs).
Release lifecycleApache-2.0 licensed; release 484 published October 15, 2026; Java 25 runtime, minimum 25.0.1 (Trino release notes and deployment docs).Apache-2.0 licensed; version 38.0.0 published October 1, 2026 (apache/druid GitHub releases).

Who covers what for HIPAA, and what your team still configures

Neither Trino nor Apache Druid ships HIPAA-ready by default. Each project documents security features, but the covered entity or business associate running it decides what is switched on, where PHI sits and what evidence exists. The cards separate what each project documents from what your team must configure and prove.

Transport encryption

Trino's documentation says client connections can use HTTPS with TLS 1.2 and 1.3, and older TLS versions are rejected. Druid's security overview says its security features are disabled by default, so TLS has to be switched on for any production deployment. Issue certificates for each client and internal path, then test that a connection attempted on an older protocol fails. Confirm that every BI tool, notebook and ETL job that reads PHI uses an encrypted connection, since one plaintext client path can fail the review.

Trino TLS docs

Identity and access

Druid's security overview says production deployments must configure authentication and authorization, and that work falls to your team. Trino's security overview describes how users authenticate and how access control applies to queries. Map which roles may read which schemas and tables, connect the query layer to your identity provider, and remove shared service accounts from dashboards and scheduled jobs. Test the role map with a user who should be denied, and keep a record of role assignments for each access review.

Trino security overview

Encryption at rest

Druid's security overview says it does not encrypt files for deep storage, so at-rest protection relies on the storage system's native encryption. Confirm that your object store or volume layer has encryption enabled, that keys are managed under your key policy, and that the setting appears in configuration evidence. Trino queries data in place, so its at-rest posture depends on each source system and on any temporary data the cluster writes locally. List every location that can hold PHI, including Druid segments and local caches, and confirm each has an encryption setting you can show an assessor.

Druid security overview

Logging and retention

Trino documents an HTTP event listener and a MySQL event listener for query events, and Druid documents request logging. These capture activity but do not set your retention period or control who reads the logs. Choose the sink, forward query and access events to storage you control, and restrict who can read or change them. Set the retention period in writing with your compliance lead. Test that a query by a named user appears with a timestamp and identity, since an assessor will ask you to show activity for one account. Assume that query text can contain PHI, and decide how those log entries are masked or restricted.

Trino HTTP event listener

Contracts and workforce duties

Apache Druid is open-source software, so no vendor signs a business associate agreement for it, and your organization carries the HIPAA obligations for the deployment. If you use a commercial distribution, managed service or implementation partner for Trino or Druid, confirm business associate terms in writing before any PHI-bearing work starts. DeployOpen does not issue audit reports, attestations or certifications; independent auditors and certification bodies do. Your team still owns the risk analysis, the documented decision on each of the 22 addressable implementation specifications, and the workforce training and access reviews.

Subpart C text

Where PHI travels and where the trust boundary sits

The diagram starts with analysts and BI clients inside the organization's network, which is the trust boundary. On the Trino path, clients connect to the coordinator, workers read lakehouse or database sources in place, and query events go to a log store. On the Druid path, source data is ingested by middle managers or indexers into deep storage, historical servers load segments, and the broker and router answer queries and write request logs. Check that your team configures TLS, authentication, authorization and logging on both paths, since Druid security features are disabled by default, and confirm encryption at rest on the storage layer.

Simplified illustration of query and data paths, not a full architecture.

The evidence a HIPAA assessor asks for and how each side produces it

Trino's evidence is mostly configuration and logs that your platform team exports from the cluster. Trino's docs say client connections can use HTTPS with TLS 1.2 and 1.3, and older TLS versions are rejected, so the export should show that setting in effect.

  • TLS configuration: Export the client TLS settings and a test result showing that older protocol versions are refused. See the Trino TLS guide.
  • Authentication and access control: Export the authentication method and access rules in production, with the approval record for the current version of each.
  • Event listener records: Show the HTTP or MySQL event listener configuration and sample query records with user, query and timing fields. See the Trino HTTP event listener guide.
  • Version and Java runtime: Record the running release, such as 484 (published October 15, 2026), and the Java runtime, which the deployment docs specify as 64-bit Java 25, minimum 25.0.1.
  • Storage encryption: Trino queries data where it lives, so request encryption-at-rest evidence, key ownership and rotation records from the storage team for every catalog that holds PHI.

Check that each export comes from the running cluster, since a file in version control shows intent only.

What the organization still has to do for HIPAA after choosing a side

Neither platform removes the HIPAA work that falls on the organization running it, and that work starts with the risk analysis under 164.308(a)(1)(ii)(A) and the risk management plan that follows under 164.308(a)(1)(ii)(B). Every addressable decision later in this section depends on that analysis, so finish it before the scope review is signed. Other required administrative standards sit alongside it: incident response procedures under 164.308(a)(6), contingency planning under 164.308(a)(7) covering a data backup plan, a disaster recovery plan and an emergency mode operation plan, and written business associate contracts under 164.308(b) for every vendor that can reach PHI. Apache Druid has no vendor that signs a BAA, so the organization carries those obligations alone. For Trino, confirm with each distributor, managed-service provider, hosting provider and support firm which will sign a BAA, and on what terms, before any PHI enters the cluster.

Workforce security under 164.308(a)(3) and information access management under 164.308(a)(4) decide who can query which data, and neither platform makes those decisions for you. Trino's client connections can use HTTPS with TLS 1.2 and 1.3, and older versions are rejected, but catalog access, role assignment and the removal of access when someone leaves are your procedures. Druid's security features are disabled by default and production deployments must configure TLS, authentication and authorization, so make that configuration a go-live gate. Termination procedures must cover Trino catalog grants, Druid roles and the storage buckets behind both. Train staff under the security awareness and training standard in 164.308(a)(5), including the addressable items on login monitoring and password management, and keep completion records that an assessor can sample.

Work through each addressable specification in 164.306(d) and keep a written record: whether it is reasonable and appropriate, the reason where it is not, the equivalent measure, and a named owner who signs off. Appendix A lists 22 addressable specifications out of 36, so the record is long. Illustrative: for encryption of ePHI at rest under 164.312(a)(2)(iv), the team finds that Druid does not encrypt deep storage files itself, so the record names the storage system's native encryption as the equivalent measure, assigns the storage owner to sign, and attaches the key configuration. For transmission security under 164.312(e)(2)(ii), it cites Trino's TLS 1.2 and 1.3 setting and the matching Druid TLS configuration. A new connector or PHI-bearing dataset triggers a repeat of the scope review and evidence refresh, because each one opens a new data path.

Configuring the chosen side for a HIPAA-scoped workload

This sequence takes the team from an approved data scope to a configuration it can show an assessor. Apache Druid needs explicit security setup because its security features are off by default, so the Druid steps carry extra checks.

  1. Map PHI flows and approve sources

    Before any configuration, the team lists every system that creates, stores, transforms or displays electronic protected health information, then decides which sources may enter the Trino or Druid environment. Each source owner signs off on the minimum fields needed for analytics, and exclusion or de-identification rules are written down for anything out of scope. The output is a data flow diagram and a source register approved by the security and compliance leads. The step is complete when every source has a named owner and an approved scope.

  2. Get the business associate position in writing

    Ask each party that supplies, hosts or supports the chosen product or plan whether it will sign a business associate agreement, and get the answer in writing. Apache Druid is open source software and no vendor signs a BAA for it, so the organization running Druid carries the HIPAA obligations itself and should document that position with counsel. For Trino, confirm the same for any distributor, managed service or support contract, and do not assume coverage from the license alone. The output is a signed agreement or a written statement of the position, filed with the risk records.

  3. Enable TLS for client connections

    Turn on HTTPS for client connections using certificates from your own certificate authority. Trino's documented setup accepts TLS 1.2 and 1.3 and rejects older versions, so test with a client that offers an older version and confirm the handshake fails. Druid ships with security features disabled and must have TLS configured for production, so the Router and Broker endpoints need the same test with a client that offers only the protocol versions you intend to allow. The output is a test log showing which protocol versions are accepted and refused.

  4. Set authentication and remove default access

    Configure authentication for every user and service account, then write authorization rules that limit each role to the datasets it needs. Druid's security features are disabled by default, so the team must turn on authentication and authorization explicitly and remove any default or anonymous access before go-live. For Trino, apply the chosen authentication method and catalog and schema access rules, then remove shared or default accounts. The output is an access matrix approved by each data owner and a test showing that an unauthorized account is refused on a sample table.

  5. Confirm encryption at rest on storage

    List every location where the platform writes or reads data, including Druid deep storage, the object stores behind Trino connectors and any catalogs, then confirm encryption at rest is enabled on each one. Druid does not encrypt files in deep storage itself, so its protection depends on the native encryption of the storage system, which the team must verify there. Ask each storage owner for the encryption setting, the key management owner and the rotation approach. The output is a storage inventory recording each location, its encryption setting and its key owner.

  6. Turn on logging and test who ran queries

    Enable query or request logging and send the records to a store the security team can search. Trino documents an HTTP event listener and a MySQL event listener, and Druid documents request logging, so choose the mechanism that fits your log pipeline and confirm which fields it records. Run a sample query under a named test account, then check that the log shows the user, the query text and the time it ran. The output is a saved test record for each field the assessor is likely to ask about.

  7. Pin supported versions and record the upgrade path

    Choose specific releases, record them in the configuration baseline and block automatic upgrades in production. The supplied release facts include Trino release 484, published on October 15, 2026, and Druid 38.0.0, published on October 1, 2026, but the team should confirm which release line is supported for its own needs. For Trino, confirm the Java runtime the deployment documentation requires, which is a 64-bit Java 25 runtime at minimum 25.0.1. Write down the upgrade path, the test environment and the rollback steps. The output is a version register and an upgrade runbook reviewed by the platform owner.

  8. Document addressable decisions and retest

    Complete a written risk analysis covering the platform and its data flows, then record a decision for each addressable implementation specification under the Security Rule. For any specification the organization decides is not reasonable and appropriate, document the reason and the equivalent measure in place. Retest the configuration from the TLS, access, encryption and logging steps, then file the results with the compliance team. The output is a risk analysis, a decision log and a retest report that the compliance lead signs.

What buyers ask before hiring help for a HIPAA analytics setup

How much effort does a HIPAA-scoped analytics setup take?

Effort rises with how much of the stack falls inside the HIPAA boundary. The main drivers are the number of sources and connectors, the number of PHI datasets, identity integration, logging design and the size of the evidence set. A setup with a few PHI sources, one identity provider and a single audit trail is far smaller than one spanning many connectors, several PHI datasets and separate roles for each team. Each source adds access paths to review, encryption settings to document and logs to route. Identity integration adds role mapping and admin access work. Logging design decides whether an assessor can reconstruct who queried which dataset. The evidence set grows with every control you claim. Ask each provider to size the work from a written list of these drivers before you compare offers.

Can our own team set up HIPAA analytics without an outside partner?

Yes, a team with platform engineering and security skills can build and run this in-house. Apache Druid is open source, so no vendor signs a BAA for it, and your organization carries the HIPAA obligations for the system it runs. Some work stays with your organization no matter who builds the platform: the risk analysis, contracts with vendors and business associates, policy decisions, and final sign-off that controls are reasonable and appropriate. An outside team can prepare technical controls, configuration and documentation, but it cannot make those decisions for you. Check your own gaps honestly across TLS and authentication settings, storage encryption, log retention and access reviews. Where those are thin, a fixed-scope engagement can fill them while ownership of outcomes stays with your team.

What do we need to provide before an implementation partner starts?

You need named owners, scoped system access, storage team involvement, a security approver and a test environment before work starts. Name an accountable owner for the analytics platform and a privacy or compliance contact who can answer scope questions. Provide access limited to the agreed work, such as accounts in your cloud or data center, network paths to sources and read access to identity provider configuration. Involve your storage team early, because encryption and retention for deep storage depend on their systems. Security must approve the design, and the test environment should use non-production data or an approved method for handling PHI in testing. The exact list depends on your architecture, so ask the partner for it in writing before kickoff.

How is the timeline set for a fixed-scope HIPAA analytics engagement?

The timeline follows from the written, fixed scope agreed before work starts. Most engagements are fixed-scope, so scope, deliverables and timelines are agreed in writing before any work begins. The schedule depends on the number of sources, the environments in play, how many approvals your organization needs, and how quickly your named owners and storage team respond. Waiting on access, approvals or test data is a common source of delay. Ask for the timeline to be tied to milestones and to the assumptions about your side of the work, so both parties can see what could move it. Also confirm how a change to scope is handled, since a new source or dataset affects both timing and cost.

What does a quote depend on, and what does a retainer cover?

A quote follows from the written scope, and DeployOpen does not publish a price list. The items that move effort are the number of sources and connectors, PHI datasets, identity integration, logging design, the evidence set and the test environment you provide. Ask for the quote to separate one-time build work from recurring work, and to list the assumptions about access and approvals behind each line. A retainer covers the recurring side: ongoing support, upgrades and continuous testing after the initial build. Ask what a retainer includes, what it excludes and how change requests are handled, so you can compare it against your own capacity to run the platform.

Will DeployOpen handle PHI during the engagement?

Only if the agreed scope requires it, and that must be confirmed in writing before any access is granted. Before work starts, agree which data the work touches, where it is stored, who on each side can view it, how it is removed afterward, and whether any agreement your organization requires is in place. Where the design allows, ask for synthetic or de-identified data in the build and test environments. DeployOpen plans, implements, hardens and documents self-hosted platforms inside your infrastructure, and prepares systems, controls and evidence for your assessment. DeployOpen does not issue audit reports, attestations or certifications, and independent auditors and certification bodies do that work.

How DeployOpen helps prepare, implement or test a HIPAA-scoped setup

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside the client's own infrastructure, so data stays under the client's control. For Trino vs Apache Druid, that work covers TLS, authentication, authorization, logging and at-rest controls on each side, plus the evidence a HIPAA assessor will ask for. DeployOpen prepares systems and records for review, while independent auditors and certification bodies issue any assessment outcome.

How we scope

  • The written scope names each HIPAA-relevant system: Trino coordinator, workers, connectors and Druid Master, Query and Data servers.
  • Scope covers which data sources, storage locations and user groups touch electronic protected health information.
  • Engagements are fixed-scope: deliverables and timelines are agreed in writing before work starts.

How we build

  • Trino client connections on HTTPS, with TLS 1.2 and 1.3, and Druid TLS, authentication and authorization enabled before production.
  • At-rest protection for Druid deep storage configured on the storage system, since Druid does not encrypt those files itself.
  • Query audit logging through Trino event listeners and Druid request logging, verified before go-live.

How we hand over

  • Written configuration record for each component, including TLS, authentication, authorization and logging settings.
  • Control evidence mapped to 45 CFR 164.308, 164.312 and 164.316, including the reasoning for each addressable specification.
  • Runbook for access reviews, log retention, upgrades and key rotation, with the owner named for each task.

How we support

  • Retainers are available for ongoing support, upgrades and continuous testing after handover, under written terms.
  • Security testing of the Trino and Druid setup, covering access controls, exposed endpoints and cloud infrastructure, as agreed in scope.
  • Confirm BAA coverage for each managed cloud service in the path, since open-source Druid has no vendor to sign one.

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.