reconnecting 22 hours ago

Off-topic: may I ask, why PHP + MySQL is no longer considered suitable to you?

It's hard to say without specifics, but simply upgrading from MySQL to PostgreSQL without rewriting the PHP codebase in Go might resolve most of the potential issues.

1
a7fort 22 hours ago

It's two separate issues:

1) I do a lot of scraping, and Go concurrency + Colly has better performance

2) My DB size is exploding and I have limited budget, and it looks like CH is so much better at compressing data. I recently did a test and for the same table with same exact data, MySQL was using 11GB, ClickHouse 500MB

hodgesrm 17 hours ago

> MySQL was using 11GB, ClickHouse 500MB

That's pretty typical best case size for weblogs and other time ordered data where column data correlate with time values. You do have to tweak the schema a bit to get there. (Specifically a "good" sort order, codecs, ZSTD instead of LZ4 compression, etc.)

rco8786 22 hours ago

> I recently did a test and for the same table with same exact data, MySQL was using 11GB, ClickHouse 500MB

That's pretty impressive

reconnecting 21 hours ago

The actual makes sense. I thought you had a PHP application that you just decided to rewrite to Go.