🍈Fix Oracle could not find Archive Log

ในกรณีที่เราทำการ Check Process Golden Gate บน Oracle Database แล้วเกิด ABEND ซึ่งอาจเกิดจากหลายสาเหตุ หนึ่งในนั้นคือ Archive Log ถูกลบ ทำให้ไม่สามารถหา Sequence Number ของ Oracle Database ได้ ส่งผลให้ Process ของ Golden Gate เกิด ABEND

2020-07-08 08:54:33  ERROR   OGG-00446  Oracle GoldenGate Capture for Oracle, extorcl.prm:  Could not find archived log for sequence 1839

Configuration

  • ทำการตรวจสอบ Process Golden Gate ด้วย GGSCI

GGSCI>
info all
Program     Status      Group       Lag at Chkpt  Time Since Chkpt
MANAGER     RUNNING
JAGENT      RUNNING
EXTRACT     ABEND       EXTORCL     00:00:00      00:00:03
  • ทำการแสดง Golden Gate Log

$
cd /u01/app/oracle/product/gg
$
tail -100 ggserr.log
  • ทำการตรวจสอบ Archive Log

$
cd /u01/app/oracle/fast_recovery_area/ORCL/archivelog/
$
ls 2020_07_08
o1_mf_1_1842_hj9x9brc_.arc
  • ทำการ Restore Archive Log ด้วย RMAN

  • ทำการตรวจสอบ Archive Log อีกครั้งหนึ่ง

อ่านเพิ่มเติม : https://bit.ly/3e3XaEc

Last updated

Was this helpful?