取得或設定在寫入交易記錄檔之前,用來快取記錄檔的記憶體數量。 此參數的單位是保留交易記錄檔之磁片區的磁區大小。 磁區大小幾乎一律為 512 個位元組,因此可以放心地假設單位的大小。 此參數會影響效能。 當資料庫引擎在大量更新負載下時,此緩衝區可能會非常快速地滿。 交易記錄檔的較大快取大小對於這類高負載狀況下良好的更新效能至關重要。 在此情況下,預設值已知太小。 請勿將此參數設定為數個大於位元組 (的緩衝區,) 交易記錄檔的大小超過一半。
Namespace:Microsoft.Isam.Esent.Interop
裝配: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Property LogBuffers As Integer
Get
Set
'Usage
Dim instance As InstanceParameters
Dim value As Integer
value = instance.LogBuffers
instance.LogBuffers = value
public int LogBuffers { get; set; }
屬性值
類型: System.Int32