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
sslto on inpostgresql.confand require TLS for client connections inpg_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.
TimescaleDB is an extension that runs inside a PostgreSQL server, so the same HIPAA obligations apply to it. Your organization carries them and configures TLS, storage encryption and access control itself, as the Tiger Data feature comparison describes. The extension adds licensing and feature questions on top of the database questions.
- Same database controls: Every setting in the PostgreSQL tab applies to the TimescaleDB server, because the extension runs inside it.
- Split licensing: Source code outside the tsl directory is under the Apache License 2.0, while code inside it and built objects with -tsl in their names fall under the Timescale License. Confirm which files your deployment includes.
- Community Edition features: Continuous aggregates, the columnstore (Hypercore), data retention policies, job scheduling and time_bucket_gapfill are available only in the Community Edition, not the Apache 2 Edition. Retention and disposal designs for protected health information depend on these features, so check them early.
- Upgrade testing: TimescaleDB 2.30.2 was published on September 29, 2026. Test each extension upgrade alongside PostgreSQL upgrades, because the two move on separate schedules.
Confirm in writing with Tiger Data which edition and license terms apply to your deployment, and that the features your design needs are included in that edition.
With the hosted service, Tiger Data operates the database infrastructure, but your HIPAA responsibilities do not transfer automatically. Tiger Data publishes security documentation and a data processing addendum, and those pages are the starting point for review. They do not by themselves establish HIPAA coverage for your plan, so the contract terms must be checked directly.
- Published documents: Read the Tiger Data DPA and the security documentation before you talk to sales.
- Business associate agreement: Ask whether Tiger Data will sign a business associate agreement and which plans it covers. Coverage can differ by plan, so confirm the exact plan you would buy.
- Shared responsibility: Ask for the split in writing: which controls Tiger Data operates, which you configure, such as access control, retention and deletion, and where the evidence for each comes from. The Tiger Data security documentation is a natural place to start.
- Data location and subprocessors: Confirm in writing where data is stored, which subprocessors handle it and whether the addendum covers them.
Do not rely on the hosted service for protected health information until the business associate agreement, its plan coverage and the responsibility split are confirmed in writing by Tiger Data.
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 area | PostgreSQL as documented | TimescaleDB as documented |
|---|---|---|
| Business associate agreement | No 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 transit | Native 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 rest | File 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 encryption | The pgcrypto extension is documented for column-level encryption. | Confirm whether pgcrypto is available and supported in your TimescaleDB build. |
| Password hashing | SCRAM password hashing is documented as supported. | Inherits PostgreSQL authentication. Confirm SCRAM settings on your server or hosted service. |
| Audit logging | Server 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 features | Not 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 windows | PostgreSQL 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. |
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
sslsetting inpostgresql.conf,hostsslrules inpg_hba.conffor remote clients, andpassword_encryptionset 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.
TimescaleDB runs inside PostgreSQL, so every control in the PostgreSQL tab still applies. The extension adds its own evidence: the build, its edition, its license inventory and the settings that automate data handling.
- Extension and edition record: the installed TimescaleDB version and whether it is the Community Edition or the Apache 2 Edition. Continuous aggregates, the columnstore, data retention policies and job scheduling are available only in the Community Edition, according to the feature comparison. The current release is 2.30.2, published September 29, 2026.
- License inventory: a record that code outside the
tsldirectory falls under Apache 2.0 and that code inside it, including-tslshared objects, falls under the Timescale License. The procurement file should match the build deployed. - Retention and deletion settings: the data retention policies in place, mapped to the organization's documented retention and disposal decisions, with job logs showing they ran.
- Encryption and connection configuration: the same TLS and SCRAM settings as PostgreSQL, plus the documented design for encrypting chunk data and backups, with a reason for each addressable decision.
- Version pairing: which PostgreSQL major version each TimescaleDB build runs on, with the compatibility confirmed for both.
Confirm the installed edition before the assessment, because the retention and continuous aggregate evidence depends on it.
The hosted service moves some controls to Tiger Data, but the organization still owns its access decisions, data handling and records. What the vendor covers depends on its documents, so each claim must be confirmed before it enters the evidence file.
- Vendor security documentation: the Tiger Data security overview, saved with its date, describing encryption, access and logging. Confirm each statement with Tiger Data in writing.
- Business associate terms: whether Tiger Data will sign a business associate agreement covering the hosted service. The data processing addendum is a separate document, so check whether it contains HIPAA terms before relying on it.
- Customer-side configuration: the connection requirements, user roles and credential holders the organization controls, with access review records the organization keeps itself.
- Edition and version: the TimescaleDB edition and PostgreSQL major version the hosted service runs, confirmed in writing, along with the vendor's upgrade notice process.
- Risk analysis and policies: the risk analysis and 164.316 policies covering the vendor relationship, including the division of responsibilities the vendor documents.
Ask Tiger Data for current copies of these documents before the assessment, because this tab is only as complete as what the vendor confirms in writing.
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.
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.
Enable TLS and manage server certificates
The database platform owner sets
sslto on inpostgresql.confand 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. Inpg_hba.conf, usehostsslentries 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.Set password hashing to SCRAM
The database platform owner sets
password_encryptiontoscram-sha-256and sets the matchingpg_hba.confmethod toscram-sha-256for 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 inpg_hba.confuses md5 or trust.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.
Configure server logging and an audit trail
The platform owner sets the logging parameters in
postgresql.conf, includinglogging_collector,log_connectionsandlog_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.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.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.

