Settings

Theme

Hacker News is not responding. Showing the copy saved .

Simple, Efficient, and Robust Hash Tables for Join Processing

cedardb.com

40 points by mau · 3 comments

Reader

1 thread
tanelpoder

Does the (build side) hash table have to entirely fit in RAM with the current implementation?

  • lvogel

    Yes, the way it is currently implemented, the build side has to fit into RAM. There is no inherent reason we couldn't also spool to disk, but we haven't implemented that yet.

    • tanelpoder

      Thanks for confirming. (I deliberately worded my question like that, as it makes sense to roll such features out in phases, just like plenty of others have done - off the top of my head, DuckDB and Apache Impala for example.)

      Edit: In the post you mentioned that you optimized the hot path for likely taking the non-matching record path. Sometimes with well-designed partition wise joins, most of the records actually do match and survive the join - I guess in such (estimated or detected) cases you could switch to an alternative path with a match being the likely branch in the hot path…

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection