一、sdeservice命令:
1、 创建sde服务:sdeservice –o create
ArcSDE常用操作命令(转):
启动cmd
1. 创建和删除ArcSDE服务操作命令(sdeservice)
创建ArcSDE for sql
server服务
sdeservice –o create –d SqlServer
–p sde –I esri_sde
删除ArcSDE for Sql
Server服务
sdeservice –o delete –I esri_sde
–d SqlServer
注:-d 后面填写数据库类型。
二、sdemon命令:
1、 启动服务:sdemon –o start –p
jxgis 说明:其中jxgis为登陆sde的密码。
2、获取全部参数:sdemon –o info –I
config 注意:I区别大小写。
3、 暂停服务:sdemon –o pause –p jxgis
4、 重新启动服务:sdemon –o resume –p jxgis
5、 关闭服务:sdemon –o shutdown –p jxgis
6、 状态监视:sdemon –o status
7、用户状态:sdemon –o info –I
users 注意:I区别大小写。
2. ArcSDE 服务操作命令(sdemon)
检测服务状态命令:
Sdemon –o status –I esri_sde
启动服务命令:
Sdemon –o start –I esri_sde –p sde
停止服务命令:Sdemon –o shutdown –I esri_sde –p sde
除次以外,我们还可以通过命令行的方式来管理服务和数据,这些程序都放在%SDEHOME%\bin文件夹内,如:
Alphabetical
listing of commands
Command Description
cov2sde
Converts ArcInfo
coverages to ArcSDE feature classes.
sde2cov
Converts ArcSDE feature
classes to ArcInfo coverages.
sde2shp
Converts an ArcSDE feature class to
an ESRI shapefile.
sde2tbl
Converts ArcSDE tables into INFO and dBASE
tables.
sdeconfig
Manages your ArcSDE server configuration
file
sdedbtune
Exports and imports an ArcSDE dbtune
file.
sdeexport
Creates an ArcSDE export file.
sdegcdrules
Manages
ArcSDE geocoding rules
sdegroup
Merges feature
classes.
sdeimport
Imports data from an ArcSDE export
file.
sdelayer
Administers feature classes.
sdelocator
Manages
ArcSDE locators.
sdelog
Administers ArcSDE log files.
sdemon
Manages
the ArcSDE server.
sderaster
Manages ArcSDE raster
layers.
sdeservice
Manages the ArcSDE service on Windows NT
platforms.
sdesetup
Initial setup program for ArcSDE for your
RDBMS.
sdetable
Administers business tables and their
data.
sdeversion
Manages versions of a
geodatabase.
sdexinfo
Provides descriptive information of an ArcSDE export
file.
sdexml
Administers XML columns.
shp2sde
Converts an ESRI
shapefile to an ArcSDE feature class.
tbl2sde
Converts INFO and dBASE
tables into ArcSDE tables.