Better HN
topnewbestaskshowjobs
Log inSign up

Algunenano

7 karma · joined Dec 9, 2020 (5y ago) · 4 submissions

Submissions

comment 2y ago · link · parent

Using ClickHouse local:

    time clickhouse local -q "SELECT concat('{', arrayStringConcat(groupArray(v), ', '), '}')
    FROM
    (
        SELECT concat(station, '=', min(t), '/', max(t), '/', avg(t)) AS v
        FROM file('measurements.txt', 'CSV', 'station String, t Float32')
        GROUP BY station
        ORDER BY station ASC
    )
    SETTINGS format_csv_delimiter = ';', max_threads = 8" >/dev/null

    real 0m15.201s
    user 2m16.124s
    sys 0m2.351

Most of the time is spent parsing the file

comment 5y ago · link · parent

Online analytics startup ClickHouse Inc. has raised $250 million in new funding at a $2 billion valuation.

3.

ClickHouse Valued at $2B in Round After Yandex Spinout(bloomberg.com ↗)

19 points · by Algunenano · 5y ago · 3 comments

4.

Testing the Performance of ClickHouse(clickhouse.tech ↗)

1 points · by Algunenano · 5y ago · discuss