Thursday, October 21, 2021

SQL Server and Azure Purview work better together

Azure Purview, which recently became generally available, allows governance of on-premises SQL server farms at scale, and with ease. This blog details how to register and scan a SQL server. It also describes how to restrict access and discover assets easily by grouping SQL servers into Purview collections. Using Purview, users can also gain further insights into their entire hybrid data estate.

Register and scan SQL Server
Navigate to a Purview account and click on the Data Map section to the left. Users can view their data estate maps and choose to view sources in table format as well.

MarisaBrasile_0-1634821186490.png

 

Purview now supports more than 20 source types, ranging from Azure SQL DB to AWS S3 to Oracle DB. There are two ways to register a source—by either clicking on the register button on the top left or navigating to the collection you’d like to register the source to and clicking on the register quick action icon. After doing so, click on the SQL server source tile and fill in the required details.

MarisaBrasile_1-1634821186498.png

 

As part of the required details, users can register a source to a collection of interest. In our example, we register the source to the NorthAmericaOP (on-premises) collection.

 

Once a source has been registered, the next step is to set up self-hosted integration runtime, scan rule set, and credentials. Then it’s time to set up and run your scan. While setting up the scan, fill in details for the integration runtime, database name (leaving it empty will scan the entire server), and credential. A scan can also be set up with a collection—in our example we leave the collection on the scan as NorthAmericaOP (that of the parent source). Now ensure that all these assets are scanned into the catalog with the right collection associated with them for discovery and access control.

MarisaBrasile_2-1634821186502.png

 

Users can further choose to scope a scan, set up a schedule, and review all details before running it. View the results of the scan by clicking on View details for the source.

MarisaBrasile_3-1634821186506.png

 

Trace Lineage
When Azure Data Factory is used to move and transform data, lineage relating to your SQL server can automatically be captured and surfaced in Purview. Learn how to link an ADF instance to the Purview account.

MarisaBrasile_4-1634821186512.png

 

 

Search and Browse your SQL Server Tables
Once the scan completes, you can discover assets via search or browse. To browse, click on the browse assets tile on the catalog home page, navigate to the by source type tab, click on SQL Server, and navigate to the table that you’re interested in learning more about. Users can also browse for SQL server tables by collection.

MarisaBrasile_5-1634821186517.png

 

 

MarisaBrasile_6-1634821186520.png

 

Search for a table by keyword and narrow down results by using the facet filters on the left. In our following example, we search by the keyword “employee” and narrow down our results by selecting the “firmwide” glossary term.

MarisaBrasile_7-1634821186530.png

 

 

MarisaBrasile_8-1634821186534.png

 

Add business metadata to your SQL server assets
Navigate to a SQL table and view all of its details. Add descriptions, classifications, and business glossary terms by clicking on the edit button (provided you’re a data curator in the scope of the collection the asset belongs to) to aid in discoverability and compliance.

MarisaBrasile_9-1634821186538.png

 

Gain Insights
Finally, view SQL server-related insights around assets, scans, glossary, classification, and labels by navigating to the insights section of Purview.

MarisaBrasile_10-1634821186543.png

 

 

Get started today!

  • Quickly and easily create an Azure Preview account to try the generally available features.
  • Read documentation about how to register and scan SQL Server in Azure Purview

 

 

 

Posted at https://sl.advdat.com/3ncCVLb