ORA 01455 轉換列溢位整數資料型別

2021-09-29 20:16:36 字數 816 閱讀 3617

資料庫oracle11g下,exp匯出時,遇到如下錯誤:

exp-00008: 遇到 oracle 錯誤 1455

ora-01455: 轉換列溢位整數資料型別

exp-00000: 匯出終止失敗

據現象觀察,出現此錯誤之前,大多數記錄數為0的正式表(不是臨時表)沒有被匯出。查閱資料,得到原因是oracle11g增加了引數deferred_segment_creation,引數預設值是true,這樣,新建的表無記錄時,是滯後分配段的,甚至連ddl定義也無法獲取,所以exp無法匯出空表。

解決方法:

用本使用者登入,下面三個語句檢視結果是不是0行記錄(通常第乙個肯定不是0條)

(1)select 'alter table '||table_name||' allocate extent;'from user_tables where segment_created='no';

(2)select * from user_indexes where segment_created='no';

(3)select * from user_lobs where segment_created='no';

按照第乙個語句構造出來的語句(一組alter table tab_xx allocate extent;語句)執行之後再檢視,三個語句結果都是0行記錄了。

最後,進行exp正常。

注:上述oracle引數如果設定為false(alter system set deferred_segment_creation=false;),則之後新建的空表會自動分配段,之前建的空表(未經過曾經有資料的環節)仍是沒有分配段的,仍然需要上述方法處理一下。

ORA 01455 轉換列溢位整數資料型別

export release 10.2.0.5.0 production on 星期二 3月 27 16 43 44 2018 連線到 oracle database 11g enterprise edition release 11.2.0.3.0 64bit production 已匯出 zhs...

建立企業級地理資料庫報錯 ORA 01455

環境 oracle server 11.2.0.3 x64 oracle client 11.1.0.6 x32 arcgis desktop 10.3 在該環境下執行 create enterprise geodatabase 報錯,esri的錯誤編碼是err 51 error in creati...

20141011 轉換習題2

習題要求 依次鍵盤輸入每個人的名字,加年齡,之後彙總列印出來,之後求年齡和列印出來。需要將名字和年齡分別定義賦值。名字定義為引用型,string m1 console.readline 年齡則需要定義為值型 double n1 convert.todouble console.readline 因為...