Skip to content

OptimizeMetrics

OptimizeMetrics is the metrics of the OPTIMIZE command:

  • numFilesAdded
  • numFilesRemoved
  • FileSizeMetrics of the files added
  • FileSizeMetrics of the files removed
  • partitionsOptimized
  • zOrderStats
  • numBatches
  • totalConsideredFiles
  • totalFilesSkipped
  • preserveInsertionOrder
  • numFilesSkippedToReduceWriteAmplification
  • numBytesSkippedToReduceWriteAmplification
  • startTimeMs
  • endTimeMs

OptimizeMetrics is created when OptimizeStats is requested for the OptimizeMetrics.