Viewing S3 Storage Lens for Tables metrics on the dashboards
In the Amazon S3 console, Amazon S3 Storage Lens for Tables provides an interactive dashboard that you can use to visualize insights and trends across your table buckets, namespaces, and tables, and to receive recommendations. The dashboard loads the latest date that has metrics available. For the default dashboard, retention, and disabling or deleting dashboards, see Understanding Amazon S3 Storage Lens for Tables.
Topics
Viewing an Amazon S3 Storage Lens for Tables dashboard
The following procedure shows how to view an Amazon S3 Storage Lens for Tables dashboard in the S3 console.
You can't use your account's root user credentials to view Amazon S3 Storage Lens for Tables dashboards. To access the dashboards, you must grant the required AWS Identity and Access Management (IAM) permissions to a new or existing IAM user. Then, sign in with those user credentials to access the dashboards. For more information, see Setting Amazon S3 Storage Lens for Tables permissions and Security best practices in IAM in the IAM User Guide.
Sign in to the AWS Management Console and open the Amazon S3 console at https://console.aws.amazon.com/s3/
. -
In the left navigation pane, choose Storage Lens, and then choose the Table buckets tab.
-
In the list of dashboards, choose the dashboard that you want to view.
Your dashboard opens as the S3 Tables dashboard. By default, the dashboard shows the All Tables view for the latest date that has metrics available.
The All Tables view aggregates metrics across all tables in the dashboard scope, by organization, account, AWS Region, storage class, table bucket, and namespace. To see metrics for a specific table, choose Table detail, and then choose the account, AWS Region, table bucket, namespace, and table. You can also search for a table by its ARN.
-
(Optional) To change the date for your dashboard, in the date selector, choose a new date.
-
(Optional) To apply temporary filters to further limit the scope of your dashboard data, do the following:
-
Expand the Filters section.
-
To filter by specific accounts, AWS Regions, storage classes, or table buckets, choose the options to filter by.
-
To update a filter, choose Apply.
-
To remove a filter, choose the X next to the filter.
-
-
In any section in your dashboard, to see data for a specific metric, for Metric, choose the metric name.
-
In any chart or visualization in your dashboard, you can drill down into deeper levels of aggregation by using the Accounts, AWS Regions, Storage classes, table buckets, Namespaces, or Tables tabs.
Understanding your Amazon S3 Storage Lens for Tables dashboard
Your Amazon S3 Storage Lens for Tables dashboard has a primary Overview tab, and additional tabs that represent each aggregation level:
-
Accounts
-
AWS Regions
-
Storage classes
-
Table buckets
-
Namespaces
-
Tables
On the Overview tab, your dashboard data is aggregated into three different sections: Dashboard snapshot for date, Trends and distributions, and Top N overview.
For more information about your dashboard, see the following sections.
Dashboard snapshot for date
The Dashboard snapshot section shows summary metrics that Amazon S3 Storage Lens for Tables has aggregated for the selected date, as totals across all table buckets in scope. These summary metrics include the following:
-
Total storage – The total amount of storage used, in bytes.
-
File count – The total number of files.
-
Average file size – The average size per file.
-
Accounts – The number of accounts whose storage is in scope. This value is 1 unless you are using AWS Organizations and your Amazon S3 Storage Lens for Tables configuration has trusted access with a valid service-linked role. For more information, see Using service-linked roles for Amazon S3 Storage Lens.
-
Table buckets – The number of table buckets in scope.
-
Table count – The total number of tables.
Metric data
For each metric that appears in the dashboard snapshot, you can see the following data:
-
Metric name – The name of the metric.
-
Metric category – The category that the metric is organized into.
-
Total for date – The total count for the date selected.
-
% change – The percentage change from the previous day. You can also view the change day over day, week over week, or month over month.
-
30-day trend – A trend-line showing the changes for the metric over a 30-day period.
-
Recommendation – A contextual recommendation based on the data that's provided in the dashboard snapshot. Recommendations are available with the advanced tier.
Trends and distributions
The second section of the Overview tab is Trends and distributions. In the Trends and distributions section, you can choose two metrics to compare over a date range that you define. The Trends and distributions section shows the relationship between two metrics over time. This section displays charts that you can use to see the Storage class and Region distribution between the two trends that you are tracking. You can optionally drill down into a data point in one of the charts for deeper analysis.
Top N overview
The third section of the Amazon S3 Storage Lens for Tables dashboard is Top N overview (sorted in ascending or descending order). This section displays your selected metrics across the top number of accounts, AWS Regions, table buckets, namespaces, or tables. If you enabled Amazon S3 Storage Lens for Tables to work with AWS Organizations, you can also see your selected metrics across your organization.
Drill down and analyze by options
To provide a fluid experience for analysis, the Amazon S3 Storage Lens for Tables dashboard provides an action menu, which appears when you choose any chart value. To use this menu, choose any chart value to see the associated metrics values, and then choose from two options in the box that appears:
-
The Drill down action applies the selected value as a filter across all tabs of your dashboard. You can then drill down into that value for deeper analysis.
-
The Analyze by action takes you to the Dimension tab that you select and applies that tab value as a filter. These tabs include Accounts, AWS Regions, Storage classes, table buckets, Namespaces, and Tables. With Analyze by, you can view the data in the context of the new dimension for deeper analysis.
The Drill down and Analyze by actions might be disabled if the outcome would yield illogical results or would not have any value. Both the Drill down and Analyze by actions apply filters on top of any existing filters across all tabs of the dashboard. You can also remove the filters as needed.
Tabs
The dimension-level tabs provide a detailed view of all values within a particular dimension. For example, the AWS Regions tab shows metrics for all AWS Regions, and the table buckets tab shows metrics for all table buckets. Each dimension tab contains an identical layout consisting of four sections:
-
A trend chart that displays your top N items within the dimension over the last 30 days for the selected metric. By default, this chart displays the top 10 items, but you can decrease it to at least 3 items or increase it up to 50 items.
-
A histogram chart that shows a vertical bar chart for the selected date and metric. If you have a large number of items to display in this chart, you might need to scroll horizontally.
-
A bubble analysis chart that plots all items within the dimension. This chart represents the first metric on the x axis and the second metric on the y axis. The third metric is represented by the size of the bubble.
-
A metric grid view that contains each item in the dimension listed in rows. The columns represent each available metric, arranged in metrics category tabs for easier navigation.
Table detail view
The Table detail view shows metrics for a single table on the selected date. It has four tabs: Summary, Maintenance, Partitions, and Snapshots. Live storage metrics on the Summary tab, and the metrics on the Maintenance, Partitions, and Snapshots tabs, are available with the advanced tier.
Summary and live storage metrics
The Summary tab shows the table's properties, including whether compaction, unreferenced file removal, snapshot management, and trim are enabled, and their retention settings. It also shows table statistics, a breakdown of storage and file counts by file type (data, delete, metadata, manifest, and non-current files), a storage trend, and the data file size distribution. Live storage metrics, such as current snapshot storage bytes and the live small data file percentage, count only the files referenced by the table's current snapshot. Use them with the data file size distribution to see whether small files are accumulating and whether compaction is keeping up.
Live storage metrics and total storage metrics measure different bytes and are captured at different times. Treat the comparison between them as directional rather than exact.
Maintenance
The Maintenance tab shows how table maintenance performed over the last 24 hours. The compaction summary shows the number of compaction runs, the success rate, the latest run, bytes processed, and files added and removed. Snapshot management shows the data, delete, manifest, manifest list, and statistics files that snapshot expiration removed. Unreferenced file removal shows the number of files deleted and whether it's enabled. The error summary counts compaction, unreferenced file removal, snapshot management, metadata file, and manifest file errors. The compaction history lists each compaction operation with its type, target file size, files added and removed, bytes processed, and status. Use this tab to confirm that maintenance is running and succeeding, and to find failed jobs.
The compaction history includes the 100 most recent compaction events in a 24-hour period. Depending on when metrics are collected, an unreferenced file removal or snapshot management job might not appear in a given daily report. When this happens, it appears in the next report.
Partitions
The Partitions tab shows the partition count, the average partition size, and partition skew (the size of the largest partition divided by the average partition size), along with a partition size distribution. The top 100 partitions table lists the largest partitions by size, with their storage, data and delete file counts and sizes, and the percentage of files below the compaction target size. Use this tab to find oversized or fragmented partitions that can slow down queries.
Partition-level detail is provided for the top 100 partitions by size.
Snapshots
The Snapshots tab shows the total number of table snapshots retained, the current snapshot storage bytes, and the latest snapshot storage bytes. The snapshot history lists each table snapshot committed in the last 24 hours, with its ID, timestamp, operation type (append, overwrite, or delete), records added and deleted, data and delete file counts, and file entries added and removed. Use this tab to see how often the table is written to and how many snapshots it retains. Table snapshots on this tab are Apache Iceberg snapshots, not the dashboard snapshot on the All Tables view.
The snapshot history includes the 100 most recent snapshot events in a 24-hour period.