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
Label:Recently, in a database table export, because it produces a lot of data every day, it is necessary to use a condition to qualify it. Special NOTE: This command is only used under Windows. Below is an example of it:Exp fep_h****/[email protected]EL file=yy0709.dmp tables= (t06_cda_triggers) query= "" "where tr_handle_date >to_date (' 2015-07-03 00:00:00 ', ' yyyy-mm-dd hh24:mi:ss ') "" "Here, "" "" "inside the content, similar to the SQL where co
Mysql and oracle batch processing run SQL file and oracle import dmp file mysql batch processing run SQL: www.2cto.com net stop mysql net start mysql echo Wscript. sleep (3000)> sleep. vbs start/w wscript.exe sleep. vbs del/Q sleep. vbs mysql-f-u mysql-ppassword anxiesoft
Dmp File Import and Export Steps
-- The path of the datafile is provided at will, but the subsequent file name is dbf
LOGGING
DATAFILE 'd: \ OracleDateFile \ DTBS. dbf'
SIZE 32 M
AUTOEXTEND ON
NEXT 32 m maxsize 2048 M
Extent management local;
-- Create a user and specify a tablespace
Create user test identified by "123456" default tablespace DTBS;
Grant connect, resource, dba to test;
Imp user/pw file = file path full = y
-
Windbg is a free source code-level debugging tool developed by Microsoft. Windbg can be used for kernel mode debugging and user mode debugging. It can also debug dump files. This article is about installing debugging tools for Windows. For more information, see my previous article. For dump file debugging by windbg, you can set the symbol file path and source file path through the menu, and set multiple paths.
1. Open a dump file
Open windbg, select "dump" from the menu [file] à [open crash du
I want to import a gb dmp today. The initial import is very slow, so I have adjusted the database parameters. Currently, the results are quite good.
1. Increase the redo log size from the default 50 m to 100 m.
2. Increase the number of redo logs to 17.
3. Increase the memory size and adjust the dbcache size.
4. Provide independent tablespaces and allocate the sizes in advance
5. Increase Process count to 800
6. Disable flashback.
7. Disable th
1. Use IMP to export data
Run cmd to enter the orcle installation directory bin and enter the following command:
Exp username/password @ oracleepp file = c: \ hysjb. dmp owner = magazine_hy rows = y
2. Use IMP to generate the index. SQL File
ImP
3. Modify the index. SQL File
Find: 'rem
Find: '"
Find: '...' Replace: 'rem ...'
Find: 'connect 'replace: 'rem connect'
PS: query the table space statement:
Select
DF . Table
The Import Statement is imp sys/Sakura file = A. DMP, And the ORA-28009 connection to SYS shocould be as sysdba or sysoper error is returned.
Solution:
(1) set the parameter o7_dictionary_accessibility = true.
This parameter defaults to true before 9i, but is false from 9i. If you do not change this parameter, use connect sys/password @ connectstring directly, and the following error is reported:ORA-28009: connection to SYS shoshould be as sysdba o
generated under the E:\app \administrator\admin\cuc\dpdump directory.Second, restore data using the IMPDP command on the 10g serverPrepare for Work 1. Build a library 2. Build a table Space 3. Build a user and authorize 4. Copy the aa.dmp to the 10g Dpdump directory1-3 points no more speaking here. About the 4th my 10g installed in the E:\tools directory so I will aa.dmp the textCopy to the E:\tools\admin\cucf\dpdump directory.IMPDP userid= ' sys/[email protected] as Sysdba ' SCHEMAS=SYBJ direc
Tag: DDR error OTT ADE repeat ASC Cascade self-executingImp help=yTo import your own tables:Exp Scott/[email protected] tables= (student, address) File=d:\scott_stu_add.dmp Log=d:\scott_stu_add.logImp scott/[email protected] file=d:\scott_stu_add.dmp Log=d:log.logImp scott/[email protected] file=d:\scott_stu_add.dmp tables=studentImport someone else's table:Conn Sys as SYSDBA;Drop user test cascade;Create user test identified by test;Here's the right one:Imp test/[email protected] file=d:\scott_
Tags: Oracle modified version imp-00010 is not a valid export fileIn summary, it is toss.1, 11G of Oracle Backup (originally did not know), to the 10G of Oracle Recovery, recovery when the tip is incorrect, so the long revision of the version number began.2, because the backup is very big, start with UE and so on to try, long wait after the card dead + disk space is insufficient.3, then began to find the file segmentation tool, found the tool. The result is too big, finally split up, the merger
Label:CREATE TABLE SpaceCreate Tablespace BOSSTempfile ' d:/oraclexe/boss.dbf 'Size 500MAutoextend on next 50M maxsize 4000M;Delete Table spaceDrop tablespace BOSS including contents and datafilesmodifying character setsALTER SYSTEM ENABLE RESTRICTED SESSION;ALTER SYSTEM SET job_queue_processes=0;ALTER SYSTEM SET aq_tm_processes=0;--If you are from a subset to a parent set, you need to use the Internal_use parameter to skip the hyper-subset detectionALTER DATABASE CHARACTER SET internal_use ZHS1
Export of data:1, the database Szda fully exported, the user name sa password sa123 exported to D:\daochu.dmpExp Sa/[email protected] file=d:\daochu.dmp full=y2. Export the SA user in the database with the SYS user's tableExp Sa/[email protected] file=d:\daochu.dmp owner= (Sa,sys)3. Export the table table_1 and table_2 in the databaseExp Sa/[email protected] file= d:\daochu.dmp tables= (table_1,table_2)4. Export the field filed1 in table Table_1 in the database with the data beginning with "00"E
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.