Class: Aws::Glue::Types::TableOptimizerRun

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb

Overview

Contains details for a table optimizer run.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#compaction_metrics ⇒ Types::CompactionMetrics

A CompactionMetrics object containing metrics for the optimizer run.



31001
31002
31003
31004
31005
31006
31007
31008
31009
31010
31011
31012
31013
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 31001

class TableOptimizerRun < Struct.new(
  :event_type,
  :start_timestamp,
  :end_timestamp,
  :metrics,
  :error,
  :compaction_metrics,
  :compaction_strategy,
  :retention_metrics,
  :orphan_file_deletion_metrics)
  SENSITIVE = []
  include Aws::Structure
end

#compaction_strategy ⇒ String

The strategy used for the compaction run. Indicates which algorithm was applied to determine how files were selected and combined during the compaction process. Valid values are:

  • binpack: Combines small files into larger files, typically targeting sizes over 100MB, while applying any pending deletes. This is the recommended compaction strategy for most use cases.

  • sort: Organizes data based on specified columns which are sorted hierarchically during compaction, improving query performance for filtered operations. This strategy is recommended when your queries frequently filter on specific columns. To use this strategy, you must first define a sort order in your Iceberg table properties using the sort_order table property.

  • z-order: Optimizes data organization by blending multiple attributes into a single scalar value that can be used for sorting, allowing efficient querying across multiple dimensions. This strategy is recommended when you need to query data across multiple dimensions simultaneously. To use this strategy, you must first define a sort order in your Iceberg table properties using the sort_order table property.

Returns:

  • (String)


31001
31002
31003
31004
31005
31006
31007
31008
31009
31010
31011
31012
31013
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 31001

class TableOptimizerRun < Struct.new(
  :event_type,
  :start_timestamp,
  :end_timestamp,
  :metrics,
  :error,
  :compaction_metrics,
  :compaction_strategy,
  :retention_metrics,
  :orphan_file_deletion_metrics)
  SENSITIVE = []
  include Aws::Structure
end

#end_timestamp ⇒ Time

Represents the epoch timestamp at which the compaction job ended.

Returns:

  • (Time)


31001
31002
31003
31004
31005
31006
31007
31008
31009
31010
31011
31012
31013
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 31001

class TableOptimizerRun < Struct.new(
  :event_type,
  :start_timestamp,
  :end_timestamp,
  :metrics,
  :error,
  :compaction_metrics,
  :compaction_strategy,
  :retention_metrics,
  :orphan_file_deletion_metrics)
  SENSITIVE = []
  include Aws::Structure
end

#error ⇒ String

An error that occured during the optimizer run.

Returns:

  • (String)


31001
31002
31003
31004
31005
31006
31007
31008
31009
31010
31011
31012
31013
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 31001

class TableOptimizerRun < Struct.new(
  :event_type,
  :start_timestamp,
  :end_timestamp,
  :metrics,
  :error,
  :compaction_metrics,
  :compaction_strategy,
  :retention_metrics,
  :orphan_file_deletion_metrics)
  SENSITIVE = []
  include Aws::Structure
end

#event_type ⇒ String

An event type representing the status of the table optimizer run.

Returns:

  • (String)


31001
31002
31003
31004
31005
31006
31007
31008
31009
31010
31011
31012
31013
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 31001

class TableOptimizerRun < Struct.new(
  :event_type,
  :start_timestamp,
  :end_timestamp,
  :metrics,
  :error,
  :compaction_metrics,
  :compaction_strategy,
  :retention_metrics,
  :orphan_file_deletion_metrics)
  SENSITIVE = []
  include Aws::Structure
end

#metrics ⇒ Types::RunMetrics

A RunMetrics object containing metrics for the optimizer run.

This member is deprecated. See the individual metric members for compaction, retention, and orphan file deletion.

Returns:



31001
31002
31003
31004
31005
31006
31007
31008
31009
31010
31011
31012
31013
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 31001

class TableOptimizerRun < Struct.new(
  :event_type,
  :start_timestamp,
  :end_timestamp,
  :metrics,
  :error,
  :compaction_metrics,
  :compaction_strategy,
  :retention_metrics,
  :orphan_file_deletion_metrics)
  SENSITIVE = []
  include Aws::Structure
end

#orphan_file_deletion_metrics ⇒ Types::OrphanFileDeletionMetrics

An OrphanFileDeletionMetrics object containing metrics for the optimizer run.



31001
31002
31003
31004
31005
31006
31007
31008
31009
31010
31011
31012
31013
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 31001

class TableOptimizerRun < Struct.new(
  :event_type,
  :start_timestamp,
  :end_timestamp,
  :metrics,
  :error,
  :compaction_metrics,
  :compaction_strategy,
  :retention_metrics,
  :orphan_file_deletion_metrics)
  SENSITIVE = []
  include Aws::Structure
end

#retention_metrics ⇒ Types::RetentionMetrics

A RetentionMetrics object containing metrics for the optimizer run.



31001
31002
31003
31004
31005
31006
31007
31008
31009
31010
31011
31012
31013
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 31001

class TableOptimizerRun < Struct.new(
  :event_type,
  :start_timestamp,
  :end_timestamp,
  :metrics,
  :error,
  :compaction_metrics,
  :compaction_strategy,
  :retention_metrics,
  :orphan_file_deletion_metrics)
  SENSITIVE = []
  include Aws::Structure
end

#start_timestamp ⇒ Time

Represents the epoch timestamp at which the compaction job was started within Lake Formation.

Returns:

  • (Time)


31001
31002
31003
31004
31005
31006
31007
31008
31009
31010
31011
31012
31013
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 31001

class TableOptimizerRun < Struct.new(
  :event_type,
  :start_timestamp,
  :end_timestamp,
  :metrics,
  :error,
  :compaction_metrics,
  :compaction_strategy,
  :retention_metrics,
  :orphan_file_deletion_metrics)
  SENSITIVE = []
  include Aws::Structure
end