Class QueryPerformanceConfiguration
- Namespace
- FishMMO.Database
- Assembly
- FishMMO-DB.dll
Configuration for tracking and logging slow database queries.
[Serializable]
public class QueryPerformanceConfiguration
- Inheritance
-
QueryPerformanceConfiguration
- Inherited Members
Properties
Enabled
Gets or sets whether query performance tracking is enabled.
public bool Enabled { get; set; }
Property Value
Level
Gets or sets the tracking verbosity level.
public TrackingLevel Level { get; set; }
Property Value
SampleRate
Gets or sets sampling rate for tracked queries in range 0..1.
public double SampleRate { get; set; }
Property Value
SlowQueryThresholdMs
Gets or sets the threshold in milliseconds for classifying queries as slow.
public double SlowQueryThresholdMs { get; set; }