Oracle Database Import and Export

Source: Internet
Author: User

  1. Data export

    ① to fully export the database ORCL

    Exp Lims/[email protected] file=d:lims_20150104.dmp full=y

    ② exporting LIMs users in a database

    Exp Lims/[email protected] file=d:daochu.dmp owner= (LIMS)

    ③ to export tables in the database

    Exp Lims/[email protected] file=d:daochu.dmp tables= (test,result)

    ④ Export the results of queries in the database

    Exp Lims/[email protected] file=d:daochu.dmp tables= (sample) query= "Where description like '%a% '"

    The above is commonly used for the export, for compression, both with WinZip to the DMP file can be very good compression.
    It can also be implemented by adding compress=y to the above command.

  2. Data export

    ① to import d:daochu.dmp data into the database

    Imp Lims/[email protected] File=d:daochu.dmp

    Imp lims/[email protected] file=d:daochu.dmp full=y ignore=y

    There may be a problem, because some tables already exist, and then it is an error, and the table is not imported.
    Add Ignore=y to the back.

    ② Import d:daochu.dmp Table table1

    Imp lims/[email protected] file=d:daochu.dmp tables= (table1)


Oracle Database Import and Export

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.