expected execution plan in the baseline, that is, the execution plan of step 2 SQL statement is saved) 5. Check whether the verification takes effect. For more information, see!
11. Example (fix an SQL statement as our expected Execution Plan) first run two statements with the same structure. The following experiment uses the SQL plan baseline, use the execution plan of one statement to fix SQL> select SQL _handle, plan_name, dbms_lob.substr (SQL _text, 60, 1) SQL _text, ACCEPTED from dba_ SQL
, permissions, and so on when exporting/importing.Note: You can back up the entire database with a logical backup, or just back up some of the important data. Because it is a logical backup, it can only be used for logical recovery data, once the database is physically corrupted, causing the failure to start, the data of the logical backup does not help to recover the database.1. Examples of use of Export/import: (The following operations are(1). Import one user's object into another user mode:E
Summary of database backup and Restoration Technology of the IT Ninja Turtles, and backup of the Ninja Turtles Database
1. exp/imp (export and import the library and unload the database) 1.1 Basic commands 1. Get help
$ Exp help = y
$ Imp help = y2. Three ways of working
(1) Interactive Mode
$ Exp // enter the required parameters as prompted
(2) Command Line
$ Exp user/pwd @ dbname file =/oracle/test. dmp full = y // enter the required parameters in
1. Export the database test completely, and the username System Password Manager is exported to D: daochu. dmp.
Exp system/manager @ test file = D: daochu. dmp full = y
2. Export the tables of system users and SYS users in the database
Exp system/manager @ test file = D: daochu. dmp owner = (system, sys)
3. Export the inner_policy and policy_staff_relat tables in
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
4. dumpfileSpecifies the name of the dump file. The default name is expdat. dmp.Dumpfile = [directory_object:] file_name [,…]Directory_object is used to specify the directory object name, And file_name is used to specify the dump file name. Note that if directory_object is not specified, the export tool aut
what is WinDbg? What can it do? WinDbg is a powerful user-state and kernel-State debugging tool under the Windows platform. It is able to easily locate the source of the problem through the DMP file, can be used to analyze blue screen, program crashes (ie crash) reasons, is an essential tool in our daily work, learn to use it, will effectively improve our problem solving efficiency and accuracy.Second, WinDbg6.12.0002.633 download:x86-bit version down
Explain the Oracle imp exp command, impexp
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. T
following command:
Example: expdp scott/tigerDIRECTORY = dmpdir DUMPFILE = scott. dmp
You can control the export running mode. The specific method is: Enter
Parameters. To specify parameters, use the Keyword:
Format: expdp KEYWORD = value or KEYWORD = (value1, value2,..., valueN)
Example: expdp scott/tigerDUMPFILE = scott. dmp DIRECTORY = dmpdir SCHEMAS = scott
Or TABLES = (T1: P1, T1: P2). If T1 is a part
Some time ago, I helped a friend recover a damaged dmp file, which is more than 100 Gb. I recorded the recovery process and briefly summarized it.I. DescriptionThis dmp file is exp from an Oracle 9i Database. Two types of errors may occur randomly when importing the Oracle 11g version, as shown below (1) when the dmp file is imported, it remains unchanged on a ta
first, what is WinDbg? What can it do?
WinDbg is a powerful user-state and kernel-State debugging tool under the Windows platform. It can easily navigate to the root of the problem through the DMP file, can be used to analyze the blue screen, program crashes (ie crash) reasons, is an essential tool in our daily work, learn to use it, will effectively improve our problem solving efficiency and accuracy rate.
Third, set the symbol table:
The symbo
EXP/IMP massive data
From: Macro Beth Oracle exp/IMP are two tools frequently used by many users. they are often used for database logical backup, database restructuring, data transfer, and other work. first, exp unload the data to the file system to generate. DMP file, and then the data is loaded into the database by IMP when necessary. for small and medium databases, the
Create user drop users lztest4 cascade;create user Lztest4 identified by lztest123;alter user Lztest4 default Tablespace common_cab Le;grant Connect, resource,dba to Lztest4;drop user lztest3 cascade;create user lztest3 identified by Lztest123;alte R user lztest3 default tablespace common_cable;grant Connect, resource,dba to lztest3; set up users drop user lztest8 cascade; Create user Lztest8 identified by lztest123;alter user Lztest8 default tablespace common_cable;grant Connect, RESOURCE,DBA T
Use the expimp command in Oracle to quickly import and export data [export data with exp]: 1. Export the database TEST completely. Use the User Name system Password manager to export data to D: daochu. in dmp, expsystemmanager @ TESTfiled: daochu. dmpfully2 exports the tables of system users and sys users in the database to expsystemman.
Use the exp/imp command in Oracle to quickly import and export data [export data using exp data]: 1 completely expo
; American _ America. al32utf8
From the composition of nls_lang, we can see that the real impact on the database character set is actually the third part.
Therefore, if the character set between the two databases is the same as that in the third part, data can be imported and exported to each other. The preceding information is only prompted in Chinese or English.
2. view database character sets
This involves three character sets,
The first is the character set of the kernel El server;
The secon
Use of exp/imp Export Import Tool
1. Export tool exp
1. It is the directory for storing the next executable file in the operating system/ORACLE_HOME/bin
The exp export tool compresses data backup in the database into a binary system file, which can be migrated between different operating systems.It has three modes:A. User Mode: export data of all user objects and objects;B. Table mode: export all or specified tables of the user;C. entire database: export all objects in the database.
2. Example o
I. Basic commands
1. Get help
$ Exp help = y
$ Imp help = y
2. Three ways of working
(1) Interactive Mode
$ Exp // enter the required parameters as prompted
(2) Command Line
$ Exp user/pwd @ dbname file =/oracle/test. dmp full = y // enter the required parameters in the command line.
(3) parameter file Method
$ Exp parfile = username. par // enter the required parameters in the parameter file
Parameter file username. par content userid = username/user
Precautions when using expdp and impdp:
Exp and IMP are client toolsProgramThey 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 exported files, not exp exported files.
When you run the expdp or impdp command, you can leave the username/password @ Instance name as the identity, a
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.