ORACLE 经常使用的命令工具-第一章:日志管理
上一篇 /
下一篇 2009-01-07 22:23:30
/ 个人分类:Oracle
- 文件版本: V1.0
- 开发商: 本站原创
- 文件来源: 本地
- 界面语言: 简体中文
- 授权方式: 免费
- 运行平台: Win9X/Win2000/WinXP
0~3Fr2[gp5~0第一章:日志管理51Testing软件测试网 GNC
U[ ~1k{A`
51Testing软件测试网 hp-c_ KG}3{
r 1.forcing log switches
}8W6t.F#X X051Testing软件测试网;rm:a4O@3i/N rw7I sql> alter system switch logfile;51Testing软件测试网"{+c"v;gQ@
51Testing软件测试网9V9hV%F8^5^L R 2.forcing checkpoints
k+dJ4H,iao051Testing软件测试网d \][` sql> alter system checkpoint;51Testing软件测试网W!R:q3XFV!yv
51Testing软件测试网|,@v3Ff4N 3.adding online redo log groups
7C:{@H5S051Testing软件测试网[RI/~*PPb1Q:XM's(Q sql> alter database add logfile [group 4]51Testing软件测试网 TcE6E
^b
G
6KH]beK.u
x:e"u0 sql> ('/disk3/log4a.rdo','/disk4/log4b.rdo') size 1m;51Testing软件测试网!tL7R8Aum
51Testing软件测试网)omH5y:Mu6g 4.adding online redo log members
RTs\g0RQ.mk,gl0 sql> alter database add logfile member
I%_+h+G]nd
f051Testing软件测试网 u&eE
K|Ax5b sql> '/disk3/log1b.rdo' to group 1,51Testing软件测试网/Ul0\2F3\&L
51Testing软件测试网
s'I'rV&R
Q3p sql> '/disk4/log2b.rdo' to group 2;51Testing软件测试网'R(Y9HKRB
R+_'usx
f1Pt0 5.changes the name of the online redo logfile
b#Ibg%\
s:Gf0_:t0hw~
n-G9y0 sql> alter database rename file 'c:/oracle/oradata/oradb/redo01.log'51Testing软件测试网 ^v*lE0jE%y0pI
&eq#yF*];gGj3]0 sql> to 'c:/oracle/oradata/redo01.log';51Testing软件测试网,Bwe E0E
h2m
PAK6g0N@0 6.drop online redo log groups
'lh,]S/Gq@:x7{sk0
[DCO~N0 sql> alter database drop logfile group 3;51Testing软件测试网P|F%q0M'y+g