SystemParameters.StartFlushThreshold 属性

获取或设置数据库页缓存开始从缓存中逐出页的阈值,以便为未缓存的页腾出空间。 当缓存中的页缓冲区数低于此阈值时,将启动后台进程来补充该可用缓冲区池。 此阈值始终相对于JET_paramCacheSizeMax设置的最大缓存大小。 此阈值还必须始终小于JET_paramStopFlushThreshold设置的停止阈值。 开始阈值的距离高度将确定数据库页缓存在应用程序需要它们之前生成可用缓冲区所必须具备的响应时间。 较高的启动阈值将为后台进程提供更多反应时间。 但是,较高的启动阈值意味着更高的停止阈值,这将减小数据库页缓存的有效大小。

Namespace:Microsoft.Isam.Esent.Interop
装配: Microsoft.Isam.Esent.Interop.dll) 中的 Microsoft.Isam.Esent.Interop (

语法

'Declaration
Public Shared Property StartFlushThreshold As Integer
    Get
    Set
'Usage
Dim value As Integer

value = SystemParameters.StartFlushThreshold

SystemParameters.StartFlushThreshold = value
public static int StartFlushThreshold { get; set; }

属性值

类型: System.Int32

请参阅

参考

SystemParameters 类

SystemParameters 成员

Microsoft.Isam.Esent.Interop 命名空间