Optimize operation with big increase in numRemovedFiles/numRemovedBytes/numAddedFiles/numAddedBytes
Hello, I have a daily loading process for a delta table and has a ‘optimize table’ step at the end. The optimize operation used to take about 5 minutes, but now takes about 3.5 hours. One thing I noticed from 'describe history' is the operationMetric...
- 1173 Views
- 1 replies
- 0 kudos
Latest Reply
This is most likely because more files became eligible for compaction (optimize). By default there is a limit of 50 files or so per partition, below which the partition doesn't qualify for optimize. Only if there are 50+ files within a partition the...
- 0 kudos