oracle回滾命令 oracle數(shù)據(jù)庫(kù)還原段和TEMP表空間滿了各對(duì)業(yè)務(wù)會(huì)有什么影響?
oracle數(shù)據(jù)庫(kù)還原段和TEMP表空間滿了各對(duì)業(yè)務(wù)會(huì)有什么影響?1. 如果Oracle undo表空間已滿,則直接導(dǎo)致DML操作等待undo釋放空間。2. 如果Oracle temp已滿,則會(huì)出現(xiàn)兩
oracle數(shù)據(jù)庫(kù)還原段和TEMP表空間滿了各對(duì)業(yè)務(wù)會(huì)有什么影響?
1. 如果Oracle undo表空間已滿,則直接導(dǎo)致DML操作等待undo釋放空間。
2. 如果Oracle temp已滿,則會(huì)出現(xiàn)兩種情況:a.ora-1652無法將temp段擴(kuò)展256個(gè)表空間錯(cuò)誤,事務(wù)將回滾。b、 Oracle會(huì)提前重用temp空間,這可能會(huì)影響flashback操作。
oracletemp表空間滿了,怎么辦?
當(dāng)臨時(shí)表空間太大時(shí),可以重新生成以下方法:SQL> create temp2 tempfile“/opt/Oracle/oradata/Conner/temp1。DBF “size 200m AUTOEXTEND off,SQL> alter database default temp2 temp2,SQL> drop table space temp,或SQL> drop table space temp including contents and data files cascade Constraints(在操作系統(tǒng)中完全刪除包含臨時(shí)表空間的數(shù)據(jù)文件)。最后,刪除操作系統(tǒng)上的temp文件以釋放空間。