~/talk

Best Practices and Optimization with the Spark Engine

Talkat Øredev 2024 · 2024-11-06..11-08· [databases, web-performance]
links:none on file
slides:none on file

Overview gives concrete tactics not vagueness: Spark runs on Databricks, Microsoft Azure Synapse and Microsoft Fabric and processes 50 billion rows in examples; cluster sizing uses cores as width and RAM as height with 128 MB default partitions; Delta Lake tables use a transaction log and require optimize and vacuum to compact and remove tiny files; advanced fixes include deletion vectors for cheap updates and liquid clustering for file skipping; serverless clusters can auto‑scale to huge cost if bad queries run.

AI-written summary · about

  1. 0:00Spark optimization in Delta Lake
  2. 1:45Spark engine overview
  3. 4:34Delta Lakehouse benefits
  4. 5:56Spark cluster & transformations
  5. 8:47Cluster config & serverless
  6. 9:27Memory partitioning & tasks
  7. 10:29Narrow transformations
  8. 12:36Wide transformations
  9. 13:39Catalyst Optimizer deep dive
  10. 15:46Predicate pushdown & folding
  11. 16:50Projection pruning & joins
  12. 17:31Language impact on performance
  13. 18:52DataFrame vs RDDs
  14. 19:33Delta tables structure
  15. 20:57Delta log & metadata
  16. 22:41Writing to Delta tables
  17. 23:44Delta versioning & time travel
  18. 24:46Medallion architecture
  19. 25:31Delta maintenance: optimize & vacuum
  20. 28:00Storage pitfalls & fixes
  21. 28:43Tiny files & over-partitioning
  22. 30:06Liquid clustering
  23. 32:33Deletion vectors
  24. 35:20Key takeaways
  25. 37:06Q&A: Spark & SQL Server
  26. 38:35Data quality auditing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.