Get the App
SLTechnology News&Howtos  ›  Database  › 

How to handle the loss of log files

Shulou Source: shulou.com Published: 2022-06-01 15:22:40 10月03日 Update

Select group#,members from v$log

View the status of the log file

Select group#,status from v$log

Have the state to decide the execution steps

Status: active alter system checkpoint; alter database clear logfile group inactive,unused alter database clear logfile group current alter system switch logfile; alter system checkpoint; alter database clear logfile group

Tags: Status files logs steps Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker MariaDB Shulou Information MySQL Microsoft