Personal Data Identifier

Personal Data Identifier Dictionary (GDPR Compliance)

Why does this matter?

Why Regulatory Compliance Matters for Data Dictionaries

Organizations must comply with data privacy regulations that cover 75% of the world's population by the end of 2024, making data classification through dictionaries a critical compliance tool. Data dictionaries serve as the foundation for:

  • Data Classification: Visual labeling, metadata application, and automated data discovery to meet compliance requirements

  • Regulatory Reporting: Providing audit trails for data protection impact assessments (DPIAs)

  • Risk Management: Guarding against accidental data loss and enabling early detection of risky user behavior

Business Purpose: GDPR requires explicit identification and special handling of personal data. This dictionary automatically classifies columns containing personal identifiers to ensure proper data handling and support data subject rights.


x

x

x

x

Schema Analysis

The first tasks in our journey was to conduct a comprehensive Database Inventory for compliance.

Data governance requires a complete inventory of all data assets to ensure comprehensive coverage. This inventory forms the foundation for regulatory compliance by documenting all data sources within the organization.

We're going to

  1. In DBeaver run the following script:

-- Comprehensive schema analysis for compliance documentation
SELECT 
    s.name AS schema_name,
    COUNT(t.name) AS table_count,
    STRING_AGG(t.name, ', ') AS table_list
FROM sys.schemas s
LEFT JOIN sys.tables t ON s.schema_id = t.schema_id
WHERE s.name NOT IN ('sys', 'INFORMATION_SCHEMA')
GROUP BY s.name
ORDER BY table_count DESC;

x

Expected Results: You'll see AdventureWorks2022 contains 5 main schemas:

  • Person (12 tables): Personal identifiers, addresses, contact information

  • Sales (24 tables): Transaction data, customer information, financial records

  • Production (27 tables): Product information, manufacturing data

  • HumanResources (6 tables): Employee data, payroll information

  • Purchasing (8 tables): Vendor information, procurement records

x

x

x

x

x

x

x

Last updated

Was this helpful?