Learn Labs
Data Types

Self-test

Check your understanding

Self-test5 questions

—/5
  1. Why did LowCardinality(String) make a GROUP BY on country 4x faster, and when would it stop helping?

  2. Why does a Delta codec shrink a sorted timestamp column so much more than plain LZ4?

  3. When is Nullable worth its cost, and what does it cost?

  4. How would you store a semi-structured JSON payload whose keys change over time?

  5. Design question

    Design the column types for a page-view event with: timestamp, user id, country, URL, status, latency, user agent. Justify each.