QuestionQ100

VerifiedCost & Performance Optimisation

Which indicators should you look for in the Spark UI’s Storage tab that signal a cached table is not performing optimally? Assume that Spark’s MEMORY_ONLY storage level is in use.

Explanation

MEMORY_ONLY stores cached partitions in memory only. If a partition does not fit, Spark leaves it uncached and recomputes it when needed rather than spilling it to disk. Consequently, a nonzero Size on Disk indicates storage behavior that is not appropriate for an optimal MEMORY_ONLY cache. Spark RDD Programming Guide

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!