PostgreSQL · MySQL · SQL Server
Browse database guides

Practical database guides for developers

These practical database guides help developers work through a specific task. Each explains the connection, permissions and recoverable environment needed, then shows what to inspect before accepting the result.

Choose a task
On this page

01 / RESOURCES

Choose a database task

Connect your first database

Connect your first database in dbHydrate using a development server and a restricted account. Choose a recognizable connection name and learn the workspace before allowing operations that change data.

Run a query and export the result

Confirm what the query returned before handing the result to someone else. This guide uses a small read, then checks the difference between rows selected in the grid, rows already loaded and the full dataset on the server.

Compare and review a schema change

Compare the intended schema with a target, resolve the checks that matter and understand what the rehearsal actually tested before you apply the change.

02 / RESOURCES

Start with a connection and a query

Use a restricted development login while learning the workspace. Confirm the engine, environment and available catalog before introducing writes.

Connect your first database

Set up the vault, configure the supported connection path and test access without weakening certificate checks.

Run SQL and export results

Run a small query, inspect the loaded scope and verify the exported file.

03 / RESOURCES

Bring in external data

Use a representative file and an existing target table. Decide what should happen to records already in the database before mapping the columns.

Import Excel and CSV

Choose the sheet, review primary-key behavior, resolve validation problems and inspect the changed fields.

04 / RESOURCES

Review a change or refresh

Use same-engine source and target databases with a recovery plan appropriate to the operation. Rehearsal behavior differs across PostgreSQL, MySQL and SQL Server.

Review a schema change

Inspect differences, generated SQL, preflight results and the final database state.

Copy and mask test data

Define the scenario, include required relationships and verify transformed output and application behavior.

05 / RESOURCES

Explain the schema to another engineer

A small diagram can make onboarding or a design discussion easier to follow. Share the structure in the format the reviewer needs.

Diagram an existing database

Select tables, inspect key relationships, add context and export a useful view.

06 / RESOURCES

Keep the engine limits in view

These guides describe released desktop workflows. Source and target comparison or copy uses the same engine. PostgreSQL, MySQL and SQL Server have different transaction, object-support and rehearsal limits.

The dbHydrate command-line tool is coming in January 2027. Its planned commands and exit codes are previewed on the CLI page and may change before launch, so don't build a delivery pipeline on them yet.

dbHydrate CLI (coming January 2027) ↗Compare database engine behavior ↗

07 / RESOURCES

Refresh staging with a reviewed dataset

Start with the application case you need to reproduce. Select the required records and relationships, review masking and final overrides, and decide how the destination should handle existing keys. Verify both transformed values and application behavior after the copy.

Copy and mask a useful test dataset ↗

08 / RESOURCES

Plan a PostgreSQL NOT NULL change

Check existing values before tightening a column constraint. A staged change may separate the data cleanup from validation and the final definition, but ALTER TABLE still requires locks. Evaluate the exact statements and workload on a recoverable target, and prepare verification and recovery before applying the change.

Review a schema change ↗PostgreSQL 17 ALTER TABLE reference ↗

09 / RESOURCES

Account for MySQL implicit commits

MySQL DDL can commit implicitly. A sequence of successful schema statements is not made reversible by wrapping it in a user transaction. Inspect the shadow rehearsal, row preflight and recovery SQL, and maintain a separate backup or restore procedure for data recovery.

Compare and review a schema change ↗MySQL 8.4 implicit commit reference ↗

10 / RESOURCES

Define the drift you intend to review

Establish an expected-state database from reviewed migrations using your existing migration process, then compare it with the intended target. Decide which environment-specific differences are deliberate and who owns an unexpected change.

Running these reviews in CI needs the dbHydrate command-line tool, coming in January 2027. Until then, follow the desktop review procedure; the CLI page previews the planned GitHub Actions setup.

Review a schema change ↗dbHydrate CLI (coming January 2027) ↗

Questions & answers

Can I follow the guides against production first?

Begin with a disposable or recoverable development environment and the permissions required for the task. Move to a sensitive target only through your normal review process.

What if my server or object type is outside the published scope?

Confirm support before applying a change. Use representative definitions during evaluation and retain your existing tools for unresolved requirements.

Can I use these guides as a supported dbHydrate CI/CD installation procedure?

Not yet. The current release covers desktop workflows. A command-line tool for CI pipelines is coming in January 2027; see the dbHydrate CLI page for the planned commands.

Sources and further reading

Workflow illustration

SQL CONSOLEA question, written in SQL.SELECT name, emailFROM customersWHERE active = true;Choose the query. Inspect the result.→RESULT RECORDSnameemailMaya[email protected]Noah[email protected]Example records · selected by your queryWRITE SQLINSPECT RECORDSEXPORT