| Visual Basic (Declaration) | |
|---|---|
Public Enum StoragePerformance Inherits System.Enum | |
| C# | |
|---|---|
public enum StoragePerformance : System.Enum | |
| Member | Description |
|---|---|
| CommitToCache | (8k rps) Every write will commit changes to the storage file immediately into system cache |
| CommitToDisk | (1k rps) Every write will commit changes to the storage file immediately bypassing system cache (Slowest/Safest) |
| Default | Defaults to using a transaction log in system cache for best performance/durability. |
| Fastest | (100k rps) Uncommitted changes will be lost, a crash durring commit may corrupt state. |
| LogFileInCache | (30k rps) Uses a system-cached transaction log to recover uncommitted changes after a process crash. |
| LogFileNoCache | (2k rps) Uses a cache-writethrough transaction log to recover uncommitted changes after a power outage or system crash. |
System.Object
System.ValueType
System.Enum
CSharpTest.Net.Collections.StoragePerformance
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7