當前的group#是4,5,6
sql> select group#,status from v$log;
group# status
---------- ----------------
4 inactive
5 current
6 inactive
然後執行了下列語句:
alter database add logfile ('/arch/redo/redo7.log') size 1024m;
alter database add logfile ('/arch/redo/redo8.log') size 1024m;
alter database add logfile ('/arch/redo/redo9.log') size 1024m;
alter database add logfile ('/arch/redo/redo10.log') size 1024m;
alter database add logfile ('/arch/redo/redo11.log') size 1024m;
alter database add logfile ('/arch/redo/redo12.log') size 1024m;
然後:sql> select group#,status from v$log;
group# status
---------- ----------------
1 unused
2 unused
3 unused
4 inactive
5 current
6 inactive
7 unused
8 unused
9 unused
redo 組 新增時, group#的使用原則就是 從1開始,有空著的group#就選擇(就復用)
另外請注意,group#是 db級別的id號,不是 instance級別的id號。
這一點跟datafile 的管理是不同的:datafile的 號是不重用的。
linq例項 Group的使用
新建使用者類 using system using system.collections.generic using system.linq using system.text public string firstname private set public string lastname pr...
linq例項 Group的使用(三)
測試用的class。public class user private set public string lastname private set public user string firstname,string lastname linq的例子 準備資料。user users new us...
linq例項 Group的使用(三)
測試用的class。public class user private set public string lastname private set public user string firstname,string lastname linq的例子 準備資料。user users new us...