Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
clickhouse get tables size
SELECT table,
formatReadableSize(sum(bytes)) as size,
min(min_date) as min_date,
max(max_date) as max_date
WHERE active
GROUP BY table
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment