SystemParameters members

Include protected members
Include inherited members

Constants for the ESENT API. These don't have to be looked up via system parameters. This class provides static properties to set and get global ESENT system parameters. This class provides static properties to set and get global ESENT system parameters.

The SystemParameters type exposes the following members.

Properties

  Name Description
Public propertyStatic member BookmarkMost Gets the maximum size of a bookmark. JetGetBookmark(JET_SESID, JET_TABLEID, [], Int32, Int32).
Public propertyStatic member CacheSize Gets or sets the size of the database cache in pages. By default the database cache will automatically tune its size, setting this property to a non-zero value will cause the cache to adjust itself to the target size.
Public propertyStatic member CacheSizeMax Gets or sets the maximum size of the database page cache. The size is in database pages. If this parameter is left to its default value, then the maximum size of the cache will be set to the size of physical memory when JetInit is called.
Public propertyStatic member CacheSizeMin Gets or sets the minimum size of the database page cache, in database pages.
Public propertyStatic member ColumnsKeyMost Gets the maximum number of components in a sort or index key.
Public propertyStatic member Configuration Gets or sets a value specifying the default values for the entire set of system parameters. When this parameter is set to a specific configuration, all system parameter values are reset to their default values for that configuration. If the configuration is set for a specific instance then global system parameters will not be reset to their default values. Small Configuration (0): The database engine is optimized for memory use. Legacy Configuration (1): The database engine has its traditional defaults. Supported on Windows Vista and up. Ignored on Windows XP and Windows Server 2003.
Public propertyStatic member DatabasePageSize Gets or sets the size of the database pages, in bytes.
Public propertyStatic member EnableAdvanced Gets or sets a value indicating whether the database engine accepts or rejects changes to a subset of the system parameters. This parameter is used in conjunction with Configuration to prevent some system parameters from being set away from the selected configuration's defaults. Supported on Windows Vista and up. Ignored on Windows XP and Windows Server 2003.
Public propertyStatic member EnableFileCache Gets or sets a value indicating whether the database engine should use the OS file cache for all managed files.
Public propertyStatic member EnableViewCache Gets or sets a value indicating whether the database engine should use memory mapped file I/O for database files.
Public propertyStatic member EventLoggingLevel Gets or sets the detail level of eventlog messages that are emitted to the eventlog by the database engine. Higher numbers will result in more detailed eventlog messages.
Public propertyStatic member ExceptionAction Gets or sets the value encoding what to do with exceptions generated within JET.
Public propertyStatic member HungIOActions Gets or sets the set of actions to be taken on IOs that appear hung.
Public propertyStatic member HungIOThreshold Gets or sets the threshold for what is considered a hung IO that should be acted upon.
Public propertyStatic member KeyMost Gets the maximum key size. This depends on the Esent version and database page size.
Public propertyStatic member LegacyFileNames Gets or sets backwards compatibility with the file naming conventions of earlier releases of the database engine.
Public propertyStatic member LVChunkSizeMost Gets the lv chunks size. This depends on the database page size.
Public propertyStatic member MaxInstances Gets or sets the maximum number of instances that can be created.
Public propertyStatic member MinDataForXpress Gets or sets the smallest amount of data that should be compressed with xpress compression.
Public propertyStatic member OutstandingIOMax This parameter controls how many database file I/Os can be queued per-disk in the host operating system at one time. A larger value for this parameter can significantly help the performance of a large database application.
Public propertyStatic member ProcessFriendlyName Gets or sets the friendly name for this instance of the process.
Public propertyStatic member StartFlushThreshold Gets or sets the threshold at which the database page cache begins evicting pages from the cache to make room for pages that are not cached. When the number of page buffers in the cache drops below this threshold then a background process will be started to replenish that pool of available buffers. This threshold is always relative to the maximum cache size as set by JET_paramCacheSizeMax. This threshold must also always be less than the stop threshold as set by JET_paramStopFlushThreshold. The distance height of the start threshold will determine the response time that the database page cache must have to produce available buffers before the application needs them. A high start threshold will give the background process more time to react. However, a high start threshold implies a higher stop threshold and that will reduce the effective size of the database page cache.
Public propertyStatic member StopFlushThreshold Gets or sets the threshold at which the database page cache ends evicting pages from the cache to make room for pages that are not cached. When the number of page buffers in the cache rises above this threshold then the background process that was started to replenish that pool of available buffers is stopped. This threshold is always relative to the maximum cache size as set by JET_paramCacheSizeMax. This threshold must also always be greater than the start threshold as set by JET_paramStartFlushThreshold. The distance between the start threshold and the stop threshold affects the efficiency with which database pages are flushed by the background process. A larger gap will make it more likely that writes to neighboring pages may be combined. However, a high stop threshold will reduce the effective size of the database page cache.

Top

Fields

  Name Description
Public fieldStatic member BaseNameLength The length of the prefix used to name files used by the database engine.
Public fieldStatic member ColumnMost Maximum size for columns which are not JET_coltyp.LongBinary or JET_coltyp.LongText.
Public fieldStatic member ColumnsFixedMost Maximum number of fixed columns allowed in a table.
Public fieldStatic member ColumnsMost Maximum number of columns allowed in a table.
Public fieldStatic member ColumnsTaggedMost Maximum number of tagged columns allowed in a table.
Public fieldStatic member ColumnsVarMost Maximum number of variable-length columns allowed in a table.
Public fieldStatic member LocaleNameMaxLength The maximum length of a locale name (LOCALE_NAME_MAX_LENGTH from winnt.h).
Public fieldStatic member NameMost Maximum size of a table/column/index name.
Public fieldStatic member PageTempDBSmallest The number of pages that gives the smallest possible temporary database.

Top

See also

Reference

SystemParameters class

Microsoft.Isam.Esent.Interop namespace