开启归档模式、设置归档路径:

# 管理员权限
sqlplus / as sysdba;

# 查看归档文件配置路径
show parameter LOG_ARCHIVE_DEST;
# 强制日志切换
alter system switch logfile;

# 关闭数据库
shutdown immediate;
# 启动mount模式
startup mount;
# 设置日志路径
alter system set db_recovery_file_dest=''  scope=both;
alter system set log_archive_dest='D:\ORACLE_LOG' scope=both;
# 开启归档模式
alter database archivelog;
# 开启数据库
alter database open;

 

相关文章:

  • 2021-09-10
  • 2022-01-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-12
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-23
  • 2021-07-02
  • 2021-05-20
  • 2022-12-23
相关资源
相似解决方案