Dynamic PricingClickHouse Workshops

06 Review and clean up

Save evidence and delete your dedicated workshop resources.

Your computer
macOS terminal: Run workshop commands in Terminal using zsh or bash.

Outcome

Explain one pricing decision with query evidence, retain your measurements, and clean up your own services.

Actions

1. Save your evidence

Save the raw and aggregate SQL queries and their performance measurements, the SQL used for your recommendation, your receipt UUID, and the observed outcome query. Save the managed agent conversation with its supporting tool results.

Label each result as measured query performance, projected demand, or observed synthetic sales. Explain why a forecast and a synthetic comparison are not proof of real-world causal uplift.

2. Review the architecture

Trace your decision through S3 history, direct batched sales, operational CDC, incremental aggregates, SQL price scenarios, managed agent recommendation, learner approval, and observed events.

Answer: where did ClickHouse reduce query work? Which record established a complete data boundary? Why did approval stay in the workbench?

3. Stop the writer and local application

Press Ctrl+C in the writer terminal. Then run:

docker compose --env-file app/.env.workshop -f app/docker-compose.workshop.yml -f app/docker-compose.cloud.yml --profile writer down

The Cloud resources remain until you delete them. Keep private credentials out of shared evidence files.

4. Preview and delete the Cloud resources

bash scripts/setup-cloud.sh --destroy

Review the listed service, managed Postgres instance, and ClickPipe IDs. To permanently delete those workshop resources and their data:

bash scripts/setup-cloud.sh --destroy --execute

The shared S3 dataset remains available. To repeat the workshop, run setup again and reload history before starting a new stream.

Verify

You retained the evidence you need and confirmed deletion of your workshop resources. Describe one additional validation you would require before applying the approach to real retail prices.

On this page

Track your progress?

Optional. We email a link to confirm your address; progress records once you open it.

Please use your work email address, not a personal one.

By continuing you accept the Terms.

EN