CSharpTest.Net
StoragePerformance Enumeration
See Also  Send Feedback Download Help File
CSharpTest.Net.BPlusTree Assembly > CSharpTest.Net.Collections Namespace : StoragePerformance Enumeration

Glossary Item Box

Defines the levels of durability the store will try to achieve. 'Uncommitted changes' in the descriptions below refers to all changes made to the tree since the last call to CommitChanges() on the BPlusTree class.

Syntax

Visual Basic (Declaration) 
Public Enum StoragePerformance 
   Inherits System.Enum
C# 
public enum StoragePerformance : System.Enum 

Members

MemberDescription
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)
DefaultDefaults 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.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         CSharpTest.Net.Collections.StoragePerformance

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys