The SWC-DB Ranger - Configuration Properties

  • swc.rgr.cfg.dyn

    STRINGS The Dynamic cfg-file to use. Rangers will check & reload this cfg-file by swc.cfg.dyn.period
    default swc.rgr.cfg.dyn=

  • swc.rgr.reactors

    INT32 The number of communication reactor to initialize an io-context for a given acceptor-fd.
    default swc.rgr.reactors=8

  • swc.rgr.workers

    INT32 The number of workers a comm-reactor initalizes.
    default swc.rgr.workers=32

  • swc.rgr.handlers

    INT32 The number of Application handlers.
    default swc.rgr.handlers=8

  • swc.rgr.maintenance.handlers

    INT32 The number of Maintenance handlers.
    default swc.rgr.maintenance.handlers=2

  • swc.rgr.clients.handlers

    INT32 The number of DB-Clients handlers.
    default swc.rgr.clients.handlers=8

  • swc.rgr.metrics.enabled

    BOOL Enable or Disable Ranger Metrics Monitoring.
    default swc.rgr.metrics.enabled=true


    BOOL Report Metrics via Broker Client.

The configuration properties applicable for dynamic reloading

  • swc.rgr.comm.encoder

    G_ENUM The 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.rgr.ram.allowed.percent

    G_INT32 The Memory RSS % allowed without freeing/releasing.
    default swc.rgr.ram.allowed.percent=33

  • swc.rgr.ram.reserved.percent

    G_INT32 The Memory Total % reserved, threshold of low-memory enter state.
    default swc.rgr.ram.reserved.percent=33

  • swc.rgr.ram.release.rate

    G_INT32 The Memory release-rate (malloc dependable).
    default swc.rgr.ram.release.rate=100


    G_INT32 The Metrics Reporting Interval in Seconds. Zero(=0) skips metrics update.


    G_INT32 The Validation of Ranger-ID against Manager(RAGERS ROLE).

  • swc.rgr.compaction.check.interval

    G_INT32 The Interval in milliseconds for Compaction.
    default swc.rgr.compaction.check.interval=300000


    G_INT8 The Allowed read-ahead scans per Range compaction.

  • swc.rgr.compaction.range.max

    G_INT8 The Max Allowed Ranges at a time for compaction.
    default swc.rgr.compaction.range.max=2

  • swc.rgr.compaction.commitlog.max

    G_INT8 The Max Allowed Commitlog compactions, The compactions count evaluated against total Ranges-Compactions plus the current Commitlog-Compactions. In a case when two Ranges are at compaction for the value of swc.rgr.compaction.commitlog.max=3, the allowed commitlog compactions is evaluated to one.
    default swc.rgr.compaction.commitlog.max=3

  • swc.rgr.Range.req.update.concurrency

    G_INT8 The Max Allowed Concurrency a Range for Update Requests processing .
    default swc.rgr.Range.req.update.concurrency=1

    Default Schema Values

  • swc.rgr.Range.CellStore.count.max

    G_INT8 The Schema default cellstore-max in range before range-split.
    default swc.rgr.Range.CellStore.count.max=10

  • swc.rgr.Range.CellStore.size.max

    G_INT32 The Schema default cellstore-size.
    default swc.rgr.Range.CellStore.size.max=1GB

  • swc.rgr.Range.CellStore.replication

    G_INT8 The Schema default cellstore-replication (fs-dependent).
    default swc.rgr.Range.CellStore.replication=3

  • swc.rgr.Range.block.size

    G_INT32 The Schema default block-size.
    default swc.rgr.Range.block.size=64MB

  • swc.rgr.Range.block.cells

    G_INT32 The Schema default block-cells.
    default swc.rgr.Range.block.cells=100000

  • swc.rgr.Range.block.encoding

    G_ENUM The Schema default block-encoding NONE/ZSTD/SNAPPY/ZLIB.
    default swc.rgr.Range.block.encoding=ZSTD

  • swc.rgr.Range.CommitLog.rollout.ratio

    G_INT8 The Schema default CommitLog new fragment Rollout Block Ratio.
    default swc.rgr.Range.CommitLog.rollout.ratio=3

  • swc.rgr.Range.CommitLog.Compact.cointervaling

    G_INT8 The minimal sequentially intervaling number of Fragments for CommitLog Compaction to issue a compaction on the selected Fragments.
    default swc.rgr.Range.CommitLog.Compact.cointervaling=3

  • swc.rgr.Range.CommitLog.Fragment.preload

    G_INT8 Preload this number of Fragments of CommitLog at Log Compact and scans(BlockLoader).
    default swc.rgr.Range.CommitLog.Fragment.preload=2

  • swc.rgr.Range.compaction.percent

    G_INT8 The Schema default compact-percent threshold.
    default swc.rgr.Range.compaction.percent=33

extended/updated/version information available with ‘–help' and ‘–help-config' arg

./swcdbRanger --help;
./swcdbRanger --help-config;