PostgreSQL or Redis for GDPR and EU data residency: which fits
PostgreSQL fits when your organization runs the data in infrastructure it controls inside the EU, because the open source project has no vendor DPA and the operator that runs it carries the GDPR obligations. Redis fits when the plan you buy has a Data Processing Agreement, a subprocessor list and EU hosting regions confirmed in writing before you sign. The decision turns on three questions: where personal data sits, which vendors can touch it, and whether any third-country transfer exists under Chapter V of the GDPR. This section covers only the compliance angle. The general comparison of licenses, architecture and operating effort lives on the PostgreSQL vs Redis page. Neither product is certified by this page or by DeployOpen, and nothing here is an audit report or attestation.
Start with a data map for the database: which tables and columns hold personal data, and which copies exist in staging environments, replicas, backups, exports and logs. With self-hosted PostgreSQL, the boundary is your own infrastructure, so the controls an assessor asks about are yours to configure and evidence. That includes TLS for client connections through the documented SSL settings, connection and statement logging through log_connections and pgAudit, and restricted roles for anyone who can read personal data. With Redis, the question moves to the vendor. Read the current terms in the Redis legal hub, which lists a DPA for customers, a Subprocessors page, Technical and Organisational Measures and an EU Data Act Addendum. Then confirm in writing which entity acts as processor, which subprocessors can reach hosted data, and where the keys and backups sit for the plan you buy. Transfer mechanisms and EU region availability are items to confirm, not assume.
Ask the Redis vendor for the signed DPA, the current subprocessor list with its change notification terms, the Technical and Organisational Measures document, the region list for your exact plan, and the transfer mechanism for any subprocessor outside the EEA. For PostgreSQL, the evidence is your own: a record of processing that names the cluster, its replicas and its backup location, network diagrams showing that none of these leave EU infrastructure, and a patch record. Plan for the PostgreSQL versioning policy as well. PostgreSQL 14 support ended on November 12, 2026, while PostgreSQL 17 is supported until November 8, 2029, so a new EU deployment should start on a supported major version. Security of processing under Article 32 of the GDPR and the breach notification duties in Articles 33 and 34 apply under either product, so plan the detection and notification path for both. Agree the final position with your data protection officer or counsel, because this page is not legal advice.
Which side fits which residency situation
Choose PostgreSQL when personal data lives only in a database your organisation runs inside the EU, on hosts it controls. Because PostgreSQL is self-hosted, the data stays where the operator runs it, and the open source project has no vendor DPA. The residency question then becomes an operations question: which hosts, replicas and backups hold the data, and who can reach them.
- Copies: Standbys, backups and archived WAL are copies of the data, so map each one to an EU location you control.
- Encryption: Document how you configure SSL for client connections and which at-rest encryption you apply, then tie both to your Article 32 security of processing analysis. The encryption options page covers the choices.
- Audit trail: Set error reporting and logging deliberately, and evaluate pgAudit if assessors will ask who accessed personal data.
- Supported versions: PostgreSQL 14 reached the end of its support window on November 12, 2026, while 15 is supported to November 11, 2027, so plan moves off unsupported majors.
- Contracts: Your own processor agreements apply to any hosting provider or contractor you use, because the open source project has no vendor DPA.
Check that every copy, including backups and replicas, sits in EU locations you have documented, and that operator access is limited to named staff.
Choose this side when a managed Redis plan is acceptable and you need a contract with the vendor for personal data. Redis's legal hub lists a Data Processing Agreement for customers, a Subprocessors page, Technical and Organisational Measures and an EU Data Act Addendum. This side fits only if the plan can keep data in an EU region under a transfer mechanism you have confirmed.
- DPA: Request the current DPA, review it with counsel, and sign it before any personal data reaches the service. File it with your processor records.
- Subprocessors: Compare the subprocessor list with your own register, and ask how changes are notified under the DPA.
- EU regions: Get in writing which EU regions the plan can run in, and whether backups, replicas and support access stay in those regions.
- Transfers: Ask which transfer mechanism covers any access from outside the EU, including vendor support, and how it maps to Chapter V of the GDPR on transfers to third countries.
- Security evidence: Use the Redis Trust Center as a starting point, and request the evidence behind any control you need to cite in your own assessment.
Confirm regions, transfer mechanisms and the DPA text in writing before approval. Treat a plan that cannot pin personal data to an EU region as outside this situation.
Choose this pattern when Redis holds session tokens, cached profile fields or other personal data while PostgreSQL stays the system of record. A cache copy that identifies a person is still personal data under the GDPR, so Redis belongs in the same residency and security review as the database. Redis Open Source 8.0 and later can be used under RSALv2, SSPLv1 or AGPLv3, at your choice, so the license you adopt shapes what your legal team reviews.
- Inventory: List each key pattern that holds personal data and the PostgreSQL table it copies, so the processing record covers both stores.
- Retention: Set expiry on session and cache keys, and confirm the schedule removes personal data when your retention rules require it.
- Persistence files: Snapshots and append-only files are copies on disk. Place them in an EU location you control and apply the encryption standard your database uses.
- License line: Redis 7.2.x and earlier are BSD-3-Clause, 7.4.x to 7.8.x use RSALv2 or SSPLv1, which are not OSI-approved, and 8.0 and later offer AGPLv3 among the choices. Pin the version and have counsel review the license for your deployment.
- Patch level: The 8.x line reached 8.10.2 on September 17, 2026 as a security release, so include security releases in the operating plan.
Confirm the Redis version and license in production, where persistence files land, and that session data sits under the same processing records and retention rules as PostgreSQL before approving the design.
What GDPR asks of a database for EU data residency
Chapter IV of the GDPR sets the duties that land on the team running the database. Articles 24 to 43 define controller and processor obligations, and a self-hosted PostgreSQL leaves the organisation holding the controller side. Article 32 requires security of processing, which means written decisions on encryption, access control, logging and backups, each tied to a setting an assessor can inspect. Articles 33 and 34 cover breach notification to the supervisory authority and, where the risk is high, to affected people, so the team must know which logs would reveal an incident. Start with the TLS settings, the logging parameters in postgresql.conf and whether pgAudit records statements. Confirm each one on the running cluster and keep the output as evidence.
Chapter V governs where personal data is stored and who can reach it from outside the EU. Articles 44 to 50 require a documented transfer mechanism whenever data, or remote access to it, leaves the EU. With self-hosted PostgreSQL, the storage location is wherever the organisation runs the cluster, so the question becomes a list: primary and standby nodes, backup targets, object storage, log shipping, monitoring exports and support sessions. For each, record the physical region and who holds administrative access from outside the EU. The open source project has no vendor data processing agreement, so any contractor who administers the cluster needs its own written terms. Redis's legal hub lists a Data Processing Agreement, a subprocessors page and technical and organisational measures, but the transfer mechanisms and EU regions still need confirming directly with Redis or the hosting provider.
Under Article 83, infringements of obligations such as Articles 25 to 39, which include security of processing and breach notification, carry maximum fines of EUR 10 million or 2% of total worldwide annual turnover. Infringements of the principles, lawful basis, data subject rights and transfer rules carry EUR 20 million or 4%, whichever is higher in each case. The national supervisory authorities named in Article 51 enforce these rules, and the European Data Protection Board resolves disputes between them through binding decisions. No product carries a GDPR certificate, so the evidence an assessor asks for comes from the organisation's own records: the record of processing, a data location register, configuration exports, backup restore test logs, the breach runbook and access reviews. Start collecting those records before the first assessment, because a self-hosted stack has no vendor certificate to point to.
How each side meets GDPR and EU data residency duties, as documented
This table sets out what each database documents for GDPR and EU data residency duties, row by row. Read the PostgreSQL column as what the open source project provides (a license and documentation) and the Redis column as what the vendor's legal hub offers (contract and policy documents). The main takeaway: for self-hosted PostgreSQL, residency and processor duties sit with your own environment, while for Redis you must confirm contract terms, EU hosting and transfer mechanisms with Redis before you rely on them.
| Requirement | PostgreSQL | Redis |
|---|---|---|
| Data location | Self-hosted, so data stays where you run it, whether in an EU data center or on-premises. | Self-hosted Redis keeps data where you run it. For Redis Cloud, ask Redis to confirm available EU regions. |
| Processor contract | No vendor DPA exists for the open source project. Your contracts are with your hosting providers and any implementation partner. | Redis's legal hub lists a customer Data Processing Agreement. Confirm it covers the plan and product you buy. |
| Subprocessors | Nothing from the project adds subprocessors to your chain. Your hosting provider and backup vendors are your subprocessors. | Redis publishes a Subprocessors page on its legal hub. Check it against the services you use and watch for changes. |
| Transfers to third countries | Set by where you run it. No vendor transfer mechanism applies, so transfers are your decision to make. | Ask Redis for its transfer mechanism and whether support access happens outside the EU. |
| Technical and organisational measures | The SSL and logging pages document settings. Your team owns the measures, access control and hardening. | Redis publishes a Technical and Organisational Measures document on its legal hub. Request it and map it to your own controls. |
| Encryption in transit | SSL for TCP/IP connections is documented. You issue certificates and decide which connections must use SSL. | Confirm TLS settings for your exact version and deployment against Redis's security documentation. |
| Audit logging | Server logging is documented. pgAudit is a separate extension to evaluate for auditable statement logs. | The Redis Software audit events page lists events for that product. Confirm coverage for your edition and version. |
| Breach notification terms | No vendor notification terms apply. Your incident process must meet the GDPR Article 33 duty to notify the supervisory authority. | Confirm whether the customer DPA sets breach notification terms, and their timing and scope. |
| Supported versions and licensing | PostgreSQL License. 14 ended November 12, 2026; 15 to November 11, 2027; 18 to November 14, 2030. | AGPLv3, RSALv2 or SSPLv1 from 8.0. 7.4.x to 7.8.x: RSALv2 or SSPLv1. 7.2.x and earlier: BSD-3-Clause. |
Where personal data flows and where transfers start
This illustrative flow shows one possible layout. Personal data starts in the application tier inside the EU trust boundary, which reads and writes the PostgreSQL primary and caches reads in a Redis cache in the same boundary. The primary replicates to an EU standby, and backups are kept in the EU. The four nodes outside the boundary mark where data may leave it: an off-site backup copy, a Redis hosted component if you choose one, vendor subprocessors, and vendor support access. Map each marked point under the GDPR transfer rules in Chapter V, and confirm with the vendor where data is processed and which transfer mechanism applies.
Illustrative flow: EU boundary with transfer points marked outside it.
What an assessor asks for under GDPR and EU data residency
Because PostgreSQL is self-hosted, no vendor signs a DPA for the open source project, so the evidence file comes from your own records. An assessor will want to see where each cluster runs, how connections are encrypted, what is logged and whether the version is still supported. DeployOpen can prepare configuration write-ups and version records, but the organization owns the data-flow map, access reviews and breach runbook.
- Data-flow map and hosting location. The organization lists every primary, replica, backup target and support access path, with the region or data center where each sits.
- TLS configuration. The organization documents settings from the PostgreSQL SSL documentation, including
sslserver settings, certificate handling andhostsslentries inpg_hba.conf. - Logging and the pgAudit decision. The organization records what the runtime logging settings capture, then either the pgAudit configuration with the installed version or the reason it was not adopted.
- Version and patch records. The organization records the running major version against its support window. Version 14 ended support on November 12, 2026, version 15 runs to November 11, 2027 and version 18 to November 14, 2030.
- Backup location, access reviews and breach runbook. The organization shows where backups are stored, who reviewed database access and how a personal data breach is handled under Articles 33 and 34 of the GDPR.
Check first whether any cluster still runs PostgreSQL 14, then confirm each hosting location with the team that operates the hardware.
Redis publishes its own legal documents, so part of this file comes from the vendor and part from your organization. Redis's legal hub lists a customer Data Processing Agreement, a Subprocessors page, Technical and Organizational Measures and an EU Data Act Addendum. These describe Redis's position but do not settle where your data sits, so EU region availability and transfer mechanisms need written confirmation for your plan.
- Signed DPA and dated Subprocessors snapshot. Redis issues the DPA and maintains the Redis legal hub. The organization files the signed copy and saves a dated snapshot of the Subprocessors list, since an assessor will ask which list applied on each processing date.
- Technical and Organizational Measures. Redis produces this document. The organization maps its own controls to it and marks which measures depend on its configuration, such as network exposure, authentication and key handling.
- Written EU region confirmation. Redis confirms in writing which region hosts the plan's data and whether backups and support access stay in the EU. The answer can differ by deployment model, so confirm it for each one.
- Version records. The organization records the running version in each environment. The current line reached 8.10.2 on September 17, 2026 as a security release, so the patch date belongs in the file.
- Audit event exports and license terms. Redis 8.0 and later can be used under RSALv2, SSPLv1 or AGPLv3 at the user's choice, while 7.4.x to 7.8.x use RSALv2 or SSPLv1. Confirm exports in the Redis Software audit events documentation, since they depend on the deployment model.
Check that the signed DPA, the Subprocessors snapshot and the EU region letter name the same plan and version your environment runs.
Where Redis adds copies of personal data an assessor will trace
Redis keeps its working data in memory, so any personal data written to a Redis key or value is a copy that belongs in the data map, the residency scope and the retention rules, even when PostgreSQL remains the system of record. Persistence and replication add further copies. Depending on configuration, snapshot files and append-only logs may be written to disk, and each replica holds a full copy of the dataset. Every one of these locations needs an owner, a region and a deletion path. Redis Open Source 8 also includes the Redis Query Engine for vector, full-text and geospatial search, so an index built over personal data is another copy that must be mapped, including the fields it stores and the nodes that hold it. Ask the platform team which persistence and replication settings are active in each environment, and whether any index exists that is missing from the design documents.
The first question to settle is whether keys or values identify a person. A key such as a session identifier or a user reference, and a value such as a cached profile, can be personal data on its own or in combination with other information. If they are, the same residency and transfer questions that apply to PostgreSQL apply to Redis: where each instance runs, which region holds its replicas and backups, and whether any support or telemetry access takes data outside the EU. If keys are opaque and values hold no personal data, the scope narrows, but that conclusion must be written down, tested against sampled production and staging keys, and reviewed, so the assessor sees evidence rather than an assumption.
The license choice also needs attention. Redis Open Source 8.0 and later can be used under a license of the user's choice among RSALv2, SSPLv1 and AGPLv3, effective from the general availability release of Redis 8. The terms under which a self-managed deployment runs depend on that choice, and they affect what the organization may do with the software, including offering it to others as part of a service. Confirm the chosen license and its obligations with counsel before it is written into the evidence pack, and record the version and license of each environment. For vendor-side material, the Redis legal hub lists a Data Processing Agreement for customers, a Subprocessors page and technical and organizational measures, but these apply to Redis's own offerings, so confirm the transfer mechanisms and EU regions with Redis directly.
Configuring PostgreSQL for a GDPR residency review, step by step
Eight steps take a PostgreSQL deployment from an inventory of personal data to an evidence pack an assessor can review. Each step names who does the work and the record it leaves behind, so the sequence can be checked line by line.
Inventory tables and caches that hold personal data
The data owner and the database administrator list every PostgreSQL table that stores personal data, along with the columns, the data subjects and the application that writes to each one. Any cache, search index, log or export that copies those values goes on the same list, including Redis keys if Redis is part of the design. The inventory is done when each entry has a named owner and the owner has signed off on it, because the location and access steps that follow are checked against this list.
Record the EU host and backup location in writing
The infrastructure lead writes down every host that runs PostgreSQL, the data center or cloud region it sits in, and each place a backup, WAL archive or replica is kept. PostgreSQL is self-hosted, so the data stays wherever your team runs it, and there is no vendor data processing agreement for the open source project to add to the file. The register is complete when a second person can trace every copy of the personal data from the inventory to a named location in the agreed EU area.
Choose a supported PostgreSQL major version
The platform lead picks a major version that is still in support on the day the system goes live, using the versioning policy table. Version 14 is listed as supported through November 12, 2026, so confirm its status before choosing it for any new deployment. Version 15 is supported until November 11, 2027, version 16 until November 9, 2028, version 17 until November 8, 2029 and version 18 until November 14, 2030, with minor releases at least once every three months. The output is one record per cluster that shows the version, its end date and the person who owns the upgrade plan.
Enable and verify TLS for client connections
The database administrator turns on SSL in the server configuration, installs a certificate issued by the organization's certificate authority and sets
hostsslentries inpg_hba.confso that clients must connect encrypted. Clients are then tested with certificate verification enabled. The check is complete whenpg_stat_sslshows encrypted sessions for every application and a plain connection attempt from a test host is rejected. Encryption at rest is a separate control, so confirm it with your storage team against the PostgreSQL encryption options.Configure logging, retention and the pgAudit decision
The database administrator sets the logging parameters in the server configuration, covering connection and disconnection events, a log line prefix that identifies the user and database, and the log file destination. Log retention follows the period your records policy requires, and the log store stays in the agreed location from step two. The team then decides whether to add pgAudit, which writes statement-level audit records for chosen tables holding personal data, at the cost of more log volume and one more configuration to maintain. The step closes when a test login, a read and a write each produce the expected entries and the decision is recorded.
Restrict database roles and host access
The database administrator creates separate roles for migrations, the application and read-only reporting, and grants each role only the privileges it needs on the tables in the inventory. Host access is limited in
pg_hba.confand the network firewall to the application subnets and the administration host. The check is a short test: the application role reaches only its own tables, the reporting role cannot write, and a connection from an unlisted host fails. The output is a role and host access matrix signed by the data owner.Confirm backups and replicas stay in location
The operations lead lists every standby, backup, archive and snapshot taken from the cluster, including any logical dump made with pg_dumpall, and checks the storage target and region of each against the register from step two. Any copy that leaves the agreed location is moved or removed from the design before go-live. The step is complete when a restore test runs from a backup inside the agreed location and the result is attached to the register.
Assemble the evidence pack for review
The compliance lead gathers the outputs from steps one to seven into one pack: the inventory, the location register, the version and end date record, the TLS configuration and test output, the logging and pgAudit decision, the access matrix, the backup location checks and the change records. DeployOpen can prepare this evidence, but an independent assessor decides whether it is sufficient, and DeployOpen does not issue audit reports or certifications. If Redis is chosen, the same inventory and location steps apply, with the vendor confirmations added: the data processing agreement, subprocessor list, technical and organizational measures and EU Data Act addendum in the Redis legal hub, plus the transfer mechanisms and EU regions, which still need to be read and confirmed with the vendor.
What buyers ask before hiring help for GDPR data residency work
How much effort does a GDPR data residency review take?
The effort depends on how many data stores are in scope and what personal data they hold. The drivers that move it most are the number of data stores, whether personal data reaches Redis at all (for example, in cached session values, which is illustrative), how many vendor contracts still need negotiating, and how much logging and access control already exists. A team with a current data inventory, documented access and signed vendor terms starts well ahead of one that must first find where personal data lives. Ask for the effort to be broken down by system in the written scope, so each driver has a visible line. Expect privacy and legal staff to spend time on data flow and transfer questions alongside the technical work.
How long does a GDPR data residency engagement take?
The timeline is agreed in writing before work starts, and this page does not quote one. Scope, deliverables and timelines are set out in the written agreement for each engagement, so the schedule follows the systems and evidence you ask for. The main variables are the number of systems, how quickly your team can provide hosting access and data owners, how long vendor contract copies take to arrive, and whether upgrade change windows must be booked. Legal and privacy review often sets the pace because it depends on people outside the technical team. Ask the provider to show the dependencies it expects from your side and how each one affects the calendar before you sign.
What does a data residency review need from our team?
The work needs hosting access, named data owners, copies of vendor contracts, change windows for upgrades and input from legal and privacy staff. Access to the environment lets the provider check where databases and caches run, how they are configured and what they log. Data owners confirm what personal data each store holds and why it is kept. Vendor contract copies show what is already agreed on processing, subprocessors and transfers, which the evidence file depends on. Upgrade change windows matter if a fix requires a restart or a version change. Legal and privacy input confirms the lawful basis, retention and transfer positions that the technical evidence has to support. Agree these responsibilities in the written scope so that delays have an owner.
Can our own team do GDPR data residency work without a partner?
An internal team can do much of this work, but the controller remains responsible for GDPR compliance. The GDPR assigns obligations to controllers and processors, including security of processing under Article 32 and breach notification under Articles 33 and 34, and national supervisory authorities enforce them under Article 51. A partner can prepare systems, configuration and evidence, but it cannot take on the controller's legal duties. Your team should decide whether it has the time, the database and security skills, and the privacy input to produce a defensible file. Keep the evidence for each control, record decisions on data location and transfers, and be ready to show regulators how you handled a breach. Read the GDPR text on EUR-Lex and confirm the specifics with your privacy counsel.
Does DeployOpen certify GDPR compliance for our databases?
No. DeployOpen does not issue audit reports, attestations or certifications, and it does not decide whether your processing complies with the GDPR. DeployOpen plans and implements self-hosted platforms in your infrastructure, hardens them, and prepares the systems, controls and evidence that assessments review. Independent auditors and certification bodies issue attestations where they apply, and national supervisory authorities decide how the GDPR applies to you. Ask any partner to state in writing which deliverables are technical configuration, which are documentation and which, if any, come from a third party. Your own legal and privacy team signs off on the compliance position.
Does Redis's customer DPA apply to a self-hosted Redis deployment?
Confirm this with Redis before you rely on it, because the answer depends on the deployment model. Redis's legal hub lists a Data Processing Agreement for customers, along with a Subprocessors page, Technical and Organisational Measures and an EU Data Act Addendum. Those documents describe Redis's own relationship with its customers, so a Redis instance you run on your own servers may not involve Redis as a processor at all. Ask Redis in writing whether its DPA covers the deployment model you plan to run, and which terms apply to licence, support or telemetry relationships. Also ask Redis directly about transfer mechanisms and EU hosting regions, since those are separate questions from the DPA.
What drives the cost of a GDPR data residency quote?
Scope drives most of the quote, and it is set out in writing before work starts. The main drivers are the number of systems, such as each PostgreSQL cluster, Redis instance and backup target; the depth of evidence, from a configuration summary to a full control-by-control file; whether personal data reaches Redis and needs its own data-flow review; and whether retesting is needed after fixes. One-time work is quoted separately from ongoing items such as upgrades, continuous testing and support, which are available as retainers. When you ask for a quote, request a line for each system, each evidence deliverable, each retest and any retainer, with the assumptions about your side stated.
How DeployOpen prepares the residency evidence without certifying it
DeployOpen plans, implements and documents self-hosted PostgreSQL or Redis inside your own cloud accounts, data centers or air-gapped networks, so data location is set by where you run them. We prepare the controls and evidence a GDPR assessor will ask for, including configuration, logging and access records. We do not issue audit reports, attestations or certifications; independent auditors and certification bodies do that.
How we scope
- The written scope names which PostgreSQL or Redis deployments, environments and data stores are in the residency review.
- Scope fixes the regions, hosting locations and backup targets for each database, agreed in writing before work starts.
- Engagements are fixed-scope, so deliverables and timelines are agreed before work starts, with ongoing support available as a retainer.
How we build
- Build covers TLS for client connections, set up according to the PostgreSQL SSL documentation for the chosen version.
- Audit logging is configured with the PostgreSQL logging settings and, where the team chooses it, the pgAudit extension.
- For Redis, the build records the exact version and license option in use, since terms differ by release line.
How we hand over
- A written evidence pack covering data locations, encryption settings, access roles and backup targets for each database.
- Redis vendor documents to request: the Data Processing Agreement, subprocessors list and technical and organizational measures.
- Open items your team must confirm with Redis: transfer mechanisms and the EU regions available for your account.
How we support
- Retainers cover ongoing support, upgrades and continuous testing, so the evidence can be refreshed after each PostgreSQL or Redis change.
- PostgreSQL minor releases come at least once every three months, so schedule a recurring patch window.
- Confirm your PostgreSQL major version is still supported before scoping, using the published end-of-life dates.

