Use Amazon SageMaker Unified Studio system tables
Amazon SageMaker Unified Studio can publish usage data for a domain to your own AWS account as Apache Iceberg tables in Amazon S3 Tables. The usage system tables record which domains, domain units, projects, project profiles, environments, blueprints, connections, subscriptions, notebooks, assets, and user profiles exist in a domain, and how that inventory changes over time. In the Amazon SageMaker Unified Studio portal, this feature is called System table integration.
Ways to use the usage system tables
You can use the data in the following ways:
-
The Domain and project usage dashboard. A prebuilt dashboard on the Monitoring page of the Domain Management portal reads the usage system tables. It tracks growth in projects, blueprints, environments, user profiles, assets, and subscriptions. For more information, see Viewing the domain and project usage dashboard.
-
Your own queries. Because the data is stored in the open Iceberg format, you can query it with Amazon Athena, Amazon SageMaker Unified Studio notebooks, Amazon Redshift, or any other Iceberg-compatible engine. You don't need to build or maintain an extract, transform, and load (ETL) pipeline.
The following are examples of questions that you can answer with the usage system tables:
-
Adoption over time: How many projects, environments, and notebooks were created in each domain over the last 90 days?
-
Feature adoption: Which environment blueprints does each project use, and what percentage of projects use each blueprint?
-
Organizational rollups: How are projects distributed across domain units?
-
User growth: How many user profiles does each domain have, by identity source (IAM or AWS IAM Identity Center)?
-
Change history: What did a project, connection, or subscription look like on a specific date?
How usage system tables work
After you turn on system table integration for a domain, Amazon SageMaker Unified Studio takes a daily
snapshot of the domain's inventory and appends it to the usage system
tables. Every row carries the snapshot_time of the snapshot it belongs to, so
you can query the state of the domain on any past day.
The tables are in your AWS account, but they are service-managed. AWS owns and operates delivery and table management, including the following:
-
Creating the S3 table bucket, a namespace for each domain, and the tables in your account
-
Defining and evolving the table schemas
-
Writing snapshot data in Apache Iceberg format
-
Compacting data and maintaining snapshots, which S3 Tables handles automatically
You can't modify or delete the rows that Amazon SageMaker Unified Studio writes. You control who can read the tables and how long data is kept, and you can delete the tables and the table bucket. For more information, see Security and data governance for usage system tables.
Table bucket, namespace, and table names
The following table describes where Amazon SageMaker Unified Studio stores the usage system tables.
| Level | Name | Notes |
|---|---|---|
| Table bucket | aws-sagemaker-unified-studio |
One for each account and Region, shared by all domains in that account and Region. |
| Namespace | The domain ID, in lowercase, with hyphens replaced by underscores | For example, domain dzd-1234567890abcd writes to namespace
dzd_1234567890abcd. Each domain's data is stored separately. |
| Tables | domain_entity and user_profile |
One of each in each domain namespace. |
After you integrate the table bucket with the AWS Glue Data Catalog, the tables
appear under the federated catalog
s3tablescatalog/aws-sagemaker-unified-studio, with each domain namespace as a
database.
Pricing for usage system tables
You pay for S3 Tables storage and maintenance of the data that you keep, and for the
query engine that you use to read it, at that engine's rates. For more information, see
Amazon S3 pricing
Additional resources
For more information about working with the usage system tables, see the following topics: