PostgreSQL vs TimescaleDB for PCI DSS: which fits your cardholder data scope
PostgreSQL fits when the priority is the simplest license and the fewest vendor documents to review, because it is released under the PostgreSQL License, a permissive license similar to the BSD and MIT licenses. TimescaleDB fits when you need its Community Edition features and accept a split license and a vendor document review, since code inside the tsl directory falls under the Timescale License. This page covers only the PCI DSS question. The general PostgreSQL vs TimescaleDB comparison sits on its own page and is not repeated here. For cardholder data scope, the decision turns on two questions: whether your time-series features need the Community build, and whether any Tiger Cloud service would hold cardholder data. No database product is PCI DSS compliant by itself. Your own assessment of the cardholder data environment decides scope, and your assessor will judge the whole system, including the database.
Start with the feature list. Continuous aggregates, the columnstore (Hypercore), data retention policies, job scheduling and functions such as time_bucket_gapfill are available only in TimescaleDB Community Edition, according to Tiger Data's feature comparison. If your payment or audit tables need none of these, plain PostgreSQL keeps the license and document review simpler. If you do need them, list which features and functions your cardholder data schemas use, then have your legal and compliance team review the Timescale License text before the build is approved. Confirm the exact TimescaleDB version and its license files at install time, because the license split applies to the build you deploy, not to the project as a whole. Tiger Data feature comparison lists the editions side by side.
The second question is where the data lives. If you use Tiger Cloud, Tiger Data's security page says card payments go through Stripe and names no PCI DSS attestation, while its security documentation describes AES-256 encryption at rest and required TLS in transit. Before any cardholder data goes to a Tiger Cloud service, ask Tiger Data for its current PCI DSS responsibility documentation and an attestation covering that specific service. If you self-host, the PostgreSQL project has no attestation of its own, so your team owns the evidence for TLS, role-based access, logging and pgAudit in either option. Map each control to the PCI DSS v4.0.1 requirements that apply to your scope, since v4.0.1 is the only active version.
What PCI DSS v4.0.1 asks of a database in scope
PCI DSS v4.0.1 is the only active version, since v4.0 retired on December 31, 2024 and v3.2.1 retired on March 31, 2024. The 51 of the 64 new v4.0 requirements that took effect March 31, 2025 now apply in full, and the standard applies to entities that store, process or transmit cardholder data or could affect the security of that environment, with the database as one component an assessor reviews.
Protect stored account data
Stored primary account numbers must be unreadable wherever they sit, including tables, backups, standby servers and exported files. PostgreSQL does not choose a method for you, so decide between column-level encryption, tokenization or truncation and record where keys are held. TimescaleDB's columnstore (Hypercore) is available only in the Community Edition and stores compressed chunks in a separate form, so confirm that those chunks fall under the same method as uncompressed ones.
Encrypt data in transit
Cardholder data crossing a network needs strong encryption, so client, replication and administrator connections should all use TLS. PostgreSQL supports TLS on its TCP connections and can refuse plaintext through host-based access rules, but you set the certificates, protocol versions and cipher policy yourself. Check that application connection settings verify the server certificate as well as requesting TLS, and test the replication, backup and monitoring paths separately.
PostgreSQL SSL docsRestrict access and identify users
Every person and service should have a named database role that holds only the privileges its job needs. Shared accounts should not be used for application or administrator access, so each action in the audit trail can be traced to one identity. PostgreSQL roles and the host-based access file provide the mechanism, but the access review, the approval of administrator roles and the removal of leavers sit with your team. Confirm how any extension or scheduled job authenticates before you grant it a role.
Log and monitor database access
Access to cardholder data needs an audit trail that shows who did what and when, and the log itself must be protected from change. PostgreSQL's logging settings control what the server records, and the pgAudit extension adds dedicated audit records for selected statements, but both write to storage and retention rules that you define. Decide where logs go, who reviews them and how long they are kept. Test whether a privileged user can switch off auditing without leaving a trace.
pgAudit repositoryKeep software patched and supported
The PostgreSQL server and every extension, including TimescaleDB, must run releases that still receive fixes. PostgreSQL 14 support ended on November 12, 2026, and PostgreSQL 15 is supported until November 11, 2027, so check the major version of each cluster before the assessment starts. TimescaleDB's Apache 2 Edition and Community Edition differ in features, so record which build is installed and whether it is on a current release, for example 2.30.2, published September 29, 2026.
Versioning policyDocument scope and policy
Assessors begin with a defined cardholder data environment, so the database should appear in the scope diagram with its data flows, connected systems and administrators. Record which databases hold account data, which hold only masked or tokenized values, and which sit outside scope, with the reason for each decision. Policies should name owners for patching, access reviews and log review. Refresh this record after major version upgrades, new analytics stores or new connections, since each can move the boundary.
PCI SSC standard pageHow PostgreSQL and TimescaleDB for PCI DSS compare as documented
This table sets PostgreSQL and TimescaleDB side by side across the database areas a PCI DSS assessment usually asks about, using only what each vendor documents. Read each row as what the documentation supports, then confirm the items marked for confirmation in your own environment and with Tiger Data. The main takeaway is that neither side's documentation names a PCI DSS attestation, so the evidence for your cardholder data environment will come from your own configuration and controls.
| Requirement area | PostgreSQL as documented | TimescaleDB as documented |
|---|---|---|
| Transport encryption | The SSL documentation covers encrypting client connections over TCP/IP. Your team configures certificates and enforces it. | Tiger Cloud requires TLS. Confirm how a self-hosted TimescaleDB is configured for TLS. |
| Encryption at rest | The encryption options page lists the choices. Storage-level protection is set by your team. | Tiger Cloud documents AES-256 at rest. Self-hosted at-rest protection is yours to confirm. |
| Access control | Role-based access with grants per role. Your team designs the role model and reviews it. | Confirm how TimescaleDB uses PostgreSQL roles and its own permissions in your deployment. |
| Audit logging | Server logging is documented. pgAudit is a separate extension that you install and configure. | Confirm TimescaleDB's logging behavior and whether pgAudit runs alongside it. |
| Vendor attestation | The PostgreSQL project is not a service provider and holds no PCI DSS Attestation of Compliance. | Tiger Data's security page names no PCI DSS attestation. Ask for current status in writing. |
| Payment handling | Not addressed by the project. Your payment flows and cardholder data handling are your own scope. | Tiger Data's card payments run through Stripe for its billing. This does not cover your data. |
| Data location and processing | Self-hosted, so location and processing follow your own infrastructure decisions. | The Tiger Data DPA governs its managed service. Check it against your data location needs. |
| Feature licensing | Core PostgreSQL features carry the PostgreSQL License, with no edition split. | Retention policies, columnstore and continuous aggregates are Community Edition features only. |
| Patch currency | Minor releases at least every three months. PostgreSQL 14 support ended November 12, 2026. PostgreSQL 18 is supported to November 14, 2030. | TimescaleDB 2.30.2 was published September 29, 2026. Confirm your upgrade path for the extension version. |
How the TimescaleDB license split changes your scope review
The license split changes what the assessor reviews, so start with the build. TimescaleDB's LICENSE file places source code outside the tsl directory under the Apache License 2.0, while code inside that directory, along with built shared object files that have -tsl in their names, is licensed under the Timescale License. Your asset inventory should therefore record the edition and license of each database host, taken from the extension that is actually installed and loaded. A cluster that mixes builds across primary, standbys and staging is harder to evidence than one that runs a single build everywhere.
Several features that teams use for retention and reporting are documented as Community Edition features. Tiger Data's feature comparison lists continuous aggregates, the columnstore (Hypercore), data retention policies, job scheduling and functions such as time_bucket_gapfill as available only in TimescaleDB Community Edition, and absent from the Apache 2 Edition. If a retention control in your design depends on a retention policy or a scheduled job, the build that enforces it is the build the assessor must review. Map each retention control to the function that enforces it, and confirm the same build runs on every host where that data lives.
Settle the scope question before the licensing question. Have counsel confirm what the Timescale License permits in production, and get that answer in writing before the design is frozen. A retention policy can enforce a deletion schedule, but it does not decide whether cardholder data belongs in time-series tables at all. If primary account numbers or other cardholder data would land in a hypertable, that table sits inside the cardholder data environment however well its retention is configured, so decide the data model first and the retention mechanism second. Record that decision and the data classes it covers in the scope document so the assessor can trace it.
What an assessor asks for from each database and how it is produced
The PostgreSQL project is not a service provider and has no PCI DSS Attestation of Compliance, so every item below comes from your own environment or your hosting provider. An assessor samples each one from the running systems and checks that the record matches the design you documented.
- TLS settings: Exports of
ssl,ssl_min_protocol_versionand the certificate paths frompostgresql.conf, plus thehostsslrules inpg_hba.conf. The database team produces them from the live server, and the assessor compares them with your cryptography standard. Start with the PostgreSQL SSL documentation. - Role and access inventory: A dated export of
pg_rolesand table grants, with an owner for each role. The DBA produces it, and the security team signs off on who holds each privilege and why. - Audit logs and retention: The
shared_preload_librariesentry andpgaudit.logsetting, sample audit lines for login and privilege events, the log retention period, and signed review records. The platform team produces the configuration, and the security team produces the review records. - Patch and version record: Dated minor release updates applied to each cluster, and the major version's end-of-support date from the PostgreSQL versioning policy. PostgreSQL 14 support ended on November 12, 2026, so any 14 cluster in scope needs a dated upgrade plan on file.
- Scope diagram: A data flow and network diagram showing each database host that stores, processes or transmits cardholder data, and the systems that connect to it. The platform team draws it, and the assessor checks it against the hosts they sample.
Check that every item carries a date, an owner and a source system, because an assessor will ask who produced each record and when.
TimescaleDB runs inside the same PostgreSQL cluster, so the core items below match the PostgreSQL tab. The assessor also asks which edition runs on each host and which vendor documents cover any managed service.
- Core database items: The TLS, role, audit log, retention, patch, version and scope records listed for PostgreSQL, produced the same way on every host that runs the extension, including each node in a replicated setup.
- Edition and license per host: A per-host record of the installed package and its license. Code outside the tsl directory is Apache 2.0, and objects with -tsl in their names fall under the Timescale License, so the assessor will ask which build each host runs. The platform team produces it from the installed packages.
- Community feature evidence: Proof that Community-only features, such as retention policies, continuous aggregates and the columnstore, run only on hosts with a Community license. Tiger Data lists them as Community Edition features, so a retention job on an Apache 2 host is a finding. The DBA exports the job and policy output.
- Managed service documents: For Tiger Cloud, the Tiger Data DPA and the security documentation covering AES-256 encryption at rest and the TLS requirement. Procurement requests them from Tiger Data, and the assessor reviews them as third-party evidence.
- Written attestation status: Tiger Data's security page names no PCI DSS attestation, so ask the vendor in writing whether it holds one, which service and scope it covers, and its date. Tiger Data produces that answer, and you file it with the scope diagram.
Confirm the vendor answer in writing before the assessment starts, because an unverified statement will not satisfy an assessor.
How cardholder data flows through the database and into assessor evidence
The diagram starts at the application, which connects to the PostgreSQL server with the self-hosted TimescaleDB extension over TLS. Admin accounts reach the database through role-based access, and the database sends pgAudit and server logs to a retained log store inside the boundary. The optional Tiger Cloud branch sits outside the boundary as a separate processing relationship, so it needs its own DPA review before any data moves. On the right, the assessor's sampling configuration selects log samples, while access records and the patch record cover the admin and database evidence. Check that each arrow matches a control you can show.
Data paths, audit logs and assessor evidence around the cardholder data environment.
Configure the chosen database for a PCI DSS scope review
This sequence turns a chosen PostgreSQL or TimescaleDB deployment into something an assessor can review against PCI DSS. Each step names who acts, what changes and the record that proves it. Run the scope and edition checks first, because they decide which tables, hosts and controls the rest of the work covers.
Confirm cardholder data scope and time-series tables
The data owner and compliance lead confirm whether the database stores, processes or transmits cardholder data or sensitive authentication data, and whether any hypertable or other time-series table holds account data. Map every database, schema, replica and backup that could hold that data, and mark the hosts that fall inside the cardholder data environment. Done means a signed scope record listing each host, its data classes and its network segment, reviewed by your assessor before configuration work starts.
Confirm TimescaleDB edition and license per host
For TimescaleDB only, the platform team checks the edition and license on each host. Source outside the tsl directory is Apache 2.0, while code inside it and built objects with -tsl in their names fall under the Timescale License. Continuous aggregates, the columnstore, retention policies and job scheduling are available only in the Community Edition, so confirm which edition each host runs. For any Tiger Cloud use, request the signed DPA and a written statement of PCI DSS attestation status, because the public security page names no PCI DSS attestation. Done means a per-host inventory of edition, license and package version, filed with the vendor documents.
Move PostgreSQL 14 clusters to a supported major
PostgreSQL 14 passed end of support on November 12, 2026, so any cluster still on it no longer receives community fixes. The database administrator moves it to a supported major, such as PostgreSQL 18, which is supported until November 14, 2030, using pg_upgrade, dump and restore, or logical replication. Test the upgrade on a copy first and confirm the supported dates against the versioning policy. Done means each cluster reports a supported major in the inventory, with the upgrade change record and a tested rollback plan.
Enforce TLS for client connections and record settings
The database administrator enables TLS with server certificates and requires it for every client path by using hostssl entries in pg_hba.conf, so plaintext connections are refused. Apply the same rule to replication connections and to any TimescaleDB host. Keep the pg_hba.conf file and an export of the effective ssl settings under version control. Run a test from a non-TLS client to confirm it is refused. Done means the settings files, the export and the refused-connection test are stored with the change record. The PostgreSQL SSL documentation lists the parameters to check.
Set roles, least privilege and access review cadence
The database owner creates group roles that match job functions and grants only the schema and table privileges each role needs. Keep superuser and object owner accounts out of application logins and out of day-to-day use. Connect named human accounts to your central identity source where your environment allows it, and confirm that mechanism in your own setup. Write an access review cadence into the control procedure, and have a reviewer sign each cycle. Done means a role matrix, the grant scripts and signed review records for the first cycle.
Enable pgAudit and send logs to retained storage
The security operations team installs pgAudit, loads it through shared_preload_libraries and sets pgaudit.log to the classes your scope needs, such as reads, writes, DDL and role changes. Turn on server logging for connections, disconnections and errors. Ship the logs to a store that database administrators cannot edit, and keep them for the retention period your policy sets. Done means a test query appears in the retained log, the retention setting is documented and the pgAudit configuration is saved with the change record.
Apply minor releases at least every three months
PostgreSQL publishes minor releases at least once every three months. Each one replaces executables and requires a restart, but it does not change the storage format. The database administrator schedules a recurring patch window, tests each minor release on a staging copy and applies it through change management. For TimescaleDB, track its own extension releases in the same cycle. Done means a dated change record for each minor release, showing the version before and after and the test result.
What buyers ask before hiring help for a PCI DSS database scope
How much effort does a PCI DSS database scope review and hardening take?
The effort depends mostly on how many databases are in scope, whether account data reaches time-series tables, how many environments exist and how much logging is already in place. Each factor changes the number of configurations to review, the data flows to trace and the controls to test. A single PostgreSQL cluster that stores no cardholder data and already sends logs to a central system is a much smaller job than several clusters where account data flows into TimescaleDB hypertables across production, staging and analytics. Ask for the scope review and the hardening work as separate line items, because the review decides what the hardening has to cover. DeployOpen does not publish a price list. A quote follows from the written scope, which should list the databases, environments, data flows and logging sources it covers.
How long does a PCI DSS database hardening engagement take?
The timeline is set in the written fixed scope, and this page does not give a figure. Engagements are agreed as fixed-scope work, so the start date, milestones and completion date appear in the document both parties sign before work begins. The schedule depends on the same drivers as effort: the number of databases, the number of environments, how many systems send logs to a central store and how quickly your team can grant access and answer questions. Your own calendar matters too. If an assessor is already booked, check whether the hardening work has to finish before their fieldwork starts, and write that date into the scope as a constraint. Ask for the milestones and the dependencies on your side in writing.
What does the client need to provide for a database hardening engagement?
Expect to provide named owners, configuration access, a scope document and a contact at your assessor. Named owners should include one person accountable for the database platform, one for the cardholder data environment and one for security or compliance sign-off, so decisions do not wait on a shared inbox. Configuration access means read access to files such as postgresql.conf and pg_hba.conf, role and grant definitions, logging settings and backup configuration, with change access reserved for the agreed implementation window. The scope document lists which databases and extensions sit in the cardholder data environment and where account data flows. The assessor contact is needed early, because the evidence the assessor accepts shapes the work.
Can our own team harden PostgreSQL for PCI DSS without an outside firm?
Yes, if the team already has strong PostgreSQL skills in-house and enough time to document the work. TLS settings, role-based access, logging and pgAudit are all configurable by a competent administrator, and the PostgreSQL SSL documentation covers the connection options involved. What an in-house team cannot hand to a vendor is the assessor's sign-off, because that judgment belongs to the independent assessor. DeployOpen does not issue audit reports, attestations or certifications. It can plan, implement, harden and document the environment so your assessor has evidence to review. Before you decide, ask who will keep the configuration correct after go-live, who will answer assessor questions and who will rerun the checks after each upgrade.
Does a TimescaleDB managed service add vendor review work for PCI DSS?
Yes, a managed service adds a third-party review step, because the provider's handling of cardholder data becomes part of your assessment. Tiger Data's security documentation describes encryption in transit and at rest with AES-256 and TLS, and its security page says card payments go through Stripe and names no PCI DSS attestation. Those statements are the starting point for your own review and do not replace it. Ask the provider for its current attestation status in writing, its responsibility matrix and its data processing addendum. Self-hosted TimescaleDB avoids that vendor review but moves the controls into your own environment. Feature availability also depends on the edition, so confirm which edition the service provides before you design around continuous aggregates or the columnstore.
What should a written quote for PCI DSS database work include?
A written quote should follow directly from the written scope and list:
- The databases, environments and data flows in scope, with the reason each is included
- The scope review, hardening, logging, backup and documentation tasks, each with its deliverable
- The client responsibilities, named owners and access you are expected to provide
- The timeline and milestones, and what triggers a change to them
- Any retest, support or retainer terms, shown as separate items
- The assumptions behind the quote and how changes to scope are priced
DeployOpen does not publish a price list, so the quote is the only reliable source of cost. Ask which items are one-time and which recur after go-live, such as upgrades, continuous testing or a retainer. Confirm whether the assessor's fees and any tools you buy are excluded and shown separately.
How DeployOpen prepares a PCI DSS database scope
DeployOpen plans, implements, hardens and documents self-hosted PostgreSQL and TimescaleDB inside your own infrastructure, so your security and compliance teams can review the database scope directly. The PostgreSQL project has no PCI DSS Attestation of Compliance, and Tiger Data's security page names none for TimescaleDB, so your own controls carry the evidence. We do not issue audit reports or attestations; the independent assessor you engage does.
How we scope
- We agree in writing which database clusters, replicas, backups and admin paths fall inside the cardholder data environment.
- Engagements are fixed-scope, so the written scope sets the PostgreSQL and TimescaleDB deliverables before any build work starts.
- Scope records which TimescaleDB features are in use, since continuous aggregates and the columnstore need the Community Edition.
How we build
- Configure TLS for client connections and document how disk-level encryption protects data at rest on your storage.
- Set role-based access, enable server logging and install pgAudit so the database records who did what in cardholder tables.
- Record which TimescaleDB library files fall under the Timescale License and which under Apache 2.0 for your license review.
How we hand over
- Deliver configuration baseline, network diagram and data flow for the database tier, mapped to in-scope PCI DSS v4.0.1 requirements.
- Provide the evidence an assessor will ask for: access lists, logging settings, pgAudit output samples and backup restore records.
- Hand over runbooks for PostgreSQL minor updates and major upgrades, covering the upgrade paths the upstream docs describe.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, with terms agreed in writing.
- Schedule retesting after PostgreSQL or TimescaleDB versions change, so the evidence matches the running configuration.
- Track support windows for each PostgreSQL major, such as 15, which is supported until November 11, 2027.

