TRANSFORM 导入和导出的时候,有些表空间不一样。比如导出的时候该对象是在A表空间,导入到另一个库没有表空间A就会报错。但是使用这个参数就会正常导入,该对象会存储在该用户下的默认表空间中。 常用TRANSFORM=segment_attributes:n [oracle@db ~]$ impdp -help |grep TRANSFORM -A2 TRANSFORM Metadata transform to apply to applicable objects. Valid keywords are: OID, PCTSPACE, SEGMENT_ATTRIBUTES and STORAGE. TRANSFORM = transform_name:value[:object_type] transform_name SEGMENT_ATTRIBUTES - If the value is specified as y, then segment attributes (physical attributes, storage attributes, tablespaces, and logging) are included, with appropriate DDL. The default is y. 如果将值指定为y,则包含段属性(物理属性,存储属性,表空间和日志记录)以及适当的DDL。 默认值为y。 STORAGE - If the value is specified as y, then the storage clauses are included, with appropriate DDL. The default is y. This parameter is ignored if SEGMENT_ATTRIBUTES=n. 如果将值指定为y,则包含存储子句,并使用适当的DDL。 默认值为y。 如果SEGMENT_ATTRIBUTES = n,则忽略此参数 OID - If the value is specified as n, then the assignment of the exported OID during the creation of object tables and types is inhibited. Instead, a new OID is assigned. This can be useful for cloning schemas, but does not affect referenced objects. The default value is y. 如果将值指定为n,则禁止在创建对象表和类型期间分配导出的OID。 而是分配新的OID。 这对于克隆模式很有用,但不会影响引用的对象。 默认值为y。 PCTSPACE - The value supplied for this transform must be a number greater than zero. It represents the percentage multiplier used to alter extent allocations and the size of data files. 为此转换提供的值必须是大于零的数字。 它表示用于更改范围分配和数据文件大小的百分比乘数。 value The type of value specified depends on the transform used. Boolean values (y/n) are required for the SEGMENT_ATTRIBUTES, STORAGE, and OID transforms. Integer values are required for the PCTSPACE transform. 指定的值类型取决于使用的转换。 SEGMENT_ATTRIBUTES,STORAGE和OID转换需要布尔值(y / n)。 PCTSPACE转换需要整数值。 object_type The object_type is optional. If supplied, it designates the object type to which the transform will be applied. If no object type is specified, then the transform applies to all valid object types. The valid object types are TABLE、INDEX、CLUSTER、TABLESPACE... object_type是可选的。 如果提供,则指定将应用变换的对象类型。 如果未指定任何对象类型,则转换将应用于所有有效对象类型。 有效的对象类型是TABLE,INDEX,CLUSTER,TABLESPACE ......
IMPDP导入没有某个表空间的处理方法__加上参数TRANSFORM就可以了
来源:这里教程网
时间:2026-03-03 11:59:53
作者:
编辑推荐:
下一篇:
相关推荐
-
雷神推出 MIX PRO II 迷你主机:基于 Ultra 200H,玻璃上盖 + ARGB 灯效
2 月 9 日消息,雷神 (THUNDEROBOT) 现已宣布推出基于英
-
制造商 Musnap 推出彩色墨水屏电纸书 Ocean C:支持手写笔、第三方安卓应用
2 月 10 日消息,制造商 Musnap 现已在海外推出一款 Oce
热文推荐
- 添加控制文件(add control file)
添加控制文件(add control file)
26-03-03 - DBA“老司机”怎么看待Oracle自治数据仓库?
DBA“老司机”怎么看待Oracle自治数据仓库?
26-03-03 - MyBatis中的JdbcType映射介绍
MyBatis中的JdbcType映射介绍
26-03-03 - Oracle CDC 变更数据捕获技术
Oracle CDC 变更数据捕获技术
26-03-03 - 如何改变Word 2010文档中超链接颜色
如何改变Word 2010文档中超链接颜色
26-03-03 - impdp导入报错ORA-04030的解决方法
impdp导入报错ORA-04030的解决方法
26-03-03 - 深度解析v$transaction中回滚段信息xidusn, xidslot, ubablk, ubafil
- 开发问题小结
开发问题小结
26-03-03 - connetion reset ora 3136 inbound connection timed out
- 沃趣微讲堂 | Oracle集群技术(二):GI与Oracle RAC
沃趣微讲堂 | Oracle集群技术(二):GI与Oracle RAC
26-03-03
