Prompt·Writes and ingestion·PG07

Is our ingestion process more complicated than necessary?

The import pipeline is long, slow to correct, or does the same work at several stages.

Markdown
Prompt
Trace one complete ingestion cycle from the original source to the final database records. Identify repeated parsing, unnecessary intermediate states, duplicate validation, repeated reads, redundant transformations and writes that could be consolidated. Recommend the simplest workflow that preserves accuracy, traceability, failure recovery and the ability to process corrections.
What it returns
One real trace from source to final rows, the work done twice, the checkpoints, a shorter path, and checks that the shorter path gives the same results and still replays.
Skip it when
The pipeline is already one short step from source to table.
Avoid
Removing evidence, provenance or checkpoints that recovery depends on.
Changes
Changes nothing
Sessions
Look first, then fix in a new session
Tools
Repository and read-only database access.
Works on
Any PostgreSQL host: Supabase, Neon, RDS, Cloud SQL or self-hosted.

Related prompts

More in Writes and ingestion.