I have a large (multi-GB) data file exported from an Oracle table. I want to import this data into another instance of Oracle, but I want the table name to be different from the original table. Is it possible? How?
Both import and export systems are Oracle 11g. The table contains a BLOB column, if that matters.
Thank!
UPDATES
The idea here was to update the table, saving downtime in the system, using it with minimal values. Solution (based on Vincent Malgrat and APC update:
A
TEMP_SCHEMA
TEMP_SCHEMA.A
CREATE REAL_SCHEMA.B AS SELECT * FROM TEMP_SCHEMA.A
DROP TABLE REAL_SCHEMA.A
REAL_SCHEMA.A
REAL_SCHEMA.A_OLD
REAL_SCHEMA.B
DROP REAL_SCHEMA.A_OLD
, 4 5, . , : -)
, , . , . FROMUSER TOUSER. () .
FROMUSER
TOUSER
, CREATE TABLE AS SELECT. , , , . .
CREATE TABLE AS SELECT
Gary, , . , .
EXP IMP, . - ( , .
, , 11g. DataPump, 10g, . 11g REMAP_TABLE, , .
, OP , , , REMAP_TABLE . . , ORA-39151. .
bis
, OP ( , ), Data Pump, TABLE_EXISTS_ACTION={TRUNCATE | REPLACE}. REPLACE , TRUNCATE , er, . , .
TABLE_EXISTS_ACTION={TRUNCATE | REPLACE}
REPLACE
TRUNCATE
OP, , .
REMAP_TABLE = EXISITNG_TABLE_NAME: NEW_TABLE_NAME impdp. 11gR2.
, .
Create the view as the select * from ...table you want to import into, with the view matching the name of the table in the export. Ignore import errors.
select * from ...
Source: https://habr.com/ru/post/1725637/More articles:apache HttpClient to access facebook - facebookjquery.animate various speeds - jqueryDoes SQL Server Express 2008 not separate a file attached automatically? - sql-serverSHA-1-based directory structure and NTFS restrictions? - c #Good cross-platform libraries / tools for software updates? - cross-platformORA-01861: literal does not match format string - sqlDjango Admin Application: Creating a Dynamic Admin List - closureshttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1725640/portably-passing-arguments-to-phps-reflectionmethodinvokeargs-by-reference&usg=ALkJrhhDq-VbICnpERZo3gy7VXnb7Mn62gC # - HttpWebRequest - POST - httpProject update via TextMate (for example, Espresso) - textmateAll Articles