Oracle full backup

Source: Internet
Author: User

Oracle full backup

1. export epmssit database backup; exp system/sysadmin @ hnepms file = d: \ datas \ epmssit_bak20100401.dmp owner = epmssit2. create epmsprd users and tablespaces; sqlplus "/as sysdba" create tablespace epmsprd datafile 'd: \ datas \ epmsprd. ora 'size 100 M; create user epmsprd identified by epmsprd default tablespace epmsprd; grant resource, connect to epmsprd; 3. import epmssit to the epmsprd user; imp system/sysadmin @ hnepms file = d: \ datas \ export fromuser = epmssit touser = epmsprd4. clear junk data in the epmsprd database; delete from xxxxxx; 5. backup epmsprd; exp system/sysadmin @ hnepms file = d: \ datas \ epmsprd_bak20100401.dmp owner = epmsprd

 

Note: oralce11g does not allocate table space when creating a new table to improve performance and save space. It is allocated only when the record is inserted for the first time, but the oracle11g and later versions will cause this problem and the earlier versions will not be used.
Alter system set deferred_segment_creation = false;

 

Modify the default parameters.

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.