original table. The recommended naming method is the current date of the original table name, which makes it more readable. See parameter remap_table instructions for use:650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M02/8D/FF/wKioL1iy2vnh8ll-AAA9Nj2z6tA976.png-wh_500x0-wm_ 3-wmp_4-s_4282534755.png "title=" 11.png "alt=" Wkiol1iy2vnh8ll-aaa9nj2z6ta976.png-wh_50 "/>650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M00/8D/FF/wKioL1iy2xWiC9W6AAAUT1bE6AE284.png-wh_500x0-wm_ 3-wmp_4-
1. Database Export: three modes: Full Database Export, user export, and table export. 1. Command Line-full Database Export expuseridsystemsystem @ MyOraclefullyfile (c: tmp2004020601.dmp, c: tmp2004020602.dmp, c: tmp2004020603.dmp) filesize2GBlogc: tmp20040206.log Remarks: This command
1. Database Export: three modes: Full Database Export, user export, and table
1. Backup: 1.1. Create a database_exp.bat batch file
First, create the DMP and log files for seven days, and then create a batch file for exporting the database. This script can back up the database for the last seven days, as shown in database_ext.bat:
Del F: \ mydata_mytest \ oradata7.dmpDel F: \ mydata_mytest \ oradata7.logRen F: \ mydata_mytest \ oradata6.dmp oradata7.dmpRen F: \ mydata_mytest \ orad
, Backup/restore user, Backup/restore tablespace, Backup/Restore Database 4 ways to do the following backup/restore commands in the operating system command line to complete the relevant operation1.Database backup(1) Backup tableEXPDP database username/password "@ DB instance name" directory= Directory name tables= table 1, table 2 dumpfile= exported DMP file logfile= The log file generated by the DMP file;
When importing data from IMP in Oracle, hybriddb for MySQL prompts that the character set is inconsistent.
The imp import and exp export functions of Oracle are often used in the production environment for data migration. The character set is usually queried in the source database and target database,
The following error message is displayed when importing IMP in the test environment:
The import command is as follows:
[Oracle@localhost.localdomain:/soft] $ imp scott/scott file =/soft/scott_v1.
Importing and exporting Oracle Data imp/exp is equivalent to restoring and backing up oracle data. The exp command can export data from the remote database server to the local dmp file, and the imp command can import the dmp file from the local to the distant database server. This function can be used to build two identical databases, one for testing and the other for formal use.
Execution Environment: In S
recommended naming method is the current date of the original table name, which makes it more readable. See parameter remap_table instructions for use:650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M02/8D/FF/wKioL1iy2vnh8ll-AAA9Nj2z6tA976.png-wh_500x0-wm_ 3-wmp_4-s_4282534755.png "title=" 11.png "alt=" Wkiol1iy2vnh8ll-aaa9nj2z6ta976.png-wh_50 "/>650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M00/8D/FF/wKioL1iy2xWiC9W6AAAUT1bE6AE284.png-wh_500x0-wm_ 3-wmp_4-s_139014653.png "tit
This article introduces the import and export of Oracle Data IMP and exp commands, describes the corresponding parameters, and then uses some examples for further understanding.At last, the article discusses the problems that may occur when using these two commands (such as insufficient permissions and different Oracle versions), and puts forward corresponding solutions;The content in this article is excerpted from the Internet. Thanks for your experience;
I. Description
The Oracle exp/IMP comma
This article introduces the import and export of Oracle Data IMP and exp commands, describes the corresponding parameters, and then uses some examples for further understanding.At last, the article discusses the problems that may occur when using these two commands (such as insufficient permissions and different Oracle versions), and puts forward corresponding solutions;The content in this article is excerpted from the Internet. Thanks for your experience;
I. Description
The Oracle exp/IMP comma
1. DIRECTORYSpecifies the directory where the dump and log files are located
DIRECTORY = directory_object
Directory_object is used to specify the DIRECTORY object name. Note that the DIRECTORY object is an object created using the create directory statement, not an OS DIRECTORY.
Expdp scott/tiger DIRECTORY = dmp dumpfile = a. dump
Create or replace directory dmpAs 'd:/dmp'
Expdp zftang/zftang @ zftang dire
output in the form of a binary file (. DMP), then parsed and input to another database environment. Oracle export 1: Go to the export page 2 from the menu. On the [select] page, you can specify the export object range. Full database: all objects of all users in the database are exported. Users specify: All object tables under a specified user specify: only the specified tables are exported. You can specify multiple table spaces: all objects in the sp
Oracle Import and Export Command Parsing
This article introduces the import and export of Oracle Data IMP and exp commands, and describes the corresponding parameters.
Drills to deepen understanding.At last, the article discusses the problems that may occur when using these two commands (such as insufficient permissions and different Oracle versions), and puts forward corresponding solutions;The content in this article is excerpted from the Internet. Thanks for your experience;
I. Description
Th
Oracle expdp command
Http://blog.csdn.net/zftang/article/details/6387325
Oracle expdp command usage details
Related Parameters and export examples:
1. Directory
Specifies the directory where the dump and log files are locatedDirectory = directory_objectDirectory_object is used to specify the directory object name. Note that the directory object is an object created using the create directory statement, not an OS directory.Expdp Scott/tiger directory = DMP
Use the exp;impcommand to export and import racledata databases and execute them in the environment of the local or sqlplus.exe command. The exp command can export data from the remote database server to a local dmp file, and the imp command can import the dmp file from the local to a distant database server. The command line executes the Import and Export commands through the imp.exeand exp.exe programs un
the value is metadata_only, only the object definition is exported.
Expdp Scott/tiger directory = dump dumpfile = A. Dump
Content = metadata_only
3. Directory
Specifies the directory where the dump and log files are located
Directory = directory_object
Directory_object is used to specify the directory object name. Note that the directory object is an object created using the create directory statement, not an OS directory.
Expdp Scott/tiger directory = dump dumpfile = A. Dump
Create a directory
Oracleimpexp command details
How to import dmp database files in oracle?
Importing and exporting oracle Data imp/exp is equivalent to restoring and backing up oracle data. The exp command can export data from the remote database server to the local dmp file, and the imp command can import the dmp file from the local to the distant database server. This function c
Recently, because the Oracle database backup problem is involved every day in the re-project, and the server runs remotely, it is very time-consuming to manually back up data every day, so I checked some information about Oracle database backup. I feel that I am not very clear about it in many places on the Internet. Here I will talk about Oracle's automatic backup.
The running environment of the server is Windows-Server 2003, and the database is 9I (some parameters may change in other versions
Basic syntax and example: 1. Exp:
There are three main methods (complete, user, table)1. Complete:Exp icdmain/ICD rows = y indexes = n compress = n buffer = 65536 feedback = 100000 full = y file = exp _. dmp log = exp. Log
To perform full export, you must have special permissions.2. User Mode:Exp icdmain/ICD owner = icdmain rows = y indexes = n compress = n buffer = 65536 feedback = 100000 file = exp. dmp
Function: Oracle Data Import/Export imp/exp is equivalent to Oracle data restoration and backup.
In most cases, you can use ORACLE data import and export to back up and restore data (without causing data loss ).
Oracle has a benefit. Although your computer is not a server, you have installed an Oracle client and established a connection.(Use the local -- gt; service name in net8 assistant to add the correct service nameIn fact, you can think that the client and the server have built a path, an
Importing and exporting Oracle Data imp/exp is equivalent to restoring and backing up ORACLE data. The exp command can export data from the remote database server to the local DMP file, and the IMP command can import the DMP file from the local to the distant database server. This function can be used to build two identical databases, one for testing and the other for formal use.Execution environment: it ca
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.