ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • 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 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 NIS workspace in Oracle

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

Las geodatabases corporativas utilizan tablas de archivo de registro para mantener listas de registros seleccionados. La aplicación escribe los registros en las tablas de archivo de registro para uso posterior, cuando se realiza una selección de un tamaño específico, una conciliación o publicación en una base de datos versionada o un check-out de edición sin conexión en una aplicación de cliente. Las tablas de archivo de registro almacenan los ObjectID de las entidades seleccionadas para que se puedan volver a visualizar. Esto permite analizar y procesar la información con más rapidez.

Por defecto, en ArcGIS las tablas de archivo de registro se utilizan si el conjunto de selección contiene 100 registros o más. Este umbral de selección de 100 entidades se establece en el registro. Se puede cambiar, pero Esri recomienda que no se modifique. No existen motivos de rendimiento comprobados para cambiarlo y, si lo hace, podría causar problemas en el rendimiento.

Las tablas de archivo de registro almacenan selecciones de entidades en ArcMap con un tamaño superior a 100 para cada usuario de editor/visor de geodatabases conectado. Se recomienda almacenar las tablas de archivos de registro en un espacio de tablas independiente; esto puede lograrse con la tabla DBTUNE.

When working with results in the NIS 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 log file options: shared, session-based, stand-alone, and pools of session-based or stand-alone log files.

Las geodatabases de Oracle usan tablas temporales globales que pertenecen al usuario que provocó la creación de la tabla de archivo de registro. Los usuarios sin permisos de base de datos para crear tablas usarán las tablas de archivo de registro temporales globales que pertenecen al usuario sde.

Creating log file tablespaces

Use the following statement to create log file tablespaces in Oracle.

CREATE SMALLFILE TABLESPACE gdblogfile
DATAFILE 'D:\ORACLE\ORADATA\NISDB\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\NISDB\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. Export the dbtune file before making any modifications.
    1. Start ArcCatalog.

      Sugerencia:

      You can also export using ArcMap.

    2. Click the ArcToolbox button ArcToolbox on the Standard toolbar.
    3. Expand Data Management Tools > Geodatabase Administration..
    4. Double-click Export Geodatabase Configuration Keywords.

      The Export Geodatabase Configuration Keywords dialog box appears.

    5. Click the browse folder for the Input Database Connection parameter and browse to the connection file for the enterprise geodatabase you want to export.
    6. Click the browse folder for the Output File parameter and browse to the path where the file will be exported.
    7. Name the file dbtune_exp.txt and click Save.
    8. Click OK on the Export Geodatabase Configuration Keywords dialog box.
  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. Import the modified dbtune_logfile.txt file using ArcCatalog or ArcMap.
    1. In the ArcToolbox expand Data Management Tools > Geodatabase Administration.
    2. Double-click Geodatabase Configuration Keywords.

      The Import Geodatabase Configuration Keywords dialog box appears.

    3. Click the browse folder next to the Input Database Connection parameter and browse to the enterprise geodatabase you want to import.
    4. Click the browse folder for the Input File parameter and browse to the path where the file will be imported.
    5. Name the file dbtune_logfile.txt and click Open.
    6. Click OK on the Import Geodatabase Configuration Keywords dialog box.

Creating log file tables

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

  1. Grant QUOTA permissions in OEM to the users on GDBLOGFILE and GDBLOGFILEIDX.
    ALTER USER SDE QUOTA UNLIMITED ON "SDELOGFILE";
    ALTER USER SDE QUOTA UNLIMITED ON "SDELOGFILEIDX";
    
    ALTER USER NIS QUOTA UNLIMITED ON "SDELOGFILE";
    ALTER USER NIS QUOTA UNLIMITED ON "SDELOGFILEIDX";
    
    ALTER USER NIS_EDITOR QUOTA UNLIMITED ON "SDELOGFILE";
    ALTER USER NIS_EDITOR QUOTA UNLIMITED ON "SDELOGFILEIDX";
    
    ALTER USER NIS_VIEWER QUOTA UNLIMITED ON "SDELOGFILE";
    ALTER USER NIS_VIEWER QUOTA UNLIMITED ON "SDELOGFILEIDX";
    
  2. Grant CREATE TABLE and CREATE SEQUENCE permissions for the geodatabase editor/viewer users.
  3. Inicie ArcMap.
  4. Seleccione más de 100 entidades.

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

  5. Remove CREATE TABLE and CREATE SEQUENCE permissions as appropriate.

Temas relacionados

  • Modificar la configuración de las tablas de archivos de registro

ArcGIS Desktop

  • Inicio
  • Documentación
  • Soporte

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

Acerca de Esri

  • Quiénes somos
  • Empleo
  • Blog de Esri
  • Conferencia de usuarios
  • Cumbre de desarrolladores
Esri
Díganos su opinión.
Copyright © 2021 Esri. | Privacidad | Legal