Discover export import procedures and documentation, include the articles, news, trends, analysis and practical advice about export import procedures and documentation on alibabacloud.com
: "Overview of Export and Import in Oracle7" (Document Number: 61949.1). Detailed parameter information about the EXP/IMPYou can get it by Exp/imp Help=y.Additional information about the transfer table space can be found in the following Metelink documentation, which is not detailed in this article.[note:77523.1] Transportable tablespaces-a Example to setup and u
ObjectiveSQL Server provides a variety of different data export import tools, you can also write SQL scripts, use stored procedures, generate the required data files, and even can generate a script file containing SQL statements and data. Each has its advantages and disadvantages to suit different needs. The following is an introduction to the bulk data
During export, there are stored procedures, functions, triggers, tables, and so on in PLSQL: Export: tool -- gt; Export user object -- gt; multiple select the user object you want to export,
During export, there are stored
the structure of the table as long as the definition (constraints, triggers), and not the data inside, you can add parameters rows=nFor the above operation logged in the user needs to be an administrator, if not an administrator, but a normal user, then this user must have the right to create deleted objects, objects may include tables, views, methods, stored procedures and so on common objects. Why is "possible" included? This is dependent on whethe
string used to identify the recoverable statement
Resumable_timeout
Resumable of waiting time
COMPILE
Compilation procedures, packages and functions (Y)
Streams_configuration
Generic metadata for the import stream (Y)
Streams_instantiation
Import Stream instantiation metadata (N)
then generate an error when the table already exists. If you want to add data to an existing table, you can use table_exists_action=append on the command line above.
As with the Data Pump import, pressing CONTROL-C in the process will enter the interactive mode of the Date Pump import (DPI), and the prompt is import>.
Working with specific objects
Have
So far, the export/import toolset is still the preferred utility for transferring data across multiple platforms with the minimum labor intensity, although it is often complained that it is too slow. Import only reads each record from the export dump file, and then inserts it INTO the target table using the common inse
Label:First, the Export method: There are four ways to export data using the Exp/imp method: 1. Table mode export: One or more specified tables, including the table definition, table data, table owner authorization, table index, table constraints, and triggers created on the table. You can also export only structures a
Edition release 10.2.0.3.0-64bit Production
With the partitioning, real application clusters, OLAP and Data Mining options exported ZHS16GBK character set and Al16utf16 NCHAR character set
. Exporting Pre-schema process objects and actions
. Exporting external function library names for user Zhejiang
. Export public type synonyms
. Exporting private type synonyms
. Exporting object type definition for user Zhejiang the object that is about to
Import and Export (Customs) system trial run plan--20040923
Ø Software Installation
1 Oracle Client Installation;
2) IFS client installation;
3 Import and export (Customs) system installation (Import-export.exe);
Ø System Training
1
source command to Load the export result of mysqldump to the data table;
The usage is as follows:
> Mysql-h 127.0.1.1-P 3306-u root-p123456
Mysql> use crazyant;
Mysql> source/home/crazyant.net/mysqldump_crazyant. SQL
This completes the import. For full import, it is sometimes necessary to use the truncate table method to clear the data first;Summary
Using
the command line: mysql-u root-p (Input the same will let you enter the MySQL password)4, create the database you want to build in Mysql-front, this is an empty database, such as a new target database named News5, Input: Mysql>use target database nameAs I entered the command line: Mysql>use news;6, import file: mysql>source import filename;As I entered the command line: Mysql>source news.sql;MySQL backup a
wizard)
Because the collation settings of databases on both sides are different, you need to set the same collation.
About 1 minute 30 seconds
02. Generate a script using generate scripts
Right-click the source database and choose task> geneate scripts...
Configure related information. Select the database version and set script data to true.
Note that the exported SQL file contains more than 1 million MB of data, so SQL Server Management studio cannot be used.
Ther
** Message: Thread 2 shutting down** Message: Thread 6 shutting down
3. SummaryA. mydumper can reasonably set the number of threads based on available resources on the server during export.B. When exporting mydumper, specify the chunk-filesize or rows parameter as much as possible to export data in parts.C. When myloader is targeting the myisam engine, it is recommended to adjust relevant parameters to a reasonable value to improve performance, mainly
procedures, views, etc)
Exp system/manager @ TEST file = d: \ daochu. dmp owner = (system, sys)
3. Export tables table1 and table2 in the database
Exp system/manager @ TEST file = d: \ daochu. dmp tables = (table1, table2)
4. Export the data with the field filed1 in table 1 in the database starting with "00"
Exp system/manager @ TEST file = d: \ daochu. dmp
=YFull Library Export BackupEXPDP ics/ics schemas=ics dumpfile=ics20140704.dmp directory=dumpdir---update data if a table exists, applies to data structures that do not change, and only restores them to a backup, but stored procedures, views, functions, sequence updates failIMPDP test/test directory=dumpdir dumpfile=ics20140704.dmp remap_schema=ics:test table_exists_action=replace;---basic ibid, but does no
statement
C: \> sqlcmd-I export. SQL-d ExportDataDemo_Destination-s 192.168.21.165-U sa-P 1234567890
It takes about 28 minutes
03. Use BCP for Export and Import
After trying the previous two inefficient tools, we finally started to try SQL Server's dedicated data import tool: BCP.
For detailed usage of BCP, see the
Question: I want to understand when to export and import by dbms_stats statistics and learn when it is a good idea to export and import statistics.
Answer: importing and exporting statistics for the CBO and the systems stats (external system statistics for CPU, I/O. etc) and useful in a variety of areas:
Tags: cot amp best article undo Export Database Export Open ServerRecently, there is a task to modify an older project, the branch does not have this project database-related backup, so you need to export the database from the formal environment backup out of the local deployment installation, before the other projects have also been the deployment and installati
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.