QuestionQ142Verified/Cost & Performance OptimisationCopy linkReport a problemAsk AstroTutorSave questionWhich statement characterizes Delta Lake optimized writes?ABefore a Jobs cluster terminates, OPTIMIZE is executed on all tables modified during the most recent job.BAn asynchronous job runs after the write completes to detect if files could be further compacted; if yes, an OPTIMIZE job is executed toward a default of 1 GB.CA shuffle occurs prior to writing to try to group similar data together resulting in fewer files instead of each executor writing multiple files based on directory partitions.DOptimized writes use logical partitions instead of directory partitions; because partition boundaries are only represented in metadata, fewer small files are written.Show AnswerAnswerExplanationDelta Lake optimized writes shuffle data before writing it, allowing the write to produce fewer, larger files rather than having each executor create multiple files across directory partitions. This is especially useful for reducing small files in partitioned tables.Learn moreControl data file size | Databricks DocumentationShow comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion