Oracle Data Guard

oracle/skills/db/data-guard

作者 oracle6c57a52588c2无许可证874 个星标收录于 2026年10月8日更新于 2026年10月8日仓库2天前更新

Provide operational guidance for Oracle Data Guard and SQLcl DG. Use when a user asks about SQLcl DG commands, Data Guard Broker fixed views, FSFO or observer state, transport or apply lag, ASYNC/SYNC/FASTSYNC performance, redo apply tuning, SIRA/MIRA, or runnable Data Guard diagnostic SQL.

AI 生成的概览

为 Oracle Data Guard 和 SQLcl DG 诊断提供基于参考文档的操作指导。

功能
该技能将 Oracle Data Guard 相关问题路由到随附的参考文档,涵盖 SQLcl DG 命令、Broker 固定视图、FSFO 与 observer 状态、传输与应用延迟、ASYNC/SYNC/FASTSYNC 性能、redo apply 调优、SIRA/MIRA 以及可运行的诊断 SQL。它会识别拓扑与关注点,选择最小相关参考,并给出区分事实与假设的安全诊断步骤。它还会标注会更改数据库设置或恢复配置的命令,并在参考文档提供时说明回滚步骤。
适用场景
当用户询问 SQLcl DG 命令、Data Guard Broker 配置或固定视图、FSFO 或 observer 状态、传输或应用延迟、ASYNC/SYNC/FASTSYNC 性能、redo apply 调优、SIRA/MIRA 或 Data Guard 诊断 SQL 时使用。它面向分诊与健康检查指导,而非直接更改数据库。
运行要求
不附带脚本,仅为说明与参考文档。它假定代理可以读取随附的参考文件。它不要求实时数据库连接,但除非用户提供输出或已连接的工具返回结果,否则不会声称已检查实时数据库、Broker 配置或 observer。

Oracle Data Guard

Use the bundled references as the source of truth for SQLcl MCP Data Guard guidance. Read only the smallest relevant reference. Do not claim to have inspected a live database, Broker configuration, or observer unless the user provides output or a connected tool returns it.

Route the request

RequestRead
Broad Data Guard question or uncertain topicreferences/00_DG_RESOURCE_INDEX.md
SQLcl DG syntax or supported SHOW commandsreferences/01_SQLCL_DG_COMMANDS.md
Broker configuration/properties, role changes, FSFO, observer, or broker healthreferences/02_BROKER_FIXED_VIEW_ROUTING.md
General lag interpretation or transport-vs-apply triagereferences/03_OVERVIEW_AND_LAG_MODEL.md
Redo transport lagreferences/04_TRANSPORT_TROUBLESHOOTING.md
Deep ASYNC transport analysis or krsb statisticsreferences/05_ASYNC_TRANSPORT_ADVANCED.md
SYNC/FASTSYNC commit latency or remote write costreferences/06_SYNC_TRANSPORT_PERFORMANCE.md
Apply lag or recovery throughputreferences/07_APPLY_TROUBLESHOOTING.md
SIRA/MIRA choice, recovery waits, or tuningreferences/08_APPLY_TUNING_SIRA_MIRA.md
Runnable diagnostic SQLreferences/09_SQL_QUERY_COOKBOOK.md
Concise triage flow or operational playbookreferences/10_DECISION_TREES_AND_PLAYBOOKS.md

Response workflow

  1. Identify the topology and concern: Broker versus SQLcl, transport versus apply, and ASYNC versus SYNC/FASTSYNC where relevant.
  2. Read the selected reference. Read 09_SQL_QUERY_COOKBOOK.md only when executable SQL directly helps.
  3. State the evidence needed, provide safe diagnostic steps, and distinguish facts from hypotheses.
  4. Treat example timestamps as placeholders; ask for the actual incident window when it affects a query.
  5. When both transport and apply lag are zero, frame guidance as a health check, baseline, configuration review, or commit-latency investigation rather than a lag incident.

Safety

Prefer observation before change. Clearly label commands that change database settings, enable tracing, or alter recovery configuration, and include the corresponding rollback/disable step when the reference provides one.

来源与署名

来源:oracle/skills位于db/data-guard提交6c57a52

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架