6 ms·
ClickHouse: An open-source column-oriented database management system
- skunkworker 5y agoI'm not sure why this got posted again on HN. It's been posted numerous times, though in the past the url used to be https://github.com/yandex/ClickHouse https://github.com/yandex/ClickHouse so it wouldn't have been caught as a duplicate. Just searching on HB algolia there are numerous posts. eg: https://hn.algolia.com/?q=clickhouse https://hn.algolia.com/?q=clickhouse
- alexpw 5y agoBecause analytics wasn't in the title and like you said, it's an often repeated post, I thought they were repositioning/retargeting themselves as more general purpose, or something noteworthy, which had me curious.
- bdcravens 5y agotosh submits 10-20 articles a day (yet averages about 1 comment every 2-3 days). There's bound to be some dupes.
- coolspot 5y ago> tosh submits 10-20 articles a day That’s kinda sad
- buro9 5y agoThey may be using HN as if it's pinboard
- des1nderlase 5y agoI didn't know HN allows someone to posts that much. This would be a full-time job for a person. Hidden motives?
- konart 5y agoLook at his profile. Dude is available on every platform you can imagine. Some sort of influencer maybe?
- polote 5y agoThis is a common pattern. I wouldnt be surprise that 20% of posted links are from the same 10 users
- twic 5y agoMaybe they've got a "submit to HN" bookmarklet, and just whack it whenever they come across something interesting.
- tosh 5y ago:(
- ebcode 5y agoI appreciate you, tosh!
- weird-eye-issue 5y agoSeems like spam. He posted this link earlier, for example: https://en.m.wikipedia.org/wiki/Stolen_base https://en.m.wikipedia.org/wiki/Stolen_base Not sure what I'm missing but that doesn't seem interesting at all. Almost something a bot would pick randomly.
- tosh 5y agoI'm not very familiar with baseball so the concept of a "stolen base", the rules around it and how they changed over time were a fascinating read for me personally and I thought it might resonate here as well. It seems like it did not. My heuristic for submitting is when I come across something (in this case ClickHouse) that I find useful or fascinating (a-ha moment) where I also think this might be of interest to others here (filter).
- codingdave 5y agoFWIW, I don't see a problem with that level of posting. They are simply sharing things they find interesting with the community. If the community disagrees, it does not get upvotes. I might think it spammy at 100 a day, but 10-20 just feels like an active participant. And it balances out those of us who never submit links, but do comment.
- deleted 5y ago[deleted]
- gigatexal 5y agoIt’s here so we may as well comment on the DB. Perhaps if something wasn’t said someone can chime in here now.
- sixhobbits 5y agoTheir docs intro page is really nice and has a cool gif explanation of row vs column databases. I have never used a column db before and while I kind of knew some of that theory this made it really click for me. https://clickhouse.tech/docs/en/ https://clickhouse.tech/docs/en/
- momothereal 5y agoPeople who've used Clickhouse or other OLAP databases in production & at scale, how do you "interconnect" it with relational data? I'm currently experimenting with Clickhouse, because my dataflow is increasing in size (40M rows right now, doubling every month or so) and my current setup (MongoDB) is at its limits. I would like to migrate the 40M rows to CH, but I also need the metadata for the rows to be in something more robust like Postgres or Mongo. Would you have a microservice that does the queries between the OLAP and relational DBs and does the join manually, exposing that as some low-level API? Or is using the various FDW options (remote tables in Clickhouse, Postgres clickhouse_fdw, etc.) realistic in production? Sorry for the ramble, it's late here. But I can clarify if necessary.
- deleted 5y ago[deleted]
- unamedrus 5y ago> I also need the metadata for the rows to be in something more robust like Postgres or Mongo. How big is that metadata? If it's less than tens of millions rows, you can look at External Dictionaries support in clickhouse. https://clickhouse.tech/docs/en/sql-reference/dictionaries/external-dictionaries/external-dicts/#dicts-external-dicts https://clickhouse.tech/docs/en/sql-reference/dictionaries/e... https://altinity.com/blog/2020/5/19/clickhouse-dictionaries-reloaded https://altinity.com/blog/2020/5/19/clickhouse-dictionaries-...
- pella 5y agothere is a new Clickhouse Database Engine: "PostgreSQL" "Allows to connect to databases on a remote PostgreSQL server. Supports read and write operations (SELECT and INSERT queries) to exchange data between ClickHouse and PostgreSQL." https://clickhouse.tech/docs/en/engines/database-engines/postgresql/ https://clickhouse.tech/docs/en/engines/database-engines/pos...
- wiredfool 5y agoI ran across this recently: https://eng.uber.com/logging/ https://eng.uber.com/logging/ Uber's use of clickhouse to handle semi-structured data from logging.
- pibi 5y agoGreat software. We are managing terabytes of stocks data and realtime market scanners queries across all market (billions of books and timesales) with hundreds of concurrent requests. We were using kdb before, but clickhouse is more scalable, way cheaper and much more easy to grasp for a newbie.
- tototom 5y agoHow much data? And which types of application/apis are connected to CH?
- pibi 5y agoYears of daily intraday market data. We have an ingestion engine written in c# and a nodejs backend to run the queries (with an in-house driver built on top of the HTTP APIs)
- qeternity 5y agoYou’re ingesting real time data into Clickhouse?
- pibi 5y agoActually not, but we are ingesting a whole day of EOD market data (thousands of symbols, millions of timesales, billions of books events) in less than a couple of hours. This is 4x faster than the pace of the realtime market (not counting the extended hours due to the limited volume).
- hawk_ 5y agoany info on costs?
- hocuspocus 5y agoMy team is (over|ab)using Elasticsearch and I've had my eye on ClickHouse for a while. However we're going to migrate everything to AWS and I wonder if RedShift could be a good alternative too, since it's now supporting JSON and semi-structured data apparently.
- bayan1234 5y agoHaving used Redshift considerably in the past and experienced significant pain with many aspects of it, I would stay away. There are other much better options, ideally Snowflake.
- daniel_levine 5y agoAltinity offers a managed service for ClickHouse on AWS https://altinity.com/cloud-database/ https://altinity.com/cloud-database/
- hocuspocus 5y agoThanks but my employer is becoming an AWS partner and we'll contractually need to spend a lot of money, meaning it's better if we use their SaaS offerings directly rather than going through the marketplace or a 3rd party.
- lima 5y agoThat's a funny way of making engineering design decisions.
- hocuspocus 5y agoSome battles are above my pay-grade.
- joshstrange 5y agoMy company has/in-in-the-process of moving from ES to CH and from my (limited) perspective it's been going well. I greatly prefer writing CH queries over ES. I can't speak to RedShift but I wanted to throw in the data point of an ES->CH move.
- golondon 5y agoIs there anyone using it in a schemaless way as in you provide a SaaS service and your customers can send you JSON with various different fields? As far as I remember Sentry uses it this way and people leverage arrays for such things?
- nojito 5y agoClickhouse is easily my favorite secret weapon. Lowered our costs by ~50% and reduced data processing times by orders of magnitudes.
- fnord77 5y agowish someone would do a comparo between recent versions of CH, Druid and Pinot. (There's a pretty detailed one on the web but it is a couple years old and there's new features in all of them)
- marvinblum 5y agoA really nice database. We use it to aggregate web analytical data in real-time for Pirsch [0] and it performs really well. Writing queries for it is close to relational databases, which made the switch from Postgres easier. User data is still managed in Postgres and losely coupled through an ID field. [0] https://pirsch.io/ https://pirsch.io/
- imvetri 5y agoColumn oriented - a table.
- nexuist 5y agoSee the docs: https://clickhouse.tech/docs/en/ https://clickhouse.tech/docs/en/ > Different orders for storing data are better suited to different scenarios. The data access scenario refers to what queries are made, how often, and in what proportion; how much data is read for each type of query – rows, columns, and bytes; the relationship between reading and updating data; the working size of the data and how locally it is used; whether transactions are used, and how isolated they are; requirements for data replication and logical integrity; requirements for latency and throughput for each type of query, and so on.