Optimizing ClickHouse: Tactics that worked for us