ORA-01688錯誤解決,ora-01688錯誤

來源:互聯網
上載者:User

ORA-01688錯誤解決,ora-01688錯誤

效能測試過程中發現匯入話單資料時報ORA-01688錯誤,話單資料匯入失敗。


ORA-01688: unable to extend table VMSREPORT.VMS_DEPOSIT_MSG_SDR partition VDMS_PART_0825 by 8192 in tablespace VMS_REPORT 


查詢下ora-01688的錯誤說明:
oracle@node76:~> oerr ora 01688
01688, 00000, "unable to extend table %s.%s partition %s by %s in tablespace %s"
// *Cause:  Failed to allocate an extent of the required number of blocks for
//          table segment in the tablespace indicated.
// *Action: Use ALTER TABLESPACE ADD DATAFILE statement to add one or more
//          files to the tablespace indicated.

查詢資料表空間的使用率,VMS_REPORT資料表空間使用率已經超過99.9%。
因此基本可以斷定,該錯誤應該是由於VMS_REPORT資料表空間已滿,而資料檔案又關閉了自動擴充功能,導致匯入資料失敗。

根據提示使用下面的命令增加一個資料檔案,擴充資料表空間VMS_REPORT的大小:


ALTER TABLESPACE VMSREPORT ADD DATAFILE '+DG_DATA/vms_report01.dbf' SIZE 2048M AUTOEXTEND OFF; 


再次測試,話單資料成功匯入,未再出現ORA-01688錯誤。

相關文章

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.