ArcGIS Desktop

  • Documentación
  • Soporte

  • My Profile
  • Ayuda
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plataforma de representación cartográfica para tu organización

ArcGIS Desktop

Un completo SIG profesional

ArcGIS Enterprise

SIG en tu empresa

ArcGIS for Developers

Herramientas para crear aplicaciones basadas en la ubicación

ArcGIS Solutions

Plantillas de aplicaciones y mapas gratuitas para tu sector

ArcGIS Marketplace

Obtén aplicaciones y datos para tu organización.

  • Documentación
  • Soporte
Esri
  • Iniciar sesión
user
  • Mi perfil
  • Cerrar sesión

ArcMap

  • Inicio
  • Introducción
  • Cartografiar
  • Analizar
  • Administrar datos
  • Herramientas
  • Extensiones

Log file tables configuration for the Production Mapping workspace in Oracle

  • Creating log file tablespaces
  • Changing DBTUNE log file parameters
  • Creating log file tables

In ArcGIS, by default, log file tables are used if the selection set contains 100 or more records. ArcMap, or any application that runs on top of ArcMap, such as Esri Production Mapping, which performs selection sets, uses these log file tables. The geodatabase keeps track of large selections using the log file tables instead of the records being held in memory. The same applies when sorting, selecting, or updating records in the Production Mapping table.

When working with results in the Production Mapping workspace, it is best to understand the log file table configuration options so you can choose the right option for your database needs. There are four different geodatabase log file options: shared, session-based, stand-alone, and pools of session-based or stand-alone log files.

The default geodatabase log file table configuration for Oracle is shared geodatabase log files.

In most cases, the default geodatabase log file table configuration for your database management system (DBMS) should be sufficient and is the recommended setting.

It is recommended that you store the log file tables in a separate tablespace. This can be achieved by setting specific parameters in the SERVER_CONFIG and DBTUNE tables.

Creating log file tablespaces

Use the following statement to create log file tablespaces in Oracle SQL Plus or Oracle SQL Developer.

CREATE SMALLFILE TABLESPACE gdblogfile
DATAFILE 'D:\oracle\ORADATA\PMDB\GDB\gdblogfile01.dbf' SIZE 10M AUTOEXTEND ON NEXT 1M MAXSIZE 100M
LOGGING EXTENT MANAGEMENT LOCAL UNIFORM SIZE 512K 
SEGMENT SPACE MANAGEMENT AUTO
DEFAULT COMPRESS FOR OLTP STORAGE ( ENCRYPT ) ENCRYPTION USING 'AES256';

CREATE SMALLFILE TABLESPACE gdblogfileidx
DATAFILE 'D:\oracle\ORADATA\PMDB\GDB\gdblogfileidx01.dbf' SIZE 10M AUTOEXTEND ON NEXT 1M MAXSIZE 100M
LOGGING EXTENT MANAGEMENT LOCAL UNIFORM SIZE 512K 
SEGMENT SPACE MANAGEMENT AUTO
DEFAULT COMPRESS FOR OLTP STORAGE ( ENCRYPT ) ENCRYPTION USING 'AES256';

Changing DBTUNE log file parameters

Después de crear los archivos de datos, modifique la tabla 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 espacios de tabla definida previamente. La tabla DBTUNE se almacena en la geodatabase en Oracle. 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 tabla DBTUNE desde el citado archivo.

  1. Exporte el archivo dbtune antes de efectuar modificaciones.
    1. Inicie ArcCatalog.

      Sugerencia:

      También puede exportar con ArcMap.

    2. Haga clic en el botón ArcToolboxArcToolbox en la barra de herramientas Estándar.
    3. Expanda Herramientas de administración de datos > Administración de geodatabase.
    4. Haga doble clic en Exportar palabras clave de configuración de geodatabase.

      Aparece el cuadro de diálogo Exportar palabras clave de configuración de geodatabase.

    5. Haga clic en examinar para el parámetro Conexión de la base de datos de entrada y busque el archivo de conexión para la geodatabase corporativa desde la que exportar.
    6. Haga clic en examinar para el parámetro Archivo de salida y busque la ruta a la que se exportará el archivo.
    7. Asigne el nombre dbtune_logfile.txt al archivo y haga clic en Guardar.
    8. Haga clic en Aceptar en el cuadro de diálogo Exportar palabras clave de configuración de geodatabase.
  2. Modify the dbtune_logfile.txt ##LOGFILE_DEFAULTS configuration keyword in a text editor.
    ##LOGFILE_DEFAULTS
    LD_INDEX_DATA_ID	"PCTFREE 0 INITRANS 4 TABLESPACE GDBLOGFILEIDX NOLOGGING "
    LF_INDEXES	"PCTFREE 0 INITRANS 4 TABLESPACE GDBLOGFILEIDX NOLOGGING "
    LF_STORAGE	"PCTFREE 0 INITRANS 4 TABLESPACE GDBLOGFILE"
    SESSION_INDEX	"PCTFREE 0 INITRANS 4 TABLESPACE GDBLOGFILEIDX NOLOGGING "
    SESSION_TEMP_TABLE	0
    SESSION_STORAGE	"PCTFREE 0 INITRANS 4 TABLESPACE GDBLOGFILE"
    LD_STORAGE	"PCTFREE 0 INITRANS 4 TABLESPACE GDBLOGFILE "
    LD_INDEX_ROWID	"PCTFREE 0 INITRANS 4 TABLE PACE GDBLOGFILEIDX NOLOGGING "
    END
    
  3. Importe el archivo dbtune_logfile.txt modificado con ArcCatalog o ArcMap.
    1. En la ventana ArcToolbox, expanda Herramientas de administración de datos > Administración de geodatabase.
    2. Haga doble clic en la herramienta Importar palabras clave de configuración de geodatabase.

      Aparece el cuadro de diálogo Importar palabras clave de configuración de geodatabase.

    3. Haga clic en el botón examinar situado junto al parámetro Conexión de la base de datos de entrada y busque el archivo de conexión para la geodatabase corporativa desde la que importar.
    4. Haga clic en el botón examinar junto al parámetro Archivo de entrada y busque la ruta desde la que se importará el archivo.
    5. Asigne el nombre dbtune_logfile.txt al archivo y haga clic en Abrir.
    6. Haga clic en Aceptar en el cuadro de diálogo Importar palabras clave de configuración de geodatabase.

Creating log file tables

The geodatabase log file tables can be created in ArcMap by performing a large selection.

  1. Grant QUOTA on GDBLOGFILE and GDBLOGFILEIDX permissions in OEM to the geodatabase editor/viewer user.

    ALTER USER <user_name> QUOTA UNLIMITED ON "GDBLOGFILE";
    ALTER USER <user_name> QUOTA UNLIMITED ON "GDBLOGFILEIDX";
    

  2. Grant CREATE TABLE permissions for the geodatabase editor/viewer user.
  3. Start ArcMap.
  4. Seleccione más de 100 entidades.

    Esto crea automáticamente las tablas de archivos de registro.

  5. Remove CREATE TABLE permissions as appropriate.

Temas relacionados

  • Opciones de tablas de archivos de registro para geodatabases en Oracle
  • Modificar la configuración de las tablas de archivos de registro

ArcGIS Desktop

  • Inicio
  • Documentación
  • Soporte

Plataforma ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

Acerca de Esri

  • Quiénes somos
  • Empleo
  • Blog interno
  • Conferencia de usuarios
  • Cumbre de desarrolladores
Esri
Díganos su opinión.
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacidad | Legal