# Writing on test data

> Practical writing on test data management, masking, subsetting, synthetic data and ephemeral test environments.

Canonical: https://subsetra.com/blog
Language: en
Other language: https://subsetra.com/tr/blog

- [PostgreSQL Test Data Generation with generate_series](https://subsetra.com/blog/postgresql-test-data-generation.md): 2026-11-26 — Generate 1,000 customers and 12,000 orders in PostgreSQL with generate_series. Keep foreign keys valid, reproduce a skewed workload, and verify the rows with SQL.
- [How to Validate Synthetic Data Quality for a Test Database](https://subsetra.com/blog/validate-synthetic-data-quality.md): 2026-11-26 — Check foreign keys, data distributions, business rules, and privacy before using a synthetic database in QA. See measured examples from PostgreSQL Pagila.
- [Realistic Test Databases Without Copying Production: Why We Built Lyrebird](https://subsetra.com/blog/realistic-test-databases-without-copying-production.md): 2026-11-07 — Copying production fails a privacy review, and random fillers fail a real schema. Lyrebird profiles a database once into a .lyre file and generates realistic test data fully offline.
- [Synthetic Relational Database Generation: A Practical Guide](https://subsetra.com/blog/synthetic-relational-database-generation.md): 2026-11-07 — What synthetic relational database generation is, why foreign keys make it hard, how the common approaches compare, and a checklist for choosing a generator for PostgreSQL, MySQL, SQL Server and Oracle.
- [10 Million Relational Rows, Ready in PostgreSQL, in About 52 Seconds](https://subsetra.com/blog/ten-million-rows-in-about-52-seconds.md): 2026-11-01 — On a laptop, Lyrebird loaded 10 million foreign-key-consistent Pagila rows into PostgreSQL in RAM in about 52 seconds. The three runs, what ready means, and what the number leaves out.
- [How Lyrebird Generates Synthetic Data — Answering the Questions CTOs Ask](https://subsetra.com/blog/how-lyrebird-generates-synthetic-data.md): 2026-10-29 — Connect to production once, extract a compact recipe, disconnect, and generate relationally consistent test data fully offline. How Lyrebird works, and straight answers on security, realism and operations.
- [Test Data Management (TDM): Resolving the Invisible Crisis in Test Automation](https://subsetra.com/blog/test-data-management-hidden-crisis-in-test-automation.md): 2026-08-23 — Why flaky tests and environment drift are test data problems. Discover key World Quality Report insights, core TDM strategies, and how Subsetra Ark delivers a cloud-native, privacy-safe test data platform.
- [Ark Anchors: Start Every Test from a Known State](https://subsetra.com/blog/ark-anchors-deterministic-test-scenarios.md): 2026-08-22 — How reusable, version-pinned SQL fixtures make subsetted and ephemeral test databases deterministic across CI, QA, and demos.
- [Business Objects: Give Test Data a Business Shape](https://subsetra.com/blog/business-objects-for-repeatable-test-data.md): 2026-08-22 — How Ark Business Objects turn customer, order, claim, and other domain concepts into reusable, governed data subsets.
- [Stop Waiting Hours for Database Restores: Ark Data Virtualization](https://subsetra.com/blog/stop-waiting-hours-for-database-restores.md): 2026-08-19 — Freeze trusted database baselines and spin up disposable clones in seconds. No drift, no storage bloat, all inside your VPC.
- [Data Virtualization for Test Data: Fast, Repeatable, and Safer Lower Environments](https://subsetra.com/blog/data-virtualization-for-test-data.md): 2026-08-18 — Ark brings data virtualization to lower environments by letting teams freeze a trusted database state and provision repeatable clones for QA, CI, demos, and developer workflows.
- [Where Should the Model Sit? Local AI for PII Classification Without New Egress](https://subsetra.com/blog/local-ai-pii-classification.md): 2026-07-25 — Cloud LLMs speed up data classification — and create a new path for sensitive context to leave the network. Here is why in-network AI assist is becoming the durable pattern for privacy and test-data workflows.
- [Testing with Real Databases: Why Mocks Lie, How Top Teams Test, and the Rise of Ephemeral DBs](https://subsetra.com/blog/ephemeral-database-testing-strategies.md): 2026-07-24 — Discover why unit test mocks and in-memory databases fail to catch production errors, how industry-leading teams execute real HTTP-to-database integration tests, and how Subsetra Ark makes ephemeral test databases instant, safe, and referentially intact.
- [From Zero to Query: How to Provision a Production-Like Development Database in Seconds](https://subsetra.com/blog/instant-local-dev-database.md): 2026-07-23 — Static seed files lie, shared staging breaks, and full production dumps crush developer laptops. Here is how graph-aware subsetting, automatic VPC masking, and Ark CLI deliver safe, production-like ephemeral databases in seconds without storing data on local laptops.
- [Stop Cloning Production. Start Sampling It.](https://subsetra.com/blog/subset-vs-full-replica.md): 2026-07-19 — A full masked replica is still the wrong answer. Why a referentially intact, masked subset is what your tests actually need — and how to ask for the smallest slice that still works.
- [Why Test Databases Exist — And Why Shared Staging Quietly Fails](https://subsetra.com/blog/why-test-databases-exist.md): 2026-07-18 — Shared staging cannot keep up with CI, parallel teams, and privacy law. Here is what test databases are for, where teams go wrong, and what a production-like, masked, ephemeral approach looks like.
