QuestionQ71Verified/Cost & Performance OptimisationCopy linkReport a problemAsk AstroTutorSave questionWhich statement explains 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.CData is queued in a messaging bus instead of committing data directly to memory; all data is committed from the messaging bus in one batch once the job is complete.DOptimized writes use logical partitions instead of directory partitions; because partition boundaries are only represented in metadata, fewer small files are written.EA 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.Show AnswerAnswerExplanationOptimized writes shuffle data before it is written so data for the same partitions is grouped into fewer, larger files, rather than allowing each executor to create multiple files across directory partitions. This reduces the small-file problem, particularly for partitioned tables. Control data file sizeLearn moreControl data file sizeShow comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion