Manage raster storage

一、创建表空间
create tablespace versioned_data datafile '%oracle_base%\oradata\acf\versioned_data_01.dbf' size 101m uniform size 4M;

 

二、创建用户并授权
create user gisadmin identified by gisadmin default tablespace raster_data;
grant create session,create procedure,create table,create sequence,create trigger to gisadmin;
alter user gisadmin quota unlimited on raster_data;

 

三、导出dbtune表内容
sdedbtune -o export -f c:\dbtune_ex10.sde -u sde -p sde

 

四、往导出的文件中添加如下参数
##RASTER

GEOMETRY_STORAGE      "SDEOLB"
ATTRIBUTE_BINARY      "BOLB"
UI_TEXT               "USER INTERFACE TEXT"

B_INDEX_ROWID         "TABLESPACE raster_data  PCTFREE 0 INITRANS 4 NOLOGGING"
B_INDEX_SHAPE         "TABLESPACE raster_data  PCTFREE 0 INITRANS 4 NOLOGGING"
B_INDEX_USER          "TABLESPACE raster_data  PCTFREE 0 INITRANS 4 NOLOGGING"
B_STORAGE             "TABLESPACE raster_data  PCTFREE 0 INITRANS 4"


F_INDEX_AREA          "TABLESPACE raster_data  PCTFREE 0 INITRANS 4 NOLOGGING" 
F_INDEX_FID           "TABLESPACE raster_data  PCTFREE 0 INITRANS 4 NOLOGGING" 
F_INDEX_LEN           "TABLESPACE raster_data  PCTFREE 0 INITRANS 4 NOLOGGING"  
F_STORAGE             "TABLESPACE raster_data  PCTFREE 0 INITRANS 4"

S_INDEX_ALL           "TABLESPACE raster_data  PCTFREE 0 INITRANS 4 NOLOGGING"
S_INDEX_SP_FID        "TABLESPACE raster_data  PCTFREE 0 INITRANS 4 NOLOGGING" 
S_STORAGE             "TABLESPACE raster_data  PCTFREE 0 INITRANS 4"
 

A_INDEX_ROWID         "TABLESPACE raster_data  PCTFREE 0 INITRANS 4 NOLOGGING"
A_INDEX_SHAPE         "TABLESPACE raster_data  PCTFREE 0 INITRANS 4 NOLOGGING" 
A_INDEX_STATEID       "TABLESPACE raster_data  PCTFREE 0 INITRANS 4 NOLOGGING"
A_INDEX_USER          "TABLESPACE raster_data  PCTFREE 0 INITRANS 4 NOLOGGING"
A_INDEX_XML           "TABLESPACE raster_data  PCTFREE 0 INITRANS 4 NOLOGGING"
A_STORAGE             "TABLESPACE raster_data  PCTFREE 0 INITRANS 4"


D_INDEX_DELETED_AT    "TABLESPACE raster_data  PCTFREE 0 INITRANS 4 NOLOGGING"
D_INDEX_STATE_ROWID   "TABLESPACE raster_data  PCTFREE 0 INITRANS 4 NOLOGGING"
D_STORAGE             "TABLESPACE raster_data  PCTFREE 0 INITRANS 4"

END

 

5、保存后,导入dbtune表的内容
sdedbtune -o import -f c:\dbtune_ex10.sde -u sde -p sde

 

6、导入数据即可

 

你可能感兴趣的:(oracle,C++,c,UI,F#)