Después de crear los archivos de datos, modifique DBTUNE para incluir una nueva clave de configuración. Basándose en esta nueva clave, los datos y los objetos de base de datos se almacenarán en la ubicación de FileGroups definida previamente. La tabla DBTUNE se almacena en la geodatabase, en SQL Server. Para modificar la tabla DBTUNE, es necesario exportarla a un archivo de texto y realizar las modificaciones en dicho archivo. Una vez realizadas las actualizaciones en el archivo de texto, importe la nueva DBTUNE desde el citado archivo.
- Export the dbtune file before making any modifications.
- Start ArcCatalog.
- Click the ArcToolbox button
on the Standard toolbar.
- Expand Data Management Tools > Geodatabase Administration.
- Double-click Export Geodatabase Configuration Keywords.
The Export Geodatabase Configuration Keywords dialog box appears.
- Click the browse folder for the Input Database Connection parameter and browse to the connection file for the enterprise geodatabase you want to export.
- Click the browse folder for the Output File parameter and browse to the path where the file will be exported.
- Name the file dbtune_exp.txt and click Save.
- Click OK on the Export Geodatabase Configuration Keywords dialog box.
- Copy dbtune_exp.txt to dbtune_<Database Name>.txt.
- Using a file-based editor, modify the ##DEFAULTS configuration keywords to control in which FileGroup the tables and indexes will be created.
dbtune_nis.sde ##DATA_DICTIONARY B_CLUSTER_ROWID 0 B_CLUSTER_USER 0 B_INDEX_ROWID "WITH FILLFACTOR = 75 ON NIS_SDEDICTINDEX" B_INDEX_USER "WITH FILLFACTOR = 75 ON NIS_SDEDICTINDEX” B_STORAGE "ON NIS_SDEDICT" I_STORAGE "ON NIS_SDEDICT" MVTABLES_MODIFIED_INDEX "WITH FILLFACTOR = 75 ON NIS_SDEDICTINDEX” MVTABLES_MODIFIED_TABLE "ON NIS_SDEDICT" STATE_LINEAGES_INDEX "WITH FILLFACTOR = 75 ON NIS_SDEDICTINDEX” STATE_LINEAGES_TABLE "ON NIS_SDEDICT" STATES_INDEX "WITH FILLFACTOR = 75 ON NIS_SDEDICTINDEX” STATES_TABLE "ON NIS_SDEDICT" VERSIONS_INDEX "WITH FILLFACTOR = 75 ON NIS_SDEDICTINDEX” VERSIONS_TABLE "ON NIS_SDEDICT" XML_INDEX_TAGS_INDEX "WITH FILLFACTOR = 75 ON NIS_SDEDICTINDEX” XML_INDEX_TAGS_TABLE "ON NIS_SDEDICT” END ##DEFAULTS A_INDEX_RASTER "WITH FILLFACTOR = 75 ON NIS_AINDEX" A_INDEX_ROWID "WITH FILLFACTOR = 75 ON NIS_AINDEX" A_INDEX_SHAPE "WITH FILLFACTOR = 75 ON NIS_AINDEX" A_INDEX_STATEID "WITH FILLFACTOR = 75 ON NIS_AINDEX" A_INDEX_USER "WITH FILLFACTOR = 75 ON NIS_AINDEX" A_INDEX_XML "WITH FILLFACTOR = 75 ON NIS_AINDEX" A_STORAGE "ON NIS_ADATA" B_INDEX_RASTER "WITH FILLFACTOR = 75 ON NIS_BINDEX" B_INDEX_ROWID "WITH FILLFACTOR = 75 ON NIS_BINDEX" B_INDEX_SHAPE "WITH FILLFACTOR = 75 ON NIS_BINDEX" B_INDEX_TO_DATE "WITH FILLFACTOR = 75 ON NIS_BINDEX" B_INDEX_USER "WITH FILLFACTOR = 75 ON NIS_BINDEX" B_INDEX_XML "WITH FILLFACTOR = 75 ON NIS_BINDEX" B_STORAGE "ON NIS_BDATA" D_INDEX_ALL "WITH FILLFACTOR = 75 ON NIS_DINDEX" D_INDEX_DELETED_AT "WITH FILLFACTOR = 75 ON NIS_DINDEX" D_STORAGE "ON NIS_DDATA" GEOMETRY_STORAGE "GEOMETRY" S_INDEX_ALL "WITH FILLFACTOR = 75 ON NIS_SINDEX" S_INDEX_SP_FID "WITH FILLFACTOR = 75 ON NIS_SINDEX" S_STORAGE "ON NIS_SDATA" XML_DOC_INDEX "WITH FILLFACTOR = 75 ON NIS_XMLINDEX" XML_DOC_STORAGE "ON NIS_XMLDOC" XML_IDX_INDEX_DOUBLE "WITH FILLFACTOR = 75 ON NIS_XMLINDEX" XML_IDX_INDEX_ID "WITH FILLFACTOR = 75 ON NIS_XMLINDEX" XML_IDX_INDEX_PK "WITH FILLFACTOR = 75 ON NIS_XMLINDEX" XML_IDX_INDEX_STRING "WITH FILLFACTOR = 75 ON NIS_XMLINDEX" XML_IDX_INDEX_TAG "WITH FILLFACTOR = 75 ON NIS_XMLINDEX" XML_IDX_STORAGE "ON NIS_XMLINDEX" END
- Import the modified dbtune_<Database Name>.txt file using ArcCatalog or ArcMap.
- In the ArcToolbox window, expand Data Management Tools > Geodatabase Administration.
- Double-click the Import Geodatabase Configuration Keywords tool.
The Import Geodatabase Configuration Keywords dialog box appears.
- Click the browse button next to the Input Database Connection parameter and browse to the connection file for the enterprise geodatabase from which to import.
- Click the browse folder for the Input File parameter and browse to the path where the file will be imported.
- Name the file dbtune_<Database Name>.txt and click Open.
- Click OK on the Import Geodatabase Configuration Keywords dialog box.