4 ms·
You should use the cache or persist call on the spark data frame/dataset. Persist gives you more control.
by nikhizzle 7y ago
You should use the cache or persist call on the spark data frame/dataset. Persist gives you more control.
- ramraj07 7y agoThis is what most people in my org do, this is orders of magnitude slower than running queries on the same dataset on redshift with optimized presorting and distribution. Redshift doesn't scale for tens or hundreds of parallel users though, so looking for options
- zten 7y agoI'm about 75% joking: restore a new cluster from a snapshot for horizontal scaling. They did launch a feature along those lines, because my joke suggestion probably doesn't scale organizationally: take a look at Concurrency Scaling. This is also a fundamental feature of Snowflake with the separation of compute and storage.
- ramraj07 7y agoExactly the same game plan for us now, evaluating snowflake, but wanted to check if there's a fundamentally different paradigm that can be much more faster and scalablr