Oracle + SDE data backup and recovery

Source: Internet
Author: User

1. Complete database backup
ExpSystem/password @ SidFull = y file = D:/system. dmp log = D:/system. Log

2. Data warehouse receiving
(A) Delete SDE and SDE user from the database
Drop user SDE cascade;
Drop user sdeuser cascade;
(B) Create a New SDE user and sdeuser
The process for creating an SDE user is as follows:
(I) Create a tablespace
Create tablespace "SDE"
Logging
Datafile 'C:/Oracle/oradata/Oracle/SDE. ora 'size 200 m
Extent management local segment space management auto
(Ii) create a user
Create user "SDE" Profile "default"
Identified by "SDE" default tablespace "SDE"
Temporary tablespace "Temp"
Account unlock;
(Iii) create a role
Grant "dba" to "SDE ";
Grant "Connect" to "SDE ";
Grant "resource" to "SDE ";
(Iiii) system Permissions
Grant alter any index to "SDE" with admin option;
Grant alter any table to "SDE" with admin option;
Grant analyze any to "SDE" with admin option;
Grant create any index to "SDE" with admin option;
Grant create any procedure to "SDE" with admin option;
Grant create any sequence to "SDE" with admin option;
Grant create any trigger to "SDE" with admin option;
Grant create any view to "SDE" with admin option;
Grant create session to "SDE" with admin option;
Grant drop any index to "SDE" with admin option;
Grant drop any table to "SDE" with admin option;
Grant drop any view to "SDE" with admin option;
Grant drop any procedure to "SDE" with admin option;
Grant drop any sequence to "SDE" with admin option;
Grant execute any procedure to "SDE" with admin option;
Grant select any sequence to "SDE" with admin option;
Grant select any table to "SDE" with admin option;
Grant unlimited tablespace to "SDE" with admin option;

3. import data of SDE and sdeuser
Pay attention to the sequence, first SDE, then sdeuser
IMPSystem/passwor @ SidFromuser = SDE touser = SDE
IMPSystem/passwor @ SidFromuser = sdeuser touser = sdeuser

The SDE and sdeuser mentioned above are different users. Sde is the default user during ArcSDE installation, and sdeuser
It refers to the user who stores data. If SDE is used between users by default, the sdeuser operation is omitted.

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.