Storage Engine
Self-test
Check your understanding
Self-test6 questions
—/6
Why did 1,000 single-row INSERTs create 1,000 parts, and what eventually reduced them to one?
What happens at parts_to_delay_insert and at parts_to_throw_insert, and why does ClickHouse slow inserts before refusing them?
Batches of 1,000 rows gave 0.5 M rows/s and batches of 1,000,000 gave 5.7 M rows/s. Where does the difference come from?
Why can a nearly full disk stop merges before it stops inserts?
What decides how many parts a partitioning scheme produces per insert, and why is PARTITION BY toYYYYMMDD(ts) risky for inserts that span many days?
- Design question
An application inserts one event per HTTP request, 2,000 requests a second, from 40 pods. Design the ingest path.