....
I wish from oracle something that allows identifying the schema "type". Eg something similar to the namespace . Having this I would be able to chose my "User defined " schema. .
....you could make use of the INCLUDE parameter from DATAPUMP utility.
http://docs.oracle.com/cd/E11882_01/server.112/e22490/dp_export.htm#SUTIL853 using that - you could export/import multiple object types from either within a single schema or across different schema.
D:\app\Vnameit\product\11.2.0\dbhome_1\BIN>expdp rajesh/oracle@ora11g parfile=d:\par.txt
Export: Release 11.2.0.4.0 - Production on Mon Nov 21 14:07:44 2016
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Starting "RAJESH"."SYS_EXPORT_SCHEMA_01": rajesh/********@ora11g parfile=d:\par.txt
Estimate in progress using BLOCKS method...
Total estimation using BLOCKS method: 0 KB
ORA-39168: Object path SEQUENCE was not found.
ORA-39168: Object path PROCEDURE was not found.
ORA-31655: no data or metadata objects selected for job
Job "RAJESH"."SYS_EXPORT_SCHEMA_01" completed with 3 error(s) at Mon Nov 21 14:07:52 2016 elapsed 0 00:00:06
D:\app\Vnameit\product\11.2.0\dbhome_1\BIN>type d:\par.txt
DIRECTORY=etl_data_dir
DUMPFILE=expdp2.dmp
LOGFILE=explog2.txt
include=SEQUENCE:"in ('DEMO','SCOTT')"
include=PROCEDURE:"in('RAJESH')"
D:\app\Vnameit\product\11.2.0\dbhome_1\BIN>
you could do export and import across the schema, ensure that the user perform export/import have the necessary privilege to access the objects across schema
demo@ORA11G> create table t1 as select * from all_objects;
Table created.
demo@ORA11G> conn rajesh/oracle@ora11g
Connected.
rajesh@ORA11G> create table t2 as select * from all_objects;
Table created.
rajesh@ORA11G> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
C:\Users\179818>d:
D:\>cd app\Vnameit\product\11.2.0\dbhome_1\bin
D:\app\Vnameit\product\11.2.0\dbhome_1\BIN>expdp rajesh/oracle@ora11g DIRECTORY=etl_data_dir DUMPFILE=expdp.dmp LOGFILE=explog.txt TABLES=(rajesh.t2,demo.t1)
Export: Release 11.2.0.4.0 - Production on Mon Nov 21 13:54:24 2016
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Starting "RAJESH"."SYS_EXPORT_TABLE_01": rajesh/********@ora11g DIRECTORY=etl_data_dir DUMPFILE=expdp.dmp LOGFILE=explog.txt TABLES=(rajesh.t2,demo.t1)
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 20 MB
Processing object type TABLE_EXPORT/TABLE/TABLE
. . exported "DEMO"."T1" 8.229 MB 84874 rows
. . exported "RAJESH"."T2" 8.229 MB 84876 rows
Master table "RAJESH"."SYS_EXPORT_TABLE_01" successfully loaded/unloaded
******************************************************************************
Dump file set for RAJESH.SYS_EXPORT_TABLE_01 is:
D:\EXPDP.DMP
Job "RAJESH"."SYS_EXPORT_TABLE_01" successfully completed at Mon Nov 21 13:54:47 2016 elapsed 0 00:00:16
D:\app\Vnameit\product\11.2.0\dbhome_1\BIN>
D:\app\Vnameit\product\11.2.0\dbhome_1\BIN>impdp rajesh/oracle@ora11g directory=ETL_DATA_DIR dumpfile=expdp.dmp remap_table=demo.t1:demo.t2,rajesh.t2:rajesh.t1 logfile=implog.txt
Import: Release 11.2.0.4.0 - Production on Mon Nov 21 13:57:59 2016
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "RAJESH"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "RAJESH"."SYS_IMPORT_FULL_01": rajesh/********@ora11g directory=ETL_DATA_DIR dumpfile=expdp.dmp remap_table=demo.t1:demo.t2,rajesh.t2:rajesh.t1 logfile=implog.txt
Processing object type TABLE_EXPORT/TABLE/TABLE
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
. . imported "DEMO"."DEMO.T2" 8.229 MB 84874 rows
. . imported "RAJESH"."RAJESH.T1" 8.229 MB 84876 rows
Job "RAJESH"."SYS_IMPORT_FULL_01" successfully completed at Mon Nov 21 13:58:08 2016 elapsed 0 00:00:06
D:\app\Vnameit\product\11.2.0\dbhome_1\BIN>