Table of Contents
1. 软件支持
1.1下载迁移工具:Navicat_Premium_11.0.10
1.2连接数据库
2. 在MySQL中创建数据库
3. 迁移表结构
4. 修改表结构
5. 修改储存引擎
6. 导入数据
7. 检查数据

数据迁移

Jun 07, 2016 pm 04:09 PM
download tool support data software migrate

1. 软件支持 1.1下载迁移工具:Navicat_Premium_11.0.10 1.2连接数据库 1.2.1打开Navicat,点击连接。新建MySQL连接和oracle连接。具体步骤如下图: (图1) (图2) 1.2.2连接MySQL数据库: (图三) 2. 在MySQL中创建数据库 2.1打开数据库链接之后,右击,

1. 软件支持

1.1下载迁移工具:Navicat_Premium_11.0.10

1.2连接数据库

1.2.1打开Navicat,点击连接。新建MySQL连接和oracle连接。具体步骤如下图:

\

\
(图1)

\

\
(图2)

1.2.2连接MySQL数据库:

\

\

(图三)

2. 在MySQL中创建数据库

2.1打开数据库链接之后,右击,选择新建数据库:

\

\

(图四)

2.2填写表信息:

\

\

(图五)

3. 迁移表结构


3.1打开Oracle的数据库,右击选择数据传输:

\

\

(图六)

3.2填写数据传输常规信息:

\

\

(图七)

3.3填写数据传输高级信息:

\\

(图八)

3.4迁移完表结构后随机抽取几张表,检查表结构是否正确

4. 修改表结构

4.1迁移完成后,打开Mysql数据库,执行修改表结构的sql脚本(注意,最好不要直接运行sql文件。需要手动删除外键):

\

\

喎?http://www.2cto.com/kf/ware/vc/" target="_blank" class="keylink">vcD4KPHAgYWxpZ249"center">(图九)

4.2修改完表结构后随机抽取几张表,检查表结构是否修改正确

5. 修改储存引擎

5.1修改完表结构后,执行修改储存引擎的sql脚本(注意,最好不要直接运行sql文件):

\

(图十)

5.2修改完储存引擎后随机抽取几张表,检查表的储存引擎是否修改正确

6. 导入数据

*lejobdb中以mr开头的表不要导入数据,否则会报错(原因:这张表中有相同的主键)

6.1打开Oracle数据库,右击选择数据传输:如(图六)

6.2填写数据传输常规信息:如(图七)注意:不能导入带有外键的表中的数据

6.3填写数据传输高级信息:注意:导入数据时要使用事务

\

\

(图十一)

7. 检查数据

随机抽取所导数据库中的表,检查其中的数据有没有问题。


Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Two Point Museum: All Exhibits And Where To Find Them
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to ensure high availability of MongoDB on Debian How to ensure high availability of MongoDB on Debian Apr 02, 2025 am 07:21 AM

This article describes how to build a highly available MongoDB database on a Debian system. We will explore multiple ways to ensure data security and services continue to operate. Key strategy: ReplicaSet: ReplicaSet: Use replicasets to achieve data redundancy and automatic failover. When a master node fails, the replica set will automatically elect a new master node to ensure the continuous availability of the service. Data backup and recovery: Regularly use the mongodump command to backup the database and formulate effective recovery strategies to deal with the risk of data loss. Monitoring and Alarms: Deploy monitoring tools (such as Prometheus, Grafana) to monitor the running status of MongoDB in real time, and

PostgreSQL monitoring method under Debian PostgreSQL monitoring method under Debian Apr 02, 2025 am 07:27 AM

This article introduces a variety of methods and tools to monitor PostgreSQL databases under the Debian system, helping you to fully grasp database performance monitoring. 1. Use PostgreSQL to build-in monitoring view PostgreSQL itself provides multiple views for monitoring database activities: pg_stat_activity: displays database activities in real time, including connections, queries, transactions and other information. pg_stat_replication: Monitors replication status, especially suitable for stream replication clusters. pg_stat_database: Provides database statistics, such as database size, transaction commit/rollback times and other key indicators. 2. Use log analysis tool pgBadg

Can the Python interpreter be deleted in Linux system? Can the Python interpreter be deleted in Linux system? Apr 02, 2025 am 07:00 AM

Regarding the problem of removing the Python interpreter that comes with Linux systems, many Linux distributions will preinstall the Python interpreter when installed, and it does not use the package manager...

How to teach computer novice programming basics in project and problem-driven methods within 10 hours? How to teach computer novice programming basics in project and problem-driven methods within 10 hours? Apr 02, 2025 am 07:18 AM

How to teach computer novice programming basics within 10 hours? If you only have 10 hours to teach computer novice some programming knowledge, what would you choose to teach...

What is the impact of Debian Message on network configuration What is the impact of Debian Message on network configuration Apr 02, 2025 am 07:51 AM

The network configuration of the Debian system is mainly implemented through the /etc/network/interfaces file, which defines network interface parameters, such as IP address, gateway, and DNS server. Debian systems usually use ifup and ifdown commands to start and stop network interfaces. By modifying the ifeline in the interfaces file, you can set a static IP or use DHCP to dynamically obtain the IP address. It should be noted that Debian12 and subsequent versions no longer use NetworkManager by default, so other command-line tools, such as IP commands, may be required to manage network interfaces. You can edit /etc/netwo

How to get news data bypassing Investing.com's anti-crawler mechanism? How to get news data bypassing Investing.com's anti-crawler mechanism? Apr 02, 2025 am 07:03 AM

Understanding the anti-crawling strategy of Investing.com Many people often try to crawl news data from Investing.com (https://cn.investing.com/news/latest-news)...

How to ensure the security of fetchdebian downloads How to ensure the security of fetchdebian downloads Apr 02, 2025 am 07:39 AM

Downloading software from official Debian or reliable sources is crucial. The following steps and suggestions can effectively ensure the security of the downloaded Debian system or software package: 1. Verify the integrity of the software package After downloading the Debian image, be sure to use MD5 or SHA256 and other checksums to verify its integrity to prevent malicious tampering. 2. Choose a secure mirror source to always download from the Debian official website or a reputable third-party mirror site. Priority is given to official certification or mirroring sources provided by large institutions. 3. Keep the system updates and installation immediately after running sudoaptupdate&&sudoaptupgrade to fix potential security vulnerabilities. It is recommended to install unattend

How to monitor system performance through Debian logs How to monitor system performance through Debian logs Apr 02, 2025 am 08:00 AM

Mastering Debian system log monitoring is the key to efficient operation and maintenance. It can help you understand the system's operating conditions in a timely manner, quickly locate faults, and optimize system performance. This article will introduce several commonly used monitoring methods and tools. Monitoring system resources with the sysstat toolkit The sysstat toolkit provides a series of powerful command line tools for collecting, analyzing and reporting various system resource metrics, including CPU load, memory usage, disk I/O, network throughput, etc. The main tools include: sar: a comprehensive system resource statistics tool, covering CPU, memory, disk, network, etc. iostat: disk and CPU statistics. mpstat: Statistics of multi-core CPUs. pidsta

See all articles