denrepo

OracleData Guard

Standby redo log configuration

Standby redo logs by thread. You want one more group per thread than you have online log groups, all the same size as the online logs.

Not yet verified. How scripts are tested

ora-dg-srl.sql
1CLEAR COLUMNS2SET LINESIZE 100 PAGESIZE 100 TRIMOUT ON TAB OFF3COLUMN group#   HEADING "GROUP"   FORMAT 9994COLUMN thread#  HEADING "THREAD"  FORMAT 9995COLUMN size_mb  HEADING "SIZE MB" FORMAT 99,9906COLUMN status   FORMAT A127 8SELECT group#, thread#, ROUND(bytes / 1048576) AS size_mb, status9FROM v$standby_log10ORDER BY thread#, group#;

Save it as ora-dg-srl.sql and run it with SQL> @ora-dg-srl.

Open in denrepoRelated tool: Redo log sizing

Part of these runbooks

More Oracle scripts: Data Guard