The SWC-DB Manager - Configuration Properties
-
swc.mngr.cfg.dyn
TYPE_STRINGSThe Dynamic cfg-file to use. Managers will check & reload this cfg-file by swc.cfg.dyn.period
defaultswc.mngr.cfg.dyn= -
swc.mngr.concurrency.relative
TYPE_BOOLWhether HW-Concurrency base is used with the Applicable cfg properties.
defaultswc.mngr.concurrency.relative=true -
swc.mngr.reactors
TYPE_INT32The number of communication reactor to initialize an io-context for a given acceptor-fd. The total or the base of HW-concurrency for one reactor.
defaultswc.mngr.reactors=4 -
swc.mngr.workers
TYPE_INT32The number or HW-Concurrency base of workers a comm-reactor initalizes.
defaultswc.mngr.workers=16 -
swc.mngr.handlers
TYPE_INT32The number or HW-Concurrency of Application handlers.
defaultswc.mngr.handlers=4 -
swc.mngr.clients.handlers
TYPE_INT32The number or HW-Concurrency base of DB-Clients handlers.
defaultswc.mngr.clients.handlers=2 -
swc.mngr.metrics.enabled
TYPE_BOOLEnable or Disable Manager Metrics Monitoring.
defaultswc.mngr.metrics.enabled=true -
swc.mngr.metrics.report.broker
TYPE_BOOLReport Metrics via Broker Client.
defaultswc.mngr.metrics.report.broker=true
The configuration properties applicable for dynamic reloading
-
swc.mngr.comm.encoder
TYPE_ENUM_GThe encoding to use in communication, options PLAIN/ZSTD/SNAPPY/ZLIB.If address of local & remote is the same, the Encoder is set to PLAIN.
default
swc.mngr.comm.encoder=ZSTD -
swc.mngr.metrics.report.interval
TYPE_INT32_GThe Metrics Reporting Interval in Seconds. Zero(=0) skips metrics update.
defaultswc.mngr.metrics.report.interval=300 -
swc.mngr.role.request.timeout
TYPE_INT32_GThe Timeout in milliseconds of MngrState request.
defaultswc.mngr.role.request.timeout=60000 -
swc.mngr.role.connection.probes
TYPE_UINT16_GThe number of probes to try to establish connection with other Manager.
defaultswc.mngr.role.connection.probes=3 -
swc.mngr.role.connection.timeout
TYPE_INT32_GThe timeout in milliseconds for establishing connection with other Manager.
defaultswc.mngr.role.connection.timeout=1000 -
swc.mngr.role.connection.fallback.failures
TYPE_INT32_GThe Manager State becomes OFF after this Number of failures
defaultswc.mngr.role.connection.fallback.failures=3 -
swc.mngr.role.check.delay.fallback
TYPE_INT32_GThe delay in milliseconds followed by check at fallback.failures reach
defaultswc.mngr.role.check.delay.fallback=30000 -
swc.mngr.role.check.interval
TYPE_INT32_GThe interval in milliseconds between Managers-Status changes
defaultswc.mngr.role.check.interval=120000 -
swc.mngr.role.check.delay.updated
TYPE_INT32_GThe Delay in milliseconds on Managers-Status changes
defaultswc.mngr.role.check.delay.updated=200 -
swc.mngr.ranges.assign.Rgr.remove.failures
TYPE_UINT16_GThe number of failures(establishing connection X probes) after which a Ranger is removed
defaultswc.mngr.ranges.assign.Rgr.remove.failures=255 -
swc.mngr.ranges.assign.delay.onRangerChange
TYPE_INT32_GThe Delay of Ranges Assignment Check in milliseconds on Ranger state change (on/off)
defaultswc.mngr.ranges.assign.delay.onRangerChange=30000 -
swc.mngr.ranges.assign.delay.afterColumnsInit
TYPE_INT32_GThe Delay of Ranges Assignment Check in milliseconds follow columns init
defaultswc.mngr.ranges.assign.delay.afterColumnsInit=30000 -
swc.mngr.ranges.assign.interval.check
TYPE_INT32_GThe Ranges assignment interval in milliseconds between checks
defaultswc.mngr.ranges.assign.interval.check=60000 -
swc.mngr.ranges.assign.due
TYPE_INT32_GThe total allowed ranges due on Ranger assignment
defaultswc.mngr.ranges.assign.due=100 -
swc.mngr.column.health.interval.check
TYPE_INT32_GThe Column Health Check Interval in milliseconds
defaultswc.mngr.column.health.interval.check=300000 -
swc.mngr.column.health.checks
TYPE_INT32_GThe Number of concurrent Column Health Checks
defaultswc.mngr.column.health.checks=2 -
swc.mngr.column.health.checks.delay
TYPE_INT32_GThe delay between Column Health Checks in milliseconds
defaultswc.mngr.column.health.checks.delay=3000 -
swc.mngr.schema.replication
TYPE_UINT8_GSave schema & schemas-store under this number of replications (fs-dependent)
defaultswc.mngr.schema.replication=3 -
swc.mngr.schemas.store.from.capacity
TYPE_UINT64_GUse Schemas-Store from this number of schemas. The Schemas-Store dump will be used at schemas capacity reach for fast-load. The schemas will be dumped/saved to Schemas-Store only at gracefull manager-shutdown, after load or on failure the Schema-Store file is removed (the file exists as a hint directive).
defaultswc.mngr.schemas.store.from.capacity=1000 -
swc.mngr.schemas.store.block.size
TYPE_INT32_GThe Block-size of Schemas-Store in bytes
defaultswc.mngr.schemas.store.block.size=32000000 -
swc.mngr.schemas.store.block.encoder
TYPE_ENUM_GThe Schemas-Store Block encoder, options PLAIN/ZSTD/SNAPPY/ZLIB
defaultswc.mngr.schemas.store.block.encoder=ZSTD -
swc.mngr.rangers.resource.interval.check
TYPE_INT32_GThe Rangers Resources check interval in milliseconds
defaultswc.mngr.rangers.resource.interval.check=120000 -
swc.mngr.rangers.range.rebalance.max
TYPE_UINT8_GThe Max Ranges to allow for rebalance at once on a Rangers Resources update, Zero is rebalance=Off.
defaultswc.mngr.rangers.range.rebalance.max=1
extended/updated/version information available with ‘–help' and ‘–help-config' arg
./swcdbManager --help;
./swcdbManager --help-config;