性能測試過程中發現導入話單數據時報ORA-01688錯誤,話單數據導入失敗。
查詢下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的大小:
再次測試,話單數據成功導入,未再出現ORA-01688錯誤。