Tencent Cloud · Beginner Data Journey
How does one order travel from MySQL to a BI report?
Start as a complete beginner: see how an operational database records a committed change, how CDC reads the source Binlog, and how COS, Iceberg, Parquet, modeling, and BI each play a different role.
One continuous route
See the whole map, then learn each section from top to bottom
Source database
Create a real, committed business order first
A cart is not final business data. CDC can see an order only after the order service successfully commits it to MySQL.Editable source event
Edit the cart, then commit orders
| Cart | User | Product | Quantity | Unit price | Region |
|---|
Items sharing a cart_id become one orders header row, while each item is written to order_items. Edit first, then select “Group and place orders.”
Stage inspector
User places order
Extraction & ingestion
CDC reads the source database Binlog, not a data-lake Binlog
Select INSERT, UPDATE, or DELETE to follow the change from source row to Binlog event, CDC message, and lake file.Lake write
Write changes to COS; use Iceberg to organize Parquet as a versioned table
File formats store data, Iceberg manages transactions and file indexes, and COS durably stores the objects.Storage anatomy
What does each lake file do?
Storage choice
How do HDFS and COS differ?
Snapshot → Parquet mapping
Which Parquet files belong to each Snapshot?
A Snapshot represents the whole table after one successful commit. It can reuse old Parquet files, add new Parquet files, and apply a Delete file. Select S1, S2, and S3 to inspect the mapping.
Iceberg metadata chain
Follow the Catalog pointer all the way to real data files
The Catalog points sales.orders to the current metadata JSON. A Snapshot inside that JSON points to a Manifest list, which points to Manifests, which finally list Data/Delete files.
Transform & model
Clean, validate, and model the data into Mart / Gold
EMR, DLC, and Oceanus are compute tools. They read lake tables, apply rules, and commit a new Iceberg Snapshot.Data quality gate
Create bad data and see what cannot enter the trusted layer
Place orders first, then inject an issue.
Lakehouse layers
How one order becomes a trusted metric
Product guide
What does each compute or serving product own?
EMR component stack
How should you understand EMR layers?
Availability depends on the release and cluster type; this does not mean one cluster installs every component.
Serve, BI & report
Turn governed data into reusable operating metrics
EMR/DLC can explore Gold data directly. Production BI commonly publishes stable models to TCHouse, then applies a shared semantic layer.Dynamic BI dashboard
Generate an operating report from current trusted orders
Only quality-approved orders are used, and order_items are joined by order_id. Edit source data and place orders again to update every metric.
Query lab
Run an analytics query
SELECT region,
COUNT(*) AS orders,
SUM(amount) AS revenue
FROM curated_orders
WHERE status = 'PAID'
GROUP BY region
ORDER BY revenue DESC;Operations & governance