Run a useful DBQC pilot

Do not begin by rewriting a service or committing to a new execution stack. A useful DBQC pilot takes one meaningful query through a short evidence loop: schema context, editor feedback, compiler checks, inspectable SQL, one focused test or CI check, and the application's existing execution path.

A compact pilot progresses from discovered schema through a DBQC definition and compiler validation to review evidence, while execution remains with the existing database stack.

Choose the right query

Pick one query that is important enough to review carefully but small enough to finish in an hour or two. Good candidates include:

Avoid trivial CRUD and do not begin with the hardest vendor-specific query in the codebase. The goal is to test the feedback loop, not to prove every feature at once.

1. Start with the proof, not the installation

Read the query-change walkthrough first. It establishes what you are looking for: a useful editor or compiler finding, an SQL artifact you can inspect, and unchanged execution ownership. Then repeat that sequence with your own query.

2. Discover only the schema you need

Run schema discovery with a read-only database account. The discovery tool reads catalog metadata; it does not read table rows, change the schema, or execute DML. Generate definitions in the client language you will use, then keep them with the query code.

python3 server/core/dbqc/client/dbqc_discover.py \
  --url "$DATABASE_URL" \
  --format typescript \
  --schema public

Choose python, java, scala, rust, or typescript to match the pilot. See Schema Discovery for the complete connection and verification guidance.

3. Add editor feedback

The VS Code extension is packaged with this repository today. From the extension directory, create a local .vsix package and install it into VS Code:

cd server/core/dbqc/vscode
npm ci
npm run package
code --install-extension dbqc-0.2.0.vsix

Configure schema discovery, open the DBQC definition, and invoke the compiler from CodeLens. A successful pilot should make the emitted SQL and diagnostics easy to see while the query is being changed—not only after an integration run. The editor compiles the definition; it does not run the application code that will later execute the emitted SQL.

4. Test one meaningful change

Make one controlled change to the pilot definition or schema. A renamed column, incompatible type, unsafe write, or changed reusable filter is more useful than a deliberately broken SELECT 1.

Record what happens:

the application?

5. Carry the same check into CI

Register the pilot query and run the client check command in CI. This is the point of the evaluation: prove that the feedback does not depend on one developer remembering to inspect a query manually.

python3 server/core/dbqc/client/dbqc.py check --target psql

Use the equivalent command for your language from CI / CD. The check compiles definitions; it does not connect to the application database or run the application statements.

Decide with evidence

Keep DBQC for the next workflow only if the pilot shows a real advantage in at least one of these areas:

It is also valid to decide that an existing local tool remains the better fit. For example, a Java-only, offline, full-SQL-surface workflow may be better served by its current tool. DBQC should earn its place by improving the work, not by requiring a broad rewrite.

Trial terms and practical questions

Commercial teams can use Free for a 30-day evaluation. Personal and nonprofit use has no time limit, within the Free plan's daily allocation. For questions about execution, credentials, what reaches the compiler, availability, and incremental adoption, read the Adoption FAQ.