你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

与 Azure SQL 数据库结合使用的 Copilot 示例提示

适用于:Azure SQL 数据库

下面是可与 Azure SQL 数据库中的 Microsoft Copilot 一起使用的示例提示列表。 这些提示旨在帮助你与数据库交互并快速获取相关信息。

技能名称 技能描述 示例提示
活动用户连接 显示数据库的活动用户连接数。 Who is currently actively connected to the database?
反模式查询分析 识别具有反模式的查询,以及它们对性能的潜在影响。 Show me all the queries in my workload that have anti-patterns in them.
自动调优分析 调查自动调优失败和潜在的解决方案。 Why is automatic plan correction failing?
基本数据库信息 检索有关数据库的基本信息。 What is the name of the logical server for this database?
阻塞会话分析 识别和分析阻塞会话。 Check top blocking sessions.
兼容性级别 提供有关数据库兼容性级别的信息。 What's the compatibility level of this database?
连接字符串生成 为数据库生成适当的连接字符串。 Which connection string should I use to connect to my DB?
Copilot 帮助 提供有关 Azure SQL 的一般帮助和指导。 What can you do related to Azure SQL?
数据同步分析 排查数据同步问题,尤其是辅助数据库的同步问题。 Why do my secondaries not have the latest data?
数据库和表大小 提供有关数据库和表大小的信息。 What's the size of this database?
数据库性能分析 分析数据库的总体性能并提出改进建议。 Why is my database slow?
数据库权限列表 列出用户的数据库权限和访问级别。 Which users have access to master database?
死锁分析 调查死锁并提出解决方案建议。 Why am I getting deadlock errors? How can I fix it?
删除的连接分析 调查删除的数据库连接的实例。 Show me all the instances where my database had a dropped connection.
碎片化索引分析 确定碎片化索引及其对性能的影响。 Help me find fragmented indexes.
常见反模式信息 提供有关常见 SQL 反模式的常规信息。 What are the most common SQL antipatterns?
获取服务器的数据库名称 列出特定服务器上的所有数据库。 List all the databases on this server.
CPU 消耗量较高的查询分析 识别和分析 CPU 使用率高的查询。 Why is the CPU usage high on this database?
高 IO 故障排除 检查数据库是否遇到高 I/O。 Is my database experiencing high I/O?
索引列表 显示数据库中的所有索引。 What are all the indexes?
针对特定表的索引建议 为一个或多个表提供索引建议。 Should I add an index on this table?
最新备份信息 提供有关最新数据库备份的信息。 When was the most recent backup of my database created?
存储空间不足故障排除 提供释放数据库空间的建议。 Is there a way I can free up space in my database?
MAXDOP 优化 对 MAXDOP 设置进行分析并提出优化建议。 What's the current MAXDOP and how to optimize?
内存授予分析 分析内存授予问题和潜在原因。 Why am I having memory grant issues?
缺失索引建议 建议缺失索引以提高查询性能。 Missing index suggestion for improving query performance?
时间点还原保留期 提供有关时间点还原保持期的信息。 How far back in time can I go for a point-in-time restore?
查询性能分析 对一些运行缓慢的查询进行调查并提出解决方案。 Why is this query running so slow?
查询存储 - 查找强制执行计划 显示在指定时间范围内具有强制执行计划的查询。 Show me all the queries from the past 2 days that have forced plans.
查询存储 - 查找执行时间变动幅度较大的情况 识别执行时间变化较大的查询。 Which queries on my database have a high variation in execution time?
查询存储 - 查找 I/O 最高的查询 显示 I/O 使用率最高的查询。 What queries on this database use the most I/O?
查询存储 - 按 ID 获取查询文本 显示基于所提供查询 ID 的查询文本 What is the query text for Query ID 1333?
查询存储 - 最新执行的查询 显示最近执行的查询。 What are the most recently executed queries in my database?
查询存储 - 运行时间最长的查询 显示在指定时间范围内运行时间最长的查询。 What are the longest running queries in the past day?
查询存储 - 等待时间最长的查询 识别等待时间最高的查询。 Which queries have had the highest wait times?
查询存储 - 具有多个计划的查询 检查具有多个执行计划的查询。 Show me the queries that have had more than one execution plan.
查询存储 - 退化的查询 识别性能退化的查询。 Have any of my queries gotten significantly slower recently?
查询存储 - 因计划变更导致性能退化的查询 显示因计划变更导致性能退化的查询。 Are there any queries that had plan changes and regressed in performance?
查询存储 - 显示每个查询的执行数 显示每个查询的执行数。 What queries are being executed most often?
查询存储 - 资源消耗量最大的几个查询 识别和分析资源消耗量最高的查询。 What are the most expensive queries in my workload?
查询存储模式故障排除 调查 Query Store 处于只读模式的原因,并提供解决方案。 Why is Query Store in read-only mode? How can I fix it?
相关文档 基于用户的查询提供相关文档的链接。 What does database compatibility level mean?
资源使用状况分析 分析资源使用状况和潜在瓶颈。 Is the database hitting resource limits? Which limits?
表格清单 列出数据库中的所有表。 What are the names of all the tables?
排查错误 18456 帮助处理 SQL 错误 18456。 Help me with SQL error 18456
排查错误 40615 帮助处理 SQL 错误 40615。 Help me with SQL error 40615
排查连接错误 检查连接超时的原因。 Check for causes of connection timeouts in my database
排查登录失败问题 诊断登录失败问题。 Why can't I login to my database?
排查查询超时问题 解决查询超时问题。 Help me with query timeout issues
等待统计信息分析 分析等待统计信息和潜在的性能瓶颈。 What do the wait statistics look like for my database?
工作负载增加和扩容分析 评估工作负载增加和扩容的潜在需求。 Has increased workload or traffic caused performance issues?

注释

Copilot 由 AI 提供支持,因此可能发生意外和错误。