

# Optimizing table storage costs

When table storage grows unexpectedly, you can use Amazon S3 Storage Lens for Tables to find where the growth is, what kind of files are driving it, and which retention settings you can adjust.

Find the increase  
On the **Overview** tab, use the **Trends** section to track total storage over time. In the **Dashboard snapshot**, use **% change** (day over day, week over week, or month over month) to spot sudden increases.

Narrow it to specific tables  
Use the **Account**, **Region**, **Storage class**, **Bucket**, **Namespace**, and **Tables** tabs, or the Top 10 lists, to narrow the growth to specific table buckets, namespaces, and tables.

Identify the type of storage that is growing  
In the **Table detail** view, compare data, delete, metadata, manifest, and non-current file storage bytes. Growth in non-current file storage bytes means storage is retained for files that the current snapshot no longer references.

Find growing partitions (advanced tier)  
On the **Partitions** tab, the top 100 partitions table shows which partitions hold the most storage, so you can see where growth is concentrated within a table.

Adjust retention settings  
The **Summary** tab shows the table's snapshot expiration settings (minimum snapshots and maximum snapshot age in hours) and its non-current files removal days. If non-current storage is high, consider shortening snapshot retention or the unreferenced file removal window, within your recovery and time travel requirements. For more information, see [Maintenance for tables](s3-tables-maintenance.md).

**Note**  
Amazon S3 Storage Lens for Tables metrics are intended for visibility and directional estimates. Use the AWS Cost and Usage Report for billing.