Protect privacy
Your business requires you to handle sensitive data like PII (Personal Identifiable Information) and PHI (Protected Health Information). We help you keep it safe.
Dev and testing environments for companies that have sensitive data and PII.
Your business requires you to handle sensitive data like PII (Personal Identifiable Information) and PHI (Protected Health Information). We help you keep it safe.
Regulations like GDPR, HIPAA, and PCI require that staging and development environments don't contain any PII or PHI.
Real email addresses or phone numbers in your test data? This can lead to embarrassing mistakes and costly data breaches.
Data anonymization is implemented in our open source pgstream project, which gives you flexibility in terms of deployment options, transformers, and configuration.
Deterministic transformers ensure that the same data will be masked the same way every time. This means that your relational data stays consistent.
Data anonymization requirements are complex. You can use a wide range of transformers from open source projects like Greenmask and NeoSync, as well as implement custom transformers.
Testing with real data is too risky. Testing with seeded data is often not enough to catch bugs.
pgstream is an open source project for PostgreSQL data replication and transformation. It is using PostgreSQL logical replication (including DDL statements) as well as parallel snapshotting in order to copy data at maximum throughput.
You can schedule pgstream via your CI/CD pipeline to execute nightly and create an anonymized snapshot of your production database, which is then written to your staging database.
The snapshots can be created from a read-replica, in order to minimize the impact on the production database.
Anonymization is accomplished by applying a set of column value transformations. Deterministic transformers ensure that the same data will be masked the same way every time. This means that your relational data stays consistent.
pgstream integrates with existing transformer open source libraries, such as Greenmask, NeoSync and go-masker, to leverage a large amount of transformation capabilities, as well as having support for custom transformations written in Golang. This way even the most complex anonymization requirements can be met.
In case your production data is measured in terabytes, it might be more practical to create a smaller staging dataset, yet still large enough to catch performance issues.
Creating this subset is challenging, because it requires keeping track of the relations between tables and subsetting each table in such a way that the data is consistent and interconnected.
In the example diagram, we request that the 'orders' table is subsetted to 5% of the total size. The subsetting logic automatically follows the foreign key relations to the 'users' and 'products' tables and filters the data accordingly.
Xata is the only solution on the market that combines advanced data anonymization with instant Copy-on-Write branches for PostgreSQL.
Keep your production database where it is, whether it is AWS RDS, Aurora, GCP Cloud SQL, Azure Database, or even self-hosted.
Mask sensitive data using configurable transformers that maintain referential integrity.
Get a nightly synced replica of production with sensitive data removed. Ready for testing.
Learn moreFrom the staging environment, instantly create Copy-on-Write branches for each pull request to accelerate development, testing, and collaboration.
Learn moreApply database changes confidently with pgroll, serving old and new schema versions in parallel for smooth, lock-free migrations.
Learn more