ClickHouse·ClickHouse essentials

Operations

TTL, replication and monitoring keep clusters healthy.

Advanced 10 min read Lesson 5 of 150 Challenge included
What you will be able to do
  • Use TTL for retention.
  • Use ReplicatedMergeTree.
  • Monitor merges and disk.

In plain English

TTL, replication and monitoring keep clusters healthy.

  • Use TTL for retention.
  • Use ReplicatedMergeTree.
  • Monitor merges and disk.
ttl.sqlSQL
ALTER TABLE lessons MODIFY TTL created_at + INTERVAL 90 DAY;
Your turn

Explain it back

Easy

Answer from memory: What does TTL control?

TEXT · starter
Your answer…
Check your understanding before moving on.
Knowledge checkQuestion 1

What does TTL control?

Select an answer to continue
Study tools

Make it yours.

Keep a private note for this lesson, then turn the key ideas into flashcards you can revisit.

Sign in to save notes and flashcards.Both are private to your account and stay with your progress.
Sign in
Finished reading?

Lock in what you just learned.

Mark this lesson complete to save your place and move one step closer to the certificate.

Lesson 5 of 150 · 0% of course