EXCLUDE=USER full=y;If the user you want to import does not exist:1. Export user EXPDP User1/pass1 Directory=dumpdir dumpfile=user1.dmp2. Import user IMPDP System/passsystem directory=dumpdir dumpfile=user1.dmp remap_schema=user1:user2 full=y;3. User2 will be automatically established, and its permissions and use of the table space is the same as User1, but at this time with User2 unable to log in, you must modify the User2 password------------------
Since Oracle version 10g, data Pump is provided as a new data mobile technology. The technical tools are expdp and impdp respectively. We often use them in actual projects, such as migrating data from the production database to the test database.
I will introduce the usage, usage, and differences between these two tools and the imp/exp of 9i.
Expdp and impdp have three main purposes:
1. implement logical ba
(1) Data Pump Export (data dump export ). Data Pump export is a new function of Oracle Database 10 Gb, which means to use the utility expdp to export the metadata or data of the database object to the dump file.
(2) Data Pump import (data dump import ). Data Pump import is a new feature of Oracle Database 10g, which refers to the use of the utility impdp to import the metadata and data in the dump file to the Oracle database.
(3) Role of data pump e
[Oracle] Data Pump detailed tutorial (3)-impdp [Oracle] Data Pump detailed tutorial (2)-expdp http://www.bkjia.com/database/201307/230731.html The import mode is the same as the export mode. The following five modes are also mutually exclusive. Set Full = yes in Full mode. If you do not have the DATAPUMP_IMP_FULL_DATABASE role, you can only set schema parameters in the data Schema mode of your Schema. The syntax is as follows: SCHEMAS = schema_name [,
Tags: des blog http io os using Java ar StrongI. SummaryIn the normal storage and database migration, when encountering a large database when using exp often takes a few hours, time consuming. oracle10g later can use EXPDP to export the database to spend much less time than Exp spent, and the file is much smaller.ii. difference between Exp/imp and EXPDP/IMPDP(1) The user UserA the object to the user UserB, the usage difference is Fromuser=usera touser
Disclaimer: This is a reference to Secooler's "Data Migration replication--network_link parameters between different users of the same database instance" (http://space.itpub.net/519536/viewspace-631571), thank you.
In actual development and operation, we often encounter the need to transfer the structure and content of a schema, a tablespace, or some data tables to another data schema, tablespace, or another instance.
There are many ways to achieve this need. More commonly used is the use of t
I. Overview
I have written two articles about Oracle Data Pump before:
Oracle 10 gData Pump Expdp/Impdp
Oracleexpdp/impdp example
These two articles describe the use of data pumps.
In actual use, we will also encounter a problem where some ORA-xx errors may occur. For specific errors, we can go to google for analysis, but there are still some situations, that is,
I. Notes about expdp and impdp when using expdp and impdp:Exp and IMP are client tool programs that can be used either on the client or on the server.Expdp and impdp are tool programs on the server. They can only be used on the Oracle server, but not on the client.IMP only applies to exp exported files, not expdp exported files; impdp only applies to expdp export
For details about how to use the expdp/impdp command, refer:
Oracle expdp/impdp example
Http://blog.csdn.net/tianlesoftware/article/details/6260138
Comparison between exp/IMP and expdp/impdp and some optimization items in use
Http://blog.csdn.net/tianlesoftware/article/details/6093973
Use the copy function of DB_LINK to remotely back up and restore Data Using expdp and impdp. Delete the dept and emp of scott user on server B before testing.
Use the copy function of DB_LINK to remotely back up and restore Data Using expdp and impdp. Delete the dept and emp of scott user on server B before testing.
Lab environment:
Server A: 172.21.1.30
Server B: 172.21.1.40
The two servers run two Or
TABLE_EXISTS_ACTION parameter option of impdp
Impdp has a parameter option TABLE_EXISTS_ACTION. The help = y is interpreted:
Action to take if imported object already exists.Valid keywords are: APPEND, REPLACE, [SKIP] and TRUNCATE.There is a sentence in the official document:"Only objects created by the Import will be remapped. In particle, the tablespaces for preexisting tables will not be remapped if TABL
Expdp and impdpOracle Database 10 Gb introduces the latest data pump technology, allowing DBAs or developers to quickly move database metadata (object definition) and data to another Oracle database.Role of Data Pump Export Import (expdp and impdp)1. implement logical backup and logical recovery.2. move objects between database users.3. move objects between databases4. Implement table space migration.Differences between data pump export and traditiona
:
Example: impdp scott/tiger DIRECTORY = dmpdir DUMPFILE = scott. dmp
You can control how the import runs. The specific method is: EnterParameters. To specify parameters, use the Keyword:
Format: impdp KEYWORD = value or KEYWORD = (value1, value2,..., valueN)Example: impdp s
Terminate the running of imp/exp and expdp/impdp processes method 1. Stop the EXP/IMP optimization speed to directly KILL the process, but first KILL the parent process and then KILL the child process, only KILL sub-processes, EXP/IMP will also execute the sample in the background: ps-ef | grep imp query pid, kill-9 pid, kill-9 ppid, 2. Stop EXPDP/IMPDP. Here, the KILL process cannot be simply used to handl
The exclude and include parameters can filter or filter specific objects or object types when using expdp or impdp. For example, to export a specific table or not to export a specific tableTables, views, stored procedures, indexes, constraints, and authorization statistics. The following describes how to use exclude and include parameters for expdp or impdp.
1.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.