An unofficial, read-only Hacker News reader.

Show HN: Mason – A lightweight Postgres read-replica, built on columnar storage (opens external site)

111 points by tagspace 4 days ago | masondata.ai | 22 comments on HN

View full thread · View on Hacker News

Comment thread (1)

  1. Hi! Looks like a fun project. The quick setup is very attractive. Question: I get that you convert from row to column format, but it leaves me curious about the following issues.

    1. Data partitioning. OLTP databases tend to partition by primary keys, whereas real-time analytics databases partition by time, and also depend on correct ordering of rows for fast query and good compression. How do you optimize the layout so that the column store achieves optimal performance?

    2. Updates to data. For similar reasons updates are very expensive in column storage. ClickHouse (my "home" database) largely operates on immutable data for this reason. How do you handle this?

    3. Schema migration. What happens when the upstream schema changes?

    These weren't prominent in your docs so I figured it would be best to ask directly.