SystemParameters.StopFlushThreshold 属性

获取或设置数据库页缓存结束从缓存中逐出页面的阈值,以便为未缓存的页面腾出空间。 当缓存中的页缓冲区数超过此阈值时,启动以补充可用缓冲区池的后台进程将停止。 此阈值始终相对于JET_paramCacheSizeMax设置的最大缓存大小。 此阈值还必须始终大于JET_paramStartFlushThreshold设置的开始阈值。 启动阈值和停止阈值之间的距离会影响后台进程刷新数据库页的效率。 较大的间隔会使写入相邻页面的可能性更大。 但是,较高的停止阈值会减小数据库页缓存的有效大小。

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

语法

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

value = SystemParameters.StopFlushThreshold

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

属性值

类型: System.Int32

请参阅

参考

SystemParameters 类

SystemParameters 成员

Microsoft.Isam.Esent.Interop 命名空间