Settings

Theme

A practical approach to schema changes in ClickHouse

engineeringat.axis.com

7 points by AntonFriberg · 4 comments

Reader

2 threads
tbragin

Cool article! I like the practical advice on managing schema changes. I hope you don't mind me sharing on other platforms. Thank you!

Disclaimer: I work at ClickHouse.

  • AntonFribergOP

    Author here, thanks! Feel free to share it on other platforms. Let me know if you have any questions.

Randalthorro

Really great stuff. It's a pain to do schema management with clickhouse when materialized views start coming into the picture.

  • AntonFribergOP

    Thanks Randal! I hope to be able to complete a follow-up post on how to automate most of the schema changes by utilizing a form of data contract with the data owner of each metric table. It is very easy to roll out incorrect changes when working with the materialized views in a sharded ClickHouse table due to the need to having to toggle the materialized view and distributed tables when changing the underlying long-term storage tables.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection