OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SystemParameters Struct Reference

#include <SystemParameters.h>

+ Collaboration diagram for SystemParameters:

Public Types

enum  RuntimeUdfRegistrationPolicy { RuntimeUdfRegistrationPolicy::DISALLOWED, RuntimeUdfRegistrationPolicy::ALLOWED_SUPERUSERS_ONLY, RuntimeUdfRegistrationPolicy::ALLOWED_ALL_USERS }
 

Public Member Functions

 SystemParameters ()
 

Public Attributes

bool cpu_only = false
 
int num_gpus = -1
 
int start_gpu = 0
 
size_t cuda_block_size = 0
 
size_t cuda_grid_size = 0
 
size_t calcite_max_mem = 1024
 
int omnisci_server_port = 6274
 
int calcite_port = 6279
 
std::string ha_group_id
 
std::string ha_unique_server_id
 
std::string ha_brokers
 
std::string ha_shared_data
 
std::string master_address
 
int master_port = 6274
 
bool is_decr_start_epoch
 
size_t cpu_buffer_mem_bytes = 0
 
size_t gpu_buffer_mem_bytes = 0
 
size_t min_cpu_slab_size = size_t(1) << 28
 
size_t min_gpu_slab_size = size_t(1) << 28
 
size_t max_cpu_slab_size = size_t(1) << 32
 
size_t max_gpu_slab_size = size_t(1) << 32
 
size_t default_cpu_slab_size = size_t(1) << 32
 
size_t default_gpu_slab_size = size_t(1) << 32
 
double gpu_input_mem_limit = 0.9
 
std::string config_file = ""
 
std::string ssl_cert_file = ""
 
std::string ssl_key_file = ""
 
std::string ssl_trust_store = ""
 
std::string ssl_trust_password = ""
 
std::string ssl_keystore = ""
 
std::string ssl_keystore_password = ""
 
std::string ssl_trust_ca_file = ""
 
bool ssl_transport_client_auth = false
 
bool aggregator = false
 
bool enable_calcite_view_optimize
 
size_t calcite_timeout = 5000
 
size_t calcite_keepalive = false
 
int num_executors = 4
 
int num_sessions = -1
 
size_t buffer_page_size = 512
 
RuntimeUdfRegistrationPolicy runtime_udf_registration_policy
 

Detailed Description

Definition at line 27 of file SystemParameters.h.

Member Enumeration Documentation

Enumerator
DISALLOWED 
ALLOWED_SUPERUSERS_ONLY 
ALLOWED_ALL_USERS 

Definition at line 75 of file SystemParameters.h.

75  {
76  DISALLOWED,
77  ALLOWED_SUPERUSERS_ONLY,
78  ALLOWED_ALL_USERS
79  };

Constructor & Destructor Documentation

SystemParameters::SystemParameters ( )
inline

Definition at line 83 of file SystemParameters.h.

Member Data Documentation

bool SystemParameters::aggregator = false

Definition at line 67 of file SystemParameters.h.

Referenced by QueryRunner::QueryRunner::QueryRunner().

size_t SystemParameters::buffer_page_size = 512

Definition at line 74 of file SystemParameters.h.

Referenced by Data_Namespace::DataMgr::populateMgrs().

size_t SystemParameters::calcite_keepalive = false

Definition at line 71 of file SystemParameters.h.

Referenced by EmbeddedDatabase::DBEngineImpl::init().

size_t SystemParameters::calcite_max_mem = 1024

Definition at line 33 of file SystemParameters.h.

Referenced by Calcite::Calcite().

int SystemParameters::calcite_port = 6279

Definition at line 35 of file SystemParameters.h.

Referenced by Calcite::Calcite().

size_t SystemParameters::calcite_timeout = 5000

Definition at line 70 of file SystemParameters.h.

std::string SystemParameters::config_file = ""

Definition at line 58 of file SystemParameters.h.

size_t SystemParameters::cpu_buffer_mem_bytes = 0

Definition at line 43 of file SystemParameters.h.

Referenced by Data_Namespace::DataMgr::populateMgrs().

bool SystemParameters::cpu_only = false

Definition at line 28 of file SystemParameters.h.

Referenced by DBHandler::initialize().

size_t SystemParameters::cuda_block_size = 0

Definition at line 31 of file SystemParameters.h.

Referenced by Executor::getExecutor().

size_t SystemParameters::cuda_grid_size = 0

Definition at line 32 of file SystemParameters.h.

Referenced by Executor::getExecutor().

size_t SystemParameters::default_cpu_slab_size = size_t(1) << 32

Definition at line 54 of file SystemParameters.h.

Referenced by Data_Namespace::DataMgr::populateMgrs().

size_t SystemParameters::default_gpu_slab_size = size_t(1) << 32

Definition at line 56 of file SystemParameters.h.

Referenced by Data_Namespace::DataMgr::populateMgrs().

bool SystemParameters::enable_calcite_view_optimize
Initial value:
=
true

Definition at line 68 of file SystemParameters.h.

Referenced by DBHandler::processCalciteRequest().

size_t SystemParameters::gpu_buffer_mem_bytes = 0
double SystemParameters::gpu_input_mem_limit = 0.9

Definition at line 57 of file SystemParameters.h.

Referenced by DBHandler::execute_rel_alg().

std::string SystemParameters::ha_brokers

Definition at line 38 of file SystemParameters.h.

std::string SystemParameters::ha_group_id

Definition at line 36 of file SystemParameters.h.

std::string SystemParameters::ha_shared_data

Definition at line 39 of file SystemParameters.h.

std::string SystemParameters::ha_unique_server_id

Definition at line 37 of file SystemParameters.h.

bool SystemParameters::is_decr_start_epoch

Definition at line 42 of file SystemParameters.h.

std::string SystemParameters::master_address

Definition at line 40 of file SystemParameters.h.

Referenced by startHeavyDBServer().

int SystemParameters::master_port = 6274

Definition at line 41 of file SystemParameters.h.

size_t SystemParameters::max_cpu_slab_size = size_t(1) << 32

Definition at line 50 of file SystemParameters.h.

Referenced by Data_Namespace::DataMgr::populateMgrs().

size_t SystemParameters::max_gpu_slab_size = size_t(1) << 32
size_t SystemParameters::min_cpu_slab_size = size_t(1) << 28

Definition at line 46 of file SystemParameters.h.

Referenced by Data_Namespace::DataMgr::populateMgrs().

size_t SystemParameters::min_gpu_slab_size = size_t(1) << 28

Definition at line 48 of file SystemParameters.h.

Referenced by Data_Namespace::DataMgr::populateMgrs().

int SystemParameters::num_executors = 4

Definition at line 72 of file SystemParameters.h.

int SystemParameters::num_gpus = -1
int SystemParameters::num_sessions = -1

Definition at line 73 of file SystemParameters.h.

int SystemParameters::omnisci_server_port = 6274
RuntimeUdfRegistrationPolicy SystemParameters::runtime_udf_registration_policy
std::string SystemParameters::ssl_cert_file = ""

Definition at line 59 of file SystemParameters.h.

Referenced by startHeavyDBServer().

std::string SystemParameters::ssl_key_file = ""

Definition at line 60 of file SystemParameters.h.

Referenced by startHeavyDBServer().

std::string SystemParameters::ssl_keystore = ""

Definition at line 63 of file SystemParameters.h.

std::string SystemParameters::ssl_keystore_password = ""

Definition at line 64 of file SystemParameters.h.

bool SystemParameters::ssl_transport_client_auth = false

Definition at line 66 of file SystemParameters.h.

Referenced by startHeavyDBServer().

std::string SystemParameters::ssl_trust_ca_file = ""

Definition at line 65 of file SystemParameters.h.

std::string SystemParameters::ssl_trust_password = ""

Definition at line 62 of file SystemParameters.h.

std::string SystemParameters::ssl_trust_store = ""

Definition at line 61 of file SystemParameters.h.

int SystemParameters::start_gpu = 0

Definition at line 30 of file SystemParameters.h.

Referenced by DBHandler::initialize().


The documentation for this struct was generated from the following file: