Adding a configuration keyword to the DBTUNE in Oracle for the BIS workspace (Bathymetry Solution)

After creating the data files, modify the DBTUNE table to include a new configuration keyword. Based on this new keyword, the data and database objects will be stored in the tablespaces location that was previously defined. The DBTUNE table is stored under the sde user in Oracle. To modify the DBTUNE table, it's necessary to export the DBTUNE table into a text file and make modifications in the text file. After the updates to the text file are made, import the new DBTUNE table from the text file.

If you only use direct connections at your site, you may not have installed ArcSDE. You need to install ArcSDE, if you haven't already, to get the sdedbtune and sdeconfig tools.

注注:

Copying and pasting the examples may cause syntax errors.

步骤:
  1. Export the dbtune file before making any modifications.
    sdedbtune -o export -f dbtune_exp.sde -u sde -p sde -i sde:oracle11g:bisdb
    
  2. Copy dbtune_exp.sde to dbtune_bis.sde.
  3. Using a file-based editor, modify the ##DEFAULTS keyword.
    dbtune_bis.sde
    
    ##DEFAULTS
    A_INDEX_ROWID              "PCTFREE 0 INITRANS 4 TABLESPACE BIS_AINDEX STORAGE (INITIAL 409600) NOLOGGING "
    B_INDEX_TO_DATE            "PCTFREE 0 INITRANS 4 TABLESPACE BIS_BINDEX NOLOGGING"
    B_INDEX_XML                "PCTFREE 0 INITRANS 4 TABLESPACE BIS_BINDEX NOLOGGING"
    UI_TEXT                    "User Interface text description for DEFAULTS keyword"
    S_STORAGE                  "PCTFREE 0 INITRANS 4 TABLESPACE BIS_SDATA STORAGE (INITIAL 409600) "
    RAS_STORAGE                "PCTFREE 0 INITRANS 4 TABLESPACE BIS_RASTER STORAGE ( INITIAL 409600) "
    GEOMETRY_STORAGE           "ST_GEOMETRY"
    D_STORAGE                  "PCTFREE 0 INITRANS 4 TABLESPACE BIS_DDATA STORAGE (INITIAL 409600) "
    D_INDEX_STATE_ROWID        "PCTFREE 0 INITRANS 4 TABLESPACE BIS_DINDEX STORAGE (INITIAL 409600) NOLOGGING "
    BND_STORAGE                "PCTFREE 0 INITRANS 4 TABLESPACE BIS_RASTER STORAGE ( INITIAL 409600) "
    BND_INDEX_COMPOSITE        "PCTFREE 0 INITRANS 4 TABLESPACE BIS_RINDEX STORAGE ( INITIAL 409600) NOLOGGING "
    BLK_INDEX_COMPOSITE        "PCTFREE 0 INITRANS 4 TABLESPACE BIS_RBLKIDX STORAGE ( INITIAL 409600) NOLOGGING "
    B_INDEX_ROWID              "PCTFREE 0 INITRANS 4 TABLESPACE BIS_BINDEX STORAGE (INITIAL 409600) NOLOGGING "
    AUX_INDEX_COMPOSITE        "PCTFREE 0 INITRANS 4 TABLESPACE BIS_RINDEX STORAGE ( INITIAL 409600) NOLOGGING "
    A_INDEX_USER               "PCTFREE 0 INITRANS 4 TABLESPACE BIS_AINDEX STORAGE (INITIAL 409600) NOLOGGING "
    A_INDEX_SHAPE              "PCTFREE 0 INITRANS 4 TABLESPACE BIS_AINDEX STORAGE (INITIAL 409600) NOLOGGING "
    XML_IDX_TEXT_UPDATE_METHOD "NONE"
    XML_IDX_TEXT_UPDATE_MEMORY ""
    XML_IDX_TEXT_TAG_STORAGE   "NOCACHE NOLOGGING CHUNK 4K PCTVERSION 5 TABLESPACE BIS_XMLDOC"
    XML_IDX_INDEX_TEXT         ""
    XML_IDX_INDEX_TAG          "PCTFREE 0 INITRANS 4 TABLESPACE BIS_XMLIDX NOLOGGING"
    XML_IDX_INDEX_STRING       "PCTFREE 0 INITRANS 4 TABLESPACE BIS_XMLIDX NOLOGGING"
    XML_IDX_INDEX_PK           "PCTFREE 0 INITRANS 4 TABLESPACE BIS_XMLIDX NOLOGGING"
    XML_IDX_INDEX_DOUBLE       "PCTFREE 0 INITRANS 4 TABLESPACE BIS_XMLIDX NOLOGGING"
    XML_DOC_VAL_LOB_STORAGE    "NOCACHE NOLOGGING CHUNK 4K PCTVERSION 5 DISABLE STORAGE IN ROW TABLESPACE BIS_XMLDOC"
    XML_DOC_UNCOMPRESSED_TYPE  "CLOB"
    XML_DOC_STORAGE            "PCTFREE 0 INITRANS 4 TABLESPACE BIS_XMLDOC"
    XML_DOC_MODE               "COMPRESSED"
    XML_DOC_INDEX              "PCTFREE 0 INITRANS 4 TABLESPACE BIS_XMLIDX NOLOGGING"
    F_INDEX_FID                "PCTFREE 0 INITRANS 4 TABLESPACE BIS_FINDEX NOLOGGING"
    F_INDEX_AREA               "PCTFREE 0 INITRANS 4 TABLESPACE BIS_FINDEX NOLOGGING"
    D_INDEX_DELETED_AT         "PCTFREE 0 INITRANS 4 TABLESPACE BIS_DINDEX STORAGE (INITIAL 409600) NOLOGGING "
    COMMENT                    "Any general comment for DEFAULTS keyword"
    BND_INDEX_ID               "PCTFREE 0 INITRANS 4 TABLESPACE BIS_RINDEX STORAGE ( INITIAL 409600) NOLOGGING "
    BLK_STORAGE                "PCTFREE 0 INITRANS 4 TABLESPACE BIS_RBLK STORAGE ( INITIAL 409600) "
    B_STORAGE                  "PCTFREE 0 INITRANS 4 TABLESPACE BIS_BDATA STORAGE (INITIAL 409600) "
    B_INDEX_SHAPE              "PCTFREE 0 INITRANS 4 TABLESPACE BIS_BINDEX NOLOGGING"
    A_INDEX_RASTER             "PCTFREE 0 INITRANS 4 TABLESPACE BIS_AINDEX NOLOGGING"
    XML_IDX_STORAGE            "PCTFREE 0 INITRANS 4 TABLESPACE BIS_XMLDOC"
    XML_IDX_INDEX_ID           "PCTFREE 0 INITRANS 4 TABLESPACE BIS_XMLIDX NOLOGGING"
    XML_DOC_TEXT_TYPE          "LONGRAW"
    XML_DOC_LOB_STORAGE        "NOCACHE NOLOGGING CHUNK 4K PCTVERSION 5 DISABLE STORAGE IN ROW TABLESPACE BIS_XMLDOC"
    ST_GEOM_LOB_STORAGE        " STORE AS (TABLESPACE BIS_FDATA ENABLE STORAGE IN ROW CHUNK 8K RETENTION CACHE INDEX (TABLESPACE BIS_FINDEX) )  "
    S_INDEX_SP_FID             "PCTFREE 0 INITRANS 4 TABLESPACE BIS_SINDEX NOLOGGING"
    S_INDEX_ALL                "PCTFREE 0 INITRANS 4 TABLESPACE BIS_SINDEX STORAGE (INITIAL 409600) NOLOGGING "
    RASTER_STORAGE             "BLOB"
    RAS_INDEX_ID               "PCTFREE 0 INITRANS 4 TABLESPACE BIS_RINDEX STORAGE ( INITIAL 409600) NOLOGGING "
    F_STORAGE                  "PCTFREE 0 INITRANS 4 TABLESPACE BIS_FDATA "
    F_INDEX_LEN                "PCTFREE 0 INITRANS 4 TABLESPACE BIS_FINDEX NOLOGGING"
    B_INDEX_USER               "PCTFREE 0 INITRANS 4 TABLESPACE BIS_BINDEX STORAGE (INITIAL 409600) NOLOGGING "
    B_INDEX_RASTER             "PCTFREE 0 INITRANS 4 TABLESPACE BIS_BINDEX NOLOGGING"
    A_INDEX_XML                "PCTFREE 0 INITRANS 4 TABLESPACE BIS_AINDEX NOLOGGING"
    A_STORAGE                  "PCTFREE 0 INITRANS 4 TABLESPACE BIS_ADATA STORAGE (INITIAL 409600) "
    AUX_STORAGE                "PCTFREE 0 INITRANS 4 TABLESPACE BIS_RASTER STORAGE ( INITIAL 409600) "
    ATTRIBUTE_BINARY           "BLOB"
    A_INDEX_STATEID            "PCTFREE 0 INITRANS 4 TABLESPACE BIS_AINDEX STORAGE (INITIAL 409600) NOLOGGING "
    END
    
  4. From the command prompt, import the modified dbtune_bis.sde file.
    sdedbtune -o import -f dbtune_bis.sde -u sde -p sde -i sde:oracle11g:bisdb
    
4/27/2014