ORA-39083:Object type TYPE failed to create with error:OID问题。
昨天使用impdp迁移数据库的时候遇到这个报错:
ORA-39083:Object type TYPE failed to create with error
发现type类型的都没有创建成功。
查询后发现主要原因为OID重复。
可以使用impdp中的transform=oid:n 解决该问题。
对应解释如下:
TRANSFORM
Metadata transform to apply to applicable objects.
Valid transform keywords: SEGMENT_ATTRIBUTES, STORAGE OID, and PCTSPACE.
OID - If the value is specified as n, 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.
transform默认是Y,如果改成N,那么导入的时候会把各个对象重新赋予新的OID。仅为数据库标识,修改不影响业务使用。
由于昨天使用的是impdp network_link不落盘做的迁移。只能重新导出一下对应的type类型,然后重新导入。
涉及语句如下:
expdp 'schema_name/"password"'@10.18.32.122:1521/zactstdb directory=DIR_BACKUP dumpfile=ts170201_type_20190724.dmp logfile=ts170201_type_20190724.log include=type,type_spec
impdp schema_name/password@10.18.192.122:1521/dcp directory=D_OUTPUT dumpfile=ts170201_type_20190724.dmp table_exists_action=replace REMAP_SCHEMA=ts170201:ZASERVER REMAP_TABLESPACE=USER:TS_CL transform=oid:n
ORA-39083:Object type TYPE failed to create with error:OID问题。相关推荐
- phpstorm failed to create jvm:error code -6 解决办法 解决方法
phpStorm 软件打开运行提示 failed to create JVM的解决办法. 修改文件 D:\Program Files (x86)\JetBrains\PhpStorm 7.1.3\bi ...
- failed to create network error response from daemon filed to setup ip tables问题
问题 今天在环境上搭建平台,执行docker-compose up -d 报错 Error response from daemon: Failed to Setup IP tables: Unabl ...
- idea启动提示 failed to create jvm error code -1 jvm path 的解决办法
之前修改了idea的idea64.exe.vmoptions 文件, 结果重启之后就提示类似上图的问题, 把参数删掉也提示这个, 百度搜解决方法, 重装idea, 重装jdk, 全都试过了, 都没能解 ...
- redis存取list<T>,及bug:Failed to serialize object of type: class com.google.common.collect.Lists$Revers
Redis存取List 实体类必须序列化,对于redis这种nosql数据库,实例化很重要,很多文章也都介绍了必须实例化,在配置redisTemplate时也会配置序列化规则: <bean id ...
- SLF4J: Failed toString() invocation on an object of type [org.eclipse.jetty.websocket.server......
在配置SpringBoot的log时,遇到如下错误: SLF4J: Failed toString() invocation on an object of type [org.eclipse.jet ...
- 【vue警告坑】 Invalid prop: type check failed for prop resultChild. Expected Object, got String with v
[Vue warn]: Invalid prop: type check failed for prop "resultChild". Expected Object, got ...
- DefaultSerializer requires a Serializable payload but received an object of type [reggie.common.R]
目录 使用SpringCache,底层缓存技术是redis后报错: ERROR 30804 --- [nio-8080-exec-6] o.a.c.c.C.[.[.[/].[dispatcherSer ...
- Pytorch 类型错误:Expected object of type torch.FloatTensor but found type torch.cuda.FloatTensor.
Expected object of type torch.FloatTensor but found type torch.cuda.FloatTensor Pytorcht调试过程中,将数据传入模 ...
- PHP“Cannot use object of type stdClass as array”
php再调用json_decode从字符串对象生成json对象时,如果使用[]操作符取数据,会得到下面的错误 错误: Cannot use object of type stdClass as arr ...
最新文章
- java对象的初始化顺序_Java对象初始化顺序
- 开工大吉!送你一份「远程工作约定」
- mysql jdbc无法连接_jdbc无法连接mysql
- Report Service 中数据类型的问题
- k8s概念: service和ingress
- iPhone开发过程中调试多次Release问题 message sent to deallocated
- 创业者应具备的基本商业知识
- java 类说明,java基础类型说明
- 理解依赖注入(IOC)
- 使用Python 正则匹配两个特定字符之间的字符方法
- Django系列:(1)PyCharm下创建并运行我们的第一个Django工程
- android 自定义水波纹点击效果Button
- angular 点菜_JavaScript实现的select点菜功能示例
- Django表中的字段
- opencv设置摄像头分辨率
- Scrapy 爬取阳光热线问政平台存储为json 文件(使用 CrawlSpider)
- linux就该这么学【进程地址空间】
- excel表格如何转换成word表格_Excel表格转换为Word表格?99%的人想不到这样做最简单!...
- 【python】查找array中非零元素的横纵坐标
- Java基础练习习题