Skip to content

Commit 1c7387e

Browse files
committed
Some tech review feedback
1 parent 8112a1c commit 1c7387e

File tree

6 files changed

+22
-7
lines changed

6 files changed

+22
-7
lines changed

articles/storage/blobs/blob-inventory-how-to.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,4 +189,5 @@ You can add, edit, or remove a policy via the [Azure CLI](/cli/azure/).
189189
## Next steps
190190

191191
- [Calculate the count and total size of blobs per container](calculate-blob-count-size.md)
192+
- [Tutorial: Analyze blob inventory reports](storage-blob-inventory-report-analytics.md)
192193
- [Manage the Azure Blob Storage lifecycle](./lifecycle-management-overview.md)

articles/storage/blobs/blob-inventory.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,4 +400,5 @@ An object replication policy can prevent an inventory job from writing inventory
400400

401401
- [Enable Azure Storage blob inventory reports](blob-inventory-how-to.md)
402402
- [Calculate the count and total size of blobs per container](calculate-blob-count-size.md)
403+
- [Tutorial: Analyze blob inventory reports](storage-blob-inventory-report-analytics.md)
403404
- [Manage the Azure Blob Storage lifecycle](./lifecycle-management-overview.md)
52.5 KB
Loading
46.7 KB
Loading

articles/storage/blobs/storage-blob-inventory-report-analytics.md

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to analyze and visualize blob inventory reports by using
44
author: normesta
55
ms.service: storage
66
ms.topic: tutorial
7-
ms.date: 11/21/2022
7+
ms.date: 12/01/2022
88
ms.author: normesta
99
ms.subservice: blobs
1010
---
@@ -83,6 +83,8 @@ In this section, you'll generate statistical data that you'll visualize in a rep
8383

8484
1. Download the [ReportAnalysis.ipynb](https://github.com/microsoft/Blob-Inventory-Report-Analytics/blob/main/src/ReportAnalysis.ipynb) sample notebook.
8585

86+
Make sure to save this file with the `.ipynb` extension.
87+
8688
2. Open your Synapse workspace in Synapse Studio. See [Open Synapse Studio](../../synapse-analytics/get-started-create-workspace.md#open-synapse-studio).
8789

8890
3. In Synapse Studio, select the **Develop** tab.
@@ -121,11 +123,22 @@ In this section, you'll generate statistical data that you'll visualize in a rep
121123
122124
2. Verify that the notebook ran successfully by selecting the **Data** tab.
123125

124-
A database named **reportdata** should appear in the **Workspace** tab of the **Data** pane.
126+
A database named **reportdata** should appear in the **Workspace** tab of the **Data** pane. If this database does not appear, then you might have to refresh the web page.
125127

126128
> [!div class="mx-imgBorder"]
127129
> ![Report data database](./media/storage-blob-inventory-report-analytics/report-data-database.png)
128-
130+
131+
The database contains a set of tables. Each table contains information obtained by running the queries from the PySpark notebook.
132+
133+
3. To examine the contents of a table, expand the **Tables** folder of the **reportdata** database. Then, right-click a table, click **Select SQL script**, and then click **Select TOP 100 rows**.
134+
135+
> [!div class="mx-imgBorder"]
136+
> ![Menu option to create a new sql script](./media/storage-blob-inventory-report-analytics/run-sql-scripts-on-tables.png)
137+
138+
4. You can modify the query if you want and then select **Run** to view the results.
139+
140+
> [!div class="mx-imgBorder"]
141+
> ![Query editor and results](./media/storage-blob-inventory-report-analytics/query-editor-and-results.png)
129142
130143
## Visualize the data
131144

@@ -162,6 +175,8 @@ In this section, you'll generate statistical data that you'll visualize in a rep
162175
163176
## Next steps
164177

178+
- Set up an Azure Synapse pipeline to keep running your notebook at regular intervals. That way you can process new inventory reports as they are created. After the initial run, each of the next runs will analyze incremental data and then update the tables with the results of that analysis. For guidance, see [Integrate with pipelines](../../synapse-analytics/get-started-pipelines.md).
179+
165180
- Learn about ways to analyze individual containers in your storage account. See these articles:
166181

167182
[Calculate blob count and total size per container using Azure Storage inventory](calculate-blob-count-size.md)
@@ -174,7 +189,4 @@ In this section, you'll generate statistical data that you'll visualize in a rep
174189

175190
[Estimate the cost of archiving data](archive-cost-estimation.md)
176191

177-
[Optimize costs by automatically managing the data lifecycle](lifecycle-management-overview.md)
178-
179-
180-
Include cost optimization links.
192+
[Optimize costs by automatically managing the data lifecycle](lifecycle-management-overview.md)

articles/storage/common/storage-plan-manage-costs.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ Storage capacity is billed in units of the average daily amount of data stored,
170170
## Next steps
171171

172172
- Learn more on how pricing works with Azure Storage. See [Azure Storage Overview pricing](https://azure.microsoft.com/pricing/details/storage/).
173+
- Understanding how your blobs and containers are stored, organized, and used in production so that you better optimize the tradeoffs between cost and performance. See [Tutorial: Analyze blob inventory reports](storage-blob-inventory-report-analytics.md).
173174
- [Optimize costs for Blob Storage with reserved capacity](../blobs/storage-blob-reserved-capacity.md).
174175
- Learn [how to optimize your cloud investment with Azure Cost Management](../../cost-management-billing/costs/cost-mgt-best-practices.md?WT.mc_id=costmanagementcontent_docsacmhorizontal_-inproduct-learn).
175176
- Learn more about managing costs with [cost analysis](../../cost-management-billing/costs/quick-acm-cost-analysis.md?WT.mc_id=costmanagementcontent_docsacmhorizontal_-inproduct-learn).

0 commit comments

Comments
 (0)