资讯

精准传达 • 有效沟通

从品牌网站建设到网络营销策划,从策略到执行的一站式服务

IMPDP如何导入没有某个表空间-创新互联

这篇文章主要介绍IMPDP如何导入没有某个表空间,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!

成都创新互联公司成立于2013年,先为华亭等服务建站,华亭等地企业,进行企业商务咨询服务。为华亭企业网站制作PC+手机+微官网三网同步一站式服务解决您的所有建站问题。

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如何导入没有某个表空间”这篇文章的所有内容,感谢各位的阅读!希望分享的内容对大家有帮助,更多相关知识,欢迎关注创新互联-成都网站建设公司行业资讯频道!


标题名称:IMPDP如何导入没有某个表空间-创新互联
文章起源:http://cdkjz.cn/article/hidch.html
多年建站经验

多一份参考,总有益处

联系快上网,免费获得专属《策划方案》及报价

咨询相关问题或预约面谈,可以通过以下方式与我们联系

业务热线:400-028-6601 / 大客户专线   成都:13518219792   座机:028-86922220