`
skying8603
  • 浏览: 35837 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

如何创建及其连接空间数据库连接

阅读更多
1.    使用ArcSDE服务连接空间数据库
使用ArcSDE服务连接到空间数据库操作步骤如下:
1)    在ArcCatalog的目录树,展开Database Connections文件夹.
2)    双击添加 Spatial Database Connection,打开 “Spatial Database Connection Properties”对话框.
3)    在Server文本框中,输入服务器名称或者IP地址;
4)    在Service文本框,输入服务名或者端口号。如果想连接Oracle数据库中某用户方案的空间数据库,输入端口号和schema,并以冒号分隔,例如:5151:Geodata.
5)    如果数据存储在SQL Server, IBM DB2, Informix, or PostgreSQL关系型数据库中,在Database文本框中,输入预连接的数据库的名称。Oracle数据库跳过此步。
6)    如果使用数据库认证,输入数据库的用户名和密码。需要保存用户和密码,勾选“save the user name and password with this connection file”,否则不保存。
7)    如果使用操作系统认证,单击“Operating system authentication”按钮。数据库认证不可用。
8)    如使用Oracle某用户的Schema数据库或者使用SQL Server中的dbo-schema数据库,必须在属性对话框中更改“Connection details”部分,从事务版本列表中选择空间数据库版本。
9)    If you do not want to save the version connection information you provided in the last step, uncheck Save the version with the connection file. 如果不保存版本的连接信息,去掉“Save the version with the connection file”前的勾选。
10)    单击“Test Connection”按钮,执行连接测试. 测试成功,“Test Connection”按钮灰掉,否则,将无法从数据库中获取数据。
11)    单击OK按钮.
12)    输入数据库连接名称.
13)    回车.

2.    直连Oracle空间数据库
以下内容将介绍三种直连到Oracle空间数据库的方式:第一,使用数据库认证直连到Oracle空间数据库;第二,使用操作系统认证直连到Oracle空间数据库;第三,如何连接到某用户方案的空间数据库。
使用数据库认证直连到Oracle空间数据库
1)        在ArcCatalog的目录树,展开Database Connections文件夹.
2)    双击添加 Spatial Database Connection.
3)    Server,输入服务器名称或者IP地址;
4)    Service,根据Oracle客户端版本输入连接字符串。连接Oracle9i, 输入:"sde:oracle9i";连接Oracle 10g,输入: "sde:oracle10g";Oracle 11g, 输入: "sde:oracle11g".
5)    User Name,输入用户名.
6)    Password,输入密码及Oracle 网络服务名,格式:sde @oradb。
7)    单击OK按钮.
8)    输入数据库连接名称。
9)    回车。
使用操作系统认证直连到Oracle空间数据库
1)    Double-click the Database Connections folder in the Catalog tree.
2)    Double-click Add Spatial Database Connection.
3)    In the Server text box, type the name of the server on which the Oracle database resides.
4)    If you're connecting to Oracle9i, in the Service text box, type "sde:oracle9i:/;LOCAL=<SQL_Net_alias>".
If you're connecting to Oracle 10g, type "sde:oracle10g:/;LOCAL=<SQL_Net_alias>".
The SQL Net alias was set when your computer was configured to use a direct connection. Contact your system administrator if you do not know what value to substitute here.
5)    Click the Operating system authentication button. The database authentication information becomes unavailable.
6)    Click OK.
7)    Type a new name for the spatial database connection.
8)    Press Enter.
连接到指定用户的空间数据库
1)    Double-click the Database Connections folder in the Catalog tree.
2)    Double-click Add Spatial Database Connection.
3)    In the Server text box, type the name of the server on which the Oracle database resides.
4)    If you're connecting to Oracle9i, in the Service text box, type "sde:oracle9i:/:<schema_name>".
If you're connecting to Oracle 10g, type "sde:oracle10g:/:<schema_name>".
5)    Type your user name in the User Name text box.
6)    Type your password, followed by @<oracle network service name>, in the Password text box.
7)    Uncheck Save username and password if you don't want your login information saved with the connection.
8)    Spatial database connections are made to the sde.DEFAULT version by default. You must change to a user-schema version. Click Change in the Connection details section.
9)    When the Connection Details dialog box opens, choose the version of the user-schema geodatabase to which you want to connect. This could be <schema>.DEFAULT or any other version of that geodatabase. For example, if the schema the geodatabase is in is tubor, and you want to connect to the qa77 version, choose tubor.qa77 from the transactional version list.
10)    Click OK on the Connection Details dialog box to close it.
11)    Click OK.
12)    Type a new name for the spatial database connection.
13)    Press Enter.
3.    直连SQL Server空间数据库
You can use a direct connection for an ArcSDE geodatabase stored in SQL Server. When reading the steps, note that there are slight differences in how you make that direct connection based on the type of ArcSDE geodatabase.
1)    Double-click the Database Connections folder in the Catalog tree.
2)    Double-click Add Spatial Database Connection.
3)    In the Server text box, type the name of the server on which the SQL Server database resides.
4)    To connect to an ArcSDE geodatabase on a default instance of SQL Server, type the following in the Service text box: "sde:sqlserver:<name or IP Address of the server>".
To connect to an ArcSDE geodatabase on a named instance of SQL Server, type the following in the Service text box: "sde:sqlserver:<name or IP Address of the server>\<instance_name>".
If connecting to an ArcSDE geodatabase on SQL Server Express, type the following in the Service text box: "sde:sqlserver:<server_name>\<instance_name>".
NOTE: You could also create a spatial database connection to an ArcSDE geodatabase on SQL Server Express by right-clicking the geodatabase under the Database Servers node and clicking 。
5)    Type the name of the database to which you want to connect in the Database text box.
6)    If using database authentication, type your user name and password.
NOTE: You cannot use database authentication for a connection to an ArcSDE geodatabase on a database server (an instance of SQL Server Express).
7)    Uncheck Save username and password if you do not want your login information saved with the connection.
8)    If using operating system authentication, click the Operating system authentication button. The database authentication information becomes unavailable.
9)    If you are connecting to an ArcSDE geodatabase with a dbo schema, you must change the transactional version to dbo.DEFAULT rather than sde.DEFAULT.
For instructions on connecting to a different version of the database, see Connecting to a specific version of the database.
10)    Click OK.
11)    Type a new name for the spatial database connection.
12)    Press Enter.


分享到:
评论

相关推荐

    《空间数据库》复习.doc

    3、常用的空间数据库管理方式有哪几种及其各自特点。 ㈠文件关系数据库混合管理方案 用一组文件形式来存储地理空间数据及其拓扑关系,利用通用关系数据库存储属性数据 ,通过唯一的标识符来建立它们之间的连接。 ...

    空间数据库管理系统概论.docx

    空间数据库系统定义:空间数据库系统是由空间数据库及其管理软件、应用软件组成的系统。 10.空间数据库系统的组成:空间数据库 空间数据库管理系统 数据库管理员 用户和应用程序。 11.空间数据管理技术的发展阶段:...

    海大数据库原理综合实验六

    (3) 生成某种DBMS的SQL语句,创建数据库及其表。 2.4 装载数据 (1) 收集真实数据或者生成模拟数据。 (2) 批量加载数据到数据库中。 (3) 设计一系列SQL语句,尤其是连接查询、嵌套查询等SQL语句,已测试...

    数据库设计--ER图

    数据库设计是指对于一个给定的应用环境,构造最优的数据库模式,建立数据库及其应用系统,使之能够有效地存储数据。 1 数据库设计的基本步骤: 2 概念结构设计 2.1 E-R模型基本符号 2.2 初步E-R图设计 2.3 ...

    Oracle数据库维护培训

    描述 Oracle 服务器的体系结构及其主要构件 列举用户连接到 Oracle 实例所涉及的结构 双机模式:RAC/HOT STANDBY 数据库的逻辑结构 创建表空间 改变表空间的大小 为临时段分配空间 改变表空间的状态 改变表空间的...

    分布式空间数据库技术.pptx

    DSDB) 是使用计算机网络把面向物理上分散,而管理和控制又需要不同程度集中的空间数据库连接起来,共同组成一个统一的数据库的空间数据库系统。也可以简单地把分布式空间数据库看成是空间数据库和计算机网络的总和...

    Oracle数据库学习指南

    45. 在ORACLE7数据库并发控制技术的研究及其应用 46. 在SQLPlus中insert进的都是中文的,为什么一存入服务器后,再select出的就是???了 47. 在客户端处理Oracle的数据行加锁问题 48. 怎样查看init_ora文件 49. ...

    数据库实验-综合设计-中小型规模数据库-SQLserver

    (7)生成某种DBMS的SQL语句,创建数据库及其表。 2.4装载数据 (8)收集真实数据或者生成模拟数据。 (9)批量加载数据到数据库中。 (10)设计一系列SQL语句,尤其是连接查询、嵌套查询等SQL语句,已测试数据库...

    数据库原理实验5-数据库综合设计(实验报告含总结体会、代码、E-R图)

    (7) 生成某种DBMS的SQL语句,创建数据库及其表。 2.4 装载数据 (8) 收集真实数据或者生成模拟数据。 (9) 批量加载数据到数据库中。 (10) 设计一系列SQL语句,尤其是连接查询、嵌套查询等SQL语句,已测试...

    数据库系统概论第四版答案

    引入数据库后的系统构成,一般由数据库、数据库管理系统(及其开发工具)、应用系统、 数据库管理员构成。解析数据库系统和数据库是两个概念。数据库系统是一个人一机系统, 数据库是数据库系统的一个组成部分。但是...

    Oracle数据库——数据库安全性管理.pdf

    没有和数据库创建会话的权限 CONNECT数据库连接⾓⾊ 1.具有连接数据库 2.在⾃⼰的⽅案下创建各种数据库对象的系统权限 4.如何使⽤数据库概要⽂件设置系统的安全性?具体步骤有哪些? 答: (1)概要⽂件(profile)...

    基于Geodatabase的地籍数据库系统.doc

    空间数据模型刻画了现实世界中空间实体及其相 互联系,它为空间数据的组织和空间数据库的设计提供了基本的方法。本文探索采用面 向对象的空间数据模型-GeoDatabase建立地籍数据库系统。 1地籍管理的目标分析 产权...

    分布式数据库试题及答案.doc

    4.1.1. 分布库管理系统有哪些主要功能模块及其作用. 24 4.1.2. 半连接方法和枚举法各适用于何种查询优化情况. 25 4.1.3. 分布式事务有哪些基本性质. 25 4.1.4. 什么是2PL协议 25 4.2. 下面是某个公司的人事关系...

    ORACLE数据库 安装配置规范 (V2.0.1)

    6.4 数据库连接服务 50 6.4.1 专用服务器连接 50 6.4.2 共享服务器连接 50 6.4.3 连接服务建议 51 6.4.3.1 专用服务器连接 51 6.5 数据库安全建议 51 6.5.1 采用满足需求的最小安装 51 6.5.2 安装时的安全 52 6.5....

    数据库系统---数据库设计.pdf

    需求说明书是需求分析阶段的成果,也是今后设计的依据,它包 括数据库所涉及的数据、数据的特征、使⽤频率和数据量的估计,如数据名、属性及其类型、主关键字属性、保密要求、完整性约束条件、 更改要求、使⽤频率、...

    DataspaceConnector:这是一个IDS连接器,使用了IDS信息模型的规范并集成了IDS框架

    它提供了一个REST API,用于通过持久存储在本地数据库中的数据及其元数据来加载,更新和删除资源。 在内部数据库旁边,可以将外部REST端点作为数据源连接。 数据空间连接器支持与其他IDS连接器和IDS代理一起进行IDS...

    宁夏公共地理框架数据库管理系统.doc

    1.2 服务器连接设置 设置数据库管理系统的空间数据库与属性数据的路径。 1.3 用户日志 对系统访问进行日志记录。 1.4 地图打印 制图输出功能是实现对数据进行配图、制图(添加地图要素)、专题制图输出成图片 ,...

    oracle数据库经典题目

    PGA区是在用户进程连接数据库,创建一个会话时,由Oracle为用户分配的内存区域,保存当前用户私有的数据和控制信息,因此该区又称为私有全局区。每个服务器进程只能访问自己的PGA区,所有服务器进程PGA区总和即为...

    数据库系统概论.doc

    A、建立在严格的数学理论、集合论和谓词演算公式的基础之上 B、微机DBMS绝大部分采取关系数据模型 C、用二维表表示关系模型是其一大特点 D、不具有连接操作的DBMS也可以是关系数据库系统 6、数据库中,下列说法____...

Global site tag (gtag.js) - Google Analytics