mcpField
A
azure-database-postgresql

azure-database-postgresql

github.com/microsoftdocs数据与数据库796246 次安装3 天前更新
代码仓库

关于 azure-database-postgresql

面向使用 Azure Database for PostgreSQL 的 Agent,提供故障排查、架构设计、安全、配置和部署等文档指引。结合本地速查内容与远程文档获取,覆盖数据库运维和集成场景。

主要功能

  1. 01故障诊断与修复指引
  2. 02性能调优与迁移建议
  3. 03架构设计和容量决策
  4. 04安全与服务器配置参考
  5. 05集成、编码及部署模式

适用场景

  1. 01排查连接、TLS 或性能问题
  2. 02规划 PostgreSQL 容量与扩展
  3. 03配置身份验证和网络安全
  4. 04设计迁移或 AI 集成方案

MCP 相关

此技能建议通过 mcp_microsoftdocs 的 microsoft_docs_fetch 获取文档;也可使用 fetch_webpage 作为备用方式。

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/microsoftdocs/agent-skills --skill azure-database-postgresql

安装后在 Claude Code 中输入/azure-database-postgresql确认已加载。

详细介绍

Azure Database for PostgreSQL 技能

此技能提供有关 Azure Database for PostgreSQL 的专业指导,涵盖故障排除、最佳实践、决策制定、架构与设计模式、限制与配额、安全性、配置、集成与编码模式以及部署。它将本地快速参考内容与远程文档获取功能相结合。

如何使用此技能

IMPORTANT for Agent:使用下方的类别索引查找相关章节。对于带有行范围的类别(例如 L35-L120),请使用 read_file 并指定相应行。对于带有文件链接的类别(例如 [security.md](security.md)),请使用 read_file 读取链接的参考文件。

IMPORTANT for Agent:如果 metadata.generated_at 距今已超过 3 个月,请建议用户从存储库拉取最新版本。如果无法使用 mcp_microsoftdocs 工具,请建议用户安装该工具:安装指南

此技能需要网络访问才能获取文档内容:

  • 首选:使用 mcp_microsoftdocs:microsoft_docs_fetch,并将查询字符串设为 from=learn-agent-skill。返回 Markdown。
  • 备用:使用 fetch_webpage,并将查询字符串设为 from=learn-agent-skill&accept=text/markdown。返回 Markdown。

类别索引

类别行描述
故障排除L37-L73诊断并修复 Azure 上的 PostgreSQL 问题:连接/TLS、高可用性和副本、性能(CPU、IOPS、内存、慢查询、autovacuum)、迁移、扩展、CLI 及故障排除指南。
最佳实践L74-L95Azure PostgreSQL 的性能、调优和迁移最佳实践:查询/存储调优、pgvector/Apache AGE、连接池、维护、批量加载、清除膨胀,以及 Oracle 到 Postgres 的转换。
决策制定L96-L112Flexible Server 的大小调整与扩展指南(计算、存储、Ultra Disk)、网络/Private Link、托管方式选择、副本提升,以及 PostgreSQL 版本、升级和支持。
架构与设计模式L113-L124Azure 上 PostgreSQL 的架构与模式:微服务、多租户、分片、表设计、使用 Redis 缓存,以及使用 OpenAI 提供建议和语义搜索。
限制与配额L125-L149Azure PostgreSQL 的备份、存储和容量限制,包括 PITR/还原行为、SSD/SSDv2 性能、配额、弹性群集限制,以及迁移/转换约束。
安全性L150-L181保护 Azure Database for PostgreSQL:身份与身份验证(Entra、托管标识、SCRAM)、网络/防火墙/Private Link、TLS、加密、审核、角色、策略及 Defender 集成。
配置L182-L268配置 Azure Database for PostgreSQL Flexible Server:维护时段、高可用性、网络、日志记录/指标、扩展、调优/参数、PgBouncer、VS Code 工具、CLI 及只读副本虚拟终结点。
集成与编码模式L269-L294将 Azure PostgreSQL 与 AI/ML(Language、AML、LangChain、Foundry、MCP)集成的模式和代码、向量搜索(pgvector、DiskANN)、SDK 自动化、Data Factory、CLI 及 VS Code/Copilot 工具。
部署L295-L304将 PostgreSQL 部署和迁移到 Azure flexible server 的指南(从 Aurora、RDS、本地/VM、Oracle 迁移),配置 VNet/专用终结点,以及时间点还原。
故障排除
主题URL
对 Azure PostgreSQL 运行升级验证检查https://learn.microsoft.com/en-us/azure/postgresql/configure-maintain/how-to-run-upgrade-validation-checks
解决 Azure PostgreSQL 上的扩展管理错误https://learn.microsoft.com/en-us/azure/postgresql/extensions/errors-extensions
监视并排查 Azure PostgreSQL 的 HA 运行状况https://learn.microsoft.com/en-us/azure/postgresql/high-availability/how-to-monitor-high-availability
解决 PostgreSQL 迁移的迁移前验证错误代码https://learn.microsoft.com/en-us/azure/postgresql/migrate/migration-service/troubleshoot-error-codes
使用应用程序转换报告进行验证https://learn.microsoft.com/en-us/azure/postgresql/migrate/oracle-conversions-application/app-conversions-reports
使用 Query Performance Insight 优化 PostgreSQLhttps://learn.microsoft.com/en-us/azure/postgresql/monitor/concepts-query-performance-insight
使用 Query Store 排查 PostgreSQL 性能问题https://learn.microsoft.com/en-us/azure/postgresql/monitor/concepts-query-store
使用 PostgreSQL 自主调优建议https://learn.microsoft.com/en-us/azure/postgresql/monitor/how-to-get-apply-recommendations-from-autonomous-tuning
排查 Azure PostgreSQL 的 TLS 连接问题https://learn.microsoft.com/en-us/azure/postgresql/security/security-tls-troubleshoot
诊断 Azure PostgreSQL 中的暂时性连接错误https://learn.microsoft.com/en-us/azure/postgresql/troubleshoot/concepts-connectivity
使用 PostgreSQL 灵活服务器故障排除指南https://learn.microsoft.com/en-us/azure/postgresql/troubleshoot/concepts-troubleshooting-guides
监视并优化 Azure PostgreSQL 中的 autovacuumhttps://learn.microsoft.com/en-us/azure/postgresql/troubleshoot/how-to-autovacuum-tuning
排查并优化 PostgreSQL 弹性群集上的 autovacuumhttps://learn.microsoft.com/en-us/azure/postgresql/troubleshoot/how-to-autovacuum-tuning-elastic-clusters
诊断并缓解 PostgreSQL 中的高 CPU 使用率https://learn.microsoft.com/en-us/azure/postgresql/troubleshoot/how-to-high-cpu-utilization
排查 PostgreSQL 弹性群集中的高 CPU 使用率https://learn.microsoft.com/en-us/azure/postgresql/troubleshoot/how-to-high-cpu-utilization-elastic-clusters
调查并降低 PostgreSQL 中的高 IOPShttps://learn.microsoft.com/en-us/azure/postgresql/troubleshoot/how-to-high-io-utilization
排查 Azure PostgreSQL 中的高内存使用率https://learn.microsoft.com/en-us/azure/postgresql/troubleshoot/how-to-high-memory-utilization
诊断 Azure PostgreSQL 灵活服务器上的慢查询https://learn.microsoft.com/en-us/azure/postgresql/troubleshoot/how-to-identify-slow-queries
诊断 PostgreSQL 弹性群集上运行缓慢的查询https://learn.microsoft.com/en-us/azure/postgresql/troubleshoot/how-to-identify-slow-queries-elastic-clusters
解决部署或扩展 Azure PostgreSQL 时的容量错误https://learn.microsoft.com/en-us/azure/postgresql/troubleshoot/how-to-resolve-capacity-errors
排查 PostgreSQL 的 Azure CLI 错误https://learn.microsoft.com/en-us/azure/postgresql/troubleshoot/how-to-troubleshoot-cli-errors
排查 Azure PostgreSQL 的连接问题https://learn.microsoft.com/en-us/azure/postgresql/troubleshoot/how-to-troubleshoot-common-connection-issues
在 Azure 门户中运行 PostgreSQL 故障排除指南https://learn.microsoft.com/en-us/azure/postgresql/troubleshoot/how-to-troubleshooting-guides
配置 PostgreSQL 故障排除指南的遥测源https://learn.microsoft.com/en-us/azure/postgresql/troubleshoot/reference-troubleshooting-guides-telemetry
修复 Azure PostgreSQL 中的 autovacuum 阻塞和回卷问题https://learn.microsoft.com/en-us/azure/postgresql/troubleshoot/troubleshoot-autovacuum-blockers
监视 Azure PostgreSQL 中的 autovacuum 和回卷风险https://learn.microsoft.com/en-us/azure/postgresql/troubleshoot/troubleshoot-autovacuum-monitoring
诊断 PostgreSQL 中的 Azure Storage 扩展错误https://learn.microsoft.com/en-us/azure/postgresql/troubleshoot/troubleshoot-azure-storage-extension
解决 Azure Database for PostgreSQL 只读副本上的“由于与恢复冲突而取消语句”问题https://learn.microsoft.com/en-us/azure/postgresql/troubleshoot/troubleshoot-canceling-statement-due-to-conflict-with-recovery
诊断 Azure PostgreSQL 灵活服务器上的高 CPU 使用率https://learn.microsoft.com/en-us/azure/postgresql/troubleshoot/troubleshoot-high-cpu
调查 Azure PostgreSQL 灵活服务器上的高 IOPShttps://learn.microsoft.com/en-us/azure/postgresql/troubleshoot/troubleshoot-high-iops
排查 Azure PostgreSQL 中的高内存使用率https://learn.microsoft.com/en-us/azure/postgresql/troubleshoot/troubleshoot-high-memory
解决 Azure PostgreSQL 中临时文件使用量过高的问题https://learn.microsoft.com/en-us/azure/postgresql/troubleshoot/troubleshoot-high-temporary-files
修复 PostgreSQL 中的密码身份验证失败错误https://learn.microsoft.com/en-us/azure/postgresql/troubleshoot/troubleshoot-password-authentication-failed-for-user
最佳实践
主题URL
优化 Azure 上 Apache AGE 图查询性能https://learn.microsoft.com/en-us/azure/postgresql/azure-ai/generative-ai-age-performance
将 Azure Advisor 建议应用于 Azure PostgreSQLhttps://learn.microsoft.com/en-us/azure/postgresql/configure-maintain/concepts-azure-advisor-recommendations
规划 Azure PostgreSQL Flexible Server 的维护工作https://learn.microsoft.com/en-us/azure/postgresql/configure-maintain/concepts-maintenance
在 Azure PostgreSQL 上应用 PgBouncer 连接池策略https://learn.microsoft.com/en-us/azure/postgresql/connectivity/concepts-connection-pooling-best-practices
应用 Azure 特定的 PostgreSQL 扩展注意事项https://learn.microsoft.com/en-us/azure/postgresql/extensions/concepts-extensions-considerations
优化 Azure PostgreSQL 上的 pgvector 性能https://learn.microsoft.com/en-us/azure/postgresql/extensions/how-to-optimize-performance-pgvector
应用迁移到 Azure PostgreSQL 的最佳实践https://learn.microsoft.com/en-us/azure/postgresql/migrate/migration-service/best-practices-migration-service-postgresql
遵循 Oracle 应用转换的最佳实践https://learn.microsoft.com/en-us/azure/postgresql/migrate/oracle-conversions-application/app-conversions-best-practices
应用 Oracle 架构转换的最佳实践https://learn.microsoft.com/en-us/azure/postgresql/migrate/oracle-conversions-schema/schema-conversions-best-practices
了解 PostgreSQL flexible server 的自主调优https://learn.microsoft.com/en-us/azure/postgresql/monitor/concepts-autonomous-tuning
使用 PostgreSQL flexible server 的智能调优https://learn.microsoft.com/en-us/azure/postgresql/monitor/concepts-intelligent-tuning
遵循 PostgreSQL Query Store 的最佳实践https://learn.microsoft.com/en-us/azure/postgresql/monitor/concepts-query-store-best-practices
应用 PostgreSQL 的 Query Store 使用场景https://learn.microsoft.com/en-us/azure/postgresql/monitor/concepts-query-store-scenarios
根据性能指南创建 Azure PostgreSQL 只读副本https://learn.microsoft.com/en-us/azure/postgresql/read-replica/how-to-create-read-replica
将数据批量加载到 Azure PostgreSQL flexible serverhttps://learn.microsoft.com/en-us/azure/postgresql/troubleshoot/how-to-bulk-load-data
优化 Azure PostgreSQL 上的 pg_stat_statements 查询统计信息https://learn.microsoft.com/en-us/azure/postgresql/troubleshoot/how-to-optimize-query-stats-collection
使用 pg_repack 清除 Azure PostgreSQL 上的膨胀https://learn.microsoft.com/en-us/azure/postgresql/troubleshoot/how-to-perform-fullvacuum-pg-repack
为 Azure PostgreSQL 调整 pg_dump 和 pg_restorehttps://learn.microsoft.com/en-us/azure/postgresql/troubleshoot/how-to-pgdump-restore
决策
主题URL
为 Azure PostgreSQL Flexible Server 选择计算层级https://learn.microsoft.com/en-us/azure/postgresql/compute-storage/concepts-compute
为 Azure PostgreSQL Flexible Server 选择存储选项https://learn.microsoft.com/en-us/azure/postgresql/compute-storage/concepts-storage
为 Azure PostgreSQL 选择并配置 Ultra Diskhttps://learn.microsoft.com/en-us/azure/postgresql/compute-storage/concepts-storage-ultra-disk
规划并执行 Azure Database for PostgreSQL 的主要版本升级https://learn.microsoft.com/en-us/azure/postgresql/configure-maintain/concepts-major-version-upgrade
应用 Azure PostgreSQL 版本控制和升级策略https://learn.microsoft.com/en-us/azure/postgresql/configure-maintain/concepts-version-policy
为 PostgreSQL Flexible Server 版本使用扩展支持https://learn.microsoft.com/en-us/azure/postgresql/configure-maintain/extended-support
选择 Azure PostgreSQL Flexible Server 托管选项https://learn.microsoft.com/en-us/azure/postgresql/configure-maintain/overview-postgres-choose-server-options
在 Azure PostgreSQL 迁移中使用迁移前验证https://learn.microsoft.com/en-us/azure/postgresql/migrate/migration-service/concepts-premigration-migration-service
为 Azure PostgreSQL 选择并配置 Private Linkhttps://learn.microsoft.com/en-us/azure/postgresql/network/concepts-networking-private-link
将 Azure PostgreSQL 只读副本提升为主服务器或独立服务器https://learn.microsoft.com/en-us/azure/postgresql/read-replica/concepts-read-replicas-promote
将 Azure PostgreSQL 只读副本提升为独立服务器https://learn.microsoft.com/en-us/azure/postgresql/read-replica/how-to-promote-replica-to-standalone
将 Azure PostgreSQL 只读副本切换为主服务器角色https://learn.microsoft.com/en-us/azure/postgresql/read-replica/how-to-switch-over-replica-to-primary
为 PostgreSQL Flexible Server 资源选择扩展选项https://learn.microsoft.com/en-us/azure/postgresql/scale/concepts-scaling-resources
架构与设计模式
主题URL
使用 Azure PostgreSQL 和 OpenAI 构建推荐系统https://learn.microsoft.com/en-us/azure/postgresql/azure-ai/generative-ai-recommendation-system
使用 Azure PostgreSQL 和 OpenAI 实现语义搜索https://learn.microsoft.com/en-us/azure/postgresql/azure-ai/generative-ai-semantic-search
在 PostgreSQL 弹性群集上设计微服务存储https://learn.microsoft.com/en-us/azure/postgresql/configure-maintain/tutorial-microservices
使用 PostgreSQL 弹性群集设计多租户应用https://learn.microsoft.com/en-us/azure/postgresql/configure-maintain/tutorial-multitenant-database
使用 PostgreSQL 弹性群集并行处理实时仪表板https://learn.microsoft.com/en-us/azure/postgresql/configure-maintain/tutorial-real-time-dashboard
在 Azure PostgreSQL 中使用 Redis 缓存https://learn.microsoft.com/en-us/azure/postgresql/development/how-to-cache
为 PostgreSQL 弹性群集选择分片模型https://learn.microsoft.com/en-us/azure/postgresql/elastic-clusters/concepts-elastic-clusters-sharding-models
在 PostgreSQL 弹性群集中选择表类型https://learn.microsoft.com/en-us/azure/postgresql/elastic-clusters/concepts-elastic-clusters-table-types
限制与配额
主题URL
PostgreSQL 灵活服务器中的备份保留和 PITR 行为https://learn.microsoft.com/en-us/azure/postgresql/backup-restore/concepts-backup-restore
管理和删除 PostgreSQL 灵活服务器中的按需备份https://learn.microsoft.com/en-us/azure/postgresql/backup-restore/how-to-delete-backups
在保留期限内还原已删除的 PostgreSQL 灵活服务器https://learn.microsoft.com/en-us/azure/postgresql/backup-restore/how-to-restore-deleted-server
PostgreSQL 灵活服务器的异地还原行为和限制https://learn.microsoft.com/en-us/azure/postgresql/backup-restore/how-to-restore-paired-region
通过 PITR 将 Azure PostgreSQL 从 SSD 迁移到 SSDv2https://learn.microsoft.com/en-us/azure/postgresql/compute-storage/concepts-storage-migrate-ssd-to-ssd-v2
了解 Azure PostgreSQL 的 Premium SSD 限制https://learn.microsoft.com/en-us/azure/postgresql/compute-storage/concepts-storage-premium-ssd
为 PostgreSQL 灵活服务器调整 Premium SSD v2 存储https://learn.microsoft.com/en-us/azure/postgresql/compute-storage/concepts-storage-premium-ssd-v2
查看 Azure PostgreSQL 的容量和功能限制https://learn.microsoft.com/en-us/azure/postgresql/configure-maintain/concepts-limits
为 Azure PostgreSQL 灵活服务器申请提高配额https://learn.microsoft.com/en-us/azure/postgresql/configure-maintain/how-to-request-quota-increase
查看 Azure PostgreSQL 灵活服务器弹性群集的限制https://learn.microsoft.com/en-us/azure/postgresql/elastic-clusters/concepts-elastic-clusters-limitations
配置 PostgreSQL 弹性群集中的最大客户端连接数https://learn.microsoft.com/en-us/azure/postgresql/elastic-clusters/how-to-network-elastic-clusters-default-maximum-connections
查看 PostgreSQL 迁移服务的已知问题和限制https://learn.microsoft.com/en-us/azure/postgresql/migrate/migration-service/concepts-known-issues-migration-service
查看 Oracle 应用转换的限制https://learn.microsoft.com/en-us/azure/postgresql/migrate/oracle-conversions-application/app-conversions-limitations
了解 Oracle 架构转换的限制https://learn.microsoft.com/en-us/azure/postgresql/migrate/oracle-conversions-schema/schema-conversions-limitations
按版本查看统计信息收集器参数的可用性https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-statistics-query-index-statistics-collector
了解 Azure PostgreSQL 中归档恢复参数的可用性https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-write-ahead-log-archive-recovery
按 PostgreSQL 版本查看恢复参数的可用性https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-write-ahead-log-recovery
查看 Azure PostgreSQL 中恢复目标参数的可用性https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-write-ahead-log-recovery-target
在 Azure PostgreSQL 灵活服务器中使用只读副本https://learn.microsoft.com/en-us/azure/postgresql/read-replica/concepts-read-replicas
配置 Azure PostgreSQL 的存储自动增长阈值https://learn.microsoft.com/en-us/azure/postgresql/scale/how-to-auto-grow-storage
调整 PostgreSQL 灵活服务器的存储性能层级https://learn.microsoft.com/en-us/azure/postgresql/scale/how-to-scale-storage-performance
安全性
主题URL
为 PostgreSQL 中的 Azure AI 扩展启用托管标识https://learn.microsoft.com/en-us/azure/postgresql/azure-ai/generative-ai-enable-managed-identity-azure-ai
使用锁为 PostgreSQL 灵活服务器启用删除保护https://learn.microsoft.com/en-us/azure/postgresql/configure-maintain/how-to-enable-deletion-protection
在 VS Code 中配置 PostgreSQL 扩展连接和标识https://learn.microsoft.com/en-us/azure/postgresql/development/vs-code-extension/connections
通过 Private Link 将 Data Factory 连接到 PostgreSQLhttps://learn.microsoft.com/en-us/azure/postgresql/integration/how-to-connect-data-factory-private-endpoint
分配运行 PostgreSQL 迁移所需的权限https://learn.microsoft.com/en-us/azure/postgresql/migrate/migration-service/concepts-required-user-permissions
配置 Azure PostgreSQL 公共访问的防火墙规则https://learn.microsoft.com/en-us/azure/postgresql/network/how-to-networking-servers-deployed-public-access-add-firewall-rules
为 Azure PostgreSQL 添加专用终结点连接https://learn.microsoft.com/en-us/azure/postgresql/network/how-to-networking-servers-deployed-public-access-add-private-endpoint
通过 Azure CLI 创建 PostgreSQL 服务器和防火墙https://learn.microsoft.com/en-us/azure/postgresql/samples/sample-create-server-and-firewall-rule
通过 CLI 使用 VNet 规则创建 PostgreSQL 服务器https://learn.microsoft.com/en-us/azure/postgresql/samples/sample-create-server-with-vnet-rule
在 Azure PostgreSQL 中实施访问控制和角色管理https://learn.microsoft.com/en-us/azure/postgresql/security/security-access-control
在 Azure PostgreSQL 上配置基于 pgaudit 的审核日志记录https://learn.microsoft.com/en-us/azure/postgresql/security/security-audit
应用 Azure Policy 保护 Azure PostgreSQL 资源https://learn.microsoft.com/en-us/azure/postgresql/security/security-azure-policy
了解 PostgreSQL 灵活服务器的安全性与合规性https://learn.microsoft.com/en-us/azure/postgresql/security/security-compliance
为 Azure PostgreSQL 配置数据加密密钥https://learn.microsoft.com/en-us/azure/postgresql/security/security-configure-data-encryption
为 Azure PostgreSQL 启用系统分配的托管标识https://learn.microsoft.com/en-us/azure/postgresql/security/security-configure-managed-identities-system-assigned
为 Azure PostgreSQL 配置用户分配的托管标识https://learn.microsoft.com/en-us/azure/postgresql/security/security-configure-managed-identities-user-assigned
为 Azure PostgreSQL 配置 SCRAM 身份验证https://learn.microsoft.com/en-us/azure/postgresql/security/security-connect-scram
使用托管标识连接到 Azure PostgreSQLhttps://learn.microsoft.com/en-us/azure/postgresql/security/security-connect-with-managed-identity
了解 Azure PostgreSQL 的静态数据加密https://learn.microsoft.com/en-us/azure/postgresql/security/security-data-encryption
在 Azure PostgreSQL 中使用 Microsoft Defender for Cloudhttps://learn.microsoft.com/en-us/azure/postgresql/security/security-defender-for-cloud
为 Azure PostgreSQL 配置 Microsoft Entra 身份验证https://learn.microsoft.com/en-us/azure/postgresql/security/security-entra-configure
为 Azure PostgreSQL 公共终结点定义防火墙规则https://learn.microsoft.com/en-us/azure/postgresql/security/security-firewall-rules
在 Azure 灵活服务器上创建和管理 PostgreSQL 用户https://learn.microsoft.com/en-us/azure/postgresql/security/security-manage-database-users
为 PostgreSQL 灵活服务器配置托管标识https://learn.microsoft.com/en-us/azure/postgresql/security/security-managed-identity-overview
为 Azure PostgreSQL 灵活服务器应用安全控制https://learn.microsoft.com/en-us/azure/postgresql/security/security-overview
为 Azure PostgreSQL 配置 TLS 版本和策略https://learn.microsoft.com/en-us/azure/postgresql/security/security-tls
设置与 Azure PostgreSQL 的 TLS 连接https://learn.microsoft.com/en-us/azure/postgresql/security/security-tls-how-to-connect
更新用于 Azure PostgreSQL TLS 的 Java 客户端证书https://learn.microsoft.com/en-us/azure/postgresql/security/security-update-trusted-root-java
配置
主题URL
为 PostgreSQL 灵活服务器配置计划维护时段https://learn.microsoft.com/en-us/azure/postgresql/configure-maintain/how-to-configure-scheduled-maintenance
为 Azure PostgreSQL 配置内置 PgBouncerhttps://learn.microsoft.com/en-us/azure/postgresql/connectivity/concepts-pgbouncer
使用 Bicep 模板预配 Azure PostgreSQL 服务器https://learn.microsoft.com/en-us/azure/postgresql/development/create-server-bicep
在 VS Code 中配置高级 PostgreSQL 连接https://learn.microsoft.com/en-us/azure/postgresql/development/vs-code-extension/advanced-connection-options
从 VS Code 管理 Azure PostgreSQL 服务器https://learn.microsoft.com/en-us/azure/postgresql/development/vs-code-extension/azure-server-management
配置 Copilot 与 PostgreSQL VS Code 扩展的集成https://learn.microsoft.com/en-us/azure/postgresql/development/vs-code-extension/copilot-integration
了解 PostgreSQL VS Code 扩展中的 MCP 服务工具https://learn.microsoft.com/en-us/azure/postgresql/development/vs-code-extension/mcp-server
使用 PostgreSQL VS Code 扩展命令https://learn.microsoft.com/en-us/azure/postgresql/development/vs-code-extension/reference/commands
使用 PostgreSQL VS Code 扩展中的键盘快捷键https://learn.microsoft.com/en-us/azure/postgresql/development/vs-code-extension/reference/keyboard-shortcuts
配置 PostgreSQL VS Code 扩展设置https://learn.microsoft.com/en-us/azure/postgresql/development/vs-code-extension/reference/settings
在 VS Code 中使用 PostgreSQL 服务器仪表板指标https://learn.microsoft.com/en-us/azure/postgresql/development/vs-code-extension/server-dashboard
在 PostgreSQL 灵活服务器中启用 azure_local_ai 嵌入https://learn.microsoft.com/en-us/azure/postgresql/extensions/azure-local-ai
在 Azure Flexible Server 上启用 PostgreSQL 扩展https://learn.microsoft.com/en-us/azure/postgresql/extensions/concepts-extensions-by-engine
Azure PostgreSQL 扩展参考列表https://learn.microsoft.com/en-us/azure/postgresql/extensions/concepts-extensions-versions
在 Azure PostgreSQL 上允许和管理扩展https://learn.microsoft.com/en-us/azure/postgresql/extensions/how-to-allow-extensions
为 PostgreSQL 灵活服务器配置 Azure Storage 扩展https://learn.microsoft.com/en-us/azure/postgresql/extensions/how-to-configure-azure-storage-extension
在 Azure PostgreSQL Flexible Server 上创建扩展https://learn.microsoft.com/en-us/azure/postgresql/extensions/how-to-create-extensions
在 Azure PostgreSQL 上安全删除扩展https://learn.microsoft.com/en-us/azure/postgresql/extensions/how-to-drop-extensions
在 Azure PostgreSQL 上配置 shared_preload_librarieshttps://learn.microsoft.com/en-us/azure/postgresql/extensions/how-to-load-libraries
在 Azure PostgreSQL Flexible Server 上更新扩展https://learn.microsoft.com/en-us/azure/postgresql/extensions/how-to-update-extensions
为 Azure PostgreSQL 灵活服务器配置高可用性https://learn.microsoft.com/en-us/azure/postgresql/high-availability/how-to-configure-high-availability
为 Azure PostgreSQL 配置迁移参数https://learn.microsoft.com/en-us/azure/postgresql/migrate/migration-service/concepts-migration-parameters
为 PostgreSQL 迁移服务配置网络https://learn.microsoft.com/en-us/azure/postgresql/migrate/migration-service/how-to-network-setup-migration-service
为 Azure PostgreSQL 灵活服务器配置自适应自动清理https://learn.microsoft.com/en-us/azure/postgresql/monitor/concepts-adaptive-autovacuum
配置和访问 Azure PostgreSQL Flexible Server 日志https://learn.microsoft.com/en-us/azure/postgresql/monitor/concepts-logging
为 PostgreSQL 灵活服务器配置指标警报https://learn.microsoft.com/en-us/azure/postgresql/monitor/how-to-alert-on-metrics
配置和路由 PostgreSQL 灵活服务器日志https://learn.microsoft.com/en-us/azure/postgresql/monitor/how-to-configure-and-access-logs
配置 PostgreSQL 自主调优参数https://learn.microsoft.com/en-us/azure/postgresql/monitor/how-to-configure-autonomous-tuning
配置 PostgreSQL 智能调优设置https://learn.microsoft.com/en-us/azure/postgresql/monitor/how-to-configure-intelligent-tuning
配置和下载 PostgreSQL 服务器及升级日志https://learn.microsoft.com/en-us/azure/postgresql/monitor/how-to-configure-server-logs
使用 Grafana 仪表板可视化 PostgreSQL 指标和日志https://learn.microsoft.com/en-us/azure/postgresql/monitor/how-to-use-dashboards-with-grafana
更改 Azure PostgreSQL 私有访问的专用 DNS 区域https://learn.microsoft.com/en-us/azure/postgresql/network/how-to-networking-servers-deployed-vnet-integration-change-private-dns-zone
了解 Azure PostgreSQL Flexible Server 中可配置的参数https://learn.microsoft.com/en-us/azure/postgresql/parameters/concepts-parameters
列出 Azure PostgreSQL 灵活服务器中的所有服务器参数https://learn.microsoft.com/en-us/azure/postgresql/parameters/how-to-parameters-list-all
列出 Azure PostgreSQL 中默认值已修改的参数https://learn.microsoft.com/en-us/azure/postgresql/parameters/how-to-parameters-list-modified
列出 Azure PostgreSQL 中只读动态参数https://learn.microsoft.com/en-us/azure/postgresql/parameters/how-to-parameters-list-read-only
列出 Azure PostgreSQL 中读写动态参数https://learn.microsoft.com/en-us/azure/postgresql/parameters/how-to-parameters-list-read-write-dynamic
列出 Azure PostgreSQL 中读写静态参数https://learn.microsoft.com/en-us/azure/postgresql/parameters/how-to-parameters-list-read-write-static
将 Azure PostgreSQL 中的所有参数还原为默认值https://learn.microsoft.com/en-us/azure/postgresql/parameters/how-to-parameters-revert-all-default
将 Azure PostgreSQL 中的单个参数还原为默认值https://learn.microsoft.com/en-us/azure/postgresql/parameters/how-to-parameters-revert-one-default
在 Azure PostgreSQL 灵活服务器中设置参数值https://learn.microsoft.com/en-us/azure/postgresql/parameters/how-to-parameters-set-value
在 Azure PostgreSQL 中配置自适应自动清理参数https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-adaptive-autovacuum
在 Azure PostgreSQL 中管理自主调优参数https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-autonomous-tuning
在 Azure PostgreSQL Flexible Server 上调整自动清理参数https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-autovacuum
在 Azure PostgreSQL 中配置其他客户端连接默认值https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-client-connection-defaults-defaults
为 Azure PostgreSQL 客户端设置区域设置和格式默认值https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-client-connection-defaults-locale-formatting
通过 Azure PostgreSQL 中的客户端默认值预加载共享库https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-client-connection-defaults-shared-library-preloading
在 Azure PostgreSQL 中控制客户端语句行为参数https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-client-connection-defaults-statement-behavior
配置 Azure PostgreSQL 连接的身份验证参数https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-connections-authentication-authentication
调整 Azure PostgreSQL 中的连接设置和 max_connectionshttps://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-connections-authentication-connection-settings
管理 Azure PostgreSQL 的 SSL 连接参数https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-connections-authentication-ssl
调整 Azure PostgreSQL Flexible Server 的 TCP 连接设置https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-connections-authentication-tcp-settings
配置 azure_storage.blob_block_size_mb 等自定义选项https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-customized-options
在 Azure PostgreSQL 上设置开发者选项参数https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-developer-options
在 Azure PostgreSQL 中配置错误处理参数https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-error-handling
管理 Azure PostgreSQL 的文件位置参数https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-file-locations
在 Azure PostgreSQL 中使用智能调优参数https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-intelligent-tuning
在 Azure PostgreSQL 中配置锁管理参数https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-lock-management
为 Azure PostgreSQL 设置日志文件和指标参数https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-log-files-metrics
在 Azure PostgreSQL 中配置迁移相关参数https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-migration
在 Azure PostgreSQL 中配置 PgBouncer 连接池参数https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-pgbouncer
在 Azure PostgreSQL 中应用预设选项参数https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-preset-options
在 Azure PostgreSQL 中控制进程标题参数https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-process-title
在 Azure PostgreSQL 中配置 Query Store 参数https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-query-store
在 Azure PostgreSQL 中调整遗传查询优化器参数https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-query-tuning-genetic-query-optimizer
配置 effective_cache_size 等规划器成本常量https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-query-tuning-planner-cost-constants
在 Azure PostgreSQL 中设置规划器方法配置参数https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-query-tuning-planner-method-configuration
在 Azure PostgreSQL 中调整用于查询优化的规划器选项https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-query-tuning-planner-options
在 Azure PostgreSQL 中配置复制主服务器参数https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-replication-master-server
在 Azure PostgreSQL 中管理主服务器复制参数https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-replication-primary-server
在 Azure PostgreSQL 中配置复制发送服务器槽https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-replication-sending-servers
在 Azure PostgreSQL 中配置大页内存使用量https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-resource-usage-memory
为 Azure PostgreSQL WAL 检查点配置 max_wal_sizehttps://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-write-ahead-log-checkpoints
为 Azure PostgreSQL 配置 wal_buffers 设置https://learn.microsoft.com/en-us/azure/postgresql/parameters/parameters-write-ahead-log-settings
为 Azure PostgreSQL 只读副本配置虚拟终结点https://learn.microsoft.com/en-us/azure/postgresql/read-replica/concepts-read-replicas-virtual-endpoints
为 Azure PostgreSQL 灵活服务器创建虚拟终结点https://learn.microsoft.com/en-us/azure/postgresql/read-replica/how-to-create-virtual-endpoints
删除 Azure PostgreSQL 灵活服务器只读副本https://learn.microsoft.com/en-us/azure/postgresql/read-replica/how-to-delete-read-replica
删除 Azure PostgreSQL 灵活服务器中的虚拟终结点https://learn.microsoft.com/en-us/azure/postgresql/read-replica/how-to-delete-virtual-endpoints
查看 Azure PostgreSQL 中配置的虚拟终结点https://learn.microsoft.com/en-us/azure/postgresql/read-replica/how-to-show-virtual-endpoints
更新 Azure PostgreSQL 灵活服务器上的虚拟终结点https://learn.microsoft.com/en-us/azure/postgresql/read-replica/how-to-update-virtual-endpoints
通过 CLI 列出和更新 PostgreSQL 服务器配置https://learn.microsoft.com/en-us/azure/postgresql/samples/sample-change-server-configuration
通过 CLI 监视和纵向扩展或缩减 PostgreSQL 灵活服务器https://learn.microsoft.com/en-us/azure/postgresql/samples/sample-scale-server-up-or-down
通过 CLI 启用和下载 PostgreSQL 慢查询日志https://learn.microsoft.com/en-us/azure/postgresql/samples/sample-server-logs
集成与编码模式
主题URL
从 PostgreSQL 调用 Azure Language 服务https://learn.microsoft.com/en-us/azure/postgresql/azure-ai/generative-ai-azure-cognitive
从 PostgreSQL 调用 Azure Machine Learning 模型https://learn.microsoft.com/en-us/azure/postgresql/azure-ai/generative-ai-azure-machine-learning
将 LangChain 与 Azure PostgreSQL 向量数据库搭配使用https://learn.microsoft.com/en-us/azure/postgresql/azure-ai/generative-ai-develop-with-langchain
通过 MCP 将 Azure PostgreSQL 与 Microsoft Foundry 集成https://learn.microsoft.com/en-us/azure/postgresql/azure-ai/generative-ai-foundry-integration
将 AI 编排框架与 Azure PostgreSQL 集成https://learn.microsoft.com/en-us/azure/postgresql/azure-ai/generative-ai-frameworks
在 Azure PostgreSQL 上启用并配置 pg_partmanhttps://learn.microsoft.com/en-us/azure/postgresql/configure-maintain/how-to-use-pg-partman
使用 Azure .NET SDK 管理 PostgreSQL 服务https://learn.microsoft.com/en-us/azure/postgresql/development/create-server-dotnet-sdk
使用 Azure Java SDK 管理 PostgreSQL 服务https://learn.microsoft.com/en-us/azure/postgresql/development/create-server-java-sdk
使用 Azure Python SDK 管理 PostgreSQL 服务https://learn.microsoft.com/en-us/azure/postgresql/development/create-server-python-sdk
在 VS Code 中运行参数化 PostgreSQL 查询https://learn.microsoft.com/en-us/azure/postgresql/development/vs-code-extension/parameterized-queries
在 Copilot Chat 中使用 PostgreSQL 聊天参与者https://learn.microsoft.com/en-us/azure/postgresql/development/vs-code-extension/reference/chat-participant
在 VS Code 中使用 PostgreSQL Copilot 工具https://learn.microsoft.com/en-us/azure/postgresql/development/vs-code-extension/reference/copilot-tools
在 PostgreSQL VS Code 扩展中使用 MCP 服务提供程序https://learn.microsoft.com/en-us/azure/postgresql/development/vs-code-extension/reference/mcp-server
在 Azure PostgreSQL 上启用并使用 DiskANNhttps://learn.microsoft.com/en-us/azure/postgresql/extensions/how-to-use-pgdiskann
使用 pgvector 在 Azure PostgreSQL 上进行向量搜索https://learn.microsoft.com/en-us/azure/postgresql/extensions/how-to-use-pgvector
查看 PostgreSQL 的 Azure Storage 扩展函数参考https://learn.microsoft.com/en-us/azure/postgresql/extensions/reference-azure-storage-extension
自动启动/停止 PostgreSQL 灵活服务器https://learn.microsoft.com/en-us/azure/postgresql/integration/create-automation-tasks
将 Azure Data Factory 连接到 PostgreSQL 灵活服务器https://learn.microsoft.com/en-us/azure/postgresql/integration/how-to-connect-data-factory
在 Data Factory 中使用 PostgreSQL 复制活动https://learn.microsoft.com/en-us/azure/postgresql/integration/how-to-data-factory-copy-activity-azure
通过 Data Factory 脚本活动运行 PostgreSQL 脚本https://learn.microsoft.com/en-us/azure/postgresql/integration/how-to-data-factory-script-activity-azure
在 Azure PostgreSQL 中使用 pg_dump 和 pg_restorehttps://learn.microsoft.com/en-us/azure/postgresql/migrate/how-to-migrate-using-dump-and-restore
为 PostgreSQL 迁移服务设置 Azure CLI 集成https://learn.microsoft.com/en-us/azure/postgresql/migrate/migration-service/how-to-setup-azure-cli-commands-postgresql
部署
主题URL
使用 Azure Pipelines 任务部署 Azure PostgreSQLhttps://learn.microsoft.com/en-us/azure/postgresql/configure-maintain/azure-pipelines-deploy-database-task
将 Amazon Aurora PostgreSQL 离线迁移到 Azure 灵活服务器https://learn.microsoft.com/en-us/azure/postgresql/migrate/migration-service/tutorial-migration-service-aurora-offline
将 VM/本地 PostgreSQL 离线迁移到 Azure 灵活服务器https://learn.microsoft.com/en-us/azure/postgresql/migrate/migration-service/tutorial-migration-service-iaas-offline
将 Amazon RDS PostgreSQL 离线迁移到 Azure 灵活服务器https://learn.microsoft.com/en-us/azure/postgresql/migrate/migration-service/tutorial-migration-service-rds-offline
将转换后的 Oracle 架构部署到 Azure PostgreSQLhttps://learn.microsoft.com/en-us/azure/postgresql/migrate/oracle-conversions-schema/schema-conversions-setup
将 PostgreSQL 灵活服务器 VNet 迁移到专用终结点https://learn.microsoft.com/en-us/azure/postgresql/network/how-to-migrate-vnet-private-endpoint-capable-server
将 PostgreSQL 灵活服务器还原到某个时间点https://learn.microsoft.com/en-us/azure/postgresql/samples/sample-point-in-time-restore

评论

支持 Markdown