📄 configinfo.cpp
字号:
"false", "false", "true" }, { CFG_DB_WATCHDOG_INTERVAL, "TimeBetweenWatchDogCheck", DB_TOKEN, "Time between execution checks inside a database node", ConfigInfo::CI_USED, true, ConfigInfo::CI_INT, "6000", "70", STR_VALUE(MAX_INT_RNIL) }, { CFG_DB_STOP_ON_ERROR, "StopOnError", DB_TOKEN, "If set to N, "DB_TOKEN_PRINT" automatically restarts/recovers in case of node failure", ConfigInfo::CI_USED, true, ConfigInfo::CI_BOOL, "true", "false", "true" }, { CFG_DB_STOP_ON_ERROR_INSERT, "RestartOnErrorInsert", DB_TOKEN, "See src/kernel/vm/Emulator.hpp NdbRestartType for details", ConfigInfo::CI_INTERNAL, true, ConfigInfo::CI_INT, "2", "0", "4" }, { CFG_DB_NO_OPS, "MaxNoOfConcurrentOperations", DB_TOKEN, "Max number of operation records in transaction coordinator", ConfigInfo::CI_USED, false, ConfigInfo::CI_INT, "32k", "32", STR_VALUE(MAX_INT_RNIL) }, { CFG_DB_NO_LOCAL_OPS, "MaxNoOfLocalOperations", DB_TOKEN, "Max number of operation records defined in the local storage node", ConfigInfo::CI_USED, false, ConfigInfo::CI_INT, UNDEFINED, "32", STR_VALUE(MAX_INT_RNIL) }, { CFG_DB_NO_LOCAL_SCANS, "MaxNoOfLocalScans", DB_TOKEN, "Max number of fragment scans in parallel in the local storage node", ConfigInfo::CI_USED, false, ConfigInfo::CI_INT, UNDEFINED, "32", STR_VALUE(MAX_INT_RNIL) }, { CFG_DB_BATCH_SIZE, "BatchSizePerLocalScan", DB_TOKEN, "Used to calculate the number of lock records for scan with hold lock", ConfigInfo::CI_USED, false, ConfigInfo::CI_INT, STR_VALUE(DEF_BATCH_SIZE), "1", STR_VALUE(MAX_PARALLEL_OP_PER_SCAN) }, { CFG_DB_NO_TRANSACTIONS, "MaxNoOfConcurrentTransactions", DB_TOKEN, "Max number of transaction executing concurrently on the "DB_TOKEN_PRINT" node", ConfigInfo::CI_USED, false, ConfigInfo::CI_INT, "4096", "32", STR_VALUE(MAX_INT_RNIL) }, { CFG_DB_NO_SCANS, "MaxNoOfConcurrentScans", DB_TOKEN, "Max number of scans executing concurrently on the "DB_TOKEN_PRINT" node", ConfigInfo::CI_USED, false, ConfigInfo::CI_INT, "256", "2", "500" }, { CFG_DB_TRANS_BUFFER_MEM, "TransactionBufferMemory", DB_TOKEN, "Dynamic buffer space (in bytes) for key and attribute data allocated for each "DB_TOKEN_PRINT" node", ConfigInfo::CI_USED, false, ConfigInfo::CI_INT, "1M", "1K", STR_VALUE(MAX_INT_RNIL) }, { CFG_DB_INDEX_MEM, "IndexMemory", DB_TOKEN, "Number bytes on each "DB_TOKEN_PRINT" node allocated for storing indexes", ConfigInfo::CI_USED, false, ConfigInfo::CI_INT64, "18M", "1M", "1024G" }, { CFG_DB_DATA_MEM, "DataMemory", DB_TOKEN, "Number bytes on each "DB_TOKEN_PRINT" node allocated for storing data", ConfigInfo::CI_USED, false, ConfigInfo::CI_INT64, "80M", "1M", "1024G" }, { CFG_DB_UNDO_INDEX_BUFFER, "UndoIndexBuffer", DB_TOKEN, "Number bytes on each "DB_TOKEN_PRINT" node allocated for writing UNDO logs for index part", ConfigInfo::CI_USED, false, ConfigInfo::CI_INT, "2M", "1M", STR_VALUE(MAX_INT_RNIL)}, { CFG_DB_UNDO_DATA_BUFFER, "UndoDataBuffer", DB_TOKEN, "Number bytes on each "DB_TOKEN_PRINT" node allocated for writing UNDO logs for data part", ConfigInfo::CI_USED, false, ConfigInfo::CI_INT, "16M", "1M", STR_VALUE(MAX_INT_RNIL)}, { CFG_DB_REDO_BUFFER, "RedoBuffer", DB_TOKEN, "Number bytes on each "DB_TOKEN_PRINT" node allocated for writing REDO logs", ConfigInfo::CI_USED, false, ConfigInfo::CI_INT, "8M", "1M", STR_VALUE(MAX_INT_RNIL)}, { CFG_DB_LONG_SIGNAL_BUFFER, "LongMessageBuffer", DB_TOKEN, "Number bytes on each "DB_TOKEN_PRINT" node allocated for internal long messages", ConfigInfo::CI_USED, false, ConfigInfo::CI_INT, "1M", "512k", STR_VALUE(MAX_INT_RNIL)}, { CFG_DB_START_PARTIAL_TIMEOUT, "StartPartialTimeout", DB_TOKEN, "Time to wait before trying to start wo/ all nodes. 0=Wait forever", ConfigInfo::CI_USED, true, ConfigInfo::CI_INT, "30000", "0", STR_VALUE(MAX_INT_RNIL) }, { CFG_DB_START_PARTITION_TIMEOUT, "StartPartitionedTimeout", DB_TOKEN, "Time to wait before trying to start partitioned. 0=Wait forever", ConfigInfo::CI_USED, true, ConfigInfo::CI_INT, "60000", "0", STR_VALUE(MAX_INT_RNIL) }, { CFG_DB_START_FAILURE_TIMEOUT, "StartFailureTimeout", DB_TOKEN, "Time to wait before terminating. 0=Wait forever", ConfigInfo::CI_USED, true, ConfigInfo::CI_INT, "0", "0", STR_VALUE(MAX_INT_RNIL) }, { CFG_DB_HEARTBEAT_INTERVAL, "HeartbeatIntervalDbDb", DB_TOKEN, "Time between "DB_TOKEN_PRINT"-"DB_TOKEN_PRINT" heartbeats. "DB_TOKEN_PRINT" considered dead after 3 missed HBs", ConfigInfo::CI_USED, true, ConfigInfo::CI_INT, "1500", "10", STR_VALUE(MAX_INT_RNIL) }, { CFG_DB_API_HEARTBEAT_INTERVAL, "HeartbeatIntervalDbApi", DB_TOKEN, "Time between "API_TOKEN_PRINT"-"DB_TOKEN_PRINT" heartbeats. "API_TOKEN_PRINT" connection closed after 3 missed HBs", ConfigInfo::CI_USED, true, ConfigInfo::CI_INT, "1500", "100", STR_VALUE(MAX_INT_RNIL) }, { CFG_DB_LCP_INTERVAL, "TimeBetweenLocalCheckpoints", DB_TOKEN, "Time between taking snapshots of the database (expressed in 2log of bytes)", ConfigInfo::CI_USED, true, ConfigInfo::CI_INT, "20", "0", "31" }, { CFG_DB_GCP_INTERVAL, "TimeBetweenGlobalCheckpoints", DB_TOKEN, "Time between doing group commit of transactions to disk", ConfigInfo::CI_USED, true, ConfigInfo::CI_INT, "2000", "10", "32000" }, { CFG_DB_NO_REDOLOG_FILES, "NoOfFragmentLogFiles", DB_TOKEN, "No of 16 Mbyte Redo log files in each of 4 file sets belonging to "DB_TOKEN_PRINT" node", ConfigInfo::CI_USED, false, ConfigInfo::CI_INT, "8", "1", STR_VALUE(MAX_INT_RNIL) }, { CFG_DB_MAX_OPEN_FILES, "MaxNoOfOpenFiles", DB_TOKEN, "Max number of files open per "DB_TOKEN_PRINT" node.(One thread is created per file)", ConfigInfo::CI_USED, false, ConfigInfo::CI_INT, "40", "20", STR_VALUE(MAX_INT_RNIL) }, { CFG_DB_TRANSACTION_CHECK_INTERVAL, "TimeBetweenInactiveTransactionAbortCheck", DB_TOKEN, "Time between inactive transaction checks", ConfigInfo::CI_USED, true, ConfigInfo::CI_INT, "1000", "1000", STR_VALUE(MAX_INT_RNIL) }, { CFG_DB_TRANSACTION_INACTIVE_TIMEOUT, "TransactionInactiveTimeout", DB_TOKEN, "Time application can wait before executing another transaction part (ms).\n" "This is the time the transaction coordinator waits for the application\n" "to execute or send another part (query, statement) of the transaction.\n" "If the application takes too long time, the transaction gets aborted.\n" "Timeout set to 0 means that we don't timeout at all on application wait.", ConfigInfo::CI_USED, true, ConfigInfo::CI_INT, STR_VALUE(MAX_INT_RNIL), "0", STR_VALUE(MAX_INT_RNIL) }, { CFG_DB_TRANSACTION_DEADLOCK_TIMEOUT, "TransactionDeadlockDetectionTimeout", DB_TOKEN, "Time transaction can be executing in a DB node (ms).\n" "This is the time the transaction coordinator waits for each database node\n" "of the transaction to execute a request. If the database node takes too\n" "long time, the transaction gets aborted.", ConfigInfo::CI_USED, true, ConfigInfo::CI_INT, "1200", "50", STR_VALUE(MAX_INT_RNIL) }, { CFG_DB_LCP_DISC_PAGES_TUP_SR, "NoOfDiskPagesToDiskDuringRestartTUP", DB_TOKEN, "?", ConfigInfo::CI_USED, true, ConfigInfo::CI_INT, "40", "1", STR_VALUE(MAX_INT_RNIL) }, { CFG_DB_LCP_DISC_PAGES_TUP, "NoOfDiskPagesToDiskAfterRestartTUP", DB_TOKEN, "?", ConfigInfo::CI_USED, true, ConfigInfo::CI_INT, "40", "1", STR_VALUE(MAX_INT_RNIL) }, { CFG_DB_LCP_DISC_PAGES_ACC_SR, "NoOfDiskPagesToDiskDuringRestartACC", DB_TOKEN, "?", ConfigInfo::CI_USED, true, ConfigInfo::CI_INT, "20", "1", STR_VALUE(MAX_INT_RNIL) }, { CFG_DB_LCP_DISC_PAGES_ACC, "NoOfDiskPagesToDiskAfterRestartACC", DB_TOKEN, "?", ConfigInfo::CI_USED, true, ConfigInfo::CI_INT, "20", "1", STR_VALUE(MAX_INT_RNIL) }, { CFG_DB_DISCLESS, "Diskless", DB_TOKEN, "Run wo/ disk", ConfigInfo::CI_USED, true, ConfigInfo::CI_BOOL, "false", "false", "true"}, { KEY_INTERNAL, "Discless", DB_TOKEN, "Diskless", ConfigInfo::CI_DEPRICATED, true, ConfigInfo::CI_BOOL, "false", "false", "true"}, { CFG_DB_ARBIT_TIMEOUT, "ArbitrationTimeout", DB_TOKEN, "Max time (milliseconds) database partion waits for arbitration signal", ConfigInfo::CI_USED, false, ConfigInfo::CI_INT, "3000", "10", STR_VALUE(MAX_INT_RNIL) }, { CFG_NODE_DATADIR, "DataDir", DB_TOKEN, "Data directory for this node", ConfigInfo::CI_USED, false, ConfigInfo::CI_STRING, MYSQLCLUSTERDIR, 0, 0 }, { CFG_DB_FILESYSTEM_PATH, "FileSystemPath", DB_TOKEN, "Path to directory where the "DB_TOKEN_PRINT" node stores its data (directory must exist)", ConfigInfo::CI_USED, false, ConfigInfo::CI_STRING, UNDEFINED, 0, 0 }, { CFG_LOGLEVEL_STARTUP, "LogLevelStartup", DB_TOKEN, "Node startup info printed on stdout", ConfigInfo::CI_USED, false, ConfigInfo::CI_INT, "1", "0", "15" }, { CFG_LOGLEVEL_SHUTDOWN, "LogLevelShutdown", DB_TOKEN, "Node shutdown info printed on stdout", ConfigInfo::CI_USED, false, ConfigInfo::CI_INT, "0", "0", "15" }, { CFG_LOGLEVEL_STATISTICS, "LogLevelStatistic", DB_TOKEN, "Transaction, operation, transporter info printed on stdout", ConfigInfo::CI_USED, false, ConfigInfo::CI_INT, "0", "0", "15" }, { CFG_LOGLEVEL_CHECKPOINT, "LogLevelCheckpoint", DB_TOKEN, "Local and Global checkpoint info printed on stdout", ConfigInfo::CI_USED, false, ConfigInfo::CI_INT, "0", "0", "15" }, { CFG_LOGLEVEL_NODERESTART, "LogLevelNodeRestart", DB_TOKEN, "Node restart, node failure info printed on stdout", ConfigInfo::CI_USED, false, ConfigInfo::CI_INT, "0", "0", "15" }, { CFG_LOGLEVEL_CONNECTION, "LogLevelConnection", DB_TOKEN, "Node connect/disconnect info printed on stdout", ConfigInfo::CI_USED, false, ConfigInfo::CI_INT, "0", "0", "15" }, { CFG_LOGLEVEL_CONGESTION, "LogLevelCongestion", DB_TOKEN, "Congestion info printed on stdout", ConfigInfo::CI_USED, false, ConfigInfo::CI_INT, "0", "0", "15" }, { CFG_LOGLEVEL_ERROR, "LogLevelError", DB_TOKEN, "Transporter, heartbeat errors printed on stdout", ConfigInfo::CI_USED, false, ConfigInfo::CI_INT, "0", "0", "15" }, { CFG_LOGLEVEL_INFO, "LogLevelInfo", DB_TOKEN, "Heartbeat and log info printed on stdout", ConfigInfo::CI_USED, false, ConfigInfo::CI_INT, "0", "0", "15" }, /** * Backup
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -