- 浏览: 1768616 次
- 性别:
- 来自: 成都
文章分类
- 全部博客 (520)
- Oracle (10)
- Oracle错误集 (8)
- Oracle安装升级 (15)
- Oracle日常管理 (51)
- Oracle字符集 (7)
- Oracle备份恢复 (24)
- Oracle优化 (4)
- Oracle编程 (52)
- Oracle导入导出 (19)
- Oracle体系结构 (15)
- Oracle网络 (2)
- Oracle安全 (2)
- Oracle权限 (3)
- Oracle数据字典和性能视图 (2)
- Oracle常用地址 (5)
- SQLPLUS专栏 (7)
- SqlServer (13)
- SqlServer2005编程 (27)
- SqlServer2005管理 (15)
- MySQL (20)
- Dorado应用 (1)
- C# (24)
- Arcgis Server开发 (20)
- ArcSDE技术 (19)
- UML学习 (2)
- 设计模式 (2)
- JAVA EE (4)
- JavaScript (3)
- OFBIZ (27)
- JAVA WEB开发 (22)
- Linux&Unix (34)
- SHELL编程 (14)
- C语言 (11)
- 网络协议 (14)
- FREEMARKER (2)
- GROOVY (2)
- JAVA语言 (3)
- 防火墙 (0)
- PHP (2)
- Apache (2)
- Loader Runner (1)
- Nginx (3)
- 数据库理论 (2)
- maven (1)
最新评论
-
怼怼怼怼:
oracle的timestamp类型使用 -
怼怼怼怼:
oracle的timestamp类型使用 -
怼怼怼怼:
oracle的timestamp类型使用 -
pg_guo:
感谢
oracle中查看用户权限 -
xu234234:
5、MapResourceManager控件中添加了两个服务, ...
北京ArcGis Server应用基础培训笔记1
Each database management system (DBMS) has different rules for using multiple geodatabases. In general, though, it is possible to create separate databases, store a geodatabase in each one, and connect to each one using separate ArcSDE services no matter what DBMS you are using.
Beginning with 9.2, you can also create multiple geodatabases inside one Oracle database. This model for storing multiple geodatabases in one Oracle database is described below. This is followed by sections containing specific information for storing multiple geodatabases using other DBMS types and models.
Multiple geodatabases in one Oracle database
You can create multiple geodatabases in one Oracle database. When you do this, you create a geodatabase in a user's schema. These geodatabases contain their own ArcSDE and geodatabase system tables. There can be only one geodatabase per user schema. Geodatabases in the user's schema run concurrently with one master SDE geodatabase that is stored in the SDE schema.
The geodatabase in the SDE schema is always the master geodatabase and contains a table (SDE.INSTANCES) that keeps track of all the other geodatabases in the Oracle database. The SDE schema also contains the ST_Geometry type as well as its subtypes and functions.
Both the SDE geodatabase and user-schema geodatabases are created under a single Oracle database and can be accessed by a single ArcSDE service.
Situations for which you may want to have multiple geodatabases in the same Oracle database include the following:
- If smaller groups within an organization, such as departments or project groups, will work independently of each other, they may want their own data. You could have a geodatabase for each group.
- Separating your development environment from your production environment
- Separately tuning each geodatabase for the specific applications it will service
- Protecting sensitive information
For example, you may want to have a sensitive military database protected in its own geodatabase so owners of other instances will not be able to see the data.
Rules for using multiple geodatabases in one Oracle database
- A user can own only one geodatabase.
- Only one geodatabase can reference a dataset that has been registered with ArcSDE.
- A geodatabase is owned by the user who created it. That user is the ArcSDE administrator user for that geodatabase.
Creating geodatabases in a user's schema in an Oracle database
You create user geodatabases by running the sdesetup command with the install operation. For the instance (the –i option), you must specify the port number and the schema. For the user name and password, these must be the user name and password of the user who will own the geodatabase. The following is an example of this:
sdesetup –o install –d ORACLE10G –i 5151:Thor –u Thor –p rot –l license.txt
For the instance option, 5151 is the port number and Thor is the schema, which is also the user name since schemas correspond to user names in Oracle databases.
NOTE: Be sure you specify the schema. If it is not specified and only a port number is provided, the SDE schema will be used by default. Since the geodatabase in the SDE schema already exists, executing the sdesetup –o install command will upgrade the SDE geodatabase.
If you are using a direct connection, you still need to specify 5151:<user_schema> with the –i option. If doing a remote installation from a Windows machine, you also need to add a 5151 service in the Windows service file of the machine from which you are executing the sdesetup command.
It is recommended you store the system tables that get created with the sdesetup –o install command in a different tablespace than the one used for your SDE geodatabase. This will help avoid I/O contention and will allow you to backup the tablespace seperately if needed. To create the system tables of the user-schema geodatabase in a different tablespace, make a copy of your dbtune.sde file, and edit the parameters under the in the dbtune file to point them to a different tablespace. Do this prior to running the sdesetup command to create the geodatabase in a user's schema. For information on the dbtune file and how to alter it, see The dbtune file and the DBTUNE table.
NOTE: The user (in this example, Thor) must be given the same privileges you provide for the SDE user while installing or upgrading the SDE geodatabase.
Registering tables and layers
Users who own geodatabases are allowed to create tables in other geodatabases, but the table can be registered in only one geodatabase.
sdetable –o register –t tablename –i port:schemaname –u user –p passwd sdelayer –o create –l tablename,shape –i port:schemaname –u user –p passwd
If the table has already been registered in another schema, the SE_TABLE_REGISTERED_OUTSIDE_SCHEMA error will be returned.
For tables created with Oracle Spatial, you could use autoregistration for table and layer registration. Autoregistration registers as feature classes with the ArcSDE geodatabase any unregistered SDO_GEOMETRY tables. Autoregistration detects unregistered SDO_GEOMETRY tables by comparing the list of feature classes in the LAYERS table with the list of SDO_GEOMETRY tables in the USER_SDO_GEOM_METADATA table whenever a user connects and requests a list of feature classes from the ArcSDE server. To use autoregistration, the server configuration parameter DISABLEAUTOREG in the ArcSDE SERVER_CONFIG table must be set to FALSE.
Each ArcSDE geodatabase has its own LAYERS and SERVER_CONFIG tables. You must separately set to FALSE the DISABLEAUTOREG parameter in the user geodatabase's SERVER_CONFIG table to allow SDO_GEOMETRY tables to be autoregistered in the user's geodatabase.
Managing geodatabases created in user schemas
The user who owns the geodatabase is the ArcSDE administrator. In other words, the user is equivalent to the SDE user in the SDE master geodatabase. In the example geodatabase created above, the user Thor would perform such tasks as compressing or upgrading for the geodatabase Thor owns.
Note that since the geodatabase is in Thor's schema, the DEFAULT version for the geodatabase in the version table is named Thor.DEFAULT.
Starting and stopping a geodatabase in a user's schema
Geodatabases stored in schemas other than the SDE schema are dependent on the SDE geodatabase. Once you start or shut down the SDE geodatabase, all associated geodatabases will automatically be started or shut down. An attempt to start a geodatabase stored in a user's schema independently will result in an error similar to the following:
init_DB DB_instance_open_as_dba: -93 DBMS error code: 1017 ORA-01017: invalid username/password; logon denied
Listing the geodatabases present on a server
You can find out what geodatabases are running on a server by using the –I option on the sdemon –o info command. This option will return information regarding the various geodatabases that are present on a server.
sdemon –o info –I instances ArcSDE Instance sdeora10g's instances on jupiter at Wed Mar 08 08:23:14 2006 Instance Created Id SDE Thu Oct 28 16:30:20 2004 0 MAP Mon Feb 27 11:18:04 2006 1
NOTE: This will not work if you are only using direct connect because you cannot use the sdemon command if no ArcSDE service is running.
For details on the sdemon command, consult the ArcSDE Administration Command Reference installed with ArcSDE.
Creating stored procedures for geodatabases stored in a user's schema
Each geodatabase has its own set of stored procedure packages that are automatically created in the ArcSDE administrator's schema upon geodatabase creation.
In addition, you can create individual packages in the geodatabase through SQL*Plus if you provide the schema name. For example, to create the dbtune_util package in the Thor user schema, issue the following command at the SQL prompt:
@dbtune_util.sps Thor
Creating connections to geodatabases in user's schemas
You can use an ArcSDE service or a direct connection to geodatabases owned by users other than SDE. However, only one giomgr process is used: the one to the SDE geodatabase. There are not separate giomgr processes for each geodatabase.
For ArcSDE service connections, use the port number and the schema as in the example 5151:Thor. (Note that the port number is the same for the SDE geodatabase and user-owned geodatabases.)
To create a direct connection to a user-owned geodatabase, specify the schema name in the connection using this:
sde:oracle10g:/:<schema_name>
If you don't provide a schema name, the SDE schema will be used by default.
NOTE: The forward slash, "/", between Oracle 10g and the schema_name is used in place of the database name, since Oracle does not use one.
Connecting to a geodatabase in a user's schema from ArcGIS
You can use ArcGIS 9.2 clients to connect to a user-owned geodatabase. You do this by specifying the port and schema (in the format port:schema) for the service name on the Spatial Database Connection Properties dialog box in ArcCatalog.
When you initially make a database connection in ArcCatalog, you are automatically connecting to the sde.DEFAULT version of the geodatabase. To connect to a geodatabase in the schema of a user other than SDE, click the Change button under Connection details on the Spatial Database Connection Properties dialog box and change the version name from sde.DEFAULT to <user_schema>.DEFAULT. In the following example, the schema name is TEST, so the connection would be to TEST.DEFAULT.
For more information on making a spatial database connection, see Creating spatial database connections.
Loading data into a geodatabase
You load data into geodatabases stored in a nonSDE user's schema the same way that you load data into the SDE master geodatabase—with either ArcCatalog (the recommended method) or ArcSDE commands.
It is important to note that if you are connected to two different geodatabases in the same Oracle database as the same user in ArcCatalog, when you try to copy and paste data between the geodatabases, the paste will fail.
You can load a table into a geodatabase with the same table name that exists in another geodatabase as long as the tables are owned by different schemas.
Creating a backup of a user-owned geodatabase
If all the tables in the geodatabase are owned by the geodatabase owner (in other words, if no other user created data in the geodatabase) and the geodatabase owner does not own data in any other geodatabase, you can create a backup of the geodatabase owner's schema. If users have data spread across multiple geodatabases in the same Oracle database, you would have to perform a complete Oracle system backup and restore.
发表评论
-
SDE用户权限脚本
2008-07-14 13:44 3539DROP ROLE SDE_UPGRADE;CREATE RO ... -
ArcSDE/Oracle的简单优化(图层和索引分开)
2008-07-10 10:01 27471.SDE的性能主要还是取决于Oracle的性能,然后才是SD ... -
ArcSDE的版本管理机制
2008-07-07 15:10 2689版本是SDE数据库中管理数据的一种机制,主要解决长事务问题。 ... -
ArcSDE栅格数据的存储结构
2008-07-07 13:19 2263一个元数据表:SDE_raster_columns 一个业务 ... -
Raster dataset schema overview
2008-07-07 10:51 14071、Business table 2、AUX table:St ... -
常用命令
2008-07-07 10:41 14171、sdetable 查看表的关系 eg. sdet ... -
Manage vector storage
2008-07-07 10:32 1383一、创建表空间create tablespace gis_da ... -
Manage raster storage
2008-07-07 09:37 1077一、创建表空间create tablespace versio ... -
SDE中的表
2008-07-04 09:25 24821、B表:属性表 2、F表:要素表 3、S表:索引表 4、A表 ... -
SDE三种连接方式
2008-07-03 14:57 2635一、Application server connection ... -
Operating multiple geodatabases
2008-07-03 14:15 1429Creating multiple geodatabases ... -
基于Geodatabase数据模型的版本机制
2008-07-03 11:32 1715一、版本是什么?(What is Version?) “版本” ... -
arcsde9.2和oracle分布式安装
2008-07-02 11:18 2690环境: oracle10gR2安装在两台服务器上,但只是做双机 ... -
创建多个ArcSDE实例
2008-07-02 09:29 2714有时候,我们需要有多于一个的ArcSDE实例同时运行。只要存在 ... -
SDE命令行安装配置
2008-07-01 16:34 3419一、创建相关表空间 创建sde表空间 create table ... -
oracle for sde配置
2008-06-30 15:40 21761、修改oracle系统参数alter system set ... -
ArcSDE空间数据库中SDE用户使用探讨
2008-06-30 15:26 3094ArcSDE作为空间数据库解决方案,应用非常广泛,本短文将尝试 ... -
创建多个ArcSDE实例
2008-06-23 19:42 2122有时候,我们需要有多 ...
相关推荐
内墙装修涂料市场:把握5.6%年复合增长率 在追求舒适与美观并重的现代家居生活中,内墙装修涂料扮演着至关重要的角色。它不仅关乎居室的视觉效果,更与居住者的健康息息相关。令人振奋的是,这一数据背后,隐藏着怎样的市场机遇与挑战?让我们一同探索内墙装修涂料的未来之路。 市场概况: 根据QYR(恒州博智)的统计及预测,2023年全球内墙装修涂料市场销售额达到了149亿元,预计2030年将达到213亿元,年复合增长率(CAGR)为5.6%(2024-2030)。这一增长不仅源于消费者对居住环境品质要求的提升,更得益于技术创新和环保理念的深入人心。 技术创新与趋势: 在内墙装修涂料领域,技术创新是推动市场发展的重要力量。随着环保法规的日益严格和消费者环保意识的增强,低VOC(挥发性有机化合物)、无毒、抗菌等环保型涂料逐渐成为市场主流。同时,智能化、个性化等趋势也日益明显,如通过APP控制涂料颜色、质感等,满足消费者多元化的装修需求。咨询服务在此过程中的价值不言而喻,它能帮助企业紧跟市场趋势,把握技术创新方向,从而在竞争中脱颖而出。 应用领域与细分市场: 内墙装修涂料广泛应用于住宅、酒店、学校、医院
简化装机流程,解决兼容性问题,尤其对经常装机或者碰到不同新旧机器较多的朋友。 Win多合一 ISO 镜像文件 阿里云: https://www.alipan.com/s/eBAt7dffBF5 提取码: 86xr U盘PE启动工具合集(PE工具箱、Ventoy及插件及主题)
Ansible部署Kubernetes集群支持多种特定功能StaticPod模式操作手册.zip [资源说明] 1、该项目是团队成员近期最新开发,代码完整,资料齐全,含设计文档等 2、上传的项目源码经过严格测试,功能完善且能正常运行,请放心下载使用! 3、本项目适合计算机相关专业(人工智能、通信工程、自动化、电子信息、物联网等)的高校学生、教师、科研工作者、行业从业者下载使用,可借鉴学习,也可直接作为毕业设计、课程设计、作业、项目初期立项演示等,也适合小白学习进阶,遇到问题不懂就问,欢迎交流。 4、如果基础还行,可以在此代码基础上进行修改,以实现其他功能,也可直接用于毕设、课设、作业等。 5、不懂配置和运行,可远程教学 欢迎下载,学习使用!
2025年终晚会优秀员工展示相册模板
感恩母恩母爱如水母亲节主题班会
2024毕业设计-基于区块链的医疗信息管理系统含论文报告-最新开发.zip [资源说明] 1、该项目是团队成员近期最新开发,代码完整,资料齐全,含设计文档等 2、上传的项目源码经过严格测试,功能完善且能正常运行,请放心下载使用! 3、本项目适合计算机相关专业(人工智能、通信工程、自动化、电子信息、物联网等)的高校学生、教师、科研工作者、行业从业者下载使用,可借鉴学习,也可直接作为毕业设计、课程设计、作业、项目初期立项演示等,也适合小白学习进阶,遇到问题不懂就问,欢迎交流。 4、如果基础还行,可以在此代码基础上进行修改,以实现其他功能,也可直接用于毕设、课设、作业等。 5、不懂配置和运行,可远程教学 欢迎下载,学习使用!
植物大战僵尸杂交版v3.0.2
瑞幸咖啡企业微信群话术及人设搭建SOP.xlsx
244081112卓皓(2).docx
项目介绍 Spring Boot + Security + MyBatis Plus 快速开发平台 内置功能 用户管理:用户是系统操作者,该功能主要完成系统用户配置。 权限管理:配置系统菜单,操作权限,按钮权限, 数据权限标识等。 角色管理:角色菜单权限分配、设置角色按机构进行数据范围权限划分。 字典管理:对系统中经常使用的一些较为固定的数据进行维护。 参数管理:对系统动态配置常用参数。 通知公告:系统通知公告信息发布维护。 操作日志:系统正常操作日志记录和查询;系统异常信息日志记录和查询。 登录日志:系统登录日志记录查询包含登录异常。 定时任务:在线(添加、修改、删除)任务调度包含执行结果日志。 代码生成:前后端代码的生成(java、html、xml、sql)支持CRUD下载 。 系统接口:根据业务代码自动生成相关的api接口文档。 服务监控:监视当前系统CPU、内存、磁盘、堆栈等相关信息。 表单构建:拖动表单元素生成相应的HTML代码。 数据监视:监视当前系统数据库连接池状态,可进行分析SQL找出系统性能瓶颈。 租户管理:加入多租户架构, 使用逻辑隔离租户数据。
猫头虎分享计算2024年博客之星每日可拉票次数程序.html
吉它书本黑板素材毕业纪念电子相册模板
VideoSpeed_87621.zip
基于hadoop的百度云盘源代码(亲测可用完整项目代码),个人经导师指导并认可通过的毕业设计项目,评审分98分,项目中的源码都是经过本地编译过可运行的,都经过严格调试,确保可以运行!主要针对计算机相关专业的正在做毕业设计的学生和需要项目实战练习的学习者,资源项目的难度比较适中,内容都是经过助教老师审定过的能够满足学习、使用需求,如果有需要的话可以放心下载使用。 基于hadoop的百度云盘源代码(亲测可用完整项目代码)基于hadoop的百度云盘源代码(亲测可用完整项目代码)基于hadoop的百度云盘源代码(亲测可用完整项目代码)基于hadoop的百度云盘源代码(亲测可用完整项目代码)基于hadoop的百度云盘源代码(亲测可用完整项目代码)基于hadoop的百度云盘源代码(亲测可用完整项目代码)基于hadoop的百度云盘源代码(亲测可用完整项目代码)基于hadoop的百度云盘源代码(亲测可用完整项目代码)基于hadoop的百度云盘源代码(亲测可用完整项目代码)基于hadoop的百度云盘源代码(亲测可用完整项目代码)基于hadoop的百度云盘源代码(亲测可用完整项目代码)基于hadoop的