ORA-01114錯誤原因及解決方案

來源:互聯網
上載者:User

今天應用伺服器後台報一下錯誤:

java.sql.SQLException: ORA-01114: 將塊寫入檔案 201 時出現 IO 錯誤 (塊 # 1015305)
ORA-27069: skgfdisp: 嘗試在檔案範圍外執行 I/O
OSD-04026: 傳遞的參數無效。 (OS 1015311)
ORA-01114: 將塊寫入檔案 201 時出現 IO 錯誤 (塊 # 1015305)
ORA-27069: skgfdisp: 嘗試在檔案範圍外執行 I/O
OSD-04026: 傳遞的參數無效。 (OS 1015311)

在網上找資料說,是資料庫暫存資料表空間滿了或者壞掉了。

查詢暫存資料表空間的大小
 select name, bytes/1024/1024 as "大小(M)" from v$tempfile order by bytes;

看到系統中最大資料檔案D:\Oracle\ORADATA\TFJS\TEMP.DBF 大小為8G,初步估計是temp資料表空間無法擴充的原因。

解決辦法:

1、查詢該使用者下的預設暫存資料表空間
   select * from database_properties where property_name='DEFAULT_TEMP_TABLESPACE';
2、建立新的暫存資料表空間
   create temporary tablespace temp01   tempfile 'D:\ORACLE\ORADATA\TFJS\TEMP01.DBF'
   size 1000M autoextend on;
3、修改預設資料表空間
   alter database default temporary tablespace temp01;

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.