ClickHouse as history storage

https://clickhouse.tech/docs/en/

https://medium.com/datatau/how-to-connect-to-clickhouse-with-python-using-sqlalchemy-760c8df8d753

ClickHouse is designed to work with huge amounts of data.

But even on small amounts of data, it continues to outperform classical solutions (MySQL, PG) if it is the storage of historical data.

It’s also nicely easy to query. Would personally like this too.

1 Like

I’m in. I have disabled retention option in HA and want to have all data for all periods. After year working with HA, database starts to slow down gradually on historical queries.

1 Like

That’s great news!

What was the loading time delta? Is the slow down linear or exponential?

Anything mature enough to share (a patch file maybe)?

Beta testers wanted Turn HA into ULTIMATE Data Analysis platform

2 Likes