Explain various level of persistence in Apache Spark?
Answer Posted / Ankit Multani
There are three levels of persistence in Apache Spark: (1) Memory-only, where data is stored only in memory and not on disk, providing fast access but with limited durability. (2) DisktOnly, where data is saved to disk but not kept in memory after processing, offering improved durability at the cost of slower access times. (3) MemoryAndDisks, which combines both memory-only and disktOnly persistence, allowing for efficient caching and querying of data.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers