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 | |
---|---|---|
BookmarkMost | Gets the maximum size of a bookmark. JetGetBookmark(JET_SESID, JET_TABLEID, [], Int32, Int32). | |
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. | |
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. | |
CacheSizeMin | Gets or sets the minimum size of the database page cache, in database pages. | |
ColumnsKeyMost | Gets the maximum number of components in a sort or index key. | |
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. | |
DatabasePageSize | Gets or sets the size of the database pages, in bytes. | |
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. | |
EnableFileCache | Gets or sets a value indicating whether the database engine should use the OS file cache for all managed files. | |
EnableViewCache | Gets or sets a value indicating whether the database engine should use memory mapped file I/O for database files. | |
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. | |
ExceptionAction | Gets or sets the value encoding what to do with exceptions generated within JET. | |
HungIOActions | Gets or sets the set of actions to be taken on IOs that appear hung. | |
HungIOThreshold | Gets or sets the threshold for what is considered a hung IO that should be acted upon. | |
KeyMost | Gets the maximum key size. This depends on the Esent version and database page size. | |
LegacyFileNames | Gets or sets backwards compatibility with the file naming conventions of earlier releases of the database engine. | |
LVChunkSizeMost | Gets the lv chunks size. This depends on the database page size. | |
MaxInstances | Gets or sets the maximum number of instances that can be created. | |
MinDataForXpress | Gets or sets the smallest amount of data that should be compressed with xpress compression. | |
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. | |
ProcessFriendlyName | Gets or sets the friendly name for this instance of the process. | |
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. | |
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 | |
---|---|---|
BaseNameLength | The length of the prefix used to name files used by the database engine. | |
ColumnMost | Maximum size for columns which are not JET_coltyp.LongBinary or JET_coltyp.LongText. | |
ColumnsFixedMost | Maximum number of fixed columns allowed in a table. | |
ColumnsMost | Maximum number of columns allowed in a table. | |
ColumnsTaggedMost | Maximum number of tagged columns allowed in a table. | |
ColumnsVarMost | Maximum number of variable-length columns allowed in a table. | |
LocaleNameMaxLength | The maximum length of a locale name (LOCALE_NAME_MAX_LENGTH from winnt.h). | |
NameMost | Maximum size of a table/column/index name. | |
PageTempDBSmallest | The number of pages that gives the smallest possible temporary database. |
Top