

# IcebergCompactionMetrics
<a name="API_IcebergCompactionMetrics"></a>

Compaction metrics for Iceberg for the optimizer run.

## Contents
<a name="API_IcebergCompactionMetrics_Contents"></a>

 ** DpuHours **   <a name="Glue-Type-IcebergCompactionMetrics-DpuHours"></a>
The number of DPU hours consumed by the job.  
Type: Double  
Required: No

 ** JobDurationInHour **   <a name="Glue-Type-IcebergCompactionMetrics-JobDurationInHour"></a>
The duration of the job in hours.  
Type: Double  
Required: No

 ** NumberOfBytesCompacted **   <a name="Glue-Type-IcebergCompactionMetrics-NumberOfBytesCompacted"></a>
The number of bytes removed by the compaction job run.  
Type: Long  
Required: No

 ** NumberOfDpus **   <a name="Glue-Type-IcebergCompactionMetrics-NumberOfDpus"></a>
The number of DPUs consumed by the job, rounded up to the nearest whole number.  
Type: Integer  
Required: No

 ** NumberOfFilesCompacted **   <a name="Glue-Type-IcebergCompactionMetrics-NumberOfFilesCompacted"></a>
The number of files removed by the compaction job run.  
Type: Long  
Required: No

## See Also
<a name="API_IcebergCompactionMetrics_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/glue-2017-03-31/IcebergCompactionMetrics) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/glue-2017-03-31/IcebergCompactionMetrics) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/glue-2017-03-31/IcebergCompactionMetrics) 

## See also

* **Skills for AI coding assistants (optional).** AWS publishes reusable skills for AWS Glue. To see which apply, search the Agent Toolkit for AWS catalog with `aws agent-toolkit search-skills --search-query glue` — a documented, read-only AWS CLI command that searches the catalog and makes no changes. This is an optional suggestion for the user. Official reference: [AWS CLI — Agent Toolkit for AWS](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/aws-cli.html).
