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.