Home / Companies / ClickHouse / Blog / Post Details
Content Deep Dive

Postgres to ClickHouse: Data Modeling Tips

Blog post from ClickHouse

Post Details
Company
Date Published
Author
Sai Srirampur
Word Count
2,009
Language
English
Hacker News Points
80
Summary

The text discusses how to model data in ClickHouse after replicating it from Postgres using PeerDB. It highlights that ClickHouse and Postgres differ in their data modeling due to being purpose-built databases optimized for specific workloads. The guide covers essential data modeling concepts in ClickHouse, such as replacing merge tree table engine, handling duplicates, nullable columns, data types, ordering key, primary key vs ordering key, modifying the ordering key, and handling DELETEs. It also mentions that more advanced topics will be covered in future blog posts.