ArcGIS在Oracle資料庫部署10 0

2021-09-02 03:06:09 字數 1097 閱讀 1525

--建立臨時表空間

create temporary tablespace temp_tablespace

tempfile 'e:\oracle\product\10.2.0\oradata\mydb\temp.dbf'

size 24m

autoextend on

next 24m maxsize 1024m --maxsize unlimited

extent management local

--建立預設表空間

create tablespace default_tablespace

datafile 'e:\oracle\product\10.2.0\oradata\mydb\default.dbf'

size 50m

autoextend on --如果空間用完自動擴充

next 50m maxsize 1024m –限制最大大小

extent management local

--刪除表空間

drop tablespace default_tablespace including contents and datafiles

--建立使用者、指定臨時和預設表空間

create user lp identified by lp76

default tablespace default_tablespace

temporary tablespace temp_tablespace

quota unlimited on 「default_tablespace」 ;

--給使用者賦予許可權

grant connect to lp

grant resource to lp

--賦予使用者truncate許可權(truncate許可權包含在drop許可權中),用於清空空間表鎖

grant drop any table to lp

--賦予sde使用者對空間表的選擇許可權

grant select any table to sde

--至此資料庫使用者建立完成,sde使用者必須有對空間資料庫中表的選擇許可權

--通過arcmap中新增空間資料庫連線,預設埠為5151

arcgis直連oracle資料庫

同時本機上安裝oracle服務端,版本是11g。之前裝了12c的版本,但怎麼都連不上 listener.ora內容 檔案中的路徑是我oracle服務端安裝的路徑。tnsnames.ora檔案內容 orcl description address protocol tcp host localhost...

ArcGIS連線Oracle資料庫方法

從資料庫平台下拉列表中選擇 oracle,以連線到 oracle 資料庫,或直接連線到 oracle 資料庫中的地理資料庫。連線到 oracle 時,在例項文字框中提供下列 oracle easy connect 字串中的乙個 請確保 oracle 例項已組態為允許使用 easy connect。如...

oracle資料庫引用arcgis地理函式庫

隨著arcgis軟體的迭代,arcgis連線資料已經從以前的需要安裝arcsde外掛程式發展成可以直連資料的地步了,但是很多從低版本過渡過來的人卻在新版本arcgis軟體安裝和註冊資料庫後無法使用arcgis st庫函式,這是因為資料庫沒有正確的引用arcgis st庫函式的的原因。如何正確的引用函...