Adding a configuration keyword to the DBTUNE in Oracle for the Reviewer workspace

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.

NoteNote:

Copying and pasting the examples may cause syntax errors.

Steps:
  1. From the command prompt, export the dbtune file before making any modifications.
    sdedbtune -o export -f dbtune_exp.sde -u sde -p sde -i sde:oracle11g:revdb
    
  2. Copy dbtune_exp.sde to dbtune_rev.sde.
  3. Using a file-based editor, modify the ##DEFAULTS keyword and paste it at the end of the file named dbtune_rev.sde.
  4. Rename it ##REVIEWER and change the tablespace name for the appropriate parameters.
    NoteNote:

    If your database only stores the Reviewer repository, the dbtune_rev.sde file can be opened in a text editor where you can manually edit the ##DEFAULTS configuration keyword; otherwise, create a new configuration keyword using the following example.

    dbtune_rev.sde
    ##DEFAULTS
    A_INDEX_RASTER	"PCTFREE 0 INITRANS 4 TABLESPACE REV_AINDEX NOLOGGING"
    A_INDEX_ROWID	"PCTFREE 0 INITRANS 4 TABLESPACE REV_AINDEX STORAGE (INITIAL 409600) NOLOGGING" 
    A_INDEX_SHAPE	"PCTFREE 0 INITRANS 4 TABLESPACE REV_AINDEX STORAGE (INITIAL 409600) NOLOGGING" 
    A_INDEX_STATEID	"PCTFREE 0 INITRANS 4 TABLESPACE REV_AINDEX STORAGE (INITIAL 409600) NOLOGGING" 
    A_INDEX_USER	"PCTFREE 0 INITRANS 4 TABLESPACE REV_AINDEX STORAGE (INITIAL 409600) NOLOGGING" 
    A_INDEX_XML	"PCTFREE 0 INITRANS 4 TABLESPACE REV_AINDEX NOLOGGING"
    A_STORAGE	"PCTFREE 0 INITRANS 4 TABLESPACE REV_ADATA STORAGE (INITIAL 409600)" 
    B_INDEX_RASTER	"PCTFREE 0 INITRANS 4 TABLESPACE REV_BINDEX NOLOGGING"
    B_INDEX_ROWID	"PCTFREE 0 INITRANS 4 TABLESPACE REV_BINDEX STORAGE (INITIAL 409600) NOLOGGING" 
    B_INDEX_SHAPE	"PCTFREE 0 INITRANS 4 TABLESPACE REV_BINDEX NOLOGGING"
    B_INDEX_TO_DATE	"PCTFREE 0 INITRANS 4 TABLESPACE REV_BINDEX NOLOGGING"
    B_INDEX_USER	"PCTFREE 0 INITRANS 4 TABLESPACE REV_BINDEX STORAGE (INITIAL 409600) NOLOGGING" 
    B_INDEX_XML	"PCTFREE 0 INITRANS 4 TABLESPACE REV_BINDEX NOLOGGING"
    B_STORAGE	"PCTFREE 0 INITRANS 4 TABLESPACE REV_BDATA STORAGE (INITIAL 409600)" 
    D_INDEX_DELETED_AT	"PCTFREE 0 INITRANS 4 TABLESPACE REV_DINDEX STORAGE (INITIAL 409600) NOLOGGING" 
    D_INDEX_STATE_ROWID	"PCTFREE 0 INITRANS 4 TABLESPACE REV_DINDEX STORAGE (INITIAL 409600) NOLOGGING" 
    D_STORAGE	"PCTFREE 0 INITRANS 4 TABLESPACE REV_DDATA STORAGE (INITIAL 409600)" 
    F_INDEX_AREA	"PCTFREE 0 INITRANS 4 TABLESPACE REV_FINDEX NOLOGGING"
    F_INDEX_FID	"PCTFREE 0 INITRANS 4 TABLESPACE REV_FINDEX NOLOGGING"
    F_INDEX_LEN	"PCTFREE 0 INITRANS 4 TABLESPACE REV_FINDEX NOLOGGING"
    F_STORAGE	"PCTFREE 0 INITRANS 4 TABLESPACE REV_FDATA"
    GEOMETRY_STORAGE	"ST_GEOMETRY"
    S_INDEX_ALL	"PCTFREE 0 INITRANS 4 TABLESPACE REV_SINDEX STORAGE (INITIAL 409600) NOLOGGING" 
    S_INDEX_SP_FID	"PCTFREE 0 INITRANS 4 TABLESPACE REV_SINDEX NOLOGGING"
    S_STORAGE	"PCTFREE 0 INITRANS 4 TABLESPACE REV_SDATA STORAGE (INITIAL 409600)" 
    ST_GEOM_LOB_STORAGE	 "STORE AS (TABLESPACE REV_FDATA ENABLE STORAGE IN ROW CHUNK 8K RETENTION CACHE INDEX (TABLESPACE REV_FINDEX) )" 
    END
    
  5. From the command prompt, import the modified dbtune_rev.sde file.
    sdedbtune -o import -f dbtune_rev.sde -u sde -p sde -i sde:oracle11g:revdb
    
1/29/2015