Disponible con licencia de Production Mapping.
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 geodatabases en SQL Server usan archivos de registro basados en sesión y creados en la base de datos temporal (tempdb) de forma predeterminada. Esta es la configuración recomendada y debe ser suficiente en la mayoría de los casos. Sin embargo, si desea cambiar la configuración, consulte Modificar la configuración de las tablas de archivos de registro.
When working with results in the 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.
Common configuration options
For SQL Server, the default log file configuration is session-based log files created in the temporary database (tempdb). In most cases, the default geodatabase log file table configuration for your database management system (DBMS) should be sufficient and is the recommended setting. Another common option is the shared log files. You would only use shared log files if you do not want to create tables in the tempdb, you have a large number of concurrent sessions, and each session connects using an individual DBMS account. Either configuration option is acceptable for the workspace, but if you choose to store the log tables in the user schema (shared log files), instead of the tempdb (session-based), be sure to give CREATE TABLE privileges to each user accessing the tables.
Settings to control storage
Log file options are set using specific parameters in the SDE_server_config and SDE_dbtune tables.
For session-based log files, the DBTUNE SESSION_TEMP_TABLE parameter must be set to 1 (true) to allow the session-based log file table to be created in tempdb. For shared log files, changing the SESSION_TEMP_TABLE parameter to 0 (false) will create the SDE_LOGFILES, SDE_LOGFILE_DATA, and SDE_SESSION<SDE_ID> tables in the connecting user's schema; hence, the user requires CREATE TABLE permission.
Parameters in these tables are altered using the sdeconfig and sdedbtune commands, respectively. In SQL Server, the table created in tempdb is in the format ##SDE_SESSION<SDE_ID>. This table is truncated when the connecting application deletes its log files, and the table is dropped when the session disconnects. When using the default setting, users do not require CREATE TABLE permission in the database for the session table to be created in tempdb.