Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 396cf86

Browse files
authored
Merge branch 'MicrosoftDocs:main' into 250326-release-arc-data
2 parents 914ed9f + ea5bcdc commit 396cf86

73 files changed

Lines changed: 2447 additions & 1035 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/allow-signoff-for-files.yml

Lines changed: 769 additions & 0 deletions
Large diffs are not rendered by default.

azure-sql/database-watcher-overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: An overview of database watcher for Azure SQL, a managed monitoring
55
author: lcwright
66
ms.author: lancewright
77
ms.reviewer: wiassaf, dfurman
8-
ms.date: 04/09/2025
8+
ms.date: 04/21/2025
99
ms.service: azure-sql
1010
ms.subservice: monitoring
1111
ms.topic: conceptual
@@ -211,6 +211,7 @@ This section describes recent database watcher fixes, changes, and improvements.
211211

212212
| Time period | Changes |
213213
|:--|:--|
214+
| April 2025 | - Fix a bug where a database watcher deployment via Bicep, an ARM template, Terraform, or REST API would fail if the **subscription ID**, **resource group name**, or **watcher name** deployment parameters used inconsistent casing.</br> - Fix a bug where collection of certain datasets for a **SQL database** target would stop if the database was restored from backup.</br> - Change to limit data collection in the **Table metadata** datasets for databases with many tables and for SQL managed instances with many databases to avoid long-running collection queries.</br> - Improve collection query performance for the **Session statistics** dataset for **SQL managed instance** targets. |
214215
| February 2025 | - Add support for alerting. For more information, see [Database watcher alerts](database-watcher-alerts.md). |
215216
| January 2025 | - Fix to make database watcher deployments via Bicep or ARM templates idempotent.</br> - Fix a bug where SQL Agent job history details on the SQL Managed Instance detailed dashboard weren't displayed.</br> - Fix a bug when filtering data on the **Sessions** charts on the detailed dashboards would cause KQL query errors.</br> - Fix a bug where storage throughput values on the detailed dashboards were incorrect.</br> - Improve storage utilization charts on the detailed dashboards to include the maximum storage size.</br> - Improve to show the original and compressed size of collected data in the **Data store** section.</br> - Improve the message shown when a dashboard cannot connect to the data store to include suggestions for common problems.</br> - Add informational messages when there is no data shown on the **Top queries** dashboards for known reasons.</br> - Add Hyperscale log rate limit information in the **Replicas** dataset for Azure SQL databases.</br> - Add transaction start time and log bytes used to the **Active sessions** datasets. |
216217
| November 2024 | - Enable database watcher in the **Australia Central**, **Australia Southeast**, **Canada East**, **Central US**, **Germany West Central**, **Japan West**, **Korea Central**, and **North Central US** Azure regions.</br> - Increase the limit on the number of SQL targets per watcher from 50 to 100. |
@@ -249,7 +250,6 @@ During preview, database watcher has the following known issues.
249250
| If you create a managed private endpoint for a watcher to connect to a SQL managed instance that is stopped, the provisioning state of the private endpoint is reported as **Failed**, and the watcher cannot connect to the instance. | Delete the managed private endpoint with the **Failed** provisioning state and [start](./managed-instance/instance-stop-start-how-to.md) the SQL managed instance. Once the failed private endpoint is deleted and the instance is running, [re-create](database-watcher-manage.md#create-a-managed-private-endpoint) the managed private endpoint. |
250251
| Data is not collected if you use a database in Real-Time Analytics as the data store, and the **OneLake availability** option is enabled. | Disable the **OneLake availability** option and restart the watcher to resume data collection. |
251252
| Because of a known issue in Azure Monitor Alerts, if you edit an alert rule created from a database watcher template, the scope of any fired alert will be set to the Azure Data Explorer cluster used as the watcher data store instead of the SQL target that the alert applies to. | Edit the alert rule programmatically, for example using Bicep or an ARM template, and set the `resourceIdColumn` property to the value `resource_id`. For more information, see [Resource Manager template samples for log search alert rules in Azure Monitor](/azure/azure-monitor/alerts/resource-manager-alerts-log). |
252-
| A database watcher deployment via Bicep, an ARM template, Terraform, or REST API fails if the **subscription ID**, **resource group name**, or **watcher name** deployment parameters use inconsistent casing. For example, adding a SQL target for an existing watcher named `example-watcher` fails if the deployment parameter uses `Example-Watcher` as the parameter value. | Use consistent casing for string parameters. For example, standardize on the lower case. |
253253

254254
## Troubleshoot
255255

azure-sql/database/ai-artificial-intelligence-intelligent-applications.md

Lines changed: 11 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: "Use AI options such as OpenAI and vectors to build intelligent app
44
author: WilliamDAssafMSFT
55
ms.author: wiassaf
66
ms.reviewer: damauri, josephsack, randolphwest, mathoma
7-
ms.date: 12/09/2024
7+
ms.date: 04/18/2025
88
ms.service: azure-sql-database
99
ms.topic: conceptual
1010
ms.collection:
@@ -17,9 +17,13 @@ monikerRange: "=azuresql || =azuresql-db || =fabricsql"
1717

1818
[!INCLUDE [asdb-fabricsqldb](../includes/appliesto-sqldb-fabricsqldb.md)]
1919

20+
> [!div class="op_single_selector"]
21+
> * [Azure SQL Database](ai-artificial-intelligence-intelligent-applications.md?view=azuresql&preserve-view=true)
22+
> * [Azure SQL Managed Instance](../managed-instance/ai-artificial-intelligence-intelligent-applications.md?view=azuresql&preserve-view=true)
23+
2024
This article provides an overview of using artificial intelligence (AI) options, such as OpenAI and vectors, to build intelligent applications with Azure SQL Database and [Fabric SQL database](/fabric/database/sql/overview), which shares many of these features of Azure SQL Database.
2125

22-
For samples and examples, please visit the [SQL AI Samples repository](https://aka.ms/sqlaisamples).
26+
For samples and examples, visit the [SQL AI Samples repository](https://aka.ms/sqlaisamples).
2327

2428
Watch this video in the [Azure SQL Database essentials series](/shows/azure-sql-database-essentials/) for a brief overview of building an AI ready application:
2529
> [!VIDEO https://learn-video.azurefd.net/vod/player?id=466d4554-4747-45dd-8f21-5ae73b1fa981]
@@ -35,7 +39,7 @@ The following links provide sample code of various options to build intelligent
3539
| AI Option | Description |
3640
| --- | --- |
3741
| **[Azure OpenAI](#azure-openai)** | Generate embeddings for RAG and integrate with any model supported by Azure OpenAI. |
38-
| **[Vectors](#vectors)** | Learn how to store and query vectors the database. |
42+
| **[Vectors](#vectors)** | Learn how to store and query vectors in the database. |
3943
| **[Azure AI Search](#azure-ai-search)** | Use your database together with Azure AI Search to train LLM on your data. |
4044
| **[Intelligent applications](#intelligent-applications)** | Learn how to create an end-to-end solution using a common pattern that can be replicated in any scenario. |
4145
| **[Copilot skills in Azure SQL Database](#microsoft-copilot-skills-in-azure-sql-database)** | Learn about the set of AI-assisted experiences designed to streamline the design, operation, optimization, and health of Azure SQL Database-driven applications. |
@@ -130,8 +134,6 @@ For additional examples on using SQL Database and OpenAI, see the following arti
130134

131135
## Vectors
132136

133-
### Vector data type
134-
135137
In November 2024, the new **vector** data type was introduced in Azure SQL Database.
136138

137139
The dedicated **vector** type allows for efficient and optimized storing of vector data, and comes with a set of functions to help developers streamline vector and similarity search implementation. Calculating distance between two vectors can be done in one line of code using the new `VECTOR_DISTANCE` function. For more information on the [**vector** data type](/sql/t-sql/data-types/vector-data-type) and related functions, see [Overview of vectors in the SQL Database Engine](/sql/relational-databases/vectors/vectors-sql-server).
@@ -154,32 +156,6 @@ ORDER BY
154156
VECTOR_DISTANCE('cosine', @my_reference_vector, embedding)
155157
```
156158

157-
### Vectors in older versions of SQL Server
158-
159-
While older versions of SQL Server engine, up to and including SQL Server 2022, doesn't have a native **vector** type, a vector is nothing more than an ordered tuple, and relational databases are great at managing tuples. You can think of a tuple as the formal term for a row in a table.
160-
161-
Azure SQL Database also supports columnstore indexes and [batch mode execution](/sql/relational-databases/query-processing-architecture-guide#batch-mode-execution). A vector-based approach is used for batch mode processing, which means that each column in a batch has its own memory location where it's stored as a vector. This allows for faster and more efficient processing of data in batches.
162-
163-
The following example shows how a vector can be stored in SQL Database:
164-
165-
```sql
166-
CREATE TABLE [dbo].[wikipedia_articles_embeddings_titles_vector]
167-
(
168-
[article_id] [int] NOT NULL,
169-
[vector_value_id] [int] NOT NULL,
170-
[vector_value] [float] NOT NULL
171-
)
172-
GO
173-
174-
CREATE CLUSTERED COLUMNSTORE INDEX ixc
175-
ON dbo.wikipedia_articles_embeddings_titles_vector
176-
ORDER (article_id);
177-
GO
178-
```
179-
180-
For an example that uses a common subset of Wikipedia articles with embeddings already generated using OpenAI, see [Vector similarity search with Azure SQL Database and OpenAI](https://devblogs.microsoft.com/azure-sql/vector-similarity-search-with-azure-sql-database-and-openai/).
181-
182-
Another option for leveraging Vector Search in Azure SQL database is integration with Azure AI using the integrated vectorization capabilities: [Vector Search with Azure SQL Database and Azure AI Search](https://devblogs.microsoft.com/azure-sql/vector-search-with-azure-sql-database/)
183159

184160
## Azure AI Search
185161

@@ -195,7 +171,7 @@ Azure SQL Database can be used to build intelligent applications that include AI
195171

196172
:::image type="content" source="media/ai-artificial-intelligence-intelligent-applications/session-recommender-architecture.png" alt-text="Diagram of different AI features to build intelligent applications with Azure SQL Database." lightbox="media/ai-artificial-intelligence-intelligent-applications/session-recommender-architecture.png":::
197173

198-
For an end-to-end sample to build a AI-enabled application using sessions abstract as a sample dataset, see:
174+
For an end-to-end sample to build an AI-enabled application using sessions abstract as a sample dataset, see:
199175

200176
- [How I built a session recommender in 1 hour using OpenAI](https://devblogs.microsoft.com/azure-sql/how-i-built-a-session-recommender-in-1-hour-using-open-ai/).
201177
- [Using Retrieval Augmented Generation to build a conference session assistant](https://github.com/Azure-Samples/azure-sql-db-session-recommender-v2)
@@ -213,7 +189,7 @@ A few of samples on using Azure SQL with LangChain:
213189

214190
End-to-end examples:
215191

216-
- [Build a chatbot on your own data in 1 hour with Azure SQL, Langchain and Chainlit](https://devblogs.microsoft.com/azure-sql/build-a-chatbot-on-your-own-data-in-1-hour-with-azure-sql-langchain-and-chainlit/): Build a chatbot using the RAG pattern on your own data using Langchain for orchestrating LLM calls and Chainlit for the UI.
192+
- [Build a chatbot on your own data in 1 hour with Azure SQL, Langchain, and Chainlit](https://devblogs.microsoft.com/azure-sql/build-a-chatbot-on-your-own-data-in-1-hour-with-azure-sql-langchain-and-chainlit/): Build a chatbot using the RAG pattern on your own data using Langchain for orchestrating LLM calls and Chainlit for the UI.
217193

218194
### Semantic Kernel integration
219195

@@ -229,7 +205,7 @@ An example of how easily Semantic Kernel helps to build AI-enabled solution is h
229205

230206
[Microsoft Copilot in Azure SQL Database (preview)](../copilot/copilot-azure-sql-overview.md) is a set of AI-assisted experiences designed to streamline the design, operation, optimization, and health of Azure SQL Database-driven applications.
231207

232-
Copilot provides relevant answers to user questions, simplifying database management by leveraging database context, documentation, dynamic management views, Query Store, and other knowledge sources. For example:
208+
Copilot provides relevant answers to user questions, simplifying database management by using database context, documentation, dynamic management views, Query Store, and other knowledge sources. For example:
233209

234210
- Database administrators can independently manage databases and resolve issues, or learn more about the performance and capabilities of your database.
235211
- Developers can ask questions about their data as they would in text or conversation to generate a T-SQL query. Developers can also learn to write queries faster through detailed explanations of the generated query.
@@ -255,7 +231,7 @@ Copilot provides relevant answers to user questions, simplifying database manage
255231

256232
- **Document-based Q&A**: Ask Copilot questions about general SQL database capabilities, and it responds in natural language. Copilot also helps find documentation related to your request.
257233

258-
Copilot for SQL database utilizes table and view names, column names, primary key, and foreign key metadata to generate T-SQL code. Copilot for SQL database does not use data in tables to generate T-SQL suggestions.
234+
Copilot for SQL database utilizes table and view names, column names, primary key, and foreign key metadata to generate T-SQL code. Copilot for SQL database doesn't use data in tables to generate T-SQL suggestions.
259235

260236
## Related content
261237

azure-sql/database/authentication-azure-ad-user-assigned-managed-identity.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ These permissions should be granted before you provision a logical server or man
6363

6464
### Permissions for SMI
6565

66-
The same Microsoft Graph applications are needed for the SMI, but the UMI permissions can be eliminated for Azure SQL Database using an SMI. The `CREATE USER` T-SQL syntax would need the `SID` and `TYPE` syntax, as described in the article, [CREATE USER (Transact-SQL)](/sql/t-sql/statements/create-user-transact-sql#syntax).
66+
The same Microsoft Graph applications permissions are needed with the SMI.
67+
68+
Applies only to **Azure SQL Database**: Using an SMI gives an opportunity to not explicitly provision the Microsoft Graph permissions. The Microsoft Entra users can still be created without the needed Microsoft Graph permission by using the `CREATE USER` T-SQL syntax. This would require the `SID` and `TYPE` syntax, as described in the article, [CREATE USER (Transact-SQL)](/sql/t-sql/statements/create-user-transact-sql#syntax).
6769

6870
```syntaxsql
6971
CREATE USER
@@ -82,7 +84,9 @@ CREATE USER
8284
| TYPE = { X | E }
8385
```
8486

85-
The above syntax allows creation of Microsoft Entra users without validation. For this to work, the `Object Id` of the Microsoft Entra principal would have to be supplied and used as an `SID` in the T-SQL statement, as explained in [Create a contained database user from a Microsoft Entra principal without validation](/sql/t-sql/statements/create-user-transact-sql#k-create-a-contained-database-user-from-a-microsoft-entra-principal-without-validation).
87+
The above syntax allows creation of Microsoft Entra users *without validation.* For this to work, the `Object Id` of the Microsoft Entra principal would have to be supplied and used as an `SID` in the T-SQL statement, as explained in [Create a contained database user from a Microsoft Entra principal without validation](/sql/t-sql/statements/create-user-transact-sql#k-create-a-contained-database-user-from-a-microsoft-entra-principal-without-validation).
88+
89+
The validity check of the **Object Id** is the responsibility of the user running the T-SQL statement.
8690

8791
### Grant permissions
8892

34 KB
Loading

azure-sql/database/monitoring-metrics-alerts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Here's the logic used for calculating Availability for every one-minute interval
8383
- If all connections fail due to user errors, availability is 100%.
8484
- If there are no connection attempts, availability is 100%.
8585
- If all connections fail due to system errors, availability is 0%.
86-
- Currently, availability metric data is not yet supported for the serverless compute tier and will be displayed as 100%.
86+
- Currently, the availability metric data isn't supported for the serverless compute tier, and displays 100%.
8787

8888
Availability metric is therefore a composite metric derived from following existing metrics:
8989

@@ -102,7 +102,7 @@ User errors include all connections that fail due to user configuration, workloa
102102

103103
- Examples of errors caused by user workload:
104104
- [Connection failure due to resource governance](troubleshoot-common-errors-issues.md?view=azuresql-db&preserve-view=true#resource-governance-errors)
105-
105+
106106
- Examples of errors caused by user management:
107107
- Scaling up or down the database or elastic pool
108108
- Geo replication planned or forced failover

azure-sql/database/security-best-practice.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ This document is intended as a companion to our existing [Azure SQL Database sec
5151

5252
Unless otherwise stated, we recommend you follow all best practices listed in each section to achieve the respective goal or requirement. To meet specific security compliance standards or best practices, important regulatory compliance controls are listed under the Requirements or Goals section wherever applicable. These are the security standards and regulations that are referenced in this paper:
5353

54-
- [FedRAMP](https://www.fedramp.gov/documents/): AC-04, AC-06
54+
- [FedRAMP](https://www.fedramp.gov/): AC-04, AC-06
5555
- [SOC](https://www.aicpa-cima.com/resources/landing/system-and-organization-controls-soc-suite-of-services): CM-3, SDL-3
5656
- [ISO/IEC 27001](https://www.iso27001security.com/html/27001.html): Access Control, Cryptography
5757
- [Microsoft Operational Security Assurance (OSA) practices](https://www.microsoft.com/securityengineering/osa/practices): Practice #1-6 and #9

azure-sql/database/service-tier-hyperscale-replicas.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ As a result, named replicas offer several benefits over HA replicas, for what co
6868

6969
- Users connected to a named replica aren't disconnected if the primary replica is scaled up or down.
7070
- Users connected to the primary replica aren't affected when any named replicas are scaled up or down.
71-
- Workloads running on any replica - primary or named - are unaffected by long-running queries running on other replicas.
7271

7372
The main goal of named replicas is to enable a broad variety of [read scale-out](read-scale-out.md) scenarios, and to improve Hybrid Transactional and Analytical Processing (HTAP) workloads. Examples of how to create such solutions are available here:
7473

0 commit comments

Comments
 (0)