Go to the documentation of this file.
17 #ifndef LINEAIRDB_CONFIG_H
18 #define LINEAIRDB_CONFIG_H
ConcurrencyControl
Definition: config.h:55
@ ThreadLocal
Definition: config.h:88
@ Silo
Definition: config.h:55
size_t max_thread
The size of thread pool.
Definition: config.h:38
@ HashTableWithPrecisionLockingIndex
Definition: config.h:77
bool enable_checkpointing
If true, LineairDB performs logging for checkpoint-recovery. Checkpointing prevents the log file size...
Definition: config.h:131
size_t epoch_duration_ms
The size of epoch duration (milliseconds). See [Tu13, Chandramouli18] to get more details of epoch-ba...
Definition: config.h:53
Configuration and options for LineairDB instances.
Definition: config.h:30
IndexStructure
Definition: config.h:77
@ SiloNWR
Definition: config.h:55
std::string work_dir
The directory path that lineardb use as working directory. All of data, logs and related files are st...
Definition: config.h:149
ConcurrencyControl concurrency_control_protocol
Set a concurrency control algorithm. See LineairDB::Config::ConcurrencyControl for the enum options o...
Definition: config.h:64
Logger logger
Set a logging algorithm. See LineairDB::Config::Logger for the enum options of this configuration.
Definition: config.h:75
bool enable_logging
If true, LineairDB performs logging for recovery.
Definition: config.h:113
@ TwoPhaseLocking
Definition: config.h:55
@ ThreadLocalLogger
Definition: config.h:66
IndexStructure index_structure
Set the type of index. See LineairDB::Config::IndexStructure for the enum options of this configurati...
Definition: config.h:86
bool enable_recovery
If true, LineairDB processes recovery at the instantiation.
Definition: config.h:105
size_t checkpoint_period
It uses as the interval time (seconds) for checkpointing. The longer is the better for the performanc...
Definition: config.h:141
CallbackEngine
Definition: config.h:88
Logger
Definition: config.h:66
CallbackEngine callback_engine
Set the type of callback engine. See LineairDB::Config::CallBackEngine for the enum options of this c...
Definition: config.h:97