PostgreSQL vs TimescaleDB for SOC 2 and ISO 27001 audits: which side fits your scope
PostgreSQL fits a relational workload that needs only the upstream license and documented controls, while TimescaleDB fits when time-series workloads justify the extension and your team accepts the Timescale License for the features it needs. Both options raise the same audit questions, so the decision turns on who produces the logging, access and backup evidence and how much of it your team generates itself. Under SOC 2, the common criteria for logical access (CC6) and system operations (CC7) are where database access settings and logs usually land in the system description. ISO 27001 reaches similar ground through the technological controls in Annex A. Start by agreeing with your auditor which database components sit inside the audited system boundary, because that choice sets the evidence you must produce.
On the PostgreSQL side, the controls are yours to configure and to evidence. The settings log_connections, log_disconnections and log_statement (none, ddl, mod or all) give you the access trail, but PostgreSQL's documentation warns that logged statements can reveal sensitive data and plaintext passwords, so agree the log level with your security team before an auditor samples it. The pgAudit extension adds session logging by statement class and object logging for SELECT, INSERT, UPDATE and DELETE, but its README calls the logging best-effort and says superusers cannot be reliably audited, so document how privileged accounts are controlled outside the database. Require encrypted connections with hostssl lines in pg_hba.conf, and use clientcert=verify-ca or verify-full where client certificates are part of your design. Keep each of these settings under version control so you can show them as they stood on the audit date.
TimescaleDB adds a second license to review. Code inside the tsl directory and the built objects with -tsl in their names fall under the Timescale License, so legal review comes first. Tiger Data's feature comparison places continuous aggregates, the columnstore, retention policies and job scheduling only in the Community Edition. For attestations, its Tiger Data security documentation describes a SOC 2 Type 2 report, available by support ticket to Scale and Enterprise customers, and does not mention ISO 27001. Request the report, its scope and any ISO 27001 statement in writing, and confirm whether it covers self-hosted deployments. This page covers only the SOC 2 and ISO 27001 question, and the general comparison has its own page. PostgreSQL 14 support ended on November 12, 2026, so version status belongs in your decision.
What a SOC 2 report and an ISO 27001 certificate each prove
SOC 2 and ISO 27001 prove different things, and different parties issue them. A SOC 2 report is an attestation by a CPA firm on controls over a system, while an ISO 27001 certificate is issued by an accredited certification body on an information security management system. The scope question in the last card decides whether any database control counts toward either one.
SOC 2 Type 1 report
A Type 1 report describes the system and states whether controls are suitably designed as of one date. For a PostgreSQL or TimescaleDB estate, the system description should name the database tier, its hosts, its administrative access paths and where audit logs are sent, because the assessor reads that description before testing anything. Security is always in scope, and the other four Trust Services Categories add criteria only when chosen. A Type 1 proves design only, so it cannot show that logging ran through the whole period.
AICPA SOC 2 overviewSOC 2 Type 2 report
A Type 2 report adds the auditor's opinion on whether controls operated effectively across a period, so the evidence has to exist for every day of that window. Expect sampling of connection logs from log_connections and log_disconnections, statement logs from log_statement or pgAudit records, and proof that access reviews happened on schedule. Logged statements can contain sensitive data and plaintext passwords, so review what gets captured before showing it to an assessor. Tiger Data reports a SOC 2 Type 2 for Tiger Cloud, so confirm with the vendor whether that report covers your own servers at all.
ISO 27001 certificate
An ISO 27001 certificate is issued by an accredited certification body after it audits your information security management system. ISO itself does not certify organizations. The certification cycle runs for three years, with an audit in every calendar year, either surveillance or recertification, so database controls must keep working between audits as well as during them. Ask the certification body which accreditation it holds and how its audits apply the ISO/IEC 27006-1 requirements.
Database inside the defined scope
The scope statement decides whether any database control counts toward either audit. For SOC 2, the database must sit inside the system boundary in the system description. For ISO 27001, it must sit inside the ISMS scope document. A TimescaleDB extension runs inside the PostgreSQL server, so it shares that server's boundary. Write the database, its replicas, backups and administrative paths into scope before the audit window opens, and confirm any managed service sits in a boundary you can document.
What SOC 2 and ISO 27001 audits ask of the database layer
SOC 2 reports are measured against the AICPA's 2017 Trust Services Criteria, in the version with revised points of focus published in 2022. The criteria sort into five categories: security, availability, processing integrity, confidentiality and privacy. Security is the only category every SOC 2 carries. Its common criteria, CC1 to CC9, cover governance, risk, access, operations and change management. The other four categories add criteria only when the organization includes them in scope. The 2017 set contains 61 criteria, 33 of them common criteria. For a database, most of the work sits in CC6 (logical access), CC7 (system operations) and CC8 (change management): who can connect, what gets logged, and how schema and configuration changes are approved. Confirm the in-scope categories with your CPA firm before you design database controls.
ISO/IEC 27001:2022 takes a different shape. It describes an information security management system, and ISO does not certify organizations: accredited certification bodies do. Its Annex A lists 93 controls in four themes taken from ISO/IEC 27002:2022: organizational controls (clause 5, 37 controls), people controls (clause 6, 8 controls), physical controls (clause 7, 14 controls) and technological controls (clause 8, 34 controls). The technological controls theme is where a database is usually tested. Assessors tend to look at privileged access rights (8.2), secure authentication (8.5), logging (8.15) and the use of cryptography (8.24) for database connections and stored data. Your statement of applicability records which controls apply and how, so confirm each database's mapping with your certification body before the audit begins.
Two decisions shape the database work before any evidence is collected. First, settle which optional categories are in scope, because an availability or confidentiality commitment adds criteria that a database must evidence, such as recovery testing and encryption of confidential data. Second, settle whose system the report describes. A vendor's SOC 2 report covers that vendor's service, so it does not cover a PostgreSQL or TimescaleDB instance you operate yourself. Ask your auditor which samples they will draw for CC6 and CC7, then collect them from the database layer: role and privilege listings, connection and statement logs, configuration exports and change tickets. Store them in one place with dates, so each request can be answered from the same source.
How each side's documented controls answer SOC 2 and ISO 27001 needs
This table sets PostgreSQL's documented controls beside TimescaleDB's for each requirement area that SOC 2 and ISO 27001 assessors commonly ask about. Read each row as what the documentation states, then check the confirm note before relying on it. The main takeaway is that TimescaleDB runs as a PostgreSQL extension, so most server controls carry over, while Tiger Data's attestation and console features describe its hosted service and need separate evidence for a self-hosted build.
| Requirement area | PostgreSQL as documented | TimescaleDB as documented |
|---|---|---|
| Encrypted connections | pg_hba.conf hostssl lines can require encrypted client connections, which is the documented server control. | Runs as a PostgreSQL extension, so the same server settings apply. Confirm TLS settings for your self-hosted build. |
| Client certificates | Setting clientcert to verify-ca or verify-full in pg_hba.conf requires client certificate verification. | No separate client certificate mechanism is documented. Uses the PostgreSQL host settings; confirm the setup with Tiger Data. |
| Connection and statement logging | log_connections, log_disconnections and log_statement (none, ddl, mod, all). Docs warn logged statements might reveal sensitive data and plaintext passwords. | Uses PostgreSQL's logging settings on the server. Confirm any TimescaleDB-specific logging in your build's documentation. |
| Session and object audit logging | Core server does not audit sessions or objects. pgAudit adds this, but is best-effort and cannot reliably audit superusers. | Documents audit logging for operations staff logins to service VMs. Customer-facing audit logs are not described; confirm pgAudit support. |
| Console and identity access | No console ships with the server. Access is set through database roles and pg_hba.conf; SSO and MFA depend on the identity layer you run around it. | Tiger Cloud Console roles: Owner, Admin, Viewer. SAML SSO and MFA on Scale and Enterprise. Hosted service only; self-hosted needs your own controls. |
| Vendor attestation | No SOC 2 report or ISO 27001 certificate is documented for the community project. Request evidence from your hosting provider and your own assessment scope. | Tiger Cloud SOC 2 Type 2 report is available by ticket to Scale and Enterprise. ISO 27001 is not mentioned; confirm scope for self-hosted use. |
| Supported versions | Major versions 14 to 18 are listed; 18 runs to November 14, 2030, and 13 and earlier are unsupported. | TimescaleDB 2.30.2 was published September 29, 2026. Confirm which PostgreSQL major versions that build supports before you plan upgrades. |
| License and retention features | PostgreSQL License, a permissive license similar to BSD or MIT. Log retention is set by your own rotation and shipping settings. | Apache 2.0 outside the tsl directory, Timescale License inside it. Data retention policies are listed only in the Community Edition. |
| Data processing terms | No processing addendum is documented for the software itself. Self-hosted data stays in your environment under your own terms. | Tiger Data publishes a data processing addendum. Confirm whether its terms cover self-hosted use or only Tiger Cloud. |
Why Tiger Cloud's SOC 2 report cannot be cited for a self-hosted TimescaleDB without confirming scope
A Tiger Cloud SOC 2 Type 2 report describes the hosted Tiger Cloud service. It says nothing about a TimescaleDB instance you install and run yourself. Tiger Data's security documentation says the report is available through a support ticket to Scale and Enterprise customers, and it does not mention ISO 27001 at all. Your assessor will therefore want evidence for the host operating system, the PostgreSQL and TimescaleDB binaries, backups, patching and administrative access, and all of that sits in your environment. Ask Tiger Data in writing which systems, locations, period and criteria any report covers before anyone cites it in your SOC 2 or ISO 27001 file. Store that written answer next to the report request, because it sets the limit of what the report can support.
The license choice belongs in the same file. Source code outside the tsl directory of the TimescaleDB repository is under the Apache License 2.0, while code inside tsl, and built shared object files with -tsl in their names, falls under the Timescale License. Record which artifacts you build, package and deploy, and the license each one carries. Data retention policies, continuous aggregates, the columnstore (Hypercore), job scheduling and functions such as time_bucket_gapfill are available only in the TimescaleDB Community Edition. The Apache 2 Edition does not include them, so any design that relies on them must name that edition in the file. Record the exact version you pin, such as 2.30.2 (published September 29, 2026), and the person who approved the edition and license position. Confirm current terms with Tiger Data and counsel before the design is frozen.
What an assessor will ask for, and how each side produces it
With self-hosted PostgreSQL, your team produces every artifact here from its own hosts, configuration files and identity records. Assessors usually start with how connections are admitted and what the server records, then move to who holds roles and how versions are tracked.
- Connection and logging configuration: Export
pg_hba.confand the logging settings inpostgresql.conf, includinglog_connections,log_disconnectionsandlog_statement. Show that remote access useshostssllines and, where client certificates are used,clientcert=verify-caorclientcert=verify-full. The PostgreSQL logging documentation explains each setting. - Protected log files: Logged statements can reveal sensitive data and plaintext passwords, so the log files are sensitive in their own right. Restrict read access to a named group, set file permissions, and document where logs are stored, how long they are kept and how they are rotated.
- pgAudit configuration and sample records: Provide the pgAudit settings in use and a dated sample of session and object audit entries. Describe its limits, since audit logging is best-effort and superusers cannot be reliably audited, then explain how superuser activity is controlled and reviewed.
- Role inventory and access reviews: Export every role with its memberships and privileges, and keep dated review records showing who approved each change.
- Version inventory and upgrade records: List each cluster's major and minor version against its support end date from the PostgreSQL versioning policy, and keep change records for every minor restart and major upgrade.
Confirm that log protection is written down and tested, because an assessor may ask who can read the files and when that access was last reviewed.
Self-hosted TimescaleDB runs inside the same PostgreSQL server, so every control in the PostgreSQL tab still applies. It adds evidence about which license governs the build and which features your team uses, because the license terms differ by code location and edition.
- PostgreSQL evidence carried over: Connection, logging, pgAudit, role and version records apply unchanged. Track the TimescaleDB extension version in the same inventory.
- License decision record: Document whether deployed code comes only from the Apache 2.0 parts of the repository or includes Timescale License builds, whose shared object files carry
-tslin their names. Record the decision, the approver, the date and the trigger for review. - Feature usage map: List the features in use, such as continuous aggregates, the columnstore (Hypercore), data retention policies, job scheduling and
time_bucket_gapfill. The feature comparison places several of these only in the Community Edition, so each one in use must match an entry in the license record. - Extension upgrade records: Keep change tickets for each TimescaleDB upgrade, such as the 2.30.2 release published September 29, 2026, with the test results that preceded it.
Confirm that the decision record matches the packages installed on each host, since an assessor may compare the two directly.
With Tiger Cloud, Tiger Data operates the database and produces some of the evidence, while your team still produces the access, configuration and retention records for its console and your data. The security documentation describes a SOC 2 Type 2 report, but it does not mention ISO 27001 and does not describe customer-facing audit logs, so confirm both before you rely on the platform.
- SOC 2 Type 2 report: Tiger Data's docs say the report is available through a support ticket for Scale and Enterprise customers. Confirm its period, its scope and the complementary controls you must operate on your side.
- Data processing addendum: Obtain the current DPA and have counsel check it against your jurisdiction and data handling requirements.
- SSO and MFA enforcement: Console roles are Owner, Admin and Viewer. SAML SSO and MFA are supported, and Owners and Admins on Scale and Enterprise can enforce both. Export the enforcement settings with dates and the list of accounts holding Owner and Admin roles.
- Vendor and customer logs: Tiger Data says operations staff logins to service virtual machines are audit logged, but the docs do not describe logs available to customers. Ask what your team can receive and how long it is kept, and log connections on your side where the platform allows it.
- Timescale License position: Ask which license covers the build your managed service runs, and record the answer in your license decision record.
Check the report's scope against the services you actually use, because a SOC 2 report only covers the systems inside its described scope.
A database connection becomes audit evidence only through logs you control
The diagram starts with application and admin clients. Each connection must pass pg_hba.conf rules that accept only hostssl connections and can require client certificates, as the PostgreSQL SSL documentation describes. Server logs and pgAudit records then flow into a log store with restricted access, which feeds the evidence set the assessor reviews. Plan a compensating control for superuser sessions, because pgAudit's README says superusers cannot be reliably audited. Tiger Cloud sits in its own boundary and matters only if you choose a hosted service.
Client connections, logging and the evidence set inside the organization's own boundary.
Configuring PostgreSQL controls for SOC 2 and ISO 27001 audits
The sequence below turns PostgreSQL and any TimescaleDB extension into controls an assessor can test: supported versions, encrypted and certificate-checked connections, logging, licensing, vendor assurance and a mapped evidence folder. Each step names who performs it and the output that shows it is finished. Run the steps in order, because the later evidence depends on the earlier configuration.
Confirm supported major versions and plan upgrades
The database administrator checks every cluster's major version against the PostgreSQL versioning policy. PostgreSQL 14 support ended on November 12, 2026, and PostgreSQL 15 support ends on November 11, 2027, so any cluster on 14 needs an upgrade plan now. Minor releases arrive at least once every three months and replace executables without changing the storage format, so they can run as routine maintenance. For major upgrades, confirm which documented path (pg_dumpall and restore, pg_upgrade, or logical replication) the team will test. Done when a current inventory lists each cluster, its version, its support end date and a dated upgrade plan agreed with the system owner.
Require encrypted, certificate-checked client connections
The DBA and network team edit pg_hba.conf so that remote access uses hostssl lines only, and each of those lines sets clientcert to verify-ca or verify-full. verify-ca checks that the client certificate chains to a trusted authority, and verify-full also requires the certificate's common name to match the database user. Confirm the certificate authority and issuance process with the client's PKI team, since those come from their environment. Remove host lines that allow plaintext connections from application subnets. Done when a plaintext connection attempt is refused, a client without a valid certificate is refused, and the reviewed pg_hba.conf is stored with its change ticket.
Set connection and statement logging levels
The DBA enables log_connections and log_disconnections, then sets log_statement to none, ddl, mod or all. The PostgreSQL logging documentation warns that logged statements might reveal sensitive data and plaintext passwords, so match the level to the data the database holds. The all setting logs every statement, which can expose personal or payment data in the log file, while ddl or mod captures schema or data changes with less exposure. Restrict read access to the log directory and set retention in the logging standard. Done when a test login, a test disconnect and a test DDL statement appear in the log and the reviewer has signed the chosen level in the logging standard.
Add pgAudit and document its limits
The DBA installs pgAudit and configures session logging by statement class and object logging for SELECT, INSERT, UPDATE and DELETE on tables with regulated data. The README says audit logging is best-effort and superusers cannot be reliably audited, so the risk register must record that gap. Compensating controls to evaluate include limiting superuser use to documented break-glass sessions and shipping logs off the database host. Confirm the approach with the assessor before fieldwork. Done when a test SELECT on a sensitive table appears in the audit log, the settings are in version control, and the superuser gap is an accepted risk with a named owner.
Check Timescale License scope before enabling features
Review which TimescaleDB components the team will install. The LICENSE file places code outside the tsl directory under Apache License 2.0 and code inside it under the Timescale License, and shared object files with -tsl in their names fall under the Timescale License. Tiger Data's editions page lists continuous aggregates, the columnstore (Hypercore), data retention policies, job scheduling and time_bucket_gapfill as available only in the Community Edition and absent from the Apache 2 Edition. Record the edition and each licensed feature in the license register, and confirm the terms with counsel before enabling anything. Done when the register names the edition, lists the enabled licensed features and carries counsel's written approval.
Obtain Tiger Cloud report, enforce SSO and MFA
This step applies only if the team chooses Tiger Cloud. The vendor's security documentation says a SOC 2 Type 2 report is available by support ticket to Scale and Enterprise customers, so open that ticket and confirm the report's period and scope. The documentation does not mention ISO 27001, so request any ISO evidence in writing. Owners and Admins configure SAML SSO and MFA, then enforce both. Customer-facing audit logs are not described, so ask about them. Done when the report is on file with its date and scope, and an access review shows every Console user signs in through SSO with MFA.
Build the evidence folder mapped to criteria
The compliance lead builds one evidence folder and maps each artifact to its control: for SOC 2, the criteria CC1 to CC9 and any added categories; for ISO 27001, the Annex A entries in the statement of applicability. Artifacts from steps 1 to 6 go in: the version inventory, pg_hba.conf with its change tickets, logging and pgAudit settings with test output, the license register and the SSO and MFA enforcement record. Done when every mapped row names an owner, a file location and the date of its last review, and the database entries in the statement of applicability match the folder.
What do buyers ask before hiring help for a SOC 2 or ISO 27001 database review?
How much effort does a SOC 2 or ISO 27001 database review take?
Effort depends mostly on how many database clusters are in scope, how the log pipeline is built, whether the databases are managed or self-hosted, and which audit type and observation period apply. A single self-hosted PostgreSQL cluster with a documented log pipeline is a smaller job than several clusters spread across VMs and Kubernetes, each with its own logging and access paths. Managed services move part of the work to the provider, but you still need the provider's evidence alongside your own configuration records. A SOC 2 Type 2 review adds an observation period, during which controls must operate and evidence must be collected across that window. An ISO 27001 review also covers the management system around the database, so documentation and internal audit work tend to grow with the number of teams involved. Ask any provider to size these drivers in the written scope before you compare quotes.
How long does a database review engagement take from start to finish?
The timeline belongs in the written scope, and you should ask for it before comparing proposals. Most DeployOpen engagements are fixed-scope, which means scope, deliverables and timelines are agreed in writing before work starts, so the schedule should appear in that document. For SOC 2 Type 2, the observation period is set with your auditor, and it is usually the longest fixed element in the plan. Evidence collection, control fixes and auditor fieldwork then run inside that window, so a late start on the logging pipeline or access reviews can move the report date. Ask your auditor which observation window they expect, and ask the implementation partner to map each milestone to the control it supports. For ISO 27001, the certification body sets its own audit calendar, so confirm the dates with it before you commit to a launch date.
What does the database team need to provide for a SOC 2 review?
Plan on providing named control owners, configuration access, a working log pipeline and change records. Each control needs one named person who answers for it and can explain how it operates day to day. The review team needs read access to the relevant configuration, including connection logging settings, the encrypted connection and client certificate rules in pg_hba.conf, and the lists of database roles and their members. Logs must reach a place where they are retained and can be sampled, so the pipeline and its retention settings need to be documented. Change records for upgrades, configuration edits and access grants show that controls operated over time. Your team also has to decide which data classes are in scope, because the database evidence follows from that decision. Agree on these items before work starts so the written scope can name who provides what.
Can our own team run a SOC 2 or ISO 27001 database review alone?
Yes, a team with solid PostgreSQL operations skills can prepare most of the technical evidence in-house, including configuration records, backup evidence, access reviews and log settings. The gap is independence. The report or certificate comes from an independent auditor for SOC 2 or an accredited certification body for ISO 27001, and that party tests the evidence itself. Internal staff are essential for explaining systems to the assessor, and a readiness review by an outside party can show where evidence falls short before the formal assessment starts. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. Decide early who will own each control after the engagement ends, because the controls must keep operating through the observation period.
What does a SOC 2 or ISO 27001 database review cost?
DeployOpen quotes from the written scope and does not publish a price list. The quote covers the implementation partner's work, such as planning, hardening, configuration, evidence preparation, testing and documentation, as agreed in the scope. Other costs sit outside that quote. The auditor or certification body charges its own fees for the assessment, and those fees depend on its scope and the audit type. If you need SSO and MFA enforcement for the database console, your Tiger Data subscription tier matters, because Owners and Admins can enforce both on Scale and Enterprise plans. Internal staff time, hosting and any licensing costs also belong in the budget. Ask each party for a quote split into these components, and mark which parts are one-time and which recur, such as retainers for upgrades or continuous testing.
Does Tiger Data's SOC 2 report cover a self-hosted TimescaleDB instance?
Confirm this in writing with Tiger Data before you rely on it. Tiger Data's security documentation says Tiger Cloud has a SOC 2 Type 2 report, available through a support ticket to Scale and Enterprise customers, and it does not mention ISO 27001. The report is tied to Tiger Cloud, the managed service, so do not assume it describes a database you run on your own infrastructure. Ask Tiger Data whether the report covers any self-hosted deployment, which systems and controls it includes, the observation period, and whether it covers the features you plan to use. Request the ISO 27001 position in writing if you need it. Your auditor will expect vendor evidence for any component that touches your data, so request the report and scope statement early and review the data processing terms in the Tiger Data DPA.
How DeployOpen prepares database controls and evidence for your audit
DeployOpen plans, implements, hardens and documents self-hosted PostgreSQL or TimescaleDB inside your own infrastructure, then prepares the database controls and evidence your SOC 2 or ISO 27001 assessor will ask for. We do not issue audit reports or certifications; independent auditors and certification bodies do that. The written scope names every system, control and evidence item before work starts.
How we scope
- The written scope names which PostgreSQL or TimescaleDB systems, versions and environments fall inside the audit boundary.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before any work starts.
- Scope also records which TimescaleDB edition features are in use, since some features differ by edition.
How we build
- Configure
log_connections,log_disconnectionsandlog_statement, and review what logged statements could expose. - Enforce encrypted connections through
hostssllines inpg_hba.conf, with client certificate checks where scope requires them. - Deploy pgAudit for session and object logging, and document its best-effort limits, including that superuser activity cannot be reliably audited.
How we hand over
- Deliver a control matrix linking each in-scope SOC 2 criterion or ISO 27001 Annex A control to its database setting.
- Include configuration baselines,
pg_hba.confand logging settings, and dated change records for each database. - Record which PostgreSQL roles, accounts and privileged logins exist, and who approved each one.
How we support
- Run evidence collection on a schedule so logs, configuration snapshots and backup tests are ready before the assessor asks.
- Ongoing support, upgrades and continuous testing are available as retainers, so controls stay current between audit cycles.
- PostgreSQL 14 was supported until November 12, 2026, so confirm no system in scope still runs it.

