国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 開發 > 綜合 > 正文

關于Import error ora-01658

2024-07-21 02:33:57
字體:
來源:轉載
供稿:網友

  做一個eXP/imp lab:
  
  create a user apple1 default tablespace user1.
  create a user apple2 default tablespace user2.
  apple1 create a table ABC on user1 tablespace.
  
  我預備把ABC這個table匯出,然后匯入到apple2的schema名為QQQ的table,并且希望這個table要放在apple2的default tablespace (也就是user2)。
  
  1. exp full=y comPRess=n rows =y file=test.dmp
  
  2. imp system/jakfjks file=test.dmp fromuser=apple1 touser=apple2 tables=(ABC)
  
  importing APPLE1's objects into APPLE2
  IMP-00017: following statement failed with Oracle error 1658:
  "CREATE TABLE "ABC" ("ID" NUMBER) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXT"
  "RANS 255 STORAGE(INITIAL 131072 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE ""
  "USER1" LOGGING NOCOMPRESS"
  IMP-00003: ORACLE error 1658 encountered
  ORA-01658: unable to create INITIAL extent for segment in tablespace USER1
  Import terminated sUCcessfully with warnings.
  
  希奇,我明明是要import到user2這個tablespace上,為什么是user1 tablespace出現無法create extent的錯誤訊息?要新增extent應該也是在user2這個tablespace上呀?
  
  這是因為,當你import的時候,他就像在執行 建立table的script,并且帶著這些參數 "TABLESPACE " "USER1" "LOGGING NOCOMPRESS" in the script,也就是說他會把table建立在原來的user1 tablespace但owner會為apple2 。
  
  假如我不希望原來的ABC和新增的QQQ這兩個table放在同一個tablespace上怎么辦呢?
  
  alter user apple2 quota unlimited on user2;
  alter user apple2 quota 0 on user1;
  
  So while importing this ABC get imported to user2 tablespace it won't use user1 tablespace~~

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 于田县| 九台市| 通河县| 安义县| 名山县| 兰溪市| 云林县| 南城县| 临清市| 阿坝县| 文山县| 陕西省| 渭南市| 秭归县| 亳州市| 垫江县| 申扎县| 庆阳市| 凤城市| 化德县| 伊通| 温州市| 旬邑县| 时尚| 遂川县| 兴海县| 哈尔滨市| 青神县| 体育| 宣威市| 南漳县| 巴林左旗| 林口县| 珲春市| 东阿县| 措勤县| 二手房| 五大连池市| 班戈县| 宜宾市| 上饶县|