Data Types
Self-test
Check your understanding
Self-test5 questions
—/5
Why did
LowCardinality(String)make a GROUP BY on country 4x faster, and when would it stop helping?Why does a
Deltacodec shrink a sorted timestamp column so much more than plain LZ4?When is
Nullableworth its cost, and what does it cost?How would you store a semi-structured JSON payload whose keys change over time?
- Design question
Design the column types for a page-view event with: timestamp, user id, country, URL, status, latency, user agent. Justify each.