這兩個(gè)命令都是用來(lái)更改一些數(shù)據(jù)庫(kù)配置的,所以經(jīng)常容易混淆,如:
>alter database drop logfile group 1;
>alter system switch logfile;
>alter system kill session 'sid,serial#';
為了方便記憶,歸納如下:
alter database (改變數(shù)據(jù)庫(kù)--database)
和物理文件直接相關(guān)的操作
alter system (改變實(shí)例--instance)
不直接牽涉到磁盤文件的操作當(dāng)然,這只是為了方便記憶,只滿足大部分的情況,并不是所有的命令都能套到這個(gè)框框里,最終還是用熟了就記住哪個(gè)是哪個(gè)了。---外傳---
oracle server=Instance (memory structure) + Database (disk file) + U/S Process
?? Instance=SGA + Background Process
?? Database=control file + data file + log file
?? U/S Process= User Process + Server Process + PGA
posted on 2009-06-16 12:32
Jcat 閱讀(228)
評(píng)論(0) 編輯 收藏 所屬分類:
Database