Data import and export of Oracle database

Source: Internet
Author: User
Tags import database

--Backing up the database
--Database System user account
System/adminuser

--View the users of the Oracle database
SELECT * from All_users;
--View the version number of the Oracle database
SELECT * from V$version;

Backing up data

Sqlplus Adminuser/[email protected]/jnbase--you can see the version number of Oracle version=10.2.0.1.0
Exp Adminuser/[email protected]:1521/jnbase file=f:\nihao.dmp owner=adminuser
C:\users\happiness>exp adminuser/[email PROTECTED]:1521/ORCL file=f:\adminuser.dmp full=y
C:\users\administrator>exp adminuser/[email PROTECTED]:1521/ORCL file=d:\adminuser.dmp full=y

--Remote Export database ******
Exp Adminuser/[email PROTECTED]:1521/ORCL file=e:\hello\newdatabaseback\adminuser.dmp owner=adminuser

--Local export database ******
Exp Adminuser/[email PROTECTED]:1521/ORCL file=e:\hello\newdatabaseback\adminuser.dmp owner=adminuser

--Local Import database ******
Imp user_test/[email protected]:1521/orcl file= ' E:\hello\newDataBaseBack\test1122.dmp ' full=y ignore=y

Data import and export of Oracle database

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.