Oracle Data Import Export IMP/EXP is equivalent to Oracle data restore and backup. The EXP command can export data from a remote database server to a local DMP file, and IMP commands the DMP file to be imported locally into a distant database server. With this feature, you can build two identical databases, one for testing and one for formal use.
Execution environment: can be executed in SQLPLUS.EXE or DOS
protected]File=d:\daochu.dmp owner= (System,sys)3 Exporting Tables Table1, table2 in the databaseExp system/[email protected]File=d:\daochu.dmp tables= (Table1,table2)4 Export the field filed1 in table table1 in the database with data beginning with "00"Exp system/[email protected]File=d:\daochu.dmp tables= (table1) query=\ "where filed1 like ' 0% ' \"The above is a common export, for compression I do not care, with WinZip to the DMP file can be very
local;
Description
1) zd_temp temp Table space Name2)/u01/app/oralce/oradata/orcl/the place where the database files are stored, usually after the database is installed, there are control files, data files and log files in the folder, plus the name of the table space to create +DBF (data file)3) Initial size of 1024m table space4) Auto-grow size of 100m table space5) Maximum size of 10240m table space
2. Create a data table space
Create tabl
The local server does not have the Orcale database and client installed, and Plsql is not installed. Therefore the imp command of CMD cannot be used.
Install the Orcale client locally, install, configure path, and then import the DMP file with the IMP command after installation.
Install Instantclient_11_2, and unzip OK;
Install Plsql,, unzip the direct punch card Plsqldev.exe, the interface is English, can be changed to Chinese. Confi
Tags: exp DMI span BSP centrally run lap div effectDMP tables Import and export from Oracle databaseImport: Start-to-run input cmd enter # #语法格式为: Imp username/password @ip address/database name file= ' dmp file path ' full=yC:\users\administrator>imp Testuser/[email PROTECTED]/ORCL file='C:\Users\Administrator\Documents\szj\wzcl2.dmp'Full=y # #下面为运行后效果import:release 11.2.0.1.0-production on Wednesday May 18:43:39 Copyright (c) 1982, the Oracle an
Tags: create address bar TAF session size class DMP pathTo import to a specific table space, you need to create a new tablespace, and if not, use the one you already have, just follow the steps below Enter IMP username/password in the DOS window @ip address: Port number/DB instance file= ' path of the DMP file to be imported ' full = y (may be required) Here are the steps to create a tablespace and a user:
Label:Recently did an export work, in the process of using Xshell, found in their own computer with the CMD command to export the DMP file, in the Xshell tool to export the times wrong.Commands executed on CMD: exp ***/*** @oracle file=d:\tbissamt.dmp tables= (tbissamt) query=\ "where trans_date> ' 20150814 ' \"Commands executed on Xshell: Exp ***/*** @oracle file=tbissamt.dmp tables=\ (tbissamt\) query=\ "where trans_date\> ' 20150814 ' \"Use the Xsh
Import DMP to a different tablespace. 1. Use imp to export data. cmd to enter the orcle installation directory bin. Enter the following command: www.2cto.com exp username/password @ ORACLEEPP file = c: \ hysjb. dmp owner = magazine_hy rows = y 2, using imp to generate index. SQL file imp
My first DMP analysis has a lot to say and I am very happy!
Bsod and DMP information occurred during redirection:
Bad_pool_header (19)The pool is already upt at the time of the current request.This may or may not be due to the caller.The internal pool links must be written ed to figure out a possible causeThe problem, and then special pool applied to the suspect tags or the driverVerifier to a suspect driv
DMP User Portrait System (SPARKGRAPHX sparkcore Sparksql)Course View Address: http://www.xuetuwuyou.com/course/221The course out of self-study, worry-free network: http://www.xuetuwuyou.comDMP SystemThe user portrait is also called the character character, is the user's social attribute, the life habit and the consumer behavior and so on the information and abstract the user model, namely the real user's virtual representative.Through user research to
Assuming that the data user USER1 uses the default tablespace TS1, the user USER2 uses the default table space TS2, and now imports USER1 data into USER2, which requires tablespace TS2.
It is not possible to specify tablespace through imp command parameter tablespaces.
At this time there is a simple method, suitable for the case of relatively few data: direct use of UltraEdit DMP file, the default is 16 into the system.
Through the formula bar-
Tags: ACL base plsql Lin BSP Create user-built table file upload sqlFirst, if there is plsql can be in the tool-Import table--oracle Import-Add executable file can be imported.Second, using WINSP to upload the dmp file to Linux, the Linux Command window switch to the Oracle user, enter SQL Plus, you can choose to create a table space to build a user, or directly create a new user to adopt the default table space.Create user WWH identified by 123456Gra
Label:In daily development, it is often necessary to import a. dmp file into a database, below is a brief introduction to how to import from a command 1. Create a AWSBPM userCreate user username identified by password; Example: Create user test identified by test; 2. The user gives the appropriate permission, the privilege is better to be higher.Grant CONNECT,RESOURCE,DBA to test; 3. Thedmp file is imported into Oracle, buffer is best for larger Imp u
DMP User Portrait System (SPARKGRAPHX sparkcore Sparksql)Course View Address: http://www.xuetuwuyou.com/course/221The course out of self-study, worry-free network: http://www.xuetuwuyou.comDMP SystemThe user portrait is also called the character character, is the user's social attribute, the life habit and the consumer behavior and so on the information and abstract the user model, namely the real user's virtual representative.Through user research to
As early as the Oracle 8,oracle 8i,oracle 9i, there was no datapump, so the work of the logical database migration depended more on exp/imp,However, when disk space is limited and downtime is short, we usually need a way to do it without landing.At that time, our usual way is to use the pipeline, that is, exp to export the database to the pipe, the target segment through the pipeline directly to the data imp to the target database, so that the data does not fall, eliminating the generation of
Orcale is already installed in the front, now import the database and start using it.The steps are as follows:
Set table Space Auto-expansion
Login with system as SYSDBA login password is empty650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M00/95/00/wKiom1kQgxKCLQi-AAAimtJH7RY244.png-wh_500x0-wm_ 3-wmp_4-s_1287558486.png "width=" "height=" 354 "alt=" Wkiom1kqgxkclqi-aaaimtjh7ry244.png-wh_50 "/>
Query the physical path of the data file for the table system tabl
Label:1. Under WinXP, install 10g, default selection, all the way OK. (Pre-install self-test with DHCP warning, can be ignored directly) 2. Command line, under XP, enter Sqlplus, you can start, login with Sqlplus/as sysdba with admin login 3. When restoring Oracle, first establish the tablespace, build the user, and grant the user authorization and unlock in Sqlplus. ----Create a table space Create Tablespace jbpmLoggingDataFile ' D:\oracle\product\10.2.0\oradata\jbpm.ora ' size 100M reuseExtent
Tags: WinForm style blog http color fileOriginal address: http://www.cnblogs.com/alxc/archive/2011/03/25/1995279.htmlBecause like new things, so basically computer development tools are the latest, Oracle also installed 11g R2, but colleague classmate is not 11g R1 is 10G, from here I exported the DMP file in their direction in, all show:IMP-00010: Not a valid export file, header validation failedFor this problem has been distressed, almost want to un
Requires authorization to import the user as a DBA.650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/7D/63/wKiom1bnezjTXhfsAAF7PNNPvuo449.jpg "title=" Error.jpg "alt=" Wkiom1bnezjtxhfsaaf7pnnpvuo449.jpg "/>Then use this user name for import, note that import users and DMP export users need to be consistent.If Connect/as sysdba, the prompt ora-01031:insufficient privileges appears,650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/7D/6
" Set Curtime=06if " %curtime% "= =" 7 "Set curtime=07if"%curtime% "= =" 8 "Set curtime=08if"%curtime% "= =" 9 "Set Curtime=09set curtime=%curtime% %time:~3,2%%time:~6,2%rem set all, username, and password set owner=xxx (write your database service name here) set User=xxx (a corresponding user of the database you want to back up) set Password=xxx (corresponding PASSWORD) REM create a backup folder. Folder structure is oraclebak/yyyymmdd/if not exist ' Oraclebak ' mkdir oraclebakcd orac
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.