PostgreSQL vs TimescaleDB for HIPAA and healthcare

For a healthcare team storing ePHI in a database it runs itself, both sides leave HIPAA duties with the organization, and the choice turns on TimescaleDB feature licensing and any hosted contract. This page covers only the compliance angle; the general PostgreSQL vs TimescaleDB comparison is on its own page.

On this page

PostgreSQL vs TimescaleDB for HIPAA: which side fits a healthcare team

If your team must store electronic protected health information in a database it runs itself, self-hosted PostgreSQL and self-hosted TimescaleDB both leave the HIPAA obligations with your organization, so neither is the compliant choice by default. TimescaleDB runs on PostgreSQL, so the same organization carries the same duties for either option: configuring TLS, storage encryption, access control, audit logging and patching. PostgreSQL is open source software, so no vendor signs a business associate agreement for it. This section covers only the compliance angle. The general PostgreSQL vs TimescaleDB comparison of features and operations is on its own page.

The choice turns on three decisions. The first is whether the team needs TimescaleDB Community Edition features. Tiger Data's feature comparison lists continuous aggregates, the columnstore (Hypercore), data retention policies, job scheduling and time_bucket_gapfill as available only in Community Edition, so the Apache 2 Edition lacks them. TimescaleDB's license file places its tsl directory under the Timescale License, so have counsel confirm those terms before a compliance design depends on those features. The second is whether the team will buy a hosted Tiger Data service. A hosted service shifts controls to the vendor only as far as its contract says, so ask whether a business associate agreement is offered. The third is whether your team can document its own controls. If it cannot, self-hosting adds evidence work the team must staff.

If the team runs TimescaleDB itself, the technical safeguards in 45 CFR 164.312 become its own build and evidence work. Start with what PostgreSQL documents: setting ssl to on in postgresql.conf enables native TLS for client connections, SCRAM handles password hashing, and pgcrypto supports column-level encryption. PostgreSQL's documentation also says there is no built-in transparent data encryption, and file system encryption does not protect data while the file system is mounted, so write that gap into your risk analysis. Each addressable implementation specification needs an assessment on file: if you do not implement it, document why and the equivalent measure you use, as 45 CFR 164.306(d) describes. Finally, confirm your PostgreSQL version, because version 14 support ended on November 12, 2026.

How the PostgreSQL vs TimescaleDB for HIPAA choice changes by deployment model

You run PostgreSQL on your own virtual machines, Kubernetes or bare metal, so your organization carries the HIPAA obligations for the database. PostgreSQL is open source software, so no vendor signs a business associate agreement for it. Any outside firm that operates the database for you needs its own written terms with you covering protected health information.

  • Transport encryption: Set ssl to on in postgresql.conf and require TLS for client connections in pg_hba.conf. The PostgreSQL SSL documentation describes the server side.
  • Authentication and access: Use SCRAM password hashing and grant each role only the privileges its application needs.
  • Encryption at rest: The documentation describes no built-in transparent data encryption, so you choose file system or block encryption, or pgcrypto for column-level encryption. File system encryption does not protect data while the file system is mounted.
  • Logging and patching: Configure connection and statement logging, add pgAudit if you need detailed audit records, and apply minor releases at least every three months. PostgreSQL 18 is supported until November 14, 2030, and PostgreSQL 14 is no longer supported after November 12, 2026.

Confirm in writing with any partner or hosting provider which of these settings they will configure, who holds the encryption keys and logs, and who owns patching.

What the HIPAA Security Rule asks of a database

The HIPAA Security Rule, codified at 45 CFR Part 164 Subpart C in sections 164.302 to 164.318, applies to covered entities and business associates for electronic protected health information, so any database holding that data falls inside it whichever product you choose. The rule sets 18 standards across administrative (164.308), physical (164.310) and technical (164.312) safeguards, carried by 36 implementation specifications: 14 required and 22 addressable. Sections 164.314 and 164.316 add organizational and documentation standards. The organization running the database owns these obligations. PostgreSQL is open source, so no vendor signs a business associate agreement for it, and the same holds for self-hosted TimescaleDB. Your team carries the configuration, access control and logging work directly.

Read the word addressable carefully, because it does not mean optional. For each addressable specification, you must assess whether it is reasonable and appropriate in your environment. If it is not, you document why and implement an equivalent alternative measure where that is reasonable and appropriate (45 CFR 164.306(d)). Most database work lands in the technical safeguards of 164.312, covering access control, audit controls, integrity, authentication and transmission security, and in the access management and audit decisions under 164.308. In practice, that means deciding who holds database roles, whether clients must connect over TLS (PostgreSQL enables this with the ssl setting), and what gets logged and reviewed. Record each decision when you make it, since the documentation standards expect the reasoning to exist as written evidence.

Before you tell a customer or an assessor that the database is HIPAA certified, read the HHS FAQ on certification and confirm with your compliance lead and counsel what wording you can use. A practical first step is a written mapping. For each 164.312 and 164.308 item that touches the database, name the PostgreSQL or TimescaleDB setting, the database role, the log or the procedure that addresses it, and the person who owns it. Vendor documentation can show what a product supports, but only your own mapping and records show how your deployment meets the rule, and that mapping becomes the basis for the control and evidence sections that follow.

How each side meets the HIPAA Security Rule as documented

This table compares what the PostgreSQL and TimescaleDB documentation states about controls the HIPAA Security Rule asks of systems holding electronic protected health information. Read each cell as a documented capability, and treat every confirm item as an open question for your vendor or your own testing. TimescaleDB runs on PostgreSQL, so most server controls are inherited, but the business associate position for the hosted service needs written confirmation.

Requirement areaPostgreSQL as documentedTimescaleDB as documented
Business associate agreementNo vendor signs a BAA for open-source PostgreSQL. Your organization carries the HIPAA obligations.Self-hosted: same position as PostgreSQL. Hosted Tiger Data: confirm a BAA in writing before storing PHI.
Encryption in transitNative SSL. Set ssl to on in postgresql.conf, per the version 18 docs.Inherits PostgreSQL server TLS. You configure TLS yourself for self-hosted deployments.
Encryption at restFile system or block partition encryption only. Does not protect mounted file systems. No built-in transparent data encryption documented.You configure storage encryption yourself for self-hosted deployments. Confirm the storage layer and key handling for your platform.
Column-level encryptionThe pgcrypto extension is documented for column-level encryption.Confirm whether pgcrypto is available and supported in your TimescaleDB build.
Password hashingSCRAM password hashing is documented as supported.Inherits PostgreSQL authentication. Confirm SCRAM settings on your server or hosted service.
Audit loggingServer logging is documented in error reporting and logging settings. The pgAudit extension is a separate project for detailed auditing.Same server logging applies to self-hosted deployments. Confirm what audit records the hosted service provides.
TimescaleDB Community Edition featuresNot applicable. These are TimescaleDB features, added on top of PostgreSQL.Data retention policies and job scheduling are available in Community Edition only, per Tiger Data's editions page.
Version support windowsPostgreSQL 18 supported until November 14, 2030. Each major version gets five years.TimescaleDB 2.30.2 published September 29, 2026. Confirm its support window with Tiger Data.

PostgreSQL vs TimescaleDB for HIPAA: who configures and evidences each control

Each card separates what the PostgreSQL project documents from what your organization must configure and evidence. Self-hosted TimescaleDB runs inside PostgreSQL, so the same split applies to it. Open-source software does not sign a business associate agreement, so the vendor question only applies to the hosted Tiger Data service, and its terms still need confirming.

Transport encryption

PostgreSQL documents native SSL support for client and server connections, switched on by setting ssl to on in postgresql.conf. Your team must issue and rotate the server certificates, decide whether clients verify the server certificate, and use hostssl rules in pg_hba.conf so plaintext connections are rejected. Self-hosted TimescaleDB keeps this TLS configuration with you, because it runs on PostgreSQL. For the hosted Tiger Data service, confirm in the security documentation how client connections are encrypted and who manages certificates. Evidence: the configuration files, a certificate inventory and a test showing plaintext connections fail.

PostgreSQL SSL docs

Storage encryption at rest

The PostgreSQL encryption options page says the server has no built-in transparent data encryption. The documented options are column-level encryption with pgcrypto, encryption of the data partition at the file system or block level, and client-side encryption. Partition encryption does not protect data while the file system is mounted, so you choose the disk or volume encryption, where the keys are stored and how volumes unlock at boot. The Security Rule treats encryption as an addressable specification, so document your reasoning for the approach you use. Self-hosted TimescaleDB has the same gap. For the hosted service, confirm at-rest encryption and key ownership in writing.

PostgreSQL encryption options

Authentication and password hashing

PostgreSQL documents SCRAM as its password hashing method, and access rules live in pg_hba.conf and role definitions. Your team must choose the authentication method for each network range, remove shared and default accounts, assign named roles to people and services, and show that privileged access is limited and reviewed. These are your obligations under the technical safeguards in 45 CFR 164.312. Self-hosted TimescaleDB uses the same PostgreSQL authentication, so the same settings and evidence apply. For the hosted service, confirm which authentication options and multi-factor controls the vendor provides for administrative access. Evidence: pg_hba.conf under version control, a role inventory and access review records.

Audit trail and log retention

PostgreSQL's logging settings control what the server records, such as connections, errors and statements. Detailed per-object auditing is not part of the core server, so teams often add pgAudit, a separate extension with its own configuration and version to track. You decide what is logged, where logs go, how long they are kept and who reviews them, and you must be able to show that to an assessor. Self-hosted TimescaleDB writes the same PostgreSQL logs. For the hosted service, confirm log access, retention and export in the vendor documentation before relying on them. Evidence: the logging configuration, a sample of retained logs and the review record.

PostgreSQL logging docs

Vendor contract and BAA

Open-source software does not sign a business associate agreement, so there is no vendor contract to sign for PostgreSQL or for self-hosted TimescaleDB. Your organization carries the HIPAA obligations as the operator, and any cloud or hosting provider that stores the data needs its own agreement, which you must confirm. TimescaleDB's code is split between Apache 2.0 and the Timescale License, and features such as continuous aggregates and the columnstore are listed only for the Community Edition, so check the license of the build you run. For the hosted Tiger Data service, a data processing addendum is published, but whether a business associate agreement is available and what it covers must be confirmed in writing.

Tiger Data DPA

Patching and major upgrades

PostgreSQL releases minor versions at least once every three months and supports each major version for five years after its first release. Minor releases do not change the storage format, so updating means replacing executables and restarting, while major upgrades use dump and restore, pg_upgrade or logical replication. PostgreSQL 14 support ended on November 12, 2026, so a system still on it needs a planned move to a supported major version. Self-hosted, your team owns the patch window, testing and change records. Before any TimescaleDB upgrade, confirm which PostgreSQL versions each release supports, and for the hosted service, confirm who applies patches and how much notice you receive.

Upgrading PostgreSQL docs

Where the TimescaleDB license split reaches the audit file

The TimescaleDB license split means your software inventory cannot record the extension under one license. The project's LICENSE file says source code outside the tsl directory is under the Apache License 2.0, while code inside that directory is under the Timescale License. Built shared object files with -tsl in their names are under the Timescale License as well. An assessor reviewing the inventory will ask which license covers each component you run, so the entry depends on which files your deployment actually installs. Record the built artifacts from your own host, so the inventory matches the files the database server loads, and keep the record with the version you deploy.

Procurement needs the same map, because the license also decides which features you can depend on. Tiger Data's editions page says continuous aggregates, the columnstore (Hypercore), data retention policies, job scheduling and functions such as time_bucket_gapfill are available only in the TimescaleDB Community Edition, and the Apache 2 Edition does not include them. If your HIPAA design uses retention or scheduled jobs for record lifecycle or log handling, the edition you buy belongs in the design review from the start. Ask the vendor to confirm the edition, the license that covers each feature you plan to use, and the terms that apply to your intended use, including any hosting model where the database serves people outside your organization.

PostgreSQL itself is under the PostgreSQL License, a permissive license similar to the BSD and MIT licenses, so its inventory entry is the simplest of the database components. The TimescaleDB entries still need a decision from counsel. Have counsel review the Apache License 2.0 and Timescale License terms against your intended use before procurement signs off, and ask them to confirm which obligations apply to internal use and which apply if you offer the database to customers or affiliates. This page explains how the license files are organized for planning only and is not legal advice. Keep counsel's written conclusion with the audit evidence so an assessor can see who reviewed the terms and when.

What an assessor asks for under HIPAA from each database

No vendor signs a business associate agreement for open-source PostgreSQL, so the organization running it owns every HIPAA obligation for the database. An assessor will expect the settings chosen, the reasons for each addressable decision and records showing those settings operate.

  • Server configuration: the ssl setting in postgresql.conf, hostssl rules in pg_hba.conf for remote clients, and password_encryption set to SCRAM for stored password hashes.
  • Storage encryption design: the documented choice among pgcrypto column encryption, file system or block-level encryption and client-side encryption. The encryption options page also notes that partition-level encryption does not protect data while the file system is mounted.
  • Logging configuration and samples: the logging settings in use, plus retained log samples showing connections and failed authentication, and pgAudit output if that extension is installed.
  • Version record: the major version in production, its end-of-support date and a log of minor releases applied. PostgreSQL 14 reached end of support on November 12, 2026, so any cluster still on it needs a documented upgrade plan.
  • Access reviews, risk analysis and policies: access review records, the risk analysis under 164.308(a)(1)(ii)(A) and the policies required by 164.316 for this database.

Confirm that each addressable decision, such as encryption at rest under 164.312(a)(2)(iv), has a written reason and an equivalent measure wherever one is chosen.

Configuring PostgreSQL or TimescaleDB for a HIPAA scope

This sequence sets up a self-hosted PostgreSQL or TimescaleDB database for a HIPAA scope, from supported version selection through TLS, password hashing, encryption, logging and the written risk analysis. Each step names who owns it and the record that shows it is finished. The output is a configuration baseline and documented decisions that your compliance and security teams can review.

  1. Confirm the PostgreSQL version is supported

    Choose the major version before configuration starts, since every later setting depends on it. The versioning policy lists 14 ending November 12, 2026, which is before the date of this page, so a new deployment should start on a release still in its window: 15 to November 11, 2027, 16 to November 9, 2028, 17 to November 8, 2029 or 18 to November 14, 2030. The platform owner records the version and its end date in the design document, checked against the planned operating period.

  2. Enable TLS and manage server certificates

    The database platform owner sets ssl to on in postgresql.conf and points the certificate and key settings at files issued by your certificate authority. Keep private keys readable only by the database service account, and plan renewal before expiry. In pg_hba.conf, use hostssl entries so that client connections must use TLS. See PostgreSQL SSL documentation. Test with a client that does not offer TLS to confirm it is refused. Done when the test log shows the refusal and the certificate expiry date is recorded in the operations runbook.

  3. Set password hashing to SCRAM

    The database platform owner sets password_encryption to scram-sha-256 and sets the matching pg_hba.conf method to scram-sha-256 for every host entry that accepts passwords. Existing roles keep their old hash until each password is set again, so the owner resets every login role and removes any role that no longer needs access. The identity team confirms which application accounts can accept the new method. Done when a query of the role catalog shows SCRAM hashes for all login roles and no remote entry in pg_hba.conf uses md5 or trust.

  4. Decide and document storage and field encryption

    The platform owner chooses encryption at the file system or block level for the data directory, and documents the tool, key holder and rotation owner for that choice. PostgreSQL's documentation notes that this kind of partition encryption does not protect data while the file system is mounted, so access control and logging still carry weight. For the most sensitive fields, such as direct identifiers, use pgcrypto column-level encryption and keep keys outside the database. Each choice goes into the encryption register with the data it covers. Done when every data class in the register names its storage layer and its field-level method, or states that none applies.

  5. Configure server logging and an audit trail

    The platform owner sets the logging parameters in postgresql.conf, including logging_collector, log_connections and log_disconnections, and sends the logs to a location the operations team can protect and review. The team then tests pgAudit in a non-production copy to see which statement classes it records and how large the output grows under your workload. The retention plan, written by the compliance lead, states where audit records are kept, who can read them and how long they are retained. Done when a test login appears in the log, a sample audit record is reviewed, and the retention plan is approved.

  6. Inventory TimescaleDB features and licensing

    Skip this step for plain PostgreSQL. For TimescaleDB, the platform owner lists each feature the workload uses, such as continuous aggregates, the columnstore (Hypercore), data retention policies, job scheduling and time_bucket_gapfill. Tiger Data's editions page places these features only in TimescaleDB Community Edition, so the owner confirms the installed build is Community Edition and records the license of each shared object file. The team then tests retention and job behavior in staging: deleted data should match the policy, and jobs should run under the role the design names. Done when the feature list, license check and test results are filed together.

  7. Write the risk analysis and addressable decisions

    The compliance lead and security team write one risk analysis covering the database, its backups, its admin accounts and the TimescaleDB features in use. For each addressable implementation specification in the Security Rule that applies to this database, they record whether the measure is reasonable and appropriate. Where it is not, the record states why and names the equivalent alternative measure. Because PostgreSQL is open source, no vendor signs a BAA, so the organization carries these obligations itself; ask counsel which evidence your assessor expects. Done when every addressable specification has a dated decision and an owner.

Where the trust boundary sits for ePHI in a self-hosted database

The diagram starts inside the organization boundary, where the clinical or billing application connects to the PostgreSQL or TimescaleDB server over TLS. That connection is the first hand-off to check, and the organization must enable and configure TLS itself. The server writes data to storage, where encryption applies only if the organization configures it. It also writes logs to a log store that needs its own access controls. An optional pgAudit path can send audit records to the same log store. The Tiger Data hosted service sits outside the boundary, and its contract scope must be confirmed. The diagram is illustrative only.

Illustrative architecture showing where the organization's trust boundary sits.

Questions buyers ask before hiring help for HIPAA database controls

Can PostgreSQL or TimescaleDB sign a business associate agreement for HIPAA?

No vendor signs a business associate agreement for self-hosted PostgreSQL or self-hosted TimescaleDB, so your organization carries the HIPAA obligations and configures the controls itself. Self-hosted TimescaleDB runs on PostgreSQL, so the same work applies to both. PostgreSQL documents native SSL, enabled by setting ssl to on in postgresql.conf, and lists SCRAM password hashing, pgcrypto column encryption and partition encryption at the file system or block level. Its documentation also says the server has no built-in transparent data encryption and that partition encryption does not protect data while the file system is mounted. If you use the hosted Tiger Data plan, its contract terms decide what is covered. Ask in writing whether a BAA is available for that plan, and check whether the Tiger Data data processing addendum addresses HIPAA at all. Have counsel review the answer before any ePHI enters a hosted database.

How much extra effort does HIPAA work add to a database setup?

The effort depends on how many systems hold ePHI, how storage encryption is designed, how long logs must be kept and which written policies already exist. Each ePHI store, including replicas, backups and reporting copies, needs its own encryption, access and logging decisions, so scope grows with the estate. Storage encryption design also determines key storage, rotation and who can restore data. Log retention sets the size of the logging pipeline and the review routine. If access, incident response and backup policies already exist and match how the database runs, the work is mostly configuration, testing and documentation. If they do not, policy writing is added. Cost follows the same drivers, mainly people time for design, configuration, testing and documentation. No duration can be set until those inputs are known, so ask for a scope that lists each ePHI store and each control before you compare timelines.

What does HIPAA database work need from our own team?

The work needs a named owner on your side, host access, your current HIPAA risk analysis and a decision-maker who signs off on each addressable choice. Many implementation specifications under the Security Rule are addressable, which means you must assess whether each one is reasonable and appropriate, document why you do not adopt it when that is the case, and implement an equivalent alternative if one is reasonable (45 CFR 164.306(d)). Those decisions need someone with authority to approve them before configuration starts. Host access is needed for configuration, testing and log review inside your environment, so agree on access rules and accounts before work begins. Bring the risk analysis, network diagrams, a database inventory, backup and restore procedures and any policies that apply. The written scope should name who approves each decision and who receives the handover.

Can our in-house team handle HIPAA database controls without outside help?

Your team can do it alone if it has database administration skills and security engineering skills that cover encryption, access control and audit logging, and if someone on the team owns the risk analysis. The gaps usually fall in three places: PostgreSQL configuration and upgrades, TLS and key management, and the documentation an assessor will read. A missing risk analysis owner is the most serious gap, because the controls are chosen from that analysis. Check who has hands-on experience with pg_hba.conf, SCRAM roles, restore tests and audit logging, and whether those people have time beside their existing duties. Outside help can cover parts of the build and the evidence, but it cannot own your risk decisions. A short skills review before you choose either path makes the gaps visible before you commit.

Does DeployOpen certify HIPAA compliance for our database?

No. DeployOpen does not certify HIPAA compliance, and it does not issue audit reports, attestations or certifications. It prepares systems, controls and evidence so your compliance and security teams, and any assessor you engage, can review them. For database controls, that means configuring encryption, access control and logging, testing that they work, and documenting how each safeguard operates and who owns it. Whether your organization meets the Security Rule is judged through your own risk analysis and assessment process. The HHS FAQ on certifying compliance addresses whether organizations must certify, so read it before you ask any vendor for a certificate. Ask every implementation partner to state in writing which deliverables it provides and which decisions remain with your organization.

What does a quote for HIPAA database controls depend on?

A quote follows from the written scope, and DeployOpen does not publish a price list. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. The scope should cover design, hardening, testing, documentation and handover, plus any retainer for ongoing support, upgrades and continuous testing. Design covers how many ePHI stores exist and which encryption and logging approaches they need. Hardening covers TLS, password and role settings and audit configuration. Testing shows whether each control works, and documentation provides the evidence an assessor will request. Handover covers runbooks and trained owners. Ask each bidder for the same written list of deliverables, approval points, excluded items and whether any retainer recurs, so the quotes compare on identical scope.

How DeployOpen prepares HIPAA-scoped PostgreSQL or TimescaleDB systems

DeployOpen plans, implements, hardens, backs up and documents self-hosted PostgreSQL or TimescaleDB inside your own infrastructure, so your compliance team can review the controls. Scope is agreed in writing before work starts, and the work covers the encryption, access control and logging settings the organization must configure. DeployOpen prepares systems and evidence for assessment but does not issue audit reports or certifications.

How we scope

  • Scope is agreed in writing before work starts, listing which databases, hosts and environments are included.
  • Written scope names the PostgreSQL major version, TimescaleDB edition and the hosting target in your infrastructure.
  • Scope also maps which HIPAA safeguards the database controls cover and which remain with your own policies and staff.

How we build

  • Enable TLS for client connections, storage encryption where the platform allows it, and SCRAM password hashing.
  • Set role-based access, network restrictions and audit logging, then test each control against the written configuration.
  • For TimescaleDB, confirm which features need the Community Edition license before designing retention and continuous aggregates.

How we hand over

  • Documentation covers configuration baselines, the HIPAA control mapping and the runbooks for backup, restore and patching.
  • Evidence set holds configuration exports, access lists and log samples that your assessor can review directly.
  • Documentation and runbooks stay in your environment, so your team keeps them after the engagement ends.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Upgrade planning tracks PostgreSQL's published support windows, which ended for version 14 on November 12, 2026.
  • Access reviews and log review stay with your staff, and a retainer can add testing and upgrades around them.

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.