Oracle Data Guard

oracle/skills/db/data-guard

by oracle6c57a52588c2No license874 starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated 2 days ago

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-generated overview

Provides reference-based operational guidance for Oracle Data Guard and SQLcl DG diagnostics.

What it does
This skill routes Oracle Data Guard questions to bundled reference documents covering SQLcl DG commands, Broker fixed views, FSFO and observer state, transport and apply lag, ASYNC/SYNC/FASTSYNC performance, redo apply tuning, SIRA/MIRA, and runnable diagnostic SQL. It identifies the topology and concern, selects the smallest relevant reference, and returns safe diagnostic steps that separate facts from hypotheses. It also flags commands that change database settings or recovery configuration and notes rollback steps where available.
When to use it
Use it when a user asks about SQLcl DG commands, Data Guard Broker configuration or fixed views, FSFO or observer state, transport or apply lag, ASYNC/SYNC/FASTSYNC performance, redo apply tuning, SIRA/MIRA, or Data Guard diagnostic SQL. It is intended for triage and health-check guidance rather than direct database changes.
Requirements
No scripts are shipped; it is instructions and reference documents only. It assumes the agent can read the bundled reference files. It does not require a live database connection, but it will not claim to have inspected a live database, Broker configuration, or observer unless the user provides output or a connected tool returns it.

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.

Source and attribution

Source:oracle/skillsindb/data-guardat commit6c57a52

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal