system表空間滿了影響 oracle中如何對(duì)system表空間進(jìn)行清理?
oracle中如何對(duì)system表空間進(jìn)行清理?1、為系統(tǒng)表空間添加另一個(gè)數(shù)據(jù)文件。altertablespacesystemadddatafile“D:oracleXEoradataXEsystem
oracle中如何對(duì)system表空間進(jìn)行清理?
1、為系統(tǒng)表空間添加另一個(gè)數(shù)據(jù)文件。altertablespacesystemadddatafile“D:oracleXEoradataXEsystemu01。DBF”大小為1024M 2。更改系統(tǒng)表空間的數(shù)據(jù)文件系統(tǒng).dbf分配空間。alterdatabasedatafile“D:oracleXEoradataXEsystemu01.dbf”autoextendonalterdatabasedatafile“D:oracleXEoradataXEsystemu01。DBF“resize1024m
system表空間的作用?
創(chuàng)建數(shù)據(jù)時(shí)會(huì)創(chuàng)建系統(tǒng)表空間。所有字典對(duì)象都存儲(chǔ)在系統(tǒng)表空間中。數(shù)據(jù)庫(kù)創(chuàng)建的PL/SQL程序單元(如過(guò)程、包、函數(shù)、觸發(fā)器)也存儲(chǔ)在系統(tǒng)表空間中。Oracle建議在系統(tǒng)表空間中除了Oracle dictionary外,不應(yīng)該創(chuàng)建其他對(duì)象
一般有兩種方法:
1 blockrecover
2 DBMSuu Repair注意:第二種方法丟棄壞塊中的所有數(shù)據(jù)。因此,預(yù)先確定邏輯壞塊中是否有數(shù)據(jù)以及是否備份了數(shù)據(jù)。