MongoDB Atlas vs MySQL for GDPR: which side fits EU data residency
Choose MongoDB Atlas if your team can accept the transfer terms in MongoDB's Data Processing Agreement and wants a managed hosting model with documented vendor commitments. Choose self-managed MySQL if the personal data must stay on infrastructure you run in a region you select, and your team is ready to carry every controller and processor duty itself. This section covers only the GDPR and EU residency question, and the general comparison sits on its own page. Start with the transfer terms in the DPA: MongoDB's agreement, last updated October 21, 2024, says MongoDB certifies to the EU-US Data Privacy Framework with UK and Swiss extensions and includes EU Standard Contractual Clauses in Schedule 1. Have counsel read the MongoDB Data Processing Agreement against your own transfer assessment before you shortlist Atlas.
Three decisions follow. First, decide whether your transfer assessment accepts the Data Privacy Framework certification, the EU Standard Contractual Clauses, or both, since Chapter V of the GDPR (Articles 44 to 50) governs transfers to third countries. Second, map where backups and support access sit for the cluster tier you plan to buy. Ask MongoDB which region holds Atlas backup snapshots, whether restores can be kept inside the EU, and from which countries support staff can reach your data. With self-managed MySQL, you decide where backups are written and who can reach the host, so record those locations and test a restore in the same region. Get each answer in writing before go-live, because a residency claim that covers only primary storage will not satisfy an assessor.
Third, settle who carries controller and processor duties. A self-managed MySQL server keeps data where you run it, so you choose the hosting region and answer for security of processing under Article 32 and breach notification under Articles 33 and 34 across the whole stack. With Atlas, the DPA sets terms for the vendor's part of the service, but you still choose the region, assign database roles and keep the evidence. Ask counsel to confirm which role MongoDB holds for Atlas under the DPA. Before the assessment starts, gather the signed DPA, any sub-processor list it references, your region and backup settings, and the access records that show who can reach production data.
Four situations where the answer changes
Each situation names the side that fits, the condition that would reverse it, and the check to run before deciding. Several answers depend on the vendor contract, the hosting region and your own operating duties, not on the database engine alone.
Illustrative: EU records on your servers
Illustrative example: a team holds EU customer records and must keep them on infrastructure it operates. A self-managed MySQL server keeps data where the operator runs it, and the operator chooses the hosting region and carries controller or processor duties. MySQL fits when the team can carry those duties in-house. The answer flips if an EU-hosted managed service meets the residency rule in writing, or if the team cannot run patching, backups and access reviews itself. Confirm the residency requirement with counsel before relying on this reading.
Transfer basis sits in the contract
MongoDB's Data Processing Agreement, last updated October 21, 2024, states that MongoDB certifies to the EU-US Data Privacy Framework with UK and Swiss extensions and includes EU Standard Contractual Clauses in Schedule 1. Atlas is the stronger document set when the transfer basis is the open question. The agreement does not show where your data is stored. Check the region you select, where backups and support access take place, and whether your assessor accepts these mechanisms for your data. The answer flips if the rule requires data to stay in the EU with no access from outside it.
Read the DPALicence terms for the server
MongoDB states that its server and tools released after October 16, 2018 fall under the Server Side Public License v1.0, which is not an OSI-approved open source license. Earlier versions are under the GNU AGPL v3.0. Self-managed commercial MongoDB runs through MongoDB Enterprise Advanced, priced through sales. MySQL Community Edition is available under the GPL. If your procurement or legal review requires OSI-approved licensing, MySQL is the simpler fit. The answer flips if your team accepts SSPL terms and needs MongoDB's document model, or if a written quote for Enterprise Advanced fits your plans.
Support window for the version
MySQL's LTS track follows the Oracle Lifetime Support Policy, with premier and extended support phases, while the Innovation track is supported only until the next Innovation release. The MySQL Community Server download page currently lists 9.7.2 LTS and 8.4.11 LTS alongside 26.7.0 Innovation. Pick the LTS track when you need a fixed support window across a long compliance cycle. The answer flips if your team can upgrade at each Innovation release and keep the change records an assessor will ask for. MongoDB's supported-version and upgrade policy is not covered here, so request it in writing before comparing the two.
- LTS premier support
- 5 years
What GDPR asks of a database holding personal data
GDPR does not name a database product, so its duties fall on the organisation that decides why and how personal data is processed (the controller) and on any vendor that processes it on that organisation's behalf (the processor). Choosing MongoDB Atlas or self-managed MySQL changes who carries which duties, while the duties themselves stay the same. Article 32 asks controllers and processors to implement security of processing measures suited to the risk. Articles 33 and 34 set breach notification duties toward the supervisory authority and, where the risk to individuals is high, toward the individuals affected. Chapter IV (Articles 24 to 43) sets the controller and processor obligations that a database team will be asked to evidence. Read the breach timelines from the Regulation text itself, then build them into your incident runbook and your vendor contract.
Residency and transfers are separate questions. A self-managed MySQL server keeps data where the operator runs it, so the operator chooses the hosting region and carries the controller or processor duties directly. With MongoDB Atlas, the vendor sits in the processing chain. Its Data Processing Agreement, last updated October 21, 2024, says MongoDB certifies to the EU-US Data Privacy Framework with UK and Swiss extensions and includes EU Standard Contractual Clauses in Schedule 1. Those are routes for transfers to third countries under Chapter V (Articles 44 to 50). A chosen cluster region answers where data rests, but it does not settle transfers on its own. For example, support access may originate outside the EU, so confirm that with the vendor. Ask MongoDB to confirm in writing which regions, support locations and subprocessors apply to your project, and record which transfer route you rely on for each one.
Article 83 sets two fine tiers, and the higher one covers transfer failures. Infringements such as those of Articles 25 to 39 carry maximum administrative 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. Enforcement sits with independent national supervisory authorities (Article 51). The European Data Protection Board established by Article 68 issues guidelines and resolves disputes between authorities through binding decisions (Articles 65 and 70). Before you choose, ask your data protection officer which authority supervises you, which transfer route covers each vendor, and whether the processor terms support your own breach deadlines. The Regulation text on EUR-Lex is the natural next read for the article wording.
How MongoDB Atlas and MySQL each meet GDPR duties as documented
This table sets out how MongoDB Atlas and self-managed MySQL each document the GDPR duties a database team meets. Read the Atlas column as vendor documentation to confirm against your contract and tier, and the MySQL column as features your edition must include. The main takeaway: Atlas shifts part of the processor evidence to MongoDB's contract, while self-managed MySQL keeps hosting location and controller duties with your team.
| Requirement | MongoDB Atlas as documented | Self-managed MySQL as documented |
|---|---|---|
| Security of processing (Article 32) | The DPA covers vendor security terms; confirm the Trust Center attestations apply to your deployment. | Your team designs and evidences the controls, using the encryption, MFA, role and audit features below. |
| Breach notification (Articles 33 and 34) | The DPA sets the vendor's breach terms; confirm notice timing and contacts with MongoDB before signing. | No vendor is involved; your incident process must meet the Article 33 and 34 deadlines. |
| Transfers to third countries (Chapter V) | The DPA certifies to the EU-US Data Privacy Framework with UK and Swiss extensions and includes EU SCCs in Schedule 1. | Relevant only if hosting, backups or remote support access sit outside the EU; assess any such transfer yourself. |
| Data location | You choose the cloud provider and region; confirm which regions and backup locations your plan allows. | The server stays where you run it; you choose the hosting region and carry the controller or processor duties. |
| Encryption at rest and in transit | Check the Atlas compliance pages for encryption controls and confirm they apply to your cluster tier. | InnoDB tablespace encryption and encrypted connections are documented for MySQL 8.4; confirm your edition includes them. |
| Identity and MFA | Confirm SSO, MFA and user authentication options for Atlas projects in current Atlas documentation. | MySQL 8.4 documents multifactor authentication; confirm your edition and authentication plugins support your model. |
| Role-based access | Confirm how Atlas project and database roles map to your least-privilege model before go-live. | MySQL 8.4 documents roles; design grants and review them on your own schedule. |
| Audit logging | Atlas database auditing is documented; confirm which events it captures and how long logs are kept for your tier. | MySQL 8.4 documents an audit log; confirm your edition includes it and where logs are stored and retained. |
| Backup and deletion | Confirm backup locations and how erasure requests reach backups under the DPA and your retention terms. | Backup, restore and deletion run on your own tooling; define retention and purge steps for copies. |
Where personal data moves and which transfer path needs documenting
This illustrative diagram starts with users in the EU reaching the application inside an EU infrastructure boundary. The application connects to one of two databases: a MongoDB Atlas cluster in a region the team selects, or a self-managed MySQL server in the organization's own EU data center. The transfer path to document sits on the Atlas side, where backup copies and vendor support access may leave the EU. Under Chapter V, record that path against the MongoDB Data Processing Agreement, which names EU Standard Contractual Clauses in Schedule 1 and Data Privacy Framework certification. Before relying on the diagram, confirm the cluster region, backup location and support access in writing.
Illustrative flow: EU-hosted databases and the Atlas backup and support transfer path.
What an assessor asks for in a MongoDB Atlas vs MySQL GDPR review
With Atlas, MongoDB produces the contract and service documents, and you produce the configuration evidence for your own cluster. MongoDB's Data Processing Agreement, last updated October 21, 2024, states that MongoDB certifies to the EU-US Data Privacy Framework with UK and Swiss extensions and includes EU Standard Contractual Clauses in Schedule 1. An assessor will read those terms first, but the region of your cluster is set in your own configuration, so it needs its own record.
- DPA version and date: Record the version you accepted and its date, October 21, 2024 for the DPA cited here, and confirm with MongoDB that it is still the current version when you file.
- Transfer terms: Confirm that the Data Privacy Framework certification and the Schedule 1 clauses cover the MongoDB entities and support access that apply to your contract.
- Auditing configuration: Export your database auditing settings from the Atlas database auditing documentation and keep the change history with the name of each person who changed them.
- Trust Center reports: Ask MongoDB which Trust Center reports apply to your tier and region. Treat each report as the vendor's statement and confirm its scope before you cite it in the review.
- Region and restore records: Keep the cluster region choice, the backup location and the restore procedure from the restore overview. A restore that lands in another region needs its own entry in your data flow register.
Check that every region, backup copy and restore target in your records matches what the cluster configuration shows on the day of the review.
With self-managed MySQL, the data stays in the place you run the server, so nearly all of the evidence is yours to produce. MySQL Community Server is GPL licensed and freely downloadable, but the license does not create any GDPR record. You choose the hosting region and carry controller or processor duties, so each record below falls to your team.
- Data flow register: You produce it. List every system that receives rows, logs, exports and backups, including replicas and any analytics copy.
- Hosting location records: You produce the site or cloud region for each primary, replica and backup, along with the staff groups that can access each location.
- InnoDB encryption and key custody: Document the tablespace settings from the InnoDB data encryption page, the keyring location, who holds it and the rotation log. Confirm that your keyring approach is supported for your release.
- Audit log configuration: Keep the audit log settings, destination and retention from the audit log page. Confirm with your edition provider whether the audit log component is included in your edition before you rely on it.
- Role grants and patch records: Export role grants from the roles reference on a set schedule. Keep patch records against the release track you run, such as the 8.4 LTS series, and confirm which track your support agreement covers.
Ask the auditor which records they will sample, then test that each one can be exported on demand without rebuilding it from memory.
Some items come from neither the database vendor nor the database team, and an assessor will ask for them under either option. You produce these records, and they connect the database evidence to the processing you run. Start them early, because they depend on contracts and decisions outside the database team.
- Signed processing agreements: Keep your signed copy of each processor agreement, with its version and date. For Atlas, that is the DPA. For self-managed MySQL, it is each agreement with the provider that runs your hosting.
- Transfer assessment: Write down the basis for any transfer to a third country under Chapter V (Articles 44 to 50), whether the Data Privacy Framework, the Standard Contractual Clauses or another mechanism, and record who approved it.
- Security of processing: Map each control in the two tabs above to the security duties in Article 32, so an assessor can trace a requirement to a specific record.
- Breach response: Keep the procedure for notifying the supervisory authority and affected people under Articles 33 and 34, with named contacts on the database team.
- Supervisory authority and guidance: Identify the national supervisory authority that oversees your organization (Article 51) and the European Data Protection Board guidance your counsel relies on (Articles 68 and 70).
Ask your privacy counsel to confirm this list before the review, because your controller and processor role decides which of these records you hold.
Configuring MongoDB Atlas or MySQL for GDPR, step by step
This sequence takes a team from an undocumented database to a GDPR file it can defend: a personal data map, region and transfer decisions, technical controls, tested restores and deletions, and an evidence pack with named owners. It applies to MongoDB Atlas and self-managed MySQL alike, with the differences called out in the steps where they matter.
Map personal data and where it can go
The privacy lead and the database owner list every personal data category stored in the cluster or server, including fields in application collections or tables, logs, exports, replicas and backups. For each one, record the regions the data may reach, including support access and any analytics copies. Output: a data map signed off by the privacy lead, which becomes the reference for every later step. Done when no location holds personal data without an entry in the map.
Pick the EU region and confirm backups
The infrastructure lead selects an EU region for the Atlas cluster or the MySQL host, then checks where every copy sits: snapshots and backups, replicas, log stores and any disaster recovery site. For Atlas, the cloud provider and region chosen at deployment set the primary location, so confirm in writing where backup copies are stored and which Atlas personnel or tooling can reach the data from outside the EU. For self-managed MySQL, you choose the data center yourself and carry the controller or processor duties for that choice. Done when the region map matches the data map and the backup target is documented.
Review transfer terms with counsel
Legal counsel reviews the contracts and the transfer position before any personal data lands in the database. The MongoDB Data Processing Agreement, last updated October 21, 2024, states that MongoDB certifies to the EU-US Data Privacy Framework with UK and Swiss extensions and includes the EU Standard Contractual Clauses in Schedule 1. Counsel confirms that these terms fit your transfer scenario and that the certification is current when you sign. For self-managed MySQL, the review covers the hosting provider and any support vendor you engage, along with whatever terms apply to the MySQL edition you run. Done when the signed agreements and a written transfer assessment are on file.
Enable encryption, TLS, MFA and roles
The database administrator turns on encryption at rest, encrypted connections, multifactor authentication for administrators and role-based access for applications and staff. The MySQL 8.4 documentation covers InnoDB data encryption, encrypted connections, multifactor authentication and roles, and each control needs a named key or certificate owner. For Atlas, confirm which encryption and access controls are on by default for your tier and which need configuring, then export the settings as evidence. Output: a configuration baseline with the key custodian named. Done when a test login without TLS or MFA is refused and a role review lists who holds which privileges.
Turn on auditing and set log retention
The security engineer enables database auditing for authentication, administrative actions and access to collections or tables holding personal data, then sets how long logs are kept and where they are stored. For Atlas, the database auditing documentation describes the setup, so confirm which events are captured and how logs are retained on your tier. For MySQL 8.4, the audit log documentation sets out the options, and you should confirm which audit component your edition ships with, because packaging differs between editions. Logs holding personal data are themselves in scope, so store them in the EU and restrict who can read them. Done when a sample audit record for a test admin login is retrieved and the retention policy is approved.
Test restores and deletions, then record results
The operations lead restores a backup into an EU-hosted test environment and confirms the data is complete and readable. The same lead then runs a deletion request for a test subject and checks that the record is removed from the primary store, replicas and the restore path. For Atlas, the restore overview describes the restore options, and mongodump can produce logical exports for independent checks. For self-managed MySQL, the restore runs on your own backup tooling, so the test also covers how deleted rows appear in older backups. Output: a dated test record with steps, results and any gaps. Done when the record names the tester and a reviewer.
Assemble the evidence pack with named owners
The compliance lead gathers the outputs from each step into one evidence pack: the data map, region and backup records, signed agreements and transfer assessment, configuration baseline, audit samples, log retention policy, and restore and deletion test records. Each item gets a named owner, a review date and a storage location. An assessor, including a national supervisory authority if the organization is investigated, will ask for these records. Output: an index that someone outside the project can follow. Done when every item has an owner and a date and counsel has reviewed the index once.
The cost of moving personal data between platforms later
Moving a database to another hosting model or region moves personal data again, and each move is a processing event that the organisation must document again. On the Atlas side, the export path starts with `mongodump` documentation from the MongoDB Database Tools, which writes BSON archives that are then restored into the target deployment. Atlas also offers its own restore path, so confirm with MongoDB which restore targets, regions and tiers your plan supports before you choose a route. On the MySQL side, your team runs the dump and migration itself: selecting the export method, scripting the transfer, validating row counts and checksums on the target, and cutting over the application. Either way, the new location must appear in your records of processing and transfer assessments before live personal data arrives there.
Four cost drivers decide what a later move costs. Data volume sets how long the export, transfer and restore take and how much staging capacity you need at both ends. The downtime window depends on whether writes can pause during cutover or must be replayed, a decision for the application owner and the data owner before the move starts. Transfer position covers where the data sits while it moves, including which regions and network paths it crosses and whether the receiving region falls under the same processor terms and transfer mechanism as the source. The re-run evidence is often the largest cost: updated records of processing, data maps, subprocessor lists, encryption and access settings, and a restore check against the Atlas restore overview or your MySQL equivalent showing the copy matches the source. Ask any implementation partner to price each of these as a separate line in the written scope.
What buyers ask before hiring help on GDPR database work
How much effort does GDPR readiness for a database take?
The effort depends mostly on how many systems hold personal data, how well the database estate is already documented, and how far current controls sit from what Article 32 expects. Assessment and hardening are one-time work, while access reviews, backup restore tests and evidence refresh recur. Effort rises with:
- the number of databases, replicas, backups and exports that copy personal data
- missing records of processing or data flow maps
- encryption, audit logging and role design that still need building
- the number of internal owners who must approve decisions
Ask any provider for the split between discovery, implementation and handover, and for which items recur after go-live. DeployOpen fees follow from the written scope, and DeployOpen does not publish a price list.
How long does GDPR database work take and what sets the timeline?
Duration comes from the written scope, which fixes the systems, deliverables, checkpoints and review dates before work starts. Most DeployOpen engagements are fixed-scope, with scope, deliverables and timelines agreed in writing first, so a change to any of them is a change to the schedule. The main drivers are the number of database platforms, the volume of data flows to map, the state of existing evidence, and how quickly your reviewers return decisions. Slow approvals can move the end date as much as technical work does. Confirm with any provider whether the timeline ends at implementation or includes the evidence handover to your assessor, and whether retesting after fixes is part of the agreed scope.
What does our team need to provide for GDPR database work?
The work needs named people with access, decisions and legal input, and it cannot finish without them. Typical inputs include:
- administrative or read access to database hosts, backups and identity systems in your environment
- a data owner for each dataset who confirms what personal data is stored and why
- a security owner who approves controls and accepts residual risk
- legal or privacy counsel who reviews lawful basis, transfer mechanisms and retention periods
Agree the decision-maker, the review turnaround and the sign-off for records of processing in the written scope. Legal interpretation stays with your counsel. DeployOpen prepares the technical and operational evidence that counsel reviews.
Can our own team handle GDPR readiness for a database?
Yes, a capable internal team can do much of this work, but it needs database hardening, logging and privacy skills and enough time to finish the first pass. Internal teams usually own the ongoing run, including access reviews, backup restore tests, upgrades and evidence collection. The first pass is harder to staff: mapping personal data flows, configuring encryption at rest and in transit, and building audit logs that an assessor can read. Before deciding, answer three questions: who maintains the controls after go-live, who answers the assessor's questions, and who runs the next major version upgrade. If those answers are unclear, a fixed-scope engagement can cover the build while your team takes over operations.
Does a data processing agreement alone make us GDPR ready?
No. A data processing agreement sets the contract terms between controller and processor, but it does not configure the database, prove that controls work or settle your lawful basis. MongoDB's Data Processing Agreement, last updated October 21, 2024, says MongoDB certifies to the EU-US Data Privacy Framework with UK and Swiss extensions and includes EU Standard Contractual Clauses in Schedule 1. Those are vendor-side contract positions you still need to review with counsel. Your own duties under Chapter IV of the GDPR, including security of processing under Article 32 and breach notification under Articles 33 and 34, remain yours as controller or processor. DeployOpen does not certify compliance or issue audit reports. Independent auditors and certification bodies make their own determinations, and national supervisory authorities enforce the GDPR under Article 51.
What should a written quote for GDPR database work include?
A written quote should list the systems in scope, deliverables, milestones, assumptions and exclusions, so you can compare providers on the same basis. Ask the provider to separate one-time work, such as discovery, design, hardening, documentation and handover, from recurring work, such as retainers for upgrades, continuous testing and evidence refresh. Also ask for the review cycles your team must supply, the retest terms, the named roles on each side and the evidence package you receive at the end. DeployOpen publishes no price list, and a quote follows from the written scope. If MongoDB Atlas is on your shortlist, the MongoDB pricing page shows a starting list price, Dedicated from $56.94 a month. That figure does not represent total cost of ownership, which also depends on sizing, staffing, backup, support and migration choices.
How DeployOpen helps prepare EU residency evidence without choosing for you
DeployOpen is a Chainscore Labs company that plans, implements, hardens and documents self-hosted open-source platforms inside your own infrastructure. For MongoDB Atlas vs MySQL for GDPR and EU data residency, we prepare the systems, controls and evidence your compliance team reviews, and we do not issue audit reports or certifications. The database choice stays with you, based on where your data must sit and who controls it.
How we scope
- Written scope defines which database option, data stores and hosting regions are in view before work starts.
- Scope lists the processing activities, personal data categories and locations your assessor will review.
- Engagements are fixed-scope, so deliverables and timelines are agreed in writing before work starts.
How we build
- For self-managed MySQL, we deploy in your cloud account, data center or air-gapped network.
- We configure encrypted connections, InnoDB data encryption, roles and multifactor authentication where your MySQL version supports them.
- For MongoDB Atlas, we document the configuration you control, and you confirm vendor-side terms with MongoDB in writing.
How we hand over
- Deliverables document data locations, hosting regions, data flows and processor roles for your assessor.
- Evidence packs list each control, its configuration and the owner who maintains it after handover.
- Independent auditors and certification bodies assess the evidence; DeployOpen does not issue reports or attestations.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Retainers can cover upgrades and refreshed evidence when your MySQL version or hosting footprint changes.
- Ask for the MySQL Community Server version, its end-of-life dates and the upgrade plan in your quote.

