ArcGIS oracle空間資料庫的備份,匯入

2021-08-08 11:46:26 字數 903 閱讀 6293

前提:保證arcsde能用

第一步,檢查資料庫字符集是否一致

sql>select userenv(『language』) from dual;

第二步,匯出資料庫1 sde表空間

exp sde/sde@sid file=d:\exp\exp.dmp

第三步,匯入原sde資料內容

首先停止arcsde伺服器中的sde服務,刪除資料庫2中的sde使用者及表空間。

drop user sde cascade;    

grant connect,resource,dba to sde;

grant execute on dbms_pipe to sde;

grant execute on dbms_lock to sde;

imp username/password@sid file=d:\exp\exp.dmp fromuser=sde touser=sde ignore=y(cmd直接)

第四步,重新啟動arcsde伺服器上的服務,成功

注:(cmd sysdba連線資料庫)

1.sqlplus /nolog

2.connect sys/[email protected]/myorcl as sysdba(conn /as sysdba;)

sqlplus sys/sys@myorcl as sysdba

rman> target sys/orcl@localhost/orcl

檢視 表空間儲存檔案:

select t1.name,t2.name from v$tablespace t1,v$datafile t2 where t1.ts# = t2.ts#;

select * from dba_libraries where library_name='st_shapelib'; 

地理空間數學基礎

地球表面幾何模型 1 第一類 地球的自然表面,起伏不平 不規則,難以用乙個簡潔的數學模型表達。2 第二類 相對抽象的面 大地水準面。假設當海水處於完全靜止的平衡狀態時,從海平面延伸到所有大陸下部,而與地球中立方向處處正交的乙個連續 閉合的水準面,這就是大地水準面。水準面是乙個重力等位面。對於地球連續...

資料MySQL占用空間數

資料資訊在information schema資料庫中 統計整個資料庫占用空間數 select concat round sum data length index length 1024 1024 2 m from tables 統計單個資料庫及表占用空間數 select concat round...

Sql Server 空間資料

1 地理座標系空間需要用geography 平面座標系空間用geometry,計算距離使用stdistance 字串裡經緯度的順序是 經度 空格 緯度 即 longitude latitude 如果要計算兩個lat lon點之間的實際距離就需要將geometry型別轉成geography型別,不然結...