`
lp895876294
  • 浏览: 279726 次
  • 性别: Icon_minigender_1
  • 来自: 济南
社区版块
存档分类
最新评论

ArcGIS在Oracle数据库部署10.0

 
阅读更多

--创建临时表空间
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

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics