Dynamic PricingClickHouse Workshops
Dynamic pricing

Dynamic pricing with ClickHouse

Real-time retail analytics, SQL price scenarios, and a managed pricing strategist.

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

A retail chain needs to identify goods at risk of expiry across thousands of stores. In this workshop, use ClickHouse to investigate that problem while sales continue arriving.

Load 100 million historical sales lines from S3. Stream live sales directly in batches and replicate operational inventory, price, and policy changes from managed Postgres with ClickPipes. Build incremental aggregates, measure query performance, compare permitted prices in SQL, and approve a price in the workbench.

Create Retail Pricing Strategist in managed ClickHouse Agents. It uses the same analytical views to investigate, recommend, and reassess; you verify its SQL and approve changes yourself.

What this workshop covers

In production, teams can use historical transactions stored in ClickHouse, together with prices, promotions, calendars, stock availability, store/product attributes, and external signals such as weather, to train models that predict demand or sales revenue. Training and validation use appropriate machine-learning tools; ClickHouse provides the historical data and analytical features.

This workshop focuses on ClickHouse ingestion, real-time analytics, SQL price scenarios, and agent orchestration. It supplies a prepared forecasting model and a synthetic sales generator. Feature engineering, training a production model, selecting an algorithm, deployment, and retraining are outside the exercises. A real retailer would need to validate its model and pricing effects on its own data.

ComponentRole in this workshop
Prepared model + ClickHouse SQLForecast the outcomes of permitted prices before a learner chooses one.
Synthetic sales generatorReact to an approved price using a known demand rule, then emit transaction rows.
ClickHouse analyticsAggregate those rows and compare the recorded synthetic outcomes with the earlier forecast.

Module 04 explains the flow from an approved price to generated transactions and observed results.

Each learner creates a dedicated Cloud stack. The scenario and price response are synthetic; the ClickHouse ingestion and query measurements are real.

このページの内容

JA