一、在删除log groups 前需要确定3点:1.instance 至少要有2个groups,不考虑每个groups 的member数;2.只有当group 的状态为ina
一、在删除log groups 前需要确定3点:
1.instance 至少要有2个groups,不考虑每个groups 的member数;
2.只有当group 的状态为inactive时,才可以删除它。
如果必须删除current 的group 需要先 alter system switch logfile;
3.如果启用了归档,则必须要等到该group 归档后才可以干掉他。
select group#, archived, status from v$log;
group# arc status
--------- --- ----------------
1 yes active
2 no current
3 yes inactive
4 yes inactive
干掉某个group:
alter database drop logfile group 3;
二、删除某个group的member
ALTER DATABASE DROP LOGFILE MEMBER '/Oracle/dbs/log3c.rdo';
--------当该redolog member 被删除时,其相应的os 文件未从磁盘上删除。
To drop a member of an active group, you must first force a log switch. /* alter system switch logfile;*/
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号