Oracle data export and import are often used in work, especially in database backup.
Exp and imp usage collection network, or that sentence, "Come out and mix, always have to pay back ".
I. Definition
The oracle exp/imp command is used to export/import databases;The exp command is used to export data from a remote database server to a local machine to generate a dmp
.
// *Action: Contact Oracle Customer Support.
Run catmet2. SQL and utlrp. SQL in the $ ORACLE_HOME/rdbms/admin directory to solve this problem.
[oracle@DB-Server ~]$ cd $ORACLE_HOME/rdbms/admin
[oracle@DB-Server admin]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Sep 7 08:24:23 2014
Copyright (c) 1982, 2005,
How does the linux Server export data from the oracle database?
Solution to EXP-00056: ORACLE error 12154 encountered:
Some users asked this question: How do I escape the @ symbol in the password during the export operation?
Because the default Oracle will parse the strings after the @ symbol as the service name, it will not work without processing.
Some enterpri
/aichannel @ TESTDB2 file = d: \ data \ newsmgnt. dmp tables = (inner_policy, policy_staff_relat) 4. Export the filed1 field in table 1 in the database with the data Header "00" exp system/manager @ TEST file = d: \ daochu. dmp tables = (table1) query = \ "where filed1 like '000000 '\"
The process is generally as follows:
Then the detailed steps of the corresponding Execution Process (all the following oper
Oracle Data Import and Export imp/exp function: Oracle Data Import and 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.
export includes four modes: export table, export scheme, export tablespace, and export database.
Export FunctionWhen the expdp tool is used, its dump file can only be stored in the OS directory corresponding to the directory object, rather than directly specifying the OS directory where the dump file is located.Therefore, to use the expdp tool, you must first create a directory object and grant the database user the permission to use the directory object.Create directory dump dir as '/home/
character set between the two databases can import and export data to each other as long as the third part, the only thing that affects the message is the Chinese or English. Two. View the database character set This involves three aspects of the character set, One is the Oracel server-side character set; The second is the character set of the Oracle client side; The third is the character set of the DMP f
Basic syntax and example of Oracle exp and imp usage: 1. EXP: There are three main methods (complete, user, table) 1. Complete: exp system/manager buffer = 64000 FILE = C: \ FULL. dmp full = Y if you want to perform FULL export, you must have special permissions. 2. User Mode: exp sonic/sonic buffer = 64000 FILE = C: \ SONIC. dmp owner = SONIC so that all the obj
Preface: It has been a long time for me to export and import Oracle9i data, especially import. Today, under the guidance of a colleague, I finally succeeded. In order to remember the help of this colleague, I only marked "Kun" here.
Body:
Oracle data export:To export the local Oracle database:Exp pcisv62/11 @ orcl file = "D: \ pcisv62081226.dmp" Full = y(Orcl
DIRECTORY=DIR_DP dumpfile =expdp_ Test1.dmp Logfile=expdp_test1.log;
...........
Dump file set for CC. SYS_EXPORT_SCHEMA_01 is:
/oracle/oracle11/expdp_test1.dmp
Job "CC". " Sys_export_schema_01 "successfully completed at Sat Aug 12:02:13 2016 elapsed 0 00:01:33
Parameter resolution: schemas: Database user alias instead of instance name CC/PASSWORD@//10.45.
environment through ftp. The emergency backup environment is then imported using impdp, in this way, cold backup can be completed.
I. Linux Oracle database:
1. Add crontab timing time
2. Write shell scripts to export Databases
#! /Bin/bashYy = 'date + % y'Mm = 'date + % m'Dd = 'date + % d'Time = $ yy $ mm $ dd
ORACLE_BASE =/oracle/app/oracle;Export ORACLE_BASE;O
mode (Full mode) to export all objects in the database.The data Export process is the inverse process of the data Import (Export). Their data flows are different.B. incremental Export/ImportIncremental export is a common data backup method. It can only be implemented for the entire database and must be exported as a SYSTEM.
[1] [2] [3] [4] Next pageThe ORACLE tutorial is on Oracle data security. Output. Du
Remotely operate databases with exp/imp
Keyword: exp/IMP Remote Operation
In:1. Modify the tnsnames. ora file (Alternatively, step 1 can be omitted. The formula is exp [IMP] address/Data Processing Instance name file = path. dmp [If imp is used, add full = y].)Add the name of the remote server:
SQL code
192.168.1.117 = (description = (address_list = (address = (Protocol = TCP) (host = 192.168.1.117) (Port = 1521) (CONNECT_DATA = (SERVICE_NAME = orcl )
DMP files can be copied out
Copy Code code as follows:
Selectdirectory_path from Dba_directories wheredirectory_name= ' Data_pump_dir ';
4. Oracle's Export (Backup) is complete.
II. Oracle Import (Restore)1, landing or remote to the Oracle server, the Oracle backup files (
examples$exp oa1/123@oracleConnect to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0-productionWith the partitioning, OLAP and Data Mining optionsInput array extract buffer size: 4096 >
Export file: Expdat. DMP > D:/a.dmp
(2) U (user), or (3) T (table): (2) u > 3
Export table Data (yes/no): Yes > Yes
Compressed area (yes/no): yes >
Exported ZHS16GBK character set and Al16utf16 NCHAR charac
Basic syntax and example: 1. Exp: There are three main methods (full, user, table) 1. Full: EXP system/Manager Buffer = 64000 file = c: \ full. DMP full = y if you want to perform full export, you must have special permissions. 2. User Mode: EXP Sonic/sonic buffer = 64000 file = c: \ sonic. DMP owner = Sonic so that all the objects of the user Sonic are output to the file. 3. Table mode: EXP Sonic/sonic buf
For more information about Oracle basic statement instance code, see.
For more information about Oracle basic statement instance code, see.
For more information about Oracle basic statement instance code, see.
Basic Oracle statements
1. enter the interface
Go to the sqlplus interface of
set between the two databases as long as the third part of the same can be imported to export data, before the impact of only the hint information is Chinese or English.How to query Oracle's character setMany people have encountered situations in which data import fails because of a different character set. This involves three aspects of the character set, one is the character set on the Oracel server, the other is the character set of the Oracle cli
Basic syntax and example:1. EXP:There are three main methods (complete, user, table)1. Complete:Exp system/manager buffer = 64000 FILE = C: \ FULL. dmp full = YTo perform full export, you must have special permissions.2. User Mode:Exp sonic/sonic buffer = 64000 FILE = C: \ SONIC. dmp owner = SONICIn this way, all the SONIC objects are output to the file.3. Table mode:Exp sonic/sonic buffer = 64000 FILE = C:
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.