国产成人毛片视频|星空传媒久草视频|欧美激情草久视频|久久久久女女|久操超碰在线播放|亚洲强奸一区二区|五月天丁香社区在线|色婷婷成人丁香网|午夜欧美6666|纯肉无码91视频

undotbs1表空間滿了 如何讓Oracle釋放undo表空間?

如何讓Oracle釋放undo表空間?為了清理這部分空間,使用以下步驟完成更換操作。1創(chuàng)建新的undo表空間undobs2創(chuàng)建undo表空間undotbs2數(shù)據(jù)庫(kù)“/u01/APP/Oracle/or

如何讓Oracle釋放undo表空間?

為了清理這部分空間,使用以下步驟完成更換操作。1創(chuàng)建新的undo表空間undobs2創(chuàng)建undo表空間undotbs2數(shù)據(jù)庫(kù)“/u01/APP/Oracle/oradata/mydb/undo02。DBF “size 512M reuseautotext on next 64M maxsize unlimited reservation noguarante blocksize 8K flashback on用實(shí)際Oracle數(shù)據(jù)庫(kù)路徑2替換紅色部分。Switch system table space alter system set undo able space=undotbs2 scope=both將Oracle的當(dāng)前undo表空間切換到undotbs2。三。重新啟動(dòng)數(shù)據(jù)庫(kù),通過(guò)命令行[root$smserver]sqlplus/nolog[root$smserver]conn/as SYSDBA[root$smserver]shutdown immediate[root$smserver]startup登錄數(shù)據(jù)庫(kù)。4刪除原來(lái)的undo內(nèi)容drop表空間undotbs1包括內(nèi)容和數(shù)據(jù)文件5,重復(fù)第三個(gè)操作,重新啟動(dòng)數(shù)據(jù)庫(kù)

有兩種處理方法,一種是添加undo表空間的數(shù)據(jù)文件,另一種是切換undo表空間。在這種情況下,通常在撤消表空間已經(jīng)非常大的情況下使用。1添加數(shù)據(jù)文件SQL> alter tablespace undo添加數(shù)據(jù)文件“D:%undo 2?!癉BF”表空間大小已更改。2切換撤消表空間1。新建表空間undo table space undotbs2 SQL>;創(chuàng)建undo table space undotbs2數(shù)據(jù)文件“D:%undo03。已創(chuàng)建DBF“size 100m重用表空間。2切換到新的撤消表空間。操作如下:SQL> alter system set undoTablespace=undotbs2 scope=both system changed。三。將原始撤消表空間設(shè)置為脫機(jī):SQL> alter table space undo offline table space has been changed。4刪除原始撤消表空間:已刪除SQL> drop table space undo including contents and datafiles cascade constraints表空間。如果只是drop tablespace undo,則只刪除控制文件中的記錄,而不會(huì)物理刪除該文件。只有在不使用表空間時(shí)才能執(zhí)行Drop undo。如果正在使用undo表空間(例如,事務(wù)失敗,但恢復(fù)尚未成功),drop table space命令將失敗。Include內(nèi)容可以在drop表空間中使用。