Atlan currently supports usage and popularity metrics for the following connectors:
- Amazon Redshift — tables, views, and columns. Expensive queries and compute costs for Amazon Redshift assets are currently unavailable due to limitations at source.
- Databricks — tables, views, and columns. Expensive queries and compute costs for Databricks assets are currently unavailable due to limitations of the Databricks APIs.
- Google BigQuery — tables, views, and columns
- Microsoft Power BI — reports and dashboards
- Snowflake — tables, views, and columns
Powered by Atlan’s enhanced query-mining capabilities, you can view popularity metrics for supported assets:
- The popularity score of an asset is computed using both the number of queries and the number of users who have queried that asset in the last 30 days. The popularity score of an asset helps determine its relative popularity. All assets with a popularity score are then slotted into one of four percentile groups — Least popular, Less popular, Popular, and Most popular.
- Popularity score is calculated using the following formula:
number of distinct users * log (total number of read queries)
- Time period = 30 days
- Popularity score is calculated using the following formula:
- The popularity indicator is displayed for all supported assets that have been queried in the last 30 days. This indicator visualizes the relative popularity of an asset on a scale of 1 to 4 blue bars — 1 being the lowest score and 4 being the highest.
- A popularity popover will appear when hovering over the popularity indicator. It displays additional information pertaining to an asset, such as a graph for trends in the data, last queried and by whom, and when the data was last updated.
View popularity metrics
To view popularity metrics for your assets, complete these steps.
Identify popular assets
Being able to identify your most relevant and trusted data assets can help you increase their adoption and drive usage within your organization.
To view popularity metrics for an asset:
- From the left menu in Atlan, click Assets.
- For Connector on the Assets page, select a supported connector — for this example, we'll select Snowflake.
- Next to the search bar on the Assets page, click the sort button.
- From the Popularity sorting menu, click Most popular to view most used assets or Least popular to view least used assets.
- Your assets will now have a popularity indicator. To view the popularity popover for an asset, click or hover over the popularity indicator.
You'll now be able to see all the relevant popularity metrics for your asset! 🎉
View usage metrics in the asset sidebar
The new Usage tab in the asset sidebar helps you view usage metadata for your assets.
For example, if you'd like to appoint a data steward for your data assets, you'll be able to determine the right candidate based on the top users for that asset. You'll also be able to review popular queries or users for a particular table while checking for data compliance.
To view usage details for an asset:
- From the left menu in Atlan, click Assets.
- For Connector on the Assets page, select a supported connector — for this example, we'll select Snowflake.
- Next to the search bar on the Assets page, click the sort button.
- From the Popularity sorting menu, click Most popular to view most used assets or Least popular to view least used assets.
- In the bottom right of any asset card, click or hover over the popularity indicator to open the popularity popover.
- In the popularity popover, click View usage details to view the following:
- For Usage, view top and recent users in the last 30 days.
- For Queries, view top five queries by context — Popular, Slow, and Expensive. Only read queries or
SELECT
statements are shown for these queries. - For Compute, view the total compute cost for an asset. The compute cost is split between read and write queries, allowing you to better understand the cost breakdown for individual assets:
- Read queries —
SELECT
statements. - Write queries — all non-
SELECT
statements, for example,UPDATE
,INSERT
,CREATE
, and more.
- Read queries —
The usage details for the asset will now appear in the asset sidebar! 🎉
View and sort columns by popularity
For any Snowflake, Databricks, or Google BigQuery table or view sorted by popularity, you'll also be able to view and sort the columns by popularity in the asset profile.
To view column assets by popularity:
- From the left menu in Atlan, click Assets.
- For Connector on the Assets page, select a supported connector — for this example, we'll select Snowflake.
- Next to the search bar on the Assets page, click the sort button.
- From the Popularity sorting menu, click Most popular to view most used assets or Least popular to view least used assets.
- Click any asset to open to its asset profile.
- In the Column preview tab of the asset profile, hover over the popularity indicator to view the popularity popover for your columns.
- (Optional) In the search bar under Column preview, click the sort icon and then click Most popular or Least popular to sort columns by popularity.
You'll now be able to view the popularity score, number of queries and users, and timestamp for last queried for your columns! 🎉
View queries by context
Get the context you need before querying an asset to help you optimize your queries. Query popular, slow, or expensive queries from the Usage tab directly in Insights.
To view and work with queries by context:
- From the left menu in Atlan, click Assets.
- For Connector on the Assets page, select a supported connector — for this example, we'll select Snowflake.
- Next to the search bar on the Assets page, click the sort button.
- From the Popularity sorting menu, click Most popular to view most used assets or Least popular to view least used assets.
- In the bottom right of any asset card, click or hover over the popularity indicator to open the popularity popover.
- In the popularity popover, click View usage details.
- In the Usage tab in the asset sidebar, navigate to Queries and depending on the type of query you'd like to see:
- Click Popular to see the top five most popular queries.
- Click Slow to see queries sorted by average duration and last run.
- Click Expensive to see the top five most expensive queries.
- Once you've selected the relevant query type, hover over a query card to:
- Click the expand icon to see the query details.
- Click the copy icon to copy the query and use it as a template for writing your own queries.
- Click the code icon to open the query directly in Insights and run it.