当前位置:网站首页>Test of transform parameters of impdp
Test of transform parameters of impdp
2022-07-07 07:02:00 【Document Porter】
scene :
Source end has 100 Multiple table spaces , Target end , When importing data , To create so many table spaces , Or to remap_tablespace, To write 100 Multiple . so much trouble , Use transform Parameters , Can solve this problem .
RDBMS 19.15
help About China transform Explanation :
TRANSFORM
Metadata transform to apply to applicable objects.
Valid keywords are: DISABLE_ARCHIVE_LOGGING, INMEMORY, INMEMORY_CLAUSE,
LOB_STORAGE, OID, PCTSPACE, SEGMENT_ATTRIBUTES, SEGMENT_CREATION,
STORAGE, and TABLE_COMPRESSION_CLAUSE.
Instructions in official documents :
https://docs.oracle.com/en/database/oracle/oracle-database/19/sutil/datapump-import-utility.html#GUID-64FB67BD-EB67-4F50-A4D2-5D34518E6BDB
-- test
Create test table
create table bb.test as select * from dba_tables;
Export this table
expdp bb/oracle directory=dump dumpfile=test.dmp logfile=exp_test.log tables =test
[[email protected] ~]$ expdp bb/oracle directory=dump dumpfile=test.dmp logfile=exp_test.log tables =test
Export: Release 19.0.0.0.0 - Production on Wed Jul 6 11:20:58 2022
Version 19.15.0.0.0
Copyright (c) 1982, 2019, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
FLASHBACK automatically enabled to preserve database integrity.
Starting "BB"."SYS_EXPORT_TABLE_01": bb/******** directory=dump dumpfile=test.dmp logfile=exp_test.log tables=test
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Processing object type TABLE_EXPORT/TABLE/STATISTICS/MARKER
Processing object type TABLE_EXPORT/TABLE/TABLE
. . exported "BB"."TEST" 785.8 KB 2208 rows
Master table "BB"."SYS_EXPORT_TABLE_01" successfully loaded/unloaded
******************************************************************************
Dump file set for BB.SYS_EXPORT_TABLE_01 is:
/u01/dump/test.dmp
Job "BB"."SYS_EXPORT_TABLE_01" successfully completed at Wed Jul 6 11:22:02 2022 elapsed 0 00:00:39
[[email protected] ~]$
-- Without parameters transform. View the generated by import sql sentence , View the generated sql sentence , You can see sql Statement by storage and tablespace Parameters
impdp bb/oracle directory=dump dumpfile=test.dmp logfile=imp_no_transform.log sqlfile=no_transform.sql
[[email protected] ~]$ impdp bb/oracle directory=dump dumpfile=test.dmp logfile=imp_no_transform.log sqlfile=no_transform.sql
Import: Release 19.0.0.0.0 - Production on Wed Jul 6 11:24:50 2022
Version 19.15.0.0.0
Copyright (c) 1982, 2019, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Master table "BB"."SYS_SQL_FILE_FULL_01" successfully loaded/unloaded
Starting "BB"."SYS_SQL_FILE_FULL_01": bb/******** directory=dump dumpfile=test.dmp logfile=imp_no_transform.log sqlfile=no_transform.sql
Processing object type TABLE_EXPORT/TABLE/TABLE
Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Processing object type TABLE_EXPORT/TABLE/STATISTICS/MARKER
Job "BB"."SYS_SQL_FILE_FULL_01" successfully completed at Wed Jul 6 11:25:07 2022 elapsed 0 00:00:08
[[email protected] ~]$
[[email protected] dump]$ more no_transform.sql
-- CONNECT BB
ALTER SESSION SET EVENTS '10150 TRACE NAME CONTEXT FOREVER, LEVEL 1';
ALTER SESSION SET EVENTS '10904 TRACE NAME CONTEXT FOREVER, LEVEL 1';
ALTER SESSION SET EVENTS '25475 TRACE NAME CONTEXT FOREVER, LEVEL 1';
ALTER SESSION SET EVENTS '10407 TRACE NAME CONTEXT FOREVER, LEVEL 1';
ALTER SESSION SET EVENTS '10851 TRACE NAME CONTEXT FOREVER, LEVEL 1';
ALTER SESSION SET EVENTS '22830 TRACE NAME CONTEXT FOREVER, LEVEL 192 ';
-- new object type path: TABLE_EXPORT/TABLE/TABLE
CREATE TABLE "BB"."TEST"
( "OWNER" VARCHAR2(128 BYTE) NOT NULL ENABLE,
"TABLE_NAME" VARCHAR2(128 BYTE) NOT NULL ENABLE,
"TABLESPACE_NAME" VARCHAR2(30 BYTE),
"CLUSTER_NAME" VARCHAR2(128 BYTE),
"IOT_NAME" VARCHAR2(128 BYTE),
"STATUS" VARCHAR2(8 BYTE),
"PCT_FREE" NUMBER,
"PCT_USED" NUMBER,
"INI_TRANS" NUMBER,
"MAX_TRANS" NUMBER,
"INITIAL_EXTENT" NUMBER,
"NEXT_EXTENT" NUMBER,
"MIN_EXTENTS" NUMBER,
"MAX_EXTENTS" NUMBER,
"PCT_INCREASE" NUMBER,
"FREELISTS" NUMBER,
"FREELIST_GROUPS" NUMBER,
"LOGGING" VARCHAR2(3 BYTE),
"BACKED_UP" VARCHAR2(1 BYTE),
"NUM_ROWS" NUMBER,
"BLOCKS" NUMBER,
"EMPTY_BLOCKS" NUMBER,
"AVG_SPACE" NUMBER,
"CHAIN_CNT" NUMBER,
"AVG_ROW_LEN" NUMBER,
"AVG_SPACE_FREELIST_BLOCKS" NUMBER,
"NUM_FREELIST_BLOCKS" NUMBER,
"DEGREE" VARCHAR2(40 BYTE),
"INSTANCES" VARCHAR2(40 BYTE),
"CACHE" VARCHAR2(20 BYTE),
"TABLE_LOCK" VARCHAR2(8 BYTE),
"SAMPLE_SIZE" NUMBER,
"LAST_ANALYZED" DATE,
"PARTITIONED" VARCHAR2(3 BYTE),
"IOT_TYPE" VARCHAR2(12 BYTE),
"TEMPORARY" VARCHAR2(1 BYTE),
"SECONDARY" VARCHAR2(1 BYTE),
"NESTED" VARCHAR2(3 BYTE),
"BUFFER_POOL" VARCHAR2(7 BYTE),
"FLASH_CACHE" VARCHAR2(7 BYTE),
"CELL_FLASH_CACHE" VARCHAR2(7 BYTE),
"ROW_MOVEMENT" VARCHAR2(8 BYTE),
"GLOBAL_STATS" VARCHAR2(3 BYTE),
"USER_STATS" VARCHAR2(3 BYTE),
"DURATION" VARCHAR2(15 BYTE),
"SKIP_CORRUPT" VARCHAR2(8 BYTE),
"MONITORING" VARCHAR2(3 BYTE),
"CLUSTER_OWNER" VARCHAR2(128 BYTE),
"DEPENDENCIES" VARCHAR2(8 BYTE),
"COMPRESSION" VARCHAR2(8 BYTE),
"COMPRESS_FOR" VARCHAR2(30 BYTE),
"DROPPED" VARCHAR2(3 BYTE),
"READ_ONLY" VARCHAR2(3 BYTE),
"SEGMENT_CREATED" VARCHAR2(3 BYTE),
"RESULT_CACHE" VARCHAR2(7 BYTE),
"CLUSTERING" VARCHAR2(3 BYTE),
"ACTIVITY_TRACKING" VARCHAR2(23 BYTE),
"DML_TIMESTAMP" VARCHAR2(25 BYTE),
"HAS_IDENTITY" VARCHAR2(3 BYTE),
"CONTAINER_DATA" VARCHAR2(3 BYTE),
"INMEMORY" VARCHAR2(8 BYTE),
"INMEMORY_PRIORITY" VARCHAR2(8 BYTE),
"INMEMORY_DISTRIBUTE" VARCHAR2(15 BYTE),
"INMEMORY_COMPRESSION" VARCHAR2(17 BYTE),
"INMEMORY_DUPLICATE" VARCHAR2(13 BYTE),
"DEFAULT_COLLATION" VARCHAR2(100 BYTE),
"DUPLICATED" VARCHAR2(1 BYTE),
"SHARDED" VARCHAR2(1 BYTE),
"EXTERNAL" VARCHAR2(3 BYTE),
"HYBRID" VARCHAR2(3 BYTE),
"CELLMEMORY" VARCHAR2(24 BYTE),
"CONTAINERS_DEFAULT" VARCHAR2(3 BYTE),
"CONTAINER_MAP" VARCHAR2(3 BYTE),
"EXTENDED_DATA_LINK" VARCHAR2(3 BYTE),
"EXTENDED_DATA_LINK_MAP" VARCHAR2(3 BYTE),
"INMEMORY_SERVICE" VARCHAR2(12 BYTE),
"INMEMORY_SERVICE_NAME" VARCHAR2(1000 BYTE),
"CONTAINER_MAP_OBJECT" VARCHAR2(3 BYTE),
"MEMOPTIMIZE_READ" VARCHAR2(8 BYTE),
"MEMOPTIMIZE_WRITE" VARCHAR2(8 BYTE),
"HAS_SENSITIVE_COLUMN" VARCHAR2(3 BYTE),
"ADMIT_NULL" VARCHAR2(3 BYTE),
"DATA_LINK_DML_ENABLED" VARCHAR2(3 BYTE),
"LOGICAL_REPLICATION" VARCHAR2(8 BYTE)
) SEGMENT CREATION IMMEDIATE
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
TABLESPACE "USERS" ;
-- new object type path: TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
-- new object type path: TABLE_EXPORT/TABLE/STATISTICS/MARKER
[[email protected] dump]$
-- Add parameters transform. transform=storage:n View the generated by import sql sentence , View the generated sql sentence , You can see sql There is no storage Parameters .
impdp bb/oracle directory=dump dumpfile=test.dmp logfile=imp_transform_storage_n.log sqlfile=transform_storage_n.sql transform=storage:n
[[email protected] dump]$ impdp bb/oracle directory=dump dumpfile=test.dmp logfile=imp_transform_storage_n.log sqlfile=transform_storage_n.sql transform=storage:n
Import: Release 19.0.0.0.0 - Production on Wed Jul 6 11:31:46 2022
Version 19.15.0.0.0
Copyright (c) 1982, 2019, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Master table "BB"."SYS_SQL_FILE_FULL_01" successfully loaded/unloaded
Starting "BB"."SYS_SQL_FILE_FULL_01": bb/******** directory=dump dumpfile=test.dmp logfile=imp_transform_storage_n.log sqlfile=transform_storage_n.sql transform=storage:n
Processing object type TABLE_EXPORT/TABLE/TABLE
Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Processing object type TABLE_EXPORT/TABLE/STATISTICS/MARKER
Job "BB"."SYS_SQL_FILE_FULL_01" successfully completed at Wed Jul 6 11:32:01 2022 elapsed 0 00:00:06
[[email protected] dump]$
[[email protected] dump]$ more transform_storage_n.sql
-- CONNECT BB
ALTER SESSION SET EVENTS '10150 TRACE NAME CONTEXT FOREVER, LEVEL 1';
ALTER SESSION SET EVENTS '10904 TRACE NAME CONTEXT FOREVER, LEVEL 1';
ALTER SESSION SET EVENTS '25475 TRACE NAME CONTEXT FOREVER, LEVEL 1';
ALTER SESSION SET EVENTS '10407 TRACE NAME CONTEXT FOREVER, LEVEL 1';
ALTER SESSION SET EVENTS '10851 TRACE NAME CONTEXT FOREVER, LEVEL 1';
ALTER SESSION SET EVENTS '22830 TRACE NAME CONTEXT FOREVER, LEVEL 192 ';
-- new object type path: TABLE_EXPORT/TABLE/TABLE
CREATE TABLE "BB"."TEST"
( "OWNER" VARCHAR2(128 BYTE) NOT NULL ENABLE,
"TABLE_NAME" VARCHAR2(128 BYTE) NOT NULL ENABLE,
"TABLESPACE_NAME" VARCHAR2(30 BYTE),
"CLUSTER_NAME" VARCHAR2(128 BYTE),
"IOT_NAME" VARCHAR2(128 BYTE),
"STATUS" VARCHAR2(8 BYTE),
"PCT_FREE" NUMBER,
"PCT_USED" NUMBER,
"INI_TRANS" NUMBER,
"MAX_TRANS" NUMBER,
"INITIAL_EXTENT" NUMBER,
"NEXT_EXTENT" NUMBER,
"MIN_EXTENTS" NUMBER,
"MAX_EXTENTS" NUMBER,
"PCT_INCREASE" NUMBER,
"FREELISTS" NUMBER,
"FREELIST_GROUPS" NUMBER,
"LOGGING" VARCHAR2(3 BYTE),
"BACKED_UP" VARCHAR2(1 BYTE),
"NUM_ROWS" NUMBER,
"BLOCKS" NUMBER,
"EMPTY_BLOCKS" NUMBER,
"AVG_SPACE" NUMBER,
"CHAIN_CNT" NUMBER,
"AVG_ROW_LEN" NUMBER,
"AVG_SPACE_FREELIST_BLOCKS" NUMBER,
"NUM_FREELIST_BLOCKS" NUMBER,
"DEGREE" VARCHAR2(40 BYTE),
"INSTANCES" VARCHAR2(40 BYTE),
"CACHE" VARCHAR2(20 BYTE),
"TABLE_LOCK" VARCHAR2(8 BYTE),
"SAMPLE_SIZE" NUMBER,
"LAST_ANALYZED" DATE,
"PARTITIONED" VARCHAR2(3 BYTE),
"IOT_TYPE" VARCHAR2(12 BYTE),
"TEMPORARY" VARCHAR2(1 BYTE),
"SECONDARY" VARCHAR2(1 BYTE),
"NESTED" VARCHAR2(3 BYTE),
"BUFFER_POOL" VARCHAR2(7 BYTE),
"FLASH_CACHE" VARCHAR2(7 BYTE),
"CELL_FLASH_CACHE" VARCHAR2(7 BYTE),
"ROW_MOVEMENT" VARCHAR2(8 BYTE),
"GLOBAL_STATS" VARCHAR2(3 BYTE),
"USER_STATS" VARCHAR2(3 BYTE),
"DURATION" VARCHAR2(15 BYTE),
"SKIP_CORRUPT" VARCHAR2(8 BYTE),
"MONITORING" VARCHAR2(3 BYTE),
"CLUSTER_OWNER" VARCHAR2(128 BYTE),
"DEPENDENCIES" VARCHAR2(8 BYTE),
"COMPRESSION" VARCHAR2(8 BYTE),
"COMPRESS_FOR" VARCHAR2(30 BYTE),
"DROPPED" VARCHAR2(3 BYTE),
"READ_ONLY" VARCHAR2(3 BYTE),
"SEGMENT_CREATED" VARCHAR2(3 BYTE),
"RESULT_CACHE" VARCHAR2(7 BYTE),
"CLUSTERING" VARCHAR2(3 BYTE),
"ACTIVITY_TRACKING" VARCHAR2(23 BYTE),
"DML_TIMESTAMP" VARCHAR2(25 BYTE),
"HAS_IDENTITY" VARCHAR2(3 BYTE),
"CONTAINER_DATA" VARCHAR2(3 BYTE),
"INMEMORY" VARCHAR2(8 BYTE),
"INMEMORY_PRIORITY" VARCHAR2(8 BYTE),
"INMEMORY_DISTRIBUTE" VARCHAR2(15 BYTE),
"INMEMORY_COMPRESSION" VARCHAR2(17 BYTE),
"INMEMORY_DUPLICATE" VARCHAR2(13 BYTE),
"DEFAULT_COLLATION" VARCHAR2(100 BYTE),
"DUPLICATED" VARCHAR2(1 BYTE),
"SHARDED" VARCHAR2(1 BYTE),
"EXTERNAL" VARCHAR2(3 BYTE),
"HYBRID" VARCHAR2(3 BYTE),
"CELLMEMORY" VARCHAR2(24 BYTE),
"CONTAINERS_DEFAULT" VARCHAR2(3 BYTE),
"CONTAINER_MAP" VARCHAR2(3 BYTE),
"EXTENDED_DATA_LINK" VARCHAR2(3 BYTE),
"EXTENDED_DATA_LINK_MAP" VARCHAR2(3 BYTE),
"INMEMORY_SERVICE" VARCHAR2(12 BYTE),
"INMEMORY_SERVICE_NAME" VARCHAR2(1000 BYTE),
"CONTAINER_MAP_OBJECT" VARCHAR2(3 BYTE),
"MEMOPTIMIZE_READ" VARCHAR2(8 BYTE),
"MEMOPTIMIZE_WRITE" VARCHAR2(8 BYTE),
"HAS_SENSITIVE_COLUMN" VARCHAR2(3 BYTE),
"ADMIT_NULL" VARCHAR2(3 BYTE),
"DATA_LINK_DML_ENABLED" VARCHAR2(3 BYTE),
"LOGICAL_REPLICATION" VARCHAR2(8 BYTE)
) SEGMENT CREATION IMMEDIATE
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
TABLESPACE "USERS" ;
-- new object type path: TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
-- new object type path: TABLE_EXPORT/TABLE/STATISTICS/MARKER
[[email protected] dump]$
-- Add parameters transform. segment_attributes:n View the generated by import sql sentence , View the generated sql sentence , You can see , There's nothing in it storeage and tablespce Parameters .
impdp bb/oracle directory=dump dumpfile=test.dmp logfile=imp_transform_segment_attributes_n.log sqlfile=transform_segment_attributes_n.sql transform=segment_attributes:n
[[email protected] dump]$ impdp bb/oracle directory=dump dumpfile=test.dmp logfile=imp_transform_segment_attributes_n.log sqlfile=transform_segment_attributes_n.sql transform=segment_attributes:n
Import: Release 19.0.0.0.0 - Production on Wed Jul 6 11:34:47 2022
Version 19.15.0.0.0
Copyright (c) 1982, 2019, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Master table "BB"."SYS_SQL_FILE_FULL_01" successfully loaded/unloaded
Starting "BB"."SYS_SQL_FILE_FULL_01": bb/******** directory=dump dumpfile=test.dmp logfile=imp_transform_segment_attributes_n.log sqlfile=transform_segment_attributes_n.sql transform=segment_attributes:n
Processing object type TABLE_EXPORT/TABLE/TABLE
Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Processing object type TABLE_EXPORT/TABLE/STATISTICS/MARKER
Job "BB"."SYS_SQL_FILE_FULL_01" successfully completed at Wed Jul 6 11:35:04 2022 elapsed 0 00:00:08
[[email protected] dump]$
[[email protected] dump]$ more transform_segment_attributes_n.sql
-- CONNECT BB
ALTER SESSION SET EVENTS '10150 TRACE NAME CONTEXT FOREVER, LEVEL 1';
ALTER SESSION SET EVENTS '10904 TRACE NAME CONTEXT FOREVER, LEVEL 1';
ALTER SESSION SET EVENTS '25475 TRACE NAME CONTEXT FOREVER, LEVEL 1';
ALTER SESSION SET EVENTS '10407 TRACE NAME CONTEXT FOREVER, LEVEL 1';
ALTER SESSION SET EVENTS '10851 TRACE NAME CONTEXT FOREVER, LEVEL 1';
ALTER SESSION SET EVENTS '22830 TRACE NAME CONTEXT FOREVER, LEVEL 192 ';
-- new object type path: TABLE_EXPORT/TABLE/TABLE
CREATE TABLE "BB"."TEST"
( "OWNER" VARCHAR2(128 BYTE) NOT NULL ENABLE,
"TABLE_NAME" VARCHAR2(128 BYTE) NOT NULL ENABLE,
"TABLESPACE_NAME" VARCHAR2(30 BYTE),
"CLUSTER_NAME" VARCHAR2(128 BYTE),
"IOT_NAME" VARCHAR2(128 BYTE),
"STATUS" VARCHAR2(8 BYTE),
"PCT_FREE" NUMBER,
"PCT_USED" NUMBER,
"INI_TRANS" NUMBER,
"MAX_TRANS" NUMBER,
"INITIAL_EXTENT" NUMBER,
"NEXT_EXTENT" NUMBER,
"MIN_EXTENTS" NUMBER,
"MAX_EXTENTS" NUMBER,
"PCT_INCREASE" NUMBER,
"FREELISTS" NUMBER,
"FREELIST_GROUPS" NUMBER,
"LOGGING" VARCHAR2(3 BYTE),
"BACKED_UP" VARCHAR2(1 BYTE),
"NUM_ROWS" NUMBER,
"BLOCKS" NUMBER,
"EMPTY_BLOCKS" NUMBER,
"AVG_SPACE" NUMBER,
"CHAIN_CNT" NUMBER,
"AVG_ROW_LEN" NUMBER,
"AVG_SPACE_FREELIST_BLOCKS" NUMBER,
"NUM_FREELIST_BLOCKS" NUMBER,
"DEGREE" VARCHAR2(40 BYTE),
"INSTANCES" VARCHAR2(40 BYTE),
"CACHE" VARCHAR2(20 BYTE),
"TABLE_LOCK" VARCHAR2(8 BYTE),
"SAMPLE_SIZE" NUMBER,
"LAST_ANALYZED" DATE,
"PARTITIONED" VARCHAR2(3 BYTE),
"IOT_TYPE" VARCHAR2(12 BYTE),
"TEMPORARY" VARCHAR2(1 BYTE),
"SECONDARY" VARCHAR2(1 BYTE),
"NESTED" VARCHAR2(3 BYTE),
"BUFFER_POOL" VARCHAR2(7 BYTE),
"FLASH_CACHE" VARCHAR2(7 BYTE),
"CELL_FLASH_CACHE" VARCHAR2(7 BYTE),
"ROW_MOVEMENT" VARCHAR2(8 BYTE),
"GLOBAL_STATS" VARCHAR2(3 BYTE),
"USER_STATS" VARCHAR2(3 BYTE),
"DURATION" VARCHAR2(15 BYTE),
"SKIP_CORRUPT" VARCHAR2(8 BYTE),
"MONITORING" VARCHAR2(3 BYTE),
"CLUSTER_OWNER" VARCHAR2(128 BYTE),
"DEPENDENCIES" VARCHAR2(8 BYTE),
"COMPRESSION" VARCHAR2(8 BYTE),
"COMPRESS_FOR" VARCHAR2(30 BYTE),
"DROPPED" VARCHAR2(3 BYTE),
"READ_ONLY" VARCHAR2(3 BYTE),
"SEGMENT_CREATED" VARCHAR2(3 BYTE),
"RESULT_CACHE" VARCHAR2(7 BYTE),
"CLUSTERING" VARCHAR2(3 BYTE),
"ACTIVITY_TRACKING" VARCHAR2(23 BYTE),
"DML_TIMESTAMP" VARCHAR2(25 BYTE),
"HAS_IDENTITY" VARCHAR2(3 BYTE),
"CONTAINER_DATA" VARCHAR2(3 BYTE),
"INMEMORY" VARCHAR2(8 BYTE),
"INMEMORY_PRIORITY" VARCHAR2(8 BYTE),
"INMEMORY_DISTRIBUTE" VARCHAR2(15 BYTE),
"INMEMORY_COMPRESSION" VARCHAR2(17 BYTE),
"INMEMORY_DUPLICATE" VARCHAR2(13 BYTE),
"DEFAULT_COLLATION" VARCHAR2(100 BYTE),
"DUPLICATED" VARCHAR2(1 BYTE),
"SHARDED" VARCHAR2(1 BYTE),
"EXTERNAL" VARCHAR2(3 BYTE),
"HYBRID" VARCHAR2(3 BYTE),
"CELLMEMORY" VARCHAR2(24 BYTE),
"CONTAINERS_DEFAULT" VARCHAR2(3 BYTE),
"CONTAINER_MAP" VARCHAR2(3 BYTE),
"EXTENDED_DATA_LINK" VARCHAR2(3 BYTE),
"EXTENDED_DATA_LINK_MAP" VARCHAR2(3 BYTE),
"INMEMORY_SERVICE" VARCHAR2(12 BYTE),
"INMEMORY_SERVICE_NAME" VARCHAR2(1000 BYTE),
"CONTAINER_MAP_OBJECT" VARCHAR2(3 BYTE),
"MEMOPTIMIZE_READ" VARCHAR2(8 BYTE),
"MEMOPTIMIZE_WRITE" VARCHAR2(8 BYTE),
"HAS_SENSITIVE_COLUMN" VARCHAR2(3 BYTE),
"ADMIT_NULL" VARCHAR2(3 BYTE),
"DATA_LINK_DML_ENABLED" VARCHAR2(3 BYTE),
"LOGICAL_REPLICATION" VARCHAR2(8 BYTE)
) ;
-- new object type path: TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
-- new object type path: TABLE_EXPORT/TABLE/STATISTICS/MARKER
[[email protected] dump]$
summary :
transform=segment_attributes:n , Import time , Do not consider storage、tablespace Parameters , Object data is directly imported into the user's default table space
transform=storage:n , Import time , Do not consider storage Parameters , But tablespace information still exists ( Import into the table space existing in the original system , What table space is it stored in ,impdp Then it must exist in the original table space )
therefore , When there are many table spaces on the source side , Import to the target side , You can use parameters transform=segment_attributes:n. In this way, it is imported into the default table space on the target side . There is no need to create multiple table spaces on the target side .
yesterday , Use remap_tablespace=%:tbs Also a success . But suggestions , Or use transform Parameters .
END.
边栏推荐
猜你喜欢
How to share the same storage among multiple kubernetes clusters
Jetpack Compose 远不止是一个UI框架这么简单~
Data of all class a scenic spots in China in 2022 (13604)
FPGA课程:JESD204B的应用场景(干货分享)
基于JS的迷宫小游戏
Redhat5 installing vmware tools under virtual machine
品牌·咨询标准化
ESXI挂载移动(机械)硬盘详细教程
POI export to excel: set font, color, row height adaptation, column width adaptation, lock cells, merge cells
Basic introduction of JWT
随机推荐
dolphinscheduler3. X local startup
impdp的transform参数的测试
How can flinksql calculate the difference between a field before and after update when docking with CDC?
. Net core accesses uncommon static file types (MIME types)
How DHCP router works
The latest trends of data asset management and data security at home and abroad
大促过后,销量与流量兼具,是否真的高枕无忧?
SVN version management in use replacement release and connection reset
剑指offer-高质量的代码
Answer to the second stage of the assignment of "information security management and evaluation" of the higher vocational group of the 2018 Jiangsu Vocational College skills competition
2018年江苏省职业院校技能大赛高职组“信息安全管理与评估”赛项任务书
Prompt for channel security on the super-v / device defender side when installing vmmare
POI export to excel: set font, color, row height adaptation, column width adaptation, lock cells, merge cells
CompletableFuture使用详解
Config分布式配置中心
MYSQL binlog相关命令
main函数在import语句中的特殊行为
Installing redis and windows extension method under win system
如何给目标机器人建模并仿真【数学/控制意义】
Take you to brush (niuke.com) C language hundred questions (the first day)