richraposa
Re:Summing columns in remote Parquet files using DuckDB
on Thursday November 16, 2023 @10:06PM (#38298951)
...says the completely anonymous internet guy. I'm laughing as much as you are.
I wasn't trying to imply anything negative about DuckDB with my post - was just sharing how ClickHouse does the same thing. FWIW: the blog author added my query to his blog, so my non-combative comment was politely received.
Re:Summing columns in remote Parquet files using DuckDB
on Wednesday November 15, 2023 @09:58AM (#38277265)
ClickHouse just reads the values from the one column being summed: https://www.markhneedham.com/blog/2023/11/15/clickhouse-summ...
Re:Summing columns in remote Parquet files using DuckDB
on Tuesday November 14, 2023 @06:16PM (#38271190)
Nice. I did the same thing on ClickHouse - took 11 seconds:
SELECT sum(size)
FROM url('https://huggingface.co/datasets/vivym/midjourney-messages/resolve/main/data/0000{01..55}.parquet')
Query id: 9d145763-0754-4aa2-bb7d-f6917690f704
┌───────sum(size)─┐
│ 159344011148016 │
└─────────────────┘
1 row in set. Elapsed: 11.615 sec. Processed 54.08 million rows, 8.50 GB (4.66 million rows/s., 731.83 MB/s.)
Peak memory usage: 458.88 KiB.
Re:Cost-predictable logging at scale with ClickHouse, Grafana and Warp...
on Tuesday November 14, 2023 @05:56PM (#38271019)
CGW = Can't Go Wrong...love it
Re:ChDB: Embedded OLAP SQL Engine Powered by ClickHouse
on Monday October 23, 2023 @06:02PM (#37992193)
ClickHouse 10 years before DuckDB existed:
SELECT * FROM url('https://example.com/*.csv')
Re:ChDB: Embedded OLAP SQL Engine Powered by ClickHouse
on Monday October 23, 2023 @11:58AM (#37987575)
I suppose if you had data in a format that DuckDb doesn't work with, like Protobuf, Avro, ORC, Arrow, etc. ClickHouse reads and writes data in over 70 formats
Re:Ask HN: Suitable database to store web analytics data for million i...
on Saturday April 15, 2023 @10:37AM (#35580987)
ingestion of these events during peaks at 500k events per minute. You can't ingest them individually into Clickhouse or most other databases.
Turn on async_insert or use a Buffer table engine and you can easily insert them individually into ClickHouse
Re:Ask HN: Suitable database to store web analytics data for million i...
on Monday April 10, 2023 @10:58PM (#35520207)
Cloudflare famously uses ClickHouse for web analytics - inserting over 6M rows per second: https://blog.cloudflare.com/http-analytics-for-6m-requests-p...
Re:DuckDB: Querying JSON files as if they were tables
on Friday March 03, 2023 @10:59AM (#35011284)
It's definitely cool to be able to query data in place instead of inserting it into a table. You can use clickhouse-local to do the same thing with JSON files (and with dozens of other data formats): https://clickhouse.com/blog/worlds-fastest-json-querying-too...
Re:Reducing BigQuery Costs: How We Fixed a $1M Query
on Thursday November 03, 2022 @05:36PM (#33458059)
You should try it on ClickHouse Cloud - the pricing is not based on bytes, so the resulting cost would be near zero compared to $1M on BigQuery.
And it would probably execute faster... :)
(Disclaimer: I work at ClickHouse)