<img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=2826169&amp;fmt=gif">
Start trial

    Start trial

      img-anim-badge-globe-02

      I recently received a marketing email from an unnamed company with the subject line "Take control of your data before it’s too late". The headline was catchy enough to catch my eye, but not informative enough to make me open it—the reason was data sovereignty.

      See how PostgreSQL can help achieve data sovereignty through secure deployments and best practices to ensure compliance with global data regulations.

      The phrase lands differently now than it did a few years ago. It used to be a practitioner's problem, something a DBA worried about when choosing a region. Today it arrives as a board-level question about regulatory exposure: where can this data lawfully live, who can reach it, and can we show our working if a regulator asks. That shift is why enterprise governance and data sovereignty belong in the same conversation, and this article covers both — not just where data resides, but the governance controls that decide whether residency means anything.

      While taking control of your data sounds right in principle, true control starts with understanding where your data resides and exactly what data you have. That knowledge is the first step toward achieving real data sovereignty.

      What data sovereignty really means

      By definition, data sovereignty is the principle that digital data is subject to the laws of the country in which it is located or collected. These laws define data-localization requirements that affect everything from the emails we open to the files we download and the data we store or transmit. They are designed to reduce data breaches, prevent loss of trust, and avoid penalties by controlling how data is stored, processed, and transferred.

      Most organizations encounter these as two distinct families of obligation. The first is general privacy and data-protection regulation, which applies across sectors:

      • GDPR (General Data Protection Regulation): European Union
      • CCPA (California Consumer Privacy Act): United States
      • PIPL (Personal Information Protection Law): China
      • PDPA (Personal Data Protection Act): Asia

      The second is sector-specific regulation, which applies because of the kind of data involved rather than where the subject lives. HIPAA is the obvious example for healthcare in the United States, and it governs protected health information regardless of which privacy regime also applies. The two families stack rather than substitute, which is why a US hospital can be subject to HIPAA and GDPR simultaneously.

      Data sovereignty, data residency, and data localization

      These three get used interchangeably, and separating them is the first practical step in any data management or data privacy program. The distinctions below are the ones used in enterprise architecture rather than universally codified legal definitions, and terminology varies between jurisdictions and vendors.

      Data residency is where data physically sits. It is an architectural fact, and usually a setting.

      Data localization is a legal requirement that data stay in a particular jurisdiction. It constrains residency, and it is the reason some estates cannot consolidate regions even when it would be cheaper.

      Data sovereignty is the question of whose law reaches the data. It is the broadest of the three and the least visible in a console.

      Digital sovereignty is wider still, covering control over the infrastructure, software, and operational processes that handle the data, not just the data itself.

      When data crosses borders

      Remote work may be one of the factors driving the surge in data sovereignty concerns. Sovereignty exists to prevent unauthorized cross-border data movement and to protect privacy and national security. At its most basic, cross-border data movement affects me personally. I live in the U.S. Great Lakes region, where my state borders Canada.

      In my opinion, this causes daily cross-border data movement, and most people don't even think it's serious. Being so close to the parks along the lake, a nice friendly walk filled with selfies allows your phone to roam from US-based AT&T or Verizon over to Canadian Rogers wireless. This means that, technically, every picturesque lake selfie or text message crosses over into Canada then back to the US.

      Could a basic example of cellular data roaming be that important? Depending on who you ask it may not. But understanding how companies are handling your data and where it resides is why data sovereignty matters. When you apply this same scenario to enterprise technology, it becomes clearer why organizations like AWS or Google offer region-specific clouds to comply with regulatory compliance, focusing on security and privacy to help reduce exposure while building their customer's trust.

      The enterprise equivalents go unnoticed because nobody calls them transfers. A read replica in a second region is a continuous cross-border transfer. Offsite backups written to another jurisdiction are a transfer. Vendor support staff accessing production from a third country is a transfer, and often the one nobody documented. All three sit inside normal architecture decisions, and all three count.

      Why data residency settings alone don't deliver sovereignty

      ill-office-worker-57This is the gap most organizations discover late. Choosing a region in a console sets where data sits. It does not settle which law reaches it.

      Data-center location alone does not determine which laws may apply. Provider jurisdiction, corporate structure, subprocessors, contractual arrangements, data-subject location, and laws with extraterritorial reach can all matter. A provider headquartered in one country, operating a data center in a second, using a subprocessor in a third, serving data subjects in a fourth, has created four possible sources of legal obligation, and the console setting addresses one of them.

      Statutes with extraterritorial reach are the clearest illustration. The United States enacted the Clarifying Lawful Overseas Use of Data Act (CLOUD Act) in March 2018; per the Department of Justice's own resource page, it amended the Stored Communications Act so that providers subject to US law must comply with disclosure obligations for data in their possession, custody or control regardless of where that data is stored. Other jurisdictions have their own instruments. The point is not that any one law is unreasonable, but that jurisdiction is a question about the operator and the agreement, not only about the building.

      Sovereign cloud offerings exist precisely to narrow this gap, typically by combining in-country infrastructure with local operational control and contractual commitments about who can access what. They are a partial answer rather than a complete one, and the right posture is informed choice: ask who operates the platform, who their subprocessors are, and what the contract actually says about access.

      What enterprise data governance actually covers

      Sovereignty is enforced through governance controls or it is not enforced at all. A governance framework is the set of named disciplines below, each with an owner, rather than a principle everyone agrees with in the abstract. These are the disciplines that turn data security intentions into evidence.

      Across a multi-region estate, federated governance is the usual operating model: policy is set centrally and applied locally, so a single classification scheme and access model can accommodate different local obligations. Whether that holds depends less on the policy document than on whether local teams can actually implement it.

      Data classification and lineage

      seal-speech-bubble-with-file-with-directions-as-strategy-or-roadmap-01Data classification identifies which records carry PII, protected health information, or other regulated categories, and therefore which rules apply to them. Without it, every other control is applied uniformly to data that does not need it and inconsistently to data that does.

      Data lineage proves where a record came from and where it has been. It is the evidence an auditor asks for when the question moves from "what is your policy" to "show me". Our guidance on security practices for regulated environments covers how these controls fit the wider security program.

      Role-based access control

      seal-speech-bubble-with-people-with-geometric-shapes-as-head-01Role-based access control (RBAC) is the enforcement layer, translating classification decisions into who can actually read what.

      Separation of duties is the part most estates get wrong. Whoever administers the data should not also hold the encryption keys, because a single role holding both can read anything and no control stands between them and the data. The same reasoning appears throughout our security practices for enterprise PostgreSQL databases.

      Audit logging and retention

      seal-speech-bubble-with-interconnected-squares-01Audit logging has to be retrievable and retainable, not merely switched on. A log that exists but cannot be produced in a usable form within the window an auditor allows is not evidence.

      Retention is the other half, and it runs the full data lifecycle: how long records are kept, who decides, and when deletion stops being housekeeping and becomes a compliance requirement. Keeping data longer than the policy allows is as much a finding as keeping it in the wrong country.

      How can PostgreSQL support a sovereign governance model?

      ill-office-worker-58The governance question is not which database to buy but whether the platform lets you implement and evidence the controls above. PostgreSQL's flexibility makes it suitable for sovereign deployments through configurable settings and region-specific hosting options, particularly in the EU. Features such as pg_crypto or full-disk encryption, combined with asynchronous replication across compliant zones without crossing national borders, can help meet GDPR requirements and support data protection by design. Implementing common best practices, such as SSL/TLS encryption, pg_audit, and comprehensive monitoring, is also essential to a secure and compliant setup.

      In PostgreSQL, you'll find many recommended security audits, but it is beneficial to create a separate audit focused specifically on data sovereignty. A true sovereignty audit should track not only who accessed which data, but also where that access occurred. While traditional audits typically record user and object-level activity, location has become a critical dimension.

      Encryption at rest is another essential requirement, but it is equally important to protect data in transit. This includes knowing exactly where data is moving to and from, and ensuring that automated compliance tools such as Ansible are in place to help enforce local data residency and regulatory requirements.

      Control over your data and where it resides often brings to mind a common culprit many of us are guilty of: the everlasting email inbox. We create folders in Outlook or Gmail to stay organized, which sounds effective, at least in theory. But one of the most overlooked aspects of data sovereignty is data retention, and this includes email.

      How many of us neglect to clean out overflowing folders or even our main inbox? From a legal and compliance perspective, retaining data longer than necessary, often beyond seven years, can create unnecessary risk. In today's world, we should treat data like money: if you value it, you must manage it carefully and protect it from falling into the wrong hands.

      Speaking of wrong hands, let's look at some healthcare examples illustrating situations that can easily be adapted to other use cases using PostgreSQL features.

      Hospitals are both data guardians and enablers, handling enormous amounts of sensitive information while allowing many different people and systems to access it on a regular basis.

      Purposeful access control

      Create roles for different job functions

      CREATE ROLE doctor_cardiology NOINHERIT;
      CREATE ROLE billing_staff NOINHERIT;
      CREATE ROLE public_health_analyst NOINHERIT;

      Cardiology doctors get full read access to the cardiology schema

      GRANT USAGE ON SCHEMA cardiology TO doctor_cardiology;
      GRANT SELECT ON ALL TABLES IN SCHEMA cardiology TO doctor_cardiology;

      Roles answer who may connect. Views answer what they see once connected, which is how an analyst can receive aggregate figures without ever touching identifiable records

      CREATE VIEW v_flu_case_summary AS
         SELECT date_trunc('week', admission_date) AS week_start,
                COUNT(*) AS case_count,
                ROUND(AVG(age)) AS avg_age
         FROM patient_records
         WHERE diagnosis_code = 'J10' -- Influenza
           AND consent_public_health = true
         GROUP BY 1;
      GRANT SELECT ON v_flu_case_summary TO public_health_analyst;

      Data minimization and retention

      Create materialized view and delete old records

      CREATE MATERIALIZED VIEW mv_monthly_admissions AS
         SELECT date_trunc('month', admission_date) AS month,
                department,
                COUNT(*) AS admission_count
         FROM patient_records
         GROUP BY 1, 2;
      DELETE FROM patient_records
      WHERE admission_date < NOW() - INTERVAL '7 years'

      Anonymization for research

      Anonymization is what classification decisions produce downstream: once a field is classified as identifying, this is the control that acts on it

      SELECT anonymize_integer(age, 5) AS age_band, diagnosis_code, anonymize_zip(zip_code, 3)
      AS zip_prefix FROM patient_records WHERE consent_research = true;

      Governing AI workloads on sovereign data

      ill-office-worker-154AI changes the sovereignty question in ways most regulatory frameworks and governance frameworks were not written for, and it is where exposure is currently growing fastest. AI governance, sometimes discussed as sovereign AI or AI sovereignty, is the fastest-moving part of this topic.

      Three questions matter. Where may training data be processed, given that sending regulated records to a model hosted in another jurisdiction is a transfer like any other? Do model outputs inherit the classification of their inputs, because an embedding or a summary derived from protected health information is arguably still protected health information? And how does the EU AI Act sit alongside existing privacy regimes, given that it adds obligations rather than replacing GDPR for the same data.

      Shadow AI deserves naming directly. Enterprise AI tools adopted outside procurement — a team pasting customer records into a consumer chatbot, a plugin connected to a production database — create live sovereignty exposure that no console setting controls and no audit log captures. Governing AI starts with knowing which tools are in use. Our guidance on building AI-ready data on an enterprise PostgreSQL foundation covers the residency constraints and lineage requirements in depth, and our work on secure AI with Fujitsu Enterprise Postgres covers the platform side.

      PostgreSQL as a sovereign platform

      Empowering data sovereignty requires more than choosing the right database. It demands flexibility, strong security controls, and the initiative to actively assess and govern where and how data is stored, accessed, and protected. By implementing a sovereign audit, organizations can gain clear visibility into their data landscape, identify compliance gaps, and make informed decisions aligned with regulatory and operational requirements.

      PostgreSQL's open, extensible architecture provides the transparency and control needed to support these efforts, enabling businesses to build compliant, resilient, and future-proof data platforms. With the right governance practices in place, PostgreSQL becomes not just a database of choice, but a strategic foundation for long-term data sovereignty.

      For organizations that need those controls supported rather than assembled, Fujitsu Enterprise Postgres adds transparent data encryption, data masking, dedicated audit logging and confidentiality management on top of standard PostgreSQL behavior, and encryption keys can be held in a cloud key management service so that the DBA and the key administrator remain separate roles — the separation of duties described earlier, enforced by the platform rather than by policy alone. If sovereignty requirements are shaping where your data platform can run, Fujitsu's PostgreSQL team can talk through the governance and deployment options open to you across on-premises, hybrid, and multi-cloud environments.

      Frequently asked questions about Db2 to PostgreSQL migration

      What is the difference between data sovereignty and data residency?roundel-hand-touching-circle-01

      Residency is where data physically sits, which is usually a configuration choice. Sovereignty is whose law reaches that data, which depends on the provider's jurisdiction, its subprocessors, contractual terms, and statutes with extraterritorial reach. Residency is one input to sovereignty, not the whole answer.

      Does storing data in a local region make it sovereign?roundel-gear-and-computer-circuitry-01-variation-01

      Not on its own. A local region sets residency, but legal jurisdiction can still follow the provider's corporate structure, its subprocessors, and laws that reach data regardless of storage location. Sovereign cloud offerings narrow the gap without closing it entirely.

      What does an enterprise data governance framework include?roundel-file-with-check-mark-and-gear-01-variation-01

      Data classification and lineage, role-based access control with separation of duties, and audit logging with defined retention. Each needs a named owner. Across multiple regions, policy is typically set centrally and applied locally.

      Who should own data sovereignty inside an organization?roundel-building-07

      Usually a named executive accountable for data risk, working with legal, security and the platform team. The common failure is treating it as an infrastructure setting owned by whoever configured the region.

      How do GDPR, HIPAA, and the Personal Information Protection Law differ?roundel-mountain-with-flag-01

      GDPR and China's PIPL are general privacy regimes applying across sectors to personal data. HIPAA is sector-specific, governing protected health information in the United States. They stack rather than substitute, so one organization can be subject to several at once.

      What does the US CLOUD Act mean for data stored outside the United States?roundel-light-bulb-04

      Per the Department of Justice, the CLOUD Act amended the Stored Communications Act so that providers subject to US law must comply with lawful disclosure obligations for data in their possession, custody or control regardless of where it is stored. This is context rather than legal advice; your counsel should assess how it applies to you.

      How does AI change data sovereignty obligations?roundel-gear-and-wrench-01-variation-01

      It adds questions about where training data may be processed, whether outputs inherit the classification of their inputs, and how the EU AI Act layers onto existing privacy regimes. Shadow AI adopted outside procurement is the exposure most governance frameworks currently miss.

      How can organizations demonstrate their data-sovereignty controls?roundel-gear-and-light-bulb-01

      Through classification records showing which data is regulated, lineage showing where it has been, access logs showing who reached it and from where, and retention evidence showing deletion happened on schedule. A sovereignty-specific audit that records location of access, not only identity, is the piece most estates lack.

      Topics: PostgreSQL, Data governance, Data sovereignty, Data sovereignty compliance, Database security and compliance, Sovereign data management, Database compliance, Data privacy & security, Data residency, PostgreSQL data sovereignty, Data residency requirements

      Receive our blog

      Search by topic

      see all >
      Tim Steward
      Principal Data Enterprise Architect, Fujitsu
      Tim has more than 20 years of experience in the industry with significant expertise in RDBMS, including but not limited to Postgres and Oracle, helping customers understand their architectural landscape and how they can leverage open-source database technology.
      Acknowledged as an experienced Technical Leader, Tim has spoken frequently in conferences and written numerous papers and blogs.
      roundel-owl-and-book-01PostgreSQL Insider 
      has a series of technical articles for PostgreSQL enthusiasts of all stripes, with tips and how-to's.
      Explore PostgreSQL Insider >
      Subscribe to be notified of future blog posts
      If you would like to be notified of my next blog posts and other PostgreSQL-related articles, fill the form here.

      Read our latest blogs

      Read our most recent articles regarding all aspects of PostgreSQL and Fujitsu Enterprise Postgres.

      Receive our blog

      Fill the form to receive notifications of future posts

      Search by topic

      see all >