Is it possible to change table name while import ? [message #439563] |
Mon, 18 January 2010 07:01 |
sbmk_design
Messages: 88 Registered: April 2007 Location: CHENNAI
|
Member |
|
|
I wanted to export a table "emp_production" from Production database then import it as "emp_datawarehouse" in Data warehouse database.
Both tables has same structure.
I have granted IMPORT FULL DATABASE & EXPORT FULL DATABASE privileges to both schema
I tired with the following syntax
$ Expdp u1/p1@h1[/email] tables= emp_production directory=test dumpfile=test1.dmp
$ Impdp u1/p2@h2[/email] directory=test dumpfile=test1.dmp remap_schema=u1.emp_production:u2.emp_datawarehouse
remap_tablespace=Example1:Example2
But I am getting the following error
ORA-31631: privileges are required
ORA-39122: Unprivileged users may not perform REMAP_SCHEMA remapping.
Why this ?
"emp_production" table has 150 million rows, every week importing this table then inserting into "emp_datawarehouse" table takes long time.
Any idea please.
Thanks in advance
sbmk
[Updated on: Mon, 18 January 2010 07:35] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|