MySQL vs TimescaleDB for HIPAA and healthcare

Both databases leave HIPAA obligations with the organization that runs them. This page covers the compliance angle only: BAA terms, encryption, audit logs, key management and the evidence an assessor asks for.

On this page

MySQL vs TimescaleDB for HIPAA: which side fits your workload?

Neither self-run option has a vendor BAA in the documented facts, so the choice turns on workload, edition and whether a vendor-hosted Tiger Cloud Enterprise plan is in scope. MySQL fits a team that already runs it and can own the controls. InnoDB data-at-rest encryption with AES covers file-per-table and general tablespaces, the mysql system tablespace, and redo and undo logs, but the master encryption key sits in a keyring. If that key is lost, data in encrypted tablespaces is unrecoverable, so keyring backup and restore tests belong in your runbook before go-live. Check the keyring choice early: the MySQL 8.4 manual says component_keyring_file is not intended as a regulatory compliance solution, and the encrypted-file keyring and the KMIP, AWS KMS and HashiCorp Vault back ends are available only in MySQL Enterprise Edition.

MySQL audit trails add an edition decision. MySQL Enterprise Audit, the audit_log plugin, ships only in MySQL Enterprise Edition, and its default log is unencrypted XML, so log location, file permissions and retention become controls you design yourself. TimescaleDB fits time-series or event data on PostgreSQL, where your team owns TLS, storage encryption and access control. Tiger Data's feature comparison says encryption at rest, encryption in transit and SSL with verifiable certificate chains come with Tiger Cloud on AWS and Azure, while self-hosted TimescaleDB needs manual setup for each. Choose the TimescaleDB edition deliberately too: continuous aggregates, the columnstore (Hypercore), data retention policies and job scheduling are available only in TimescaleDB Community Edition, which is governed by the Timescale License.

This page covers only the compliance angle. The general comparison of licenses, architecture and operating effort sits on its own page, so use it alongside this one. Before you shortlist Tiger Cloud Enterprise, ask Tiger Data in writing whether it will sign a BAA for that plan. The security documentation describes HIPAA for the Enterprise plan only, and the pages reviewed show no BAA terms. Then map the technical safeguards in 45 CFR Part 164 Subpart C to each option and record, for each addressable specification, why it is or is not reasonable and appropriate and which equivalent measure you use (45 CFR 164.306(d)).

Who the HIPAA Security Rule covers when a database holds health data

The HIPAA Security Rule applies by role and by data type, so the first question for either database is whether it holds electronic protected health information for a covered entity or business associate. The four cards cover who is in scope, which vendors may need a contract, and who carries the operating duties when the software is self-hosted.

Covered entities under the rule

The Security Rule binds three kinds of covered entity: health plans, health care clearinghouses and covered health care providers. A provider, plan or clearinghouse that runs MySQL or TimescaleDB for patient or member records is in scope directly, and the database sits inside its compliance boundary. Record the role for every database, including analytics replicas and exports, because a copy outside production still holds the same data and the same obligations.

Business associates and vendor contracts

A business associate creates, receives, maintains or transmits ePHI for a covered entity, and a vendor that gives support or hosting for these databases can fall into that role. The database projects differ here. MySQL does not sign a BAA for the self-managed community server, and Tiger Data's HIPAA material covers only its Enterprise plan for Tiger Cloud, with no BAA terms in its published security material. Ask every vendor and partner in writing whether it will sign a business associate agreement before it touches a database that holds PHI.

Electronic protected health information

Under 45 CFR 164.302, the Security Rule applies to electronic protected health information that covered entities and business associates create, receive, maintain or transmit. Paper records fall outside it, so the scope is set by data form. Map every table, hypertable, log, backup, replica and export that carries ePHI and treat each as in scope. Time-series readings from a patient-worn device count once they link to a person, and MySQL audit logs can carry identifiers too. Confirm the mapping with your assessor before you choose a database.

eCFR Subpart C

Self-hosted operators carry the duties

When the organization runs MySQL Community Server or self-managed TimescaleDB on its own infrastructure, no vendor operates the system for it, so the operator carries the obligations. Self-managed TimescaleDB runs on PostgreSQL, so the operator configures TLS, storage encryption and access control. Plan the MySQL keyring before go-live: the encrypted-file and KMIP, AWS KMS and HashiCorp Vault keyrings are Enterprise Edition only, and the manual warns that losing the master encryption key makes encrypted data unrecoverable. Back up keyring data with the same care as the database.

What the safeguards ask of the team running the database

The Security Rule's 18 standards ask the database team to show, not just state, how access, facilities, devices, encryption and audit trails are controlled. The standards sit in three groups: administrative safeguards (164.308), physical safeguards (164.310) and technical safeguards (164.312), with organizational (164.314) and documentation (164.316) standards alongside them. The administrative group asks who gets access to electronic protected health information in the database, how that access is granted, reviewed and removed, and whether the organization has assessed the risks to that data and acted on the results. The full matrix of standards and their 36 implementation specifications, 14 required and 22 addressable, is in the Appendix A matrix.

The physical group asks where the data sits and which devices and media hold it. For a self-hosted MySQL or TimescaleDB deployment, that covers the hypervisors, storage, backup targets and administrator workstations, each with controlled access, plus a documented process for reusing or disposing of drives that once held database files. The technical group is where most database settings live. It asks for unique user identification, automatic logoff, a way to encrypt and decrypt the data, audit controls that record activity against it, and protection for data moving across the network. In MySQL, InnoDB data-at-rest encryption and its keyring are the first items an assessor will ask about. In self-hosted TimescaleDB, your team configures TLS, storage encryption and access control itself.

Addressable specifications are where the team's judgment gets recorded. For an addressable specification, you must decide whether it is reasonable and appropriate for your environment, and if you decline it, document why and implement an equivalent alternative where that is reasonable (45 CFR 164.306(d)). Ask your compliance lead which 164.312 specifications the Appendix A matrix marks as addressable before you finalize the design. Key management needs its own record, because the MySQL manual warns that losing the master encryption key makes data in encrypted tablespaces unrecoverable, so keyring backups and restore tests belong in the file. The MySQL manual also says the file-based keyring components are not intended as a regulatory compliance solution, so confirm with your assessor which keyring back end they will accept. Finally, confirm with your compliance lead how long the policies, configurations and review records under 164.316 must be kept, since that period drives your backup and log retention settings.

How MySQL and TimescaleDB meet each HIPAA safeguard as documented

This table sets each HIPAA Security Rule safeguard topic against what MySQL Community Server and TimescaleDB document, and what your team still has to confirm or build. Treat each cell as a documented feature or an open question, and confirm both before relying on either database for electronic protected health information. The main takeaway: Tiger Cloud and MySQL Enterprise document more built-in controls, while self-hosted Community and TimescaleDB leave encryption setup, backups and audit trails with your organization.

Safeguard topicMySQL Community Server and EnterpriseTimescaleDB (self-hosted and Tiger Cloud)
Business associate agreementNo BAA is signed for the self-managed Community Server, so your organization carries the HIPAA obligations.Tiger Cloud Enterprise plan describes HIPAA; no BAA terms on pages reviewed. Confirm BAA availability with Tiger Data.
Encryption at restInnoDB AES encryption covers tablespaces, redo logs and undo logs. Confirm it is enabled on every instance.Tiger Cloud on AWS and Azure provides encryption at rest. Self-hosted storage encryption is manual setup you own.
Encryption in transitConfirm TLS settings for client and replication connections against the MySQL 8.4 manual with your DBA.Tiger Cloud on AWS and Azure provides SSL with verifiable certificate chains. Self-hosted TLS is manual setup you own.
Audit loggingEnterprise Audit is Enterprise Edition only, and its default log is unencrypted XML. Plan log protection and retention yourself.Audit trail for self-hosted TimescaleDB is not described in the pages reviewed; confirm with Tiger Data.
Key managementcomponent_keyring_file ships in all editions; other keyring back ends are Enterprise only. Manual says file keyrings are not a regulatory compliance solution.Self-hosted storage encryption and key handling are set up by your team. Confirm Tiger Cloud key handling with Tiger Data.
BackupLosing the master key makes encrypted data unrecoverable; back up keyring data. Backup scheduling and restore tests are your responsibility.Backup for self-hosted TimescaleDB is a PostgreSQL deployment task you own. Confirm Tiger Cloud backup and retention with Tiger Data.
Access controlConfirm the account, privilege and authentication options your chosen edition provides against the MySQL 8.4 manual.Self-hosted roles and access are set through PostgreSQL configuration your team owns. Tiger Cloud access controls: confirm with Tiger Data.
Data locationData stays wherever you deploy the self-managed server, including its backups and replicas.Tiger Cloud on AWS and Azure is hosted by Tiger Data; self-hosted data stays in your environment. Confirm regions and sub-processors with Tiger Data.
Patching and support windowsInnovation releases get support only until the next one. LTS gets 5 years premier and 3 years extended support.TimescaleDB 2.30.2 was published on September 29, 2026 per GitHub releases; confirm the support window for your version with Tiger Data.

Which parts the vendor covers and which parts your team owns

The four options divide the HIPAA Security Rule's technical safeguards differently. Managed and commercial options move some controls to the vendor, while self-hosted options keep them with your team. In every case, your organization still owns the risk analysis, workforce access decisions and the evidence an assessor will ask for.

MySQL Community Server

MySQL Community Server is GPL software, and MySQL does not sign a business associate agreement for the self-managed server, so your organization carries the HIPAA obligations. InnoDB encrypts data at rest with AES, but your team must configure the keyring, and the MySQL 8.4 manual says the file-based keyring components are not intended as a regulatory compliance solution. Back up keyring data, because losing the master encryption key leaves encrypted tablespace data unrecoverable. Your team also builds the audit trail and access controls, since MySQL Enterprise Audit is not included in this edition.

MySQL Enterprise Edition

MySQL Enterprise Edition adds the encrypted-file keyring and the KMIP, AWS KMS and HashiCorp Vault keyring back ends, and it includes MySQL Enterprise Audit, as the MySQL 8.4 manual documents. Ask Oracle to confirm in writing whether it will sign a business associate agreement and which BAA terms in writing apply to your deployment. Your team still owns the evidence: the default audit log is unencrypted XML, so decide how it is protected, retained and reviewed, and keep keyring backups under the same controlled process.

Self-hosted TimescaleDB

Self-hosted TimescaleDB is an extension on PostgreSQL, so your organization carries the HIPAA obligations and configures TLS, storage encryption and access control on the database servers itself. Your team also chooses an edition: continuous aggregates, the columnstore, data retention policies and job scheduling are available only in Community Edition, which the Apache 2 Edition does not include. Community Edition can run free on your own infrastructure but cannot be offered as a service, so confirm that model fits how you host it.

Tiger Cloud Enterprise

Tiger Cloud's security documentation describes HIPAA for the Enterprise plan only, and the service provides encryption at rest and in transit on AWS and Azure. Request BAA terms in writing before any PHI enters the service, because the public security pages do not set them out. Your team still owns data classification, meaning which tables and fields hold PHI, and the periodic access reviews for users, roles and service accounts.

Tiger Cloud security overview

Why addressable specifications need a written decision

Each of the 22 addressable implementation specifications in Appendix A to Subpart C of Part 164 needs a written decision, even though the list also includes 14 required specifications. Under 45 CFR 164.306(d), an addressable specification requires three things: an assessment of whether it is reasonable and appropriate for your environment, a documented reason when it is not, and an equivalent alternative measure where that is reasonable. Leaving an item unexamined does not satisfy the rule. For a MySQL or TimescaleDB deployment, the written decision is usually the first document an assessor asks for, so it should exist before the database holds electronic protected health information, not after the first audit request.

Common database choices map directly onto these decisions. Keyring selection is one: InnoDB encryption at rest in MySQL 8.4 depends on a keyring, and the MySQL manual says component_keyring_file and component_keyring_encrypted_file are not intended as a regulatory compliance solution. The encrypted-file keyring and the KMIP, AWS KMS and HashiCorp Vault back ends are available only in MySQL Enterprise Edition. Audit trail design is another: MySQL Enterprise Audit is included only in that edition, and its default log is unencrypted XML, so log protection becomes your decision to record. On the TimescaleDB side, self-hosted deployments need manual setup for encryption at rest and TLS, so transport settings and storage encryption also need their own entries, each with the configuration evidence that supports it.

Write one decision record per addressable specification and keep it with the system it governs. Each record should name the specification and the system, state who made the assessment and when, and record the outcome: implemented as written, implemented through an equivalent alternative measure, or not implemented with the documented reason. Attach the evidence, such as the keyring configuration, audit log retention settings or TLS settings. Include the keyring backup in the record as well, because the MySQL manual warns that losing the master encryption key makes data in encrypted tablespaces unrecoverable. Review each record when the database version, edition or license changes, and confirm edition-dependent controls with your MySQL or Tiger Data contact before signing off.

Where does the trust boundary and audit trail sit in a self-run database?

This illustrative diagram starts at the application, which connects to the database server over TLS from inside the organization's trust boundary. The database writes to encrypted storage, and its master key comes from a key store that is backed up separately from the data, since the MySQL manual warns that losing the key makes encrypted data unrecoverable. Audit events leave the server and ship to an evidence store the team protects, and backups go to a separate target. Tiger Cloud sits outside the boundary as a vendor-hosted option; the diagram does not show its internal controls, so check its own documentation. Check who holds each key, where each log copy lives, and who can read it.

Illustrative layout: trust boundary, key custody and audit trail in a self-run database.

The evidence an assessor asks for in a MySQL vs TimescaleDB for HIPAA review

An assessor will ask who could reach electronic protected health information (ePHI) in the database, who did, and how you know. The technical safeguards cover unique user identification, access control and audit controls (45 CFR 164.312), so the database has to show both who holds access and what happened on it. The two engines differ in what they record by default and which audit features need a paid edition.

  • MySQL Community Edition: MySQL Enterprise Audit is included only in MySQL Enterprise Edition, so an audit trail on the Community server depends on logging you configure and protect yourself.
  • MySQL Enterprise Edition: the audit_log plugin writes XML that is unencrypted by default, so expect questions on where the log is stored, who can read it and how it is protected.
  • Self-hosted TimescaleDB: it runs on PostgreSQL, so connection and statement logging come from the PostgreSQL settings and audit extensions your team selects and retains.
  • Team-produced records: user access reviews, a list of privileged accounts, log retention periods and alert rules for access events. You own these in every deployment model.

Before the review, confirm that every audit record can be exported, that its storage is access controlled, and that you can show access review records for the last review period.

Setting up MySQL vs TimescaleDB for HIPAA: encryption, keys and audit trails first

This sequence takes a team from a written position on the business associate agreement to an evidence set an assessor can walk through. The steps run in the order the work has to happen, with the MySQL and TimescaleDB branches marked where they differ. Each step ends with a check the team can record.

  1. Settle the BAA question in writing

    Before any build work, ask each database vendor in writing whether it will sign a business associate agreement for the product and edition in scope. MySQL does not sign a BAA for the self-managed Community Server, so your organization carries the HIPAA obligations for it. Self-hosted TimescaleDB runs on PostgreSQL, and the vendor's public security pages show no BAA terms, so request its written position on the license you plan to use. Log the reply, the signatory and the date. The step is done when counsel holds a signed or declined answer for every database in scope.

  2. Choose deployment model and edition

    Decide where each database runs and which edition the design needs. In MySQL, the encrypted-file keyring and the KMIP, AWS KMS and HashiCorp Vault keyrings are Enterprise Edition features, so confirm the edition before you choose a key back end. In TimescaleDB, continuous aggregates, the columnstore, retention policies and job scheduling are Community Edition features under the Timescale License, which allows running it in your own infrastructure but not offering it as a service. Pin the exact release under assessment, such as MySQL 8.4.11 LTS from the 8.4 track or TimescaleDB 2.30.2, published September 29, 2026. The step is done when edition, host model and versions appear in the design record.

  3. Encrypt data at rest and back up keys

    On MySQL, enable InnoDB data-at-rest encryption for tablespaces, the mysql system tablespace, and redo and undo logs, then check each one. The 8.4 manual says the file keyring component component_keyring_file is not intended as a regulatory compliance solution, so record how you judged it. Back up the keyring, because losing the master encryption key makes encrypted data unrecoverable. On TimescaleDB, encryption at rest needs manual setup when self-hosted, so encrypt the data volumes and document the key location. The step is done when a restore test on a separate host reads encrypted test data for each database.

  4. Configure TLS and access control

    Configure TLS on every client connection and on replication or cluster traffic, and record the certificate authority and the protocol settings. For TimescaleDB, Tiger Data lists verifiable certificate chains and SSL as provided in Tiger Cloud but requiring manual setup when self-hosted, so set the PostgreSQL TLS parameters and the host-based access rules in pg_hba.conf yourself. On MySQL, require encrypted client connections and create separate accounts for applications, administrators and backups, with no shared logins. The step is done when each database has a documented TLS configuration and named accounts with scoped privileges.

  5. Verify transport encryption and privileges

    Test the running servers and keep the output with the configuration files. Confirm that plaintext connections are refused, that certificate chains validate against the authority you documented, and that each application, administrator and backup account holds only the privileges its job needs. Repeat the checks after each upgrade. The step is done when dated test output, tied to the pinned version, sits in the evidence folder.

  6. Design the audit trail

    Decide where authentication events, privilege changes, schema changes and data access are recorded, who reviews them and how long your policy keeps them. On MySQL, the audit_log plugin belongs to MySQL Enterprise Edition, and its default log is unencrypted XML, so plan protection for the log files and confirm with your assessor that the logging design is acceptable on Community Server. For TimescaleDB, confirm with Tiger Data and your assessor which events your PostgreSQL logging captures, since you configure that logging yourself. Test that a sample login and a privilege change appear in the trail. The step is done when the design names an owner, storage location and review cadence for each log.

  7. Map controls to 164.308, 164.310 and 164.312

    Map each database control to the administrative (164.308), physical (164.310) and technical (164.312) safeguards, plus the documentation standards in 164.316. The Security Rule has 36 implementation specifications, 14 required and 22 addressable. For each addressable one, record whether it is reasonable and appropriate for your environment, and if it is not, document why and the equivalent measure you chose, as 164.306(d) requires. Add hosting, backup and vendor items to the same map. The step is done when every line names an owner, an evidence source and, where addressable, a recorded decision.

  8. Assemble the evidence set and rehearse

    Gather the artifacts an assessor will ask for: BAA replies, the design record with pinned versions, encryption and keyring settings, restore test results, TLS and privilege verification output, audit samples and the control map. Read the HHS FAQ on certifying compliance before you decide what proof to present. Then run a walkthrough with one person acting as the assessor, who asks for each control to be shown on a live or staging system. Log every question you could not answer from the evidence and close those gaps. DeployOpen can prepare this evidence and run the walkthrough, but independent auditors and certification bodies issue any audit report or certification.

What do buyers ask before hiring help for a HIPAA database project?

How much effort does a HIPAA database project take, and what drives it?

Effort depends mostly on the deployment model, the edition, the number of database systems, and the logging and key design you already have. One MySQL instance on virtual machines in your own cloud account, with an existing log pipeline, is a much smaller job than several database systems spread across a data center and an air-gapped network. Edition matters because the encrypted-file keyring and the audit log are MySQL Enterprise Edition features, so choosing Community Edition changes the design work, not only the license line. TimescaleDB adds decisions about retention policies and columnstore settings, which also need documenting. The written scope sets the timeline, so compare quotes only after each system and environment is listed.

What does a written quote for HIPAA database work include?

A quote should follow from a written scope that names the systems, environments, deliverables and timeline before work starts, because most DeployOpen engagements are fixed-scope. Typical components are an assessment of the current setup, configuration of encryption, TLS, access control and audit logging, testing of those controls, documentation your assessors can review, and handover to your team. Ask who is paid for each item. DeployOpen is paid for the engagement work in the scope. Your organization still pays its own staff time, infrastructure, and any MySQL or TimescaleDB commercial license. The engagement work is usually one-time, while retainers for upgrades, support and continuous testing recur, so ask whether those are priced in or out. DeployOpen does not publish a price list, and the quote follows from the written scope.

Can our own team configure the HIPAA database controls itself?

Yes. A team with database and security skills can configure encryption at rest, TLS, access control and logging itself, and the vendor documentation covers those settings. What stays with your organization either way is the Security Rule duty itself. Under 45 CFR Part 164 Subpart C, covered entities and business associates must comply for electronic protected health information. Appendix A to Subpart C lists 18 standards and 36 implementation specifications, of which 14 are required and 22 are addressable. An addressable specification still requires a documented decision on whether it is reasonable and appropriate, and an equivalent measure if it is not. The internal question is whether your staff can test and document the setup on their own timeline.

What does a HIPAA database project need from our team?

The work needs named owners in three groups: database administration, security, and compliance. Database owners approve configuration changes and backup plans. Security owners approve access control, TLS settings and key handling. Compliance owners confirm which Security Rule decisions and evidence your assessor expects. Engineering also needs access to the database hosts, the log pipeline, and the cloud or data center console, usually through your change process. Name these people before the scope is signed, because unassigned decisions stall the work. Ask the partner for a written list of access requests and a single decision log that all three groups can see.

Does DeployOpen certify HIPAA compliance or sign a BAA?

No. DeployOpen does not issue certifications, attestations or audit reports. Independent auditors and certification bodies do that work, and DeployOpen prepares the systems, controls and evidence they review. HHS addresses whether certification is required in its FAQ on the Security Rule, which is a useful read for your compliance lead. Business associate terms are a contract question, so ask in writing which contract terms apply to the engagement, including whether a business associate agreement is in scope and what it covers. For the self-managed MySQL Community Server, MySQL does not sign a BAA, and the organization running it carries the HIPAA obligations. Self-hosted TimescaleDB runs on PostgreSQL and sits in the same position, so get the answer in the quote, not in a sales call.

What happens if the MySQL keyring is lost?

If the master encryption key is lost, data in encrypted tablespaces cannot be recovered, according to the MySQL 8.4 manual on InnoDB data encryption. Key backup therefore belongs in the plan from the first day. Back up the keyring data separately from the database backups, and keep those copies under the same access controls as the data they protect. Test a restore that uses the keyring backup, not only a restore of the data. Decide who holds the keys and how keyring access is granted and revoked. The same manual states that the file-based keyring components are not intended as a regulatory compliance solution, so your compliance team should review the key design. The encrypted-file keyring and external key back ends such as KMIP, AWS KMS and HashiCorp Vault are Enterprise Edition features, so edition choice affects key design.

How DeployOpen prepares your database and evidence for review

DeployOpen approaches MySQL vs TimescaleDB for HIPAA and healthcare by scoping the database, its encryption, access and logging controls, and the evidence an assessor will ask for before anything is built. DeployOpen deploys self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks, and prepares systems and evidence for compliance assessments. It does not issue audit reports, attestations or certifications; independent auditors do.

How we scope

  • The written scope names the MySQL or TimescaleDB components in and out, such as replicas, extensions and backups.
  • Scope maps the database to the HIPAA Security Rule safeguards it touches, and the obligations that stay with your organization.
  • Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

How we build

  • Build covers TLS, encryption at rest, access control and audit logging, configured for your chosen engine and environment.
  • On MySQL, the file-based keyring is not intended for regulatory compliance, so key store design gets its own review.
  • On self-hosted TimescaleDB, encryption, TLS and access control are configured manually, then tested and documented one by one.

How we hand over

  • Handover includes key backup procedures, because losing the MySQL master encryption key makes encrypted tablespace data unrecoverable.
  • Evidence maps each control to its HIPAA Security Rule section, with configuration and test records attached.
  • Your legal team confirms business associate terms, since MySQL does not sign a BAA for the self-managed community server.

How we support

  • Upgrades follow your chosen MySQL LTS or Innovation track, and the support window is stated in writing.
  • Ongoing support, upgrades and continuous testing are available as retainers, separate from the fixed-scope work.
  • Ask in the quote whether changes to TLS, keys or access settings trigger retesting under your retainer.

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.