当前位置:网站首页>remap_ Use of table in impdp
remap_ Use of table in impdp
2022-07-29 10:12:00 【cqszpx】
remap_table When converting multiple tables ,TB1 transformation TB2、TB3 transformation TB4.
1.remap_table=tb1:tb2 remap_table=tb3:tb4
2.remap_table=tb1:tb2,tb3:tb4
impdp About tables and remap_tables Some do's and don 'ts
1.expdp Write when tables=( surface ) Indicates that some tables are exported ;impdp Time not to write tables Condition means import dumpfile All the tables in ,impdp Chrono tables=( surface ) Condition means that only the specified table is imported , Of course, if tables=(dumpfile All the tables in ) That is to say, import dumpfile All the tables in ; And if you use system perform impdp Time principle tables=( surface ) You have to add schema. Table name , Otherwise, it defaults to system The table below , It will lead to an error
2.remap_table If you are in the same schema Proceed under , Although don't add remap_schema, however remap_table The name of the watch in front of the colon must have schema Information , The name of the watch after the colon must not be schema Information
3.remap_table If it's different schema In the case of , Such as user1.TB1 convert to user2.TB2,user1.TB3 convert to user2.TB4, Must be added remap_schema, And remap_table The name of the watch in front of the colon must have schema Information , The name of the watch after the colon must not be schema Information
There are two ways
1.remap_table= user1.TB1:TB2 remap_table= user1.TB3:TB4 remap_schema= user1: user2
2.remap_table= user1.TB1:TB2,user1.TB3:TB4 remap_schema= user1: user2
Span schema The standard way to export only imported tables and rename them is as follows
expdp when tables write schema. Table names separated by commas
impdp The need when remap_schema, tables Write but not write ,remap_table Add schema, The table name after the colon is not added schema
expdp system/oracle tables=user01.src_tb01,user01.src_tb02,user01.src_tb03 directory=DMP dumpfile=tb_2013.dbf
impdp system/oracle remap_schema=user01:user02 tables=user01.src_tb01,user01.src_tb02,user01.src_tb03 remap_table=user01.src_tb01:dest_tb01,user01.src_tb02:dest_tb02,user01.src_tb03:dest_tb03 directory=IMP dumpfile=tb_2013.dbf

边栏推荐
- Solve problems intelligently
- My problem solving record 1: the @component annotation is used on the class. If you want to use the methods in this class, you can't directly new, but should use @autowired for injection, otherwise an
- [jetson][转载]jetson上安装pycharm
- Leetcode question brushing - sorting
- Dynamics 365Online 如何自定义商机关闭窗体
- Comprehensively design an oppe home page -- the bottom of the page
- 皕杰报表之文本附件属件
- shell编程之sed,正则表达式
- 函数和数组
- 高效能7个习惯学习笔记
猜你喜欢
![[paper reading] i-bert: integer only Bert quantification](/img/2e/4f574b266ec6fc88ffa5dab56f2b8d.png)
[paper reading] i-bert: integer only Bert quantification

熊市下PLATO如何通过Elephant Swap,获得溢价收益?

"Focus on machines": Zhu Songchun's team built a two-way value alignment system between people and robots to solve major challenges in the field of human-computer cooperation

PDF处理还收费?不可能
![[HFCTF 2021 Final]easyflask](/img/58/8113cafae8aeafcb1c9ad09eefd30f.jpg)
[HFCTF 2021 Final]easyflask

Vim到底可以配置得多漂亮?

English语法_不定代词 - 常用短语

静态资源映射

汉源高科千兆2光6电导轨式网管型工业级以太网交换机支持X-Ring冗余环网一键环网交换机

Node (II)
随机推荐
10 suggestions for 10x improvement of application performance
Docker安装Redis、配置及远程连接
[log frame]
Several common design methods of test cases [easy to understand]
How to customize the opportunity closing form in dynamics 365online
ECCV 2022 | CMU提出在视觉Transformer上进行递归,不增参数,计算量还少
Where are those test / development programmers in their 30s? a man should be independent at the age of thirty......
[ts]typescript learning record pit collection
The latest translated official pytorch easy introduction tutorial (pytorch version 1.0)
After eating Alibaba's core notes of highly concurrent programming, the backhand rose 5K
这是一份不完整的数据竞赛年鉴!
JS to achieve full screen effect
熊市下PLATO如何通过Elephant Swap,获得溢价收益?
Network picture to local picture - default value or shortcut key
Sed, regular expression of shell programming
Comprehensively design an oppe home page -- the bottom of the page
leetcode刷题——排序
尹伊:我的学习成长路径
【黑马早报】每日优鲜回应解散,多地已无法下单;李斌称蔚来将每年出一部手机;李嘉诚欲抄底恒大香港总部大楼;今年国庆休7天上7天...
[fortran]vscode configure FORTRAN to run Hello World