Adding a configuration keyword to the DBTUNE table in SQL Server for the Reviewer workspace

After creating the data files, modify the DBTUNE to include a new configuration keyword. Based on this new keyword, the data and database objects will be stored in the FileGroups location that was previously defined. The DBTUNE table is stored under the sde user in SQL Server. To modify the DBTUNE, it's necessary to export the DBTUNE into a text file and make modifications in the text file. After the updates to the text file are made, import the new DBTUNE 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.

    The <database_name> is the localhost name\instance name.

    cd %SDEHOME%
    cd etc
    sdedbtune -o export -f dbtune_exp.sde -u sde -p sde -i sde:sqlserver:<database_name> -s <localhost> -D revdb
    
  2. Copy dbtune_exp.sde to dbtune_rev.sde.
  3. Using a file-based editor, modify the ##DEFAULTS configuration keywords to control in which FileGroup the tables and indexes will be created.
    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	"WITH FILLFACTOR = 75 ON REV_AINDEX"
    A_INDEX_ROWID	"WITH FILLFACTOR = 75 ON REV_AINDEX"
    A_INDEX_SHAPE	"WITH FILLFACTOR = 75 ON REV_AINDEX"
    A_INDEX_STATEID	"WITH FILLFACTOR = 75 ON REV_AINDEX"
    A_INDEX_USER	"WITH FILLFACTOR = 75 ON REV_AINDEX"
    A_INDEX_XML	"WITH FILLFACTOR = 75 ON REV_AINDEX"
    A_STORAGE	"ON REV_ADATA"
    B_INDEX_RASTER	"WITH FILLFACTOR = 75 ON REV_BINDEX"
    B_INDEX_ROWID	"WITH FILLFACTOR = 75 ON REV_BINDEX"
    B_INDEX_SHAPE	"WITH FILLFACTOR = 75 ON REV_BINDEX"
    B_INDEX_TO_DATE	"WITH FILLFACTOR = 75 ON REV_BINDEX"
    B_INDEX_USER	"WITH FILLFACTOR = 75 ON REV_BINDEX"
    B_INDEX_XML	"WITH FILLFACTOR = 75 ON REV_BINDEX"
    B_STORAGE	"ON REV_BDATA"
    D_INDEX_ALL	"WITH FILLFACTOR = 75 ON REV_DINDEX"
    D_INDEX_DELETED_AT	"WITH FILLFACTOR = 75 ON REV_DINDEX"
    D_STORAGE	"ON REV_DDATA"
    F_INDEX_AREA	"WITH FILLFACTOR = 75 ON REV_FINDEX"
    F_INDEX_FID	"WITH FILLFACTOR = 75 ON REV_FINDEX"
    F_INDEX_LEN	"WITH FILLFACTOR = 75 ON REV_FINDEX"
    F_STORAGE	"ON REV_FDATA"
    GEOMETRY_STORAGE	"GEOMETRY"
    GEOMTAB_PK	"WITH FILLFACTOR = 75 ON REV_FINDEX"
    GEOMTAB_STORAGE	"ON REV_FDATA"
    I_STORAGE	"ON REV_FDATA"
    S_INDEX_ALL	"WITH FILLFACTOR = 75 ON REV_SINDEX"
    S_INDEX_SP_FID	"WITH FILLFACTOR = 75 ON REV_SINDEX"
    S_STORAGE	"ON REV_SDATA"
    END
    
  4. From the command prompt, import the modified dbtune_rev.sde file.
    sdedbtune -o import -f dbtune_rev.sde -u sde -p sde -i sde:sqlserver:<server> -s <server> -D revdb
    
1/29/2015